@charset "UTF-8";

:root {
  --ink: #233b4e;
  --navy: #273b4c;
  --deep: #182e3e;
  --blue: #4a677f;
  --muted: #40586a;
  --paper: #d5dee3;
  --panel: #c5d1d8;
  --line: #adbec9;
  --on-dark: #e3ebf0;
  --muted-on-dark: #b5c7d3;
  --accent: #b6cfdf;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #4a7898; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.5vw, 46px); }
h3 { font-size: 24px; }
p { color: var(--muted); }
::selection { background: var(--accent); color: var(--deep); }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 52px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 24px; }
.section-heading h2 { max-width: 530px; }
.section-heading > p { max-width: 330px; }
.arrow { font-size: 21px; line-height: 1; display: inline-block; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--navy); border-radius: 4px; color: var(--on-dark); background: var(--navy); font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.button:hover { background: #3d5b72; }
.button.light { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.button.light:hover { background: #c8dae6; }
.button.ghost { color: var(--on-dark); border-color: #718b9d; background: transparent; }
.button.ghost:hover { background: #344e61; }
.button-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 200; padding: 12px 20px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }

/* The same page-based navigation and dark header on every route. */
.site-header { min-height: 76px; background: var(--deep); color: var(--on-dark); border-bottom: 1px solid #405767; position: relative; z-index: 50; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.site-header .brand img, .site-footer .brand img { filter: brightness(0) invert(1); opacity: .87; }
.brand-name { display: block; font-size: 22px; letter-spacing: -1px; font-weight: 600; line-height: 1.1; }
.brand-sub { display: block; letter-spacing: .18em; font-size: 14px; font-weight: 600; line-height: 1.1; margin-top: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav > a:not(.button) { font-size: 14px; font-weight: 600; position: relative; padding-block: 10px; color: var(--muted-on-dark); }
.desktop-nav > a:not(.button):hover, .desktop-nav > a[aria-current="page"]:not(.button) { color: var(--on-dark); }
.desktop-nav > a[aria-current="page"]:not(.button)::after { content: ""; position: absolute; bottom: 1px; left: 0; right: 0; height: 2px; background: var(--accent); }
.desktop-nav .button { min-height: 44px; padding: 10px 19px; font-size: 13px; gap: 24px; color: var(--ink); background: var(--accent); border-color: var(--accent); }
.desktop-nav .button:hover { background: #c8dae6; }
.desktop-nav .button[aria-current="page"] { outline: 1px solid var(--accent); outline-offset: 4px; }
.site-header a:focus-visible, .site-header button:focus-visible, .hero a:focus-visible, .page-hero a:focus-visible, .site-footer a:focus-visible, .contact-band a:focus-visible { outline-color: var(--accent); }
.menu-button { display: none; background: transparent; border: 1px solid #718b9d; color: var(--on-dark); border-radius: 4px; padding: 9px 12px; align-items: center; gap: 10px; min-height: 44px; }
.menu-lines { width: 17px; height: 12px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; position: relative; }
.menu-lines::after { content: ""; position: absolute; top: 5px; left: 0; right: 0; border-top: 1px solid currentColor; }

.hero { background: var(--deep); color: var(--on-dark); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: 32px; align-items: center; padding-block: 40px; }
.hero h1 { font-size: clamp(44px, 5.1vw, 70px); line-height: 1.045; letter-spacing: -.055em; }
.hero h1 span { color: var(--accent); }
.hero-copy > p { max-width: 485px; color: var(--muted-on-dark); font-size: 17px; line-height: 1.75; margin: 20px 0 24px; }
.hero-art { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1; max-width: 400px; justify-self: end; }
.orbit-art { width: 100%; height: 100%; overflow: visible; }
.orbit-line { fill: none; stroke: #8aa8bc; stroke-width: 1; opacity: .25; }
.orbit-dash { stroke-dasharray: 3 8; opacity: .4; }
.orbit-centre { fill: #233d51; stroke: #68879c; stroke-width: 1; }
.orbit-node { fill: #2d495e; stroke: #6b8ca3; stroke-width: 1; }
.orbit-label { fill: #d1e0ea; font-family: Arial, Helvetica, sans-serif; font-size: 12px; letter-spacing: .2px; }
.orbit-caption { fill: #9bb8cb; font-family: Arial, Helvetica, sans-serif; font-size: 9px; letter-spacing: 2px; }
.orbit-symbol { color: #d0e3ef; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.orbit-logo { filter: brightness(0) invert(1); opacity: .87; }

.services-section { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.service-card:hover { background: var(--panel); }
.service-card:focus-within { outline: 2px solid var(--blue); outline-offset: -2px; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.service-icon { width: 27px; height: 27px; stroke: var(--blue); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 22px; margin-bottom: 11px; letter-spacing: -.025em; }
.service-card p { font-size: 14px; line-height: 1.65; min-height: 47px; margin-bottom: 16px; }
.card-link { font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.card-link::after { content: ""; position: absolute; inset: 0; }

.contact-band { background: var(--panel); border-top: 1px solid var(--line); padding-block: 36px; }
.contact-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.contact-band h2 { font-size: clamp(30px, 3.5vw, 42px); }
.contact-band p { margin-top: 16px; font-size: 15px; max-width: 590px; }
.contact-band .button { flex-shrink: 0; background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.contact-band .button:hover { background: #3d5b72; }
.contact-band a:focus-visible { outline-color: var(--muted); }
.site-footer { padding: 32px 0 20px; background: var(--navy); color: var(--on-dark); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 24px; }
.footer-links { display: flex; gap: 56px; }
.footer-links > div { display: flex; flex-direction: column; gap: 8px; }
.footer-links h3 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.footer-links a { font-size: 13px; color: var(--muted-on-dark); }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid #4b6272; padding-top: 16px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted-on-dark); font-size: 11px; }
.footer-bottom a:hover { text-decoration: underline; }

/* Internal pages share the same intro, breadcrumb, type and spacing. */
.page-hero { padding: 32px 0 36px; background: var(--deep); color: var(--on-dark); }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; color: var(--muted-on-dark); margin-bottom: 20px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { max-width: 930px; }
.page-hero .lead { color: var(--muted-on-dark); margin-top: 16px; max-width: 670px; font-size: 17px; line-height: 1.7; }
.page-hero .button-row { margin-top: 20px; }
.page-hero .button { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.page-hero .button:hover { background: #c8dae6; }
.service-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.service-jump a { padding: 8px 13px; border: 1px solid #718b9d; border-radius: 4px; font-size: 12px; color: var(--on-dark); }
.service-jump a:hover { background: #344e61; }
.service-detail { padding-block: 36px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr 1fr; gap: 28px; align-items: start; scroll-margin-top: 24px; }
.service-detail .service-icon { width: 35px; height: 35px; }
.service-detail h2 { font-size: 33px; letter-spacing: -.035em; margin-bottom: 12px; }
.service-detail p { font-size: 15px; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { position: relative; font-size: 14px; border-bottom: 1px solid var(--line); padding: 8px 0 8px 23px; color: var(--muted); }
.detail-list li::before { content: "↗"; position: absolute; left: 0; color: var(--muted); }
.service-details { padding-bottom: 12px; }

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-copy h2 { max-width: 480px; margin-bottom: 20px; }
.about-copy p { font-size: 16px; line-height: 1.7; max-width: 52ch; }
.about-copy p + p { margin-top: 16px; }
.about-approach { border-left: 1px solid var(--line); padding-left: 32px; }
.about-approach > h2 { font-size: 30px; margin-bottom: 20px; }
.approach-item { border-top: 1px solid var(--line); padding-block: 16px; }
.approach-item:last-child { padding-bottom: 0; }
.approach-item h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 8px; }
.approach-item p { font-size: 14px; }

.contact-page { display: flex; align-items: center; }
.contact-section { width: 100%; padding-block: 52px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.contact-intro .breadcrumb { color: var(--muted); }
.contact-intro > p { font-size: 17px; margin-top: 16px; }
.contact-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 28px; }
.contact-panel h2 { font-size: 24px; margin-bottom: 12px; }
.contact-address { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 8px; font-size: clamp(20px, 2.3vw, 26px); line-height: 1.4; letter-spacing: -.025em; }
.contact-address > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.contact-address .arrow, .contact-social .arrow { flex-shrink: 0; }
.contact-address:hover > span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.contact-social { border-top: 1px solid #9aafbd; margin-top: 16px; padding-top: 16px; }
.contact-social a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-size: 14px; }
.contact-social a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose { max-width: 760px; padding-block: 60px; }
.prose h2 { font-size: 29px; line-height: 1.3; margin: 32px 0 17px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15px; margin-bottom: 19px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.error-section { text-align: center; padding: 60px 24px 72px; }
.error-section h1 { font-size: 56px; }
.error-section p { margin: 20px auto 24px; max-width: 450px; }
.error-section .button-row { justify-content: center; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .hero-grid { gap: 18px; }
  .hero h1 { font-size: 56px; }
  .hero-copy > p { font-size: 16px; max-width: 410px; }
  .service-card { padding: 20px; }
  .service-card p { min-height: 70px; }
  .footer-links { gap: 45px; }
  .service-detail { grid-template-columns: 40px 1fr 1fr; gap: 30px; }
  .contact-layout { gap: 32px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .site-header, .header-inner { min-height: 68px; }
  .header-inner { flex-wrap: wrap; gap: 0; }
  .brand-name { font-size: 20px; }
  .brand img { width: 40px; height: 40px; }
  .brand-sub { font-size: 12px; }
  .js .menu-button { display: inline-flex; }
  .desktop-nav { width: 100%; padding: 8px 0 16px; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
  .js .desktop-nav { display: none; }
  .js .desktop-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
  .desktop-nav > a:not(.button) { padding: 12px 0; }
  .desktop-nav .button { margin-top: 8px; }
  .desktop-nav > a[aria-current="page"]:not(.button)::after { right: auto; width: 28px; bottom: 5px; }
  .desktop-nav .button[aria-current="page"] { outline-offset: 2px; }
  .hero-grid { padding-block: 32px; grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(43px, 7vw, 60px); }
  .hero-copy > p { max-width: 540px; }
  .hero-art { max-width: 320px; justify-self: center; }
  .section { padding-block: 36px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .section-heading > p { max-width: 560px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card p { min-height: 70px; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-copy h2 { max-width: 560px; }
  .about-copy p { max-width: 65ch; }
  .about-approach { border-left: 0; padding-left: 0; }
  .contact-band { padding-block: 32px; }
  .contact-band .container { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-links { justify-content: space-between; gap: 25px; }
  .page-hero { padding: 24px 0 32px; }
  .page-hero h1 { font-size: clamp(37px, 6vw, 48px); }
  .page-hero .lead { font-size: 16px; }
  .service-detail { grid-template-columns: 48px 1fr; gap: 20px; padding-block: 28px; }
  .service-detail > div:last-child { grid-column: 2; }
  .service-detail h2 { font-size: 30px; }
  .contact-section { padding-block: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro h1 { font-size: clamp(37px, 6vw, 48px); }
  .prose { padding-block: 42px; }
}

@media (max-width: 480px) {
  .hero-grid { padding-block: 28px; }
  .hero-copy > p { font-size: 15px; }
  .button { padding-inline: 18px; gap: 20px; font-size: 13px; }
  .hero-art { max-width: 280px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 20px; }
  .service-card p { min-height: 0; max-width: 320px; }
  .service-card h3 { font-size: 23px; }
  .section-heading h2 { font-size: 35px; }
  .footer-links { flex-wrap: wrap; gap: 28px 50px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .service-detail { grid-template-columns: 32px 1fr; gap: 16px; }
  .service-detail h2 { font-size: 27px; }
  .service-detail .service-icon { width: 27px; height: 27px; }
  .contact-panel { padding: 20px; }
  .contact-address { font-size: 18px; }
  .error-section h1 { font-size: 42px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .brand-sub { font-size: 10px; }
  .brand { gap: 8px; }
  .menu-button { padding: 8px 9px; font-size: 13px; gap: 8px; }
  .page-hero h1 { font-size: 35px; }
  .hero h1 { font-size: 41px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
