@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --page: #f7f9ff;
  --wash: #edf2ff;
  --wash-2: #e6edff;
  --ink: #14213d;
  --muted: #53617a;
  --line: #d9e1f1;
  --blue: #1d4ed8;
  --blue-dark: #173ba2;
  --amber: #f59e0b;
  --navy: #14213d;
  --sans: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111e38;
  --page: #0c1528;
  --wash: #142440;
  --wash-2: #1a2d50;
  --ink: #eff4ff;
  --muted: #bac6dc;
  --line: #2c3e5e;
  --blue: #9bb8ff;
  --blue-dark: #c2d3ff;
  --amber: #f5ad2c;
  --navy: #eff4ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
::selection { background: #c8d6ff; color: #14213d; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--paper);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
:root[data-theme="dark"] .skip-link { background: #223657; color: #ffffff; }

/* Header and progressively enhanced controls */
.site-header {
  position: relative;
  z-index: 10;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-cluster { order: 1; display: flex; align-items: center; gap: 7px; min-width: 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: var(--blue);
  color: white;
}
.brand-mark svg { width: 24px; height: 24px; fill: currentColor; }
.theme-control { position: relative; order: 2; display: none; }
:root[data-theme-ready="true"] .theme-control { display: block; }
.theme-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s, background .18s;
}
.theme-toggle:hover { background: var(--wash); color: var(--blue); }
.theme-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle [data-theme-icon] { display: none; }
.theme-toggle[data-theme-current="system"] [data-theme-icon="system"],
.theme-toggle[data-theme-current="light"] [data-theme-icon="light"],
.theme-toggle[data-theme-current="dark"] [data-theme-icon="dark"] { display: block; }
:root[data-theme="dark"] .theme-toggle { color: #c4d2eb; }
:root[data-theme="dark"] .theme-toggle:hover { background: #1d3151; color: #d0ddff; }
.theme-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 9px);
  right: 0;
  width: 164px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 32px #14213d1c;
}
.theme-panel button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.theme-panel button:hover,
.theme-panel button[aria-pressed="true"] { background: var(--wash); color: var(--blue); }
.theme-panel button span { font-size: 14px; }
:root[data-theme="dark"] .theme-panel { box-shadow: 0 12px 32px #0008; }
.header-tools { order: 3; display: flex; align-items: center; margin-left: 0; }
.menu-toggle { display: none; }
.primary-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  color: #35425c;
  font-size: 12px;
  font-weight: 700;
}
:root[data-theme="dark"] .primary-nav { color: #d1dcf0; }
.primary-nav > a:not(.nav-cta) { transition: color .2s; }
.primary-nav > a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-left: 8px;
  padding: 13px 16px;
  background: var(--amber);
  color: #18233a;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s, background .2s;
}
.nav-cta:hover, .button:hover { transform: translateY(-2px); background: #ffb31e; }
.nav-cta span { font-size: 16px; }

/* Hero */
.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 28px;
  position: relative;
  padding-block: 66px 78px;
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 10px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--blue);
  font: 600 10px/1.4 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--amber); }
