/* Shared theme. Brand text, contact details and SEO live in index.html. */
:root {
  --ink: #181a1c;
  --muted: #60636a;
  --subtle: #757980;
  --line: #dcdfe2;
  --paper: #ffffff;
  --wash: #f4f5f6;
  --dark: #1c1e20;
  --max-width: 1240px;
  --gutter: clamp(24px, 4.5vw, 72px);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.icon-arrow { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
::selection { background: #25282b; color: #fff; }
:focus-visible { outline: 2px solid #3c596f; outline-offset: 6px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h2 { font-size: clamp(30px, 3.35vw, 48px); line-height: 1.18; letter-spacing: -.035em; }
h3 { line-height: 1.3; letter-spacing: -.02em; }
.container { width: min(var(--max-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: 104px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-180%); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 35px; height: 35px; }
.brand-name { font-size: 28px; font-weight: 750; line-height: 1; letter-spacing: -.065em; }
.brand-caption { display: block; font-size: 8px; font-weight: 500; letter-spacing: .25em; line-height: 1.1; margin-top: 8px; padding-left: 2px; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); }
.primary-nav a { display: inline-flex; min-height: 44px; align-items: center; gap: 22px; text-decoration: none; font-size: 13px; font-weight: 500; }
.primary-nav a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: 6px; }
.primary-nav .nav-contact { padding: 0 18px; min-height: 44px; border: 1px solid var(--ink); }
.nav-contact:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; }
.hero { padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.6; }
.small-square { width: 6px; height: 6px; background: var(--ink); }
.eyebrow-divider { padding-inline: 3px; color: var(--subtle); }
h1 { margin-top: 30px; font-size: clamp(42px, 5.35vw, 76px); letter-spacing: -.045em; line-height: 1.11; font-weight: 600; }
h1 > span { display: block; }
.muted-heading { color: #73777d; }
.hero-description { max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 28px; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 23px; gap: 34px; font-size: 13px; font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.button span { font-size: 21px; line-height: 1; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #3b3e41; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 20px; font-size: 13px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.text-link:hover { border-bottom-color: var(--ink); }
.text-link span { font-size: 20px; }
.hero-visual { position: relative; background-color: var(--wash); background-image: radial-gradient(#d6d9dc .65px, transparent .65px); background-size: 16px 16px; border: 1px solid #e7e9eb; align-self: stretch; min-height: 460px; display: flex; flex-direction: column; overflow: hidden; }
.visual-topline { padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 8px; font-weight: 600; letter-spacing: .16em; color: #60666b; }
.visual-cross { font-size: 18px; line-height: 1; font-weight: 300; }
.infrastructure-art { width: 100%; height: auto; min-height: 0; margin-block: auto; }
.visual-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 24px 22px; padding-top: 17px; border-top: 1px solid #d4d8dc; font-size: 10px; color: #575e63; }
.hero-footnote { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 60px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.hero-footnote > span:last-child { display: flex; align-items: center; gap: 38px; }
.hero-footnote > span:last-child > span { font-size: 19px; color: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 48px; margin-bottom: 54px; }
.section-label { margin-bottom: 23px; }
.section-number { color: var(--subtle); min-width: 26px; font-weight: 400; letter-spacing: .02em; }
.section-intro { max-width: 440px; font-size: 15px; color: var(--muted); line-height: 1.85; padding-bottom: 2px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service { border-top: 1px solid var(--ink); padding-top: 27px; }
.service-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 32px; }
.service-index { color: var(--subtle); font-size: 11px; }
.service-top svg { height: 34px; width: 34px; }
.service h3 { font-size: 22px; margin-bottom: 18px; }
.service > p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.deliverables { list-style: none; padding: 23px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.deliverables li { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 11px; line-height: 1.7; color: #4e5459; }
.deliverables li:first-child { margin-top: 0; }
.deliverables li::before { content: "+"; color: var(--ink); font-size: 13px; }
.about { background: var(--wash); }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; }
.about-signature { display: flex; align-items: center; gap: 15px; margin-top: 44px; color: var(--muted); font-size: 8px; letter-spacing: .16em; font-weight: 500; }
.signature-line { display: inline-block; height: 1px; width: 44px; background: var(--ink); }
.about-copy { padding-top: 41px; }
.about-copy .lead { font-size: 23px; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; margin-bottom: 20px; }
.about-copy > p:not(.lead) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.principles { margin-top: 30px; }
.principle { display: grid; grid-template-columns: 22px 1fr; gap: 15px; border-top: 1px solid #d6d9dc; padding-top: 19px; margin-top: 19px; }
.principle > span { font-size: 19px; line-height: 1.2; }
.principle h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.principle p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.approach { background: var(--dark); color: var(--paper); padding-block: 96px; }
.approach-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; }
.approach .eyebrow { color: #e2e4e6; }
.approach .section-number { color: #a8acb1; }
.approach h2 { font-size: clamp(30px, 3.15vw, 44px); }
.approach-heading > p:not(.eyebrow) { color: #b9bec3; font-size: 14px; line-height: 1.85; max-width: 350px; margin-top: 25px; }
.light-link { color: white; border-bottom-color: #62676c; margin-top: 27px; }
.light-link:hover { border-bottom-color: white; }
.approach :focus-visible { outline-color: #b2c9dc; }
.process-list { list-style: none; margin: 5px 0 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 36px 1fr; gap: 17px; border-top: 1px solid #494e52; padding-top: 21px; margin-top: 21px; }
.process-list li:first-child { margin-top: 0; }
.process-number { color: #a8afb5; font-size: 10px; padding-top: 4px; letter-spacing: .07em; }
.process-list h3 { font-size: 19px; margin-bottom: 9px; }
.process-list p { color: #b9bec3; font-size: 13px; line-height: 1.8; max-width: 370px; }
.contact { padding-top: 96px; padding-bottom: 72px; }
.contact-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-heading h2 { font-size: clamp(30px, 3.35vw, 48px); }
.contact-heading > p { color: var(--muted); font-size: 13px; line-height: 1.9; padding-bottom: 4px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-decoration: none; border-bottom: 1px solid var(--ink); font-size: clamp(32px, 6.4vw, 90px); line-height: 1.3; letter-spacing: -.05em; font-weight: 400; padding-block: 27px 20px; margin-top: 30px; }
.contact-email > span:first-child { overflow-wrap: anywhere; }
.contact-arrow { font-size: .9em; flex-shrink: 0; line-height: 1; }
.contact-email:hover { color: #60666c; border-color: #60666c; }
.contact-note { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 17px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 31px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-wordmark { text-decoration: none; font-size: 21px; letter-spacing: -.06em; font-weight: 750; line-height: 1.2; }
.footer-wordmark > span { display: block; font-size: 6px; line-height: 1.4; font-weight: 500; letter-spacing: .25em; margin-top: 4px; padding-left: 1px; }
.footer-inner > p { color: var(--muted); font-size: 10px; }
.back-top { display: flex; align-items: center; gap: 18px; min-height: 44px; text-decoration: none; font-size: 11px; }
.back-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.error-page { min-height: 100svh; display: grid; place-items: center; padding: 40px 24px; }
.error-content { max-width: 660px; }
.error-content h1 { margin-block: 20px; font-size: clamp(36px, 7vw, 64px); }
.error-content > p { color: var(--muted); margin-bottom: 26px; }
@media (min-width: 1600px) { .hero { padding-top: 88px; } }
@media (max-width: 1100px) {
  .hero-grid, .section-heading, .about-grid, .approach-grid { grid-template-columns: 1.13fr 1fr; gap: 36px; }
  .hero-visual { min-height: 410px; }
  .services-grid { gap: 25px; }
  .service h3 { font-size: 19px; }
  .deliverables li { font-size: 10px; }
}
@media (max-width: 850px) and (min-width: 768px) {
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: 11px; }
  .hero-grid { gap: 24px; }
  h1 { font-size: 42px; }
  .hero-visual { min-height: 380px; align-self: center; }
  .hero-actions { gap: 16px; }
  .hero-description { font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; gap: 36px; }
  .service { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .service-top { grid-column: 1 / -1; margin-bottom: 20px; }
  .service h3 { font-size: 23px; }
  .service > p { grid-column: 1; }
  .service .deliverables { grid-column: 2; grid-row: 2 / 4; margin: 0; padding: 0; border: 0; align-self: center; }
  .deliverables li { font-size: 12px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 94px; }
  .section { padding-block: 68px; }
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0 16px; }
  .brand-name { font-size: 25px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-caption { font-size: 7px; margin-top: 7px; }
  .menu-toggle:not([hidden]) { display: inline-flex; min-width: 74px; min-height: 44px; align-items: center; justify-content: end; gap: 12px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle-label { font-size: 11px; }
  .menu-icon { display: grid; gap: 5px; width: 20px; }
  .menu-icon > span { height: 1px; background: var(--ink); width: 20px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { gap: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon > span:first-child { transform: translateY(.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon > span:last-child { transform: translateY(-.5px) rotate(-45deg); }
  .primary-nav { width: 100%; gap: 4px; padding-bottom: 18px; flex-wrap: wrap; }
  .primary-nav a { min-height: 44px; padding: 8px 12px; font-size: 12px; }
  .primary-nav .nav-contact { min-height: 44px; padding-inline: 12px; margin-left: auto; }
  [data-menu-ready] .primary-nav { display: none; }
  [data-menu-ready][data-menu-open] .primary-nav { display: flex; flex-direction: column; align-items: stretch; padding-top: 4px; }
  [data-menu-ready][data-menu-open] .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  [data-menu-ready][data-menu-open] .primary-nav .nav-contact { margin: 8px 0 0; padding: 12px; justify-content: space-between; border: 1px solid var(--ink); }
  .hero { padding-top: 43px; }
  .hero-grid, .section-heading, .about-grid, .approach-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 570px; }
  h1 { font-size: clamp(39px, 8.6vw, 60px); line-height: 1.14; margin-top: 24px; }
  .hero-description { max-width: 480px; font-size: 14px; margin-top: 24px; }
  .hero-actions { gap: 26px; margin-top: 26px; }
  .hero-visual { min-height: 0; max-width: 530px; width: 100%; margin-top: 5px; }
  .infrastructure-art { width: 100%; max-height: 360px; }
  .visual-topline { padding-top: 20px; }
  .visual-caption { margin-bottom: 19px; font-size: 10px; }
  .hero-footnote { margin-top: 34px; font-size: 9px; gap: 12px; padding-block: 16px; }
  .hero-footnote > span:last-child { gap: 12px; }
  .section-heading { margin-bottom: 37px; gap: 24px; }
  .section-label { margin-bottom: 19px; font-size: 9px; }
  .section-intro { max-width: 520px; font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; gap: 35px; }
  .service { padding-top: 23px; }
  .service-top { margin-bottom: 22px; }
  .service h3 { font-size: 23px; }
  .service > p { max-width: 540px; }
  .deliverables { padding-top: 17px; margin-top: 20px; }
  .deliverables li { font-size: 12px; margin-top: 8px; }
  .about-copy { padding-top: 0; }
  .about-signature { margin-top: 27px; }
  .about-copy .lead { font-size: 22px; }
  .principle h3 { font-size: 16px; }
  .principle p { font-size: 13px; }
  .approach { padding-block: 67px; }
  .approach-heading > p:not(.eyebrow) { max-width: 470px; }
  .process-list { margin-top: 0; }
  .process-list li { gap: 8px; }
  .process-list p { max-width: 480px; }
  .contact-heading { flex-direction: column; align-items: start; gap: 24px; }
  .contact-email { margin-top: 20px; padding-block: 20px 17px; font-size: clamp(30px, 7.6vw, 58px); gap: 14px; }
  .contact-heading > p { font-size: 14px; }
  .contact-note { font-size: 11px; max-width: 310px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; font-size: 9px; }
  .footer-wordmark { font-size: 23px; }
}
@media (max-width: 374px) {
  :root { --gutter: 20px; }
  h1 { font-size: 35px; }
  .eyebrow { font-size: 9px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { padding-inline: 17px; gap: 20px; }
  .hero-actions .text-link { font-size: 12px; gap: 10px; }
  .hero-footnote { flex-direction: column; align-items: start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header { position: static; }
  .menu-toggle, .primary-nav, .hero-actions, .back-top { display: none !important; }
  .section, .approach { padding-block: 30px; }
  .hero { padding-top: 25px; }
  .approach { background: white; color: black; }
  .approach p, .approach .eyebrow, .approach .section-number, .process-number, .light-link { color: #333; }
  .hero-visual { max-height: 390px; min-height: 0; }
  .service, .principle, .process-list li { break-inside: avoid; }
}