.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(53px, 6.1vw, 82px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1;
}
.hero h1 span { color: var(--blue); }
.hero-intro { max-width: 440px; margin: 26px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 20px;
  border: 0;
  background: var(--amber);
  color: #18233a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
}
.button span { font-size: 16px; }
.button:disabled { opacity: .72; cursor: not-allowed; transform: none; }
.text-link { padding: 9px 0; border-bottom: 1px solid #9aa8c2; color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { margin-left: 8px; color: var(--blue); }
:root[data-theme="dark"] .text-link { border-color: #71819e; color: #e5edfc; }
.hero-byline { display: flex; align-items: center; gap: 10px; margin: 33px 0 0; color: #56637d; font-size: 12px; }
:root[data-theme="dark"] .hero-byline { color: #c2cde1; }
.byline-rule { width: 25px; height: 1px; background: var(--blue); }
.hero-visual { width: 100%; min-height: 430px; height: auto; display: flex; justify-content: center; flex-direction: column; position: relative; margin: 0; }
.workflow-animation { width: 100%; min-height: 430px; height: auto; }
.workflow-fallback {
  max-width: 320px;
  margin: 1rem auto;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 14px 35px #182e5510;
}
:root[data-theme="dark"] .workflow-fallback { box-shadow: 0 14px 35px #02081744; }

/* Intro and services */
.intro-band { overflow: hidden; background: #edf2ff; color: var(--ink); }
.intro-band-inner { min-height: 190px; display: grid; grid-template-columns: 1fr; align-items: center; position: relative; padding-block: 38px; }
.intro-statement { max-width: 850px; margin: 0; color: #53617a; font-size: clamp(20px, 2.45vw, 30px); font-weight: 500; letter-spacing: -.04em; line-height: 1.52; }
.intro-statement strong { color: var(--navy); font-weight: 700; }
.band-ornament { position: absolute; right: 0; bottom: 14px; color: var(--blue); font: 500 36px var(--display); }
:root[data-theme="dark"] .intro-band { background: #142440; }
:root[data-theme="dark"] .intro-statement { color: #b8c5dc; }
:root[data-theme="dark"] .intro-statement strong { color: #f5f7ff; }
.section { padding-block: 135px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.section-heading h2, .process-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(37px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.1;
}
.section-aside { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.service-list { margin-top: 67px; border-top: 1px solid var(--line); }
.service-row {
  min-height: 180px;
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 30px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.service-art { width: 144px; height: 112px; position: relative; overflow: hidden; border-radius: 2px; background: var(--wash); }
.art-pages { background: #e9efff; }
.page-back, .page-front { position: absolute; display: block; border: 1px solid #c9d6f1; background: white; box-shadow: 0 8px 16px #1b3d8320; }
.page-back { width: 55px; height: 69px; top: 21px; left: 29px; transform: rotate(-8deg); background: #dbe5fb; }
.page-front { width: 57px; height: 75px; top: 17px; left: 58px; padding: 15px 10px; }
.page-front i { display: block; width: 26px; height: 4px; margin-bottom: 7px; background: #8aa5e7; }
.page-front i:nth-child(2) { width: 34px; }
.page-front b { width: 35px; height: 20px; display: block; margin-top: 11px; background: var(--blue); opacity: .82; }
.art-corner { position: absolute; right: 16px; bottom: 12px; color: var(--blue); font-size: 17px; }
.art-connect { background: #e8f2fa; }
.connect-node { position: absolute; z-index: 1; width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 50%; background: var(--paper); }
.node-a { top: 17px; left: 18px; }
.node-b { bottom: 17px; left: 18px; }
.node-c { top: 18px; right: 18px; }
.art-connect svg { position: absolute; inset: 3px; width: 100%; height: 100%; fill: none; stroke: #829edc; stroke-width: 1.4; stroke-dasharray: 3 3; }
.connect-center { position: absolute; z-index: 2; top: calc(50% - 17px); left: calc(50% - 17px); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font: 500 20px var(--display); box-shadow: 0 0 0 7px #d8e4fa; }
.art-ai { background: #faf0db; }
.ai-sheet { position: absolute; top: 23px; left: 39px; width: 48px; height: 66px; padding: 17px 9px; border: 1px solid #efd69f; background: #fff; }
.ai-sheet i { display: block; width: 26px; height: 3px; margin-bottom: 7px; background: #bec9d9; }
.ai-sheet i:nth-child(2) { width: 20px; }
.ai-sheet i:nth-child(3) { width: 14px; }
.ai-spark { position: absolute; top: 15px; right: 31px; color: var(--blue); font-size: 23px; }
.ai-check { position: absolute; right: 28px; bottom: 16px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: 13px; }
:root[data-theme="dark"] .page-back { border-color: #405782; background: #243a5d; }
:root[data-theme="dark"] .page-front { border-color: #405782; background: #132440; }
:root[data-theme="dark"] .page-front i { background: #8daeff; }
:root[data-theme="dark"] .art-connect { background: #172c48; }
:root[data-theme="dark"] .art-ai { background: #342b1c; }
:root[data-theme="dark"] .ai-sheet { border-color: #715a32; background: #16243d; }
:root[data-theme="dark"] .ai-sheet i { background: #8d9cb3; }
.service-copy h3 { margin: 0 0 9px; color: var(--navy); font-size: 20px; letter-spacing: -.04em; }
.service-copy p { max-width: 570px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.row-arrow { color: var(--blue); font-size: 21px; transition: transform .2s; }
.row-arrow:hover { transform: translate(3px, -3px); }

/* Selected work */
.work-section { padding-block: 117px 121px; background: var(--wash); }
.work-wrap { max-width: 1200px; }
.work-heading { margin-bottom: 54px; }
.project-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; gap: 30px; }
.project { border: 1px solid var(--line); background: var(--paper); }
.project-art { height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e7edf8; }
.project-art img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s var(--ease); }
.cardio-art img { object-position: center 48%; }
.hades-art img { object-position: center 50%; }
.project:hover .project-art img { transform: scale(1.018); }
.project-info { min-height: 193px; display: flex; justify-content: space-between; gap: 22px; padding: 25px 27px; }
.project-info h3 { margin: 0 0 9px; color: var(--navy); font-size: 22px; letter-spacing: -.05em; }
.project-info p { max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.project-link { width: 36px; height: 36px; display: grid; flex: none; place-items: center; align-self: flex-start; border: 1px solid var(--line); color: var(--blue); font-size: 17px; transition: background .2s, color .2s; }
.project-link:hover { background: var(--blue); color: white; }
:root[data-theme="dark"] .work-section { background: #111e38; }
:root[data-theme="dark"] .project { border-color: var(--line); background: var(--paper); }
:root[data-theme="dark"] .project-art { background: #1b2c49; }

/* Founder */
.about-section { padding-block: 130px 138px; background: var(--paper); }
.about-wrap { display: grid; grid-template-columns: 220px 1fr 215px; align-items: center; gap: 70px; }
.founder-mark { width: 145px; height: 175px; display: grid; place-items: center; position: relative; overflow: hidden; background: #e8effe; }
.founder-mark span { position: relative; z-index: 1; color: var(--blue); font: 700 96px/.9 var(--display); letter-spacing: -.1em; transform: translateX(-6px); }
.founder-mark::before, .founder-mark::after { content: ''; position: absolute; width: 168px; height: 168px; top: 74px; left: -67px; border: 1px solid #b9caee; border-radius: 50%; }
.founder-mark::after { width: 100px; height: 100px; top: -35px; right: -35px; left: auto; border-color: #f5bd55; }
.founder-mark i { position: absolute; top: 25px; right: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.founder-caption { margin: 13px 0 0; color: var(--navy); font-size: 12px; font-weight: 700; }
.founder-caption span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 500; }
.about-copy { max-width: 600px; }
.about-copy h2 { margin: 0 0 27px; color: var(--navy); font-size: clamp(39px, 4.3vw, 56px); letter-spacing: -.065em; line-height: 1.07; }
.about-copy > p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.about-detail { display: flex; align-items: center; gap: 11px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.about-detail-line { width: 28px; height: 1px; background: var(--amber); }
.about-quote { align-self: end; padding-bottom: 8px; color: var(--muted); }
.quote-mark { color: var(--amber); font: 700 64px/.7 var(--display); }
.about-quote p { margin: 12px 0 0; color: var(--muted); font-size: 15px; letter-spacing: -.025em; line-height: 1.7; }
:root[data-theme="dark"] .about-section { background: #0f1b33; }
:root[data-theme="dark"] .founder-mark { background: #1a2c4b; }
:root[data-theme="dark"] .founder-mark::before { border-color: #334969; }
:root[data-theme="dark"] .founder-mark::after { border-color: #956b2f; }
:root[data-theme="dark"] .about-quote p { color: #d0dbef; }

/* Process */
.process-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 100px; padding-block: 124px; }
.process-intro { position: sticky; top: 120px; }
.process-intro h2 { margin-bottom: 21px; }
.process-intro > p { max-width: 295px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { min-height: 122px; display: grid; grid-template-columns: 45px 1fr 32px; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.process-index { align-self: start; margin-top: 31px; color: var(--blue); font: 600 10px var(--display); letter-spacing: .1em; }
.process-list h3 { margin: 0 0 6px; color: var(--navy); font-size: 16px; letter-spacing: -.03em; }
.process-list p { max-width: 410px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.process-symbol { justify-self: end; color: #7b88a0; font-size: 21px; }
.process-list li:nth-child(2) .process-symbol { color: var(--amber); }

/* Contact and local-only inquiry draft */
.contact-section { position: relative; overflow: hidden; padding-block: 104px 100px; background: #edf2ff; color: var(--ink); }
.contact-section::after {
  content: '';
  position: absolute;
  top: -170px;
  right: -175px;
  width: 480px;
  height: 480px;
  border: 1px solid #d7e2f7;
  border-radius: 50%;
  box-shadow: 0 0 0 32px #e7edfa, 0 0 0 33px #d7e2f7, 0 0 0 78px #e7edfa, 0 0 0 79px #d7e2f7;
  pointer-events: none;
}
.contact-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 100px; }
.contact-copy h2 { margin: 0 0 21px; color: var(--navy); font-size: clamp(39px, 4.7vw, 60px); letter-spacing: -.065em; line-height: 1.08; }
.contact-copy > p { max-width: 450px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.contact-signoff { display: flex; align-items: center; gap: 12px; margin-top: 33px; color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1.65; }
.contact-signoff small { color: var(--muted); font-size: 12px; font-weight: 500; }
.contact-email-link { display: inline-block; margin: 14px 0 0 45px; color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.signoff-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #9aabc9; border-radius: 50%; color: var(--blue); font: 600 15px var(--display); }
.contact-form { padding: 31px; border: 1px solid #d9e2f3; background: var(--paper); box-shadow: 0 20px 60px #17346c12; }
.field-row { margin-bottom: 16px; }
.field-row label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 700; }
.field-row label > span:first-child { color: var(--blue); }
.field-row label .optional { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.field-row input, .field-row textarea {
  width: 100%;
  display: block;
  padding: 12px 13px;
  border: 1px solid #c8d2e4;
  border-radius: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field-row textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.field-row input::placeholder, .field-row textarea::placeholder { color: #69758c; opacity: 1; }
.field-row input:focus, .field-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #1d4ed81a; }
.field-row [aria-invalid="true"] { border-color: #b3342b; }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.field-error { min-height: 0; margin: 5px 0 0; color: #a22f29; font-size: 12px; }
.field-error:empty { display: none; }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { opacity: .68; cursor: not-allowed; }
.form-status { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.form-status.is-error { color: #a22f29; }
.form-status.is-ready { color: #43536f; }
.noscript-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.draft-preview { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.draft-heading { display: flex; align-items: center; justify-content: space-between; color: var(--navy); font-size: 12px; }
.copy-draft { padding: 7px 10px; border: 1px solid var(--line); background: var(--page); color: var(--blue); font-size: 12px; font-weight: 700; cursor: pointer; }
.draft-preview pre { max-height: 155px; overflow: auto; margin: 10px 0 0; padding: 11px; background: var(--page); color: var(--muted); font: 12px/1.65 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
:root[data-theme="dark"] .contact-section { background: #142440; }
:root[data-theme="dark"] .contact-section::after { border-color: #2b3e60; box-shadow: 0 0 0 32px #172947, 0 0 0 33px #2b3e60, 0 0 0 78px #172947, 0 0 0 79px #2b3e60; }
:root[data-theme="dark"] .contact-form { border-color: #314361; background: #0e1a31; box-shadow: 0 20px 60px #02081755; }
:root[data-theme="dark"] .field-row input, :root[data-theme="dark"] .field-row textarea { border-color: #405372; background: #142440; color: #f1f5ff; }
:root[data-theme="dark"] .field-row input::placeholder, :root[data-theme="dark"] .field-row textarea::placeholder { color: #c2cde1; }
:root[data-theme="dark"] .field-row [aria-invalid="true"] { border-color: #ff928a; }
:root[data-theme="dark"] .field-error, :root[data-theme="dark"] .form-status.is-error { color: #ffb5a8; }
:root[data-theme="dark"] .form-status.is-ready { color: #d6e2f7; }
:root[data-theme="dark"] .copy-draft { border-color: #405372; background: #1b2d4b; color: #c0d1ff; }

/* Footer */
.site-footer { padding-block: 31px 20px; border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.footer-main { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 29px; height: 29px; }
.footer-brand .brand-mark svg { width: 21px; }
.footer-main > p { margin: 0; color: var(--navy); font-size: 12px; line-height: 1.8; }
.footer-main > p span { color: var(--muted); }
.footer-top { color: var(--muted); font-size: 12px; }
.footer-top span { margin-left: 8px; color: var(--amber); font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
:root[data-theme="dark"] .site-footer { border-color: #293b59; background: #091326; }
:root[data-theme="dark"] .footer-main > p { color: #e8efff; }
:root[data-theme="dark"] .footer-main > p span, :root[data-theme="dark"] .footer-top, :root[data-theme="dark"] .footer-bottom { color: #b1bfd5; }
:root[data-theme="dark"] .footer-bottom { border-color: #293b59; }

/* Breakpoints: the shell matches the motion stage at 700px. */
@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 575px; grid-template-columns: .9fr 1.1fr; gap: 4px; }
  .hero h1 { font-size: clamp(51px, 7vw, 68px); }
  .about-wrap { grid-template-columns: 170px 1fr; gap: 42px; }
  .about-quote { display: none; }
  .section { padding-block: 105px; }
  .service-row { grid-template-columns: 130px minmax(0, 1fr) 35px; gap: 21px; }
  .service-art { width: 125px; }
  .process-section { gap: 58px; }
  .contact-wrap { gap: 48px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 84px; flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  .brand-cluster { order: 1; }
  .header-tools { order: 2; margin-left: auto; }
  .primary-nav { order: 3; flex: 1 0 100%; gap: 18px; margin: 0; padding-top: 8px; font-size: 12px; }
  .nav-cta { margin-left: auto; }
  :root[data-nav-ready="true"] .menu-toggle { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle-label { font-size: 12px; font-weight: 700; }
  .menu-icon { width: 18px; display: flex; flex-direction: column; gap: 5px; }
  .menu-icon i { width: 18px; height: 1px; background: var(--navy); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  :root[data-nav-ready="true"] .primary-nav { position: absolute; top: 100%; right: 0; left: 0; z-index: 12; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 17px 32px 23px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 28px #14213d15; }
  :root[data-nav-ready="true"] .primary-nav:not(.is-open) { display: none; }
  :root[data-nav-ready="true"] .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { padding: 14px 3px; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: space-between; margin: 17px 0 0; padding: 15px; }
}
@media (max-width: 820px) {
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding-block: 55px 62px; }
  .hero-visual { min-height: 430px; margin-top: 0; }
  .workflow-animation { min-height: 430px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 31px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 75px; }
  .wrap { width: calc(100% - 42px); }
  .site-header, .header-inner { min-height: 72px; }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 0; }
  .brand { gap: 7px; font-size: 15px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-cluster { gap: 3px; }
  .primary-nav { gap: 0; }
  :root[data-nav-ready="true"] .primary-nav { padding-inline: 21px; }
  .hero { gap: 8px; padding-block: 57px 49px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 19px; font-size: 10px; }
  .hero h1 { font-size: clamp(48px, 12.5vw, 72px); letter-spacing: -.07em; }
  .hero-intro { max-width: 430px; margin: 21px 0 24px; font-size: 15px; line-height: 1.8; }
  .hero-actions { gap: 18px; }
  .button { padding: 15px 16px; }
  .hero-byline { margin-top: 25px; font-size: 12px; }
  .hero-visual { min-height: 385px; margin: 11px -6px 0; }
  .workflow-animation { min-height: 385px; }
  .intro-band-inner { min-height: 0; padding-block: 34px 39px; }
  .intro-statement { max-width: 520px; font-size: 21px; line-height: 1.55; }
  .band-ornament { right: 2px; bottom: 13px; font-size: 28px; }
  .section { padding-block: 79px; }
  .section-heading { display: block; }
  .section-heading h2, .process-intro h2 { font-size: clamp(36px, 9vw, 48px); }
  .section-aside { max-width: 440px; margin-top: 19px; font-size: 15px; }
  .service-list { margin-top: 38px; }
  .service-row { min-height: 0; grid-template-columns: minmax(0, 1fr) 32px; gap: 10px 15px; padding: 20px 0 22px; }
  .service-art { display: none; }
  .service-copy { grid-column: 1; grid-row: 1; }
  .service-copy h3 { margin-bottom: 7px; font-size: 17px; }
  .service-copy p { font-size: 15px; line-height: 1.75; }
  .row-arrow { grid-column: 2; grid-row: 1; align-self: start; font-size: 18px; }
  .work-section { padding-block: 79px 72px; }
  .work-heading { margin-bottom: 34px; }
  .project-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-art { height: 260px; }
  .project-info { min-height: 0; padding: 20px 19px; }
  .project-info h3 { font-size: 19px; }
  .project-info p { font-size: 15px; }
  .project-link { width: 32px; height: 32px; }
  .about-section { padding-block: 79px; }
  .about-wrap { grid-template-columns: 1fr; gap: 26px; }
  .founder-mark { width: 100%; height: 128px; }
  .founder-mark span { font-size: 80px; }
  .founder-mark::before { top: 75px; }
  .founder-caption { margin-top: 9px; }
  .about-copy h2 { margin-bottom: 19px; font-size: clamp(38px, 9vw, 50px); }
  .about-copy > p { font-size: 15px; }
  .about-detail { margin-top: 21px; }
  .process-section { grid-template-columns: 1fr; gap: 30px; padding-block: 79px; }
  .process-intro { position: static; }
  .process-intro > p { max-width: 370px; }
  .process-list li { min-height: 106px; grid-template-columns: 34px 1fr 25px; gap: 12px; }
  .process-index { margin-top: 29px; }
  .process-list h3 { font-size: 15px; }
  .process-list p { font-size: 14px; }
  .contact-section { padding-block: 72px; }
  .contact-copy h2 { font-size: clamp(38px, 9.5vw, 50px); }
  .contact-copy > p { font-size: 15px; }
  .contact-signoff { margin-top: 23px; }
  .contact-form { padding: 22px 19px; }
  .footer-main { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .footer-main > p { margin-left: auto; text-align: right; font-size: 12px; }
  .footer-top { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
  .footer-bottom { flex-wrap: wrap; gap: 9px 16px; font-size: 12px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 34px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-visual, .workflow-animation { min-height: 385px; }
  .project-art { height: 230px; }
  .contact-form { padding-inline: 16px; }
}
@media (pointer: coarse) {
  .theme-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .project-art img, .project:hover .project-art img { transform: none; transition: none !important; }
}
