:root {
  color-scheme: light;
  --ink: #161513;
  --muted: #5c5952;
  --paper: #fff;
  --ivory: #f7f5f0;
  --white: #fff;
  --line: #e3dfd6;
  --night: #121212;
  --night-line: rgba(255, 255, 255, 0.14);
  --on-night: #f5f2ea;
  --on-night-muted: #b4afa3;
  --gold: #d0a43c;
  --gold-bright: #e2bb56;
  --gold-deep: #86631c;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 4px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .interactive-section :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-bright); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--night);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: var(--night);
  color: var(--on-night);
  transition: border-color 200ms ease;
}

.site-header::before { display: block; height: 2px; background: linear-gradient(90deg, #9d721a, #efce6a 50%, #9d721a); content: ""; }
.site-header.is-scrolled { border-bottom-color: var(--night-line); }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; color: var(--on-night); }
.wordmark-mark { width: 26px; height: 42px; object-fit: cover; }
.wordmark-symbol { margin-right: -0.12em; font-size: 1.125rem; font-weight: 600; letter-spacing: 0.12em; }
.wordmark-divider { width: 1px; height: 18px; background: var(--gold); opacity: 0.7; }
.wordmark-label { color: var(--on-night-muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.4em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 42px); font-size: 0.875rem; font-weight: 500; }
.site-nav a:not(.nav-contact) { position: relative; padding: 8px 0; color: var(--on-night-muted); transition: color 160ms ease; }
.site-nav a:not(.nav-contact)::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.site-nav a:not(.nav-contact):hover, .site-nav a:not(.nav-contact).is-active { color: var(--on-night); }
.site-nav a:not(.nav-contact):hover::after, .site-nav a:not(.nav-contact).is-active::after { transform: scaleX(1); }
.nav-contact { padding: 11px 22px; border: 1px solid var(--gold); border-radius: 2px; color: var(--on-night); transition: background 180ms ease, color 180ms ease; }
.nav-contact:hover, .nav-contact.is-active { background: var(--gold); color: var(--night); }
.menu-toggle { display: none; }

.hero { background: var(--night); color: var(--on-night); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero-copy { animation: arrive 700ms 80ms both; }
.eyebrow { display: flex; align-items: flex-start; gap: 14px; color: var(--gold-deep); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-rule { width: 32px; height: 1px; flex: 0 0 32px; margin-top: calc(0.7em - 0.5px); background: currentColor; }
.eyebrow-number { font-variant-numeric: tabular-nums; }
.hero .eyebrow, .interactive-section .eyebrow, .legal-hero .eyebrow { color: var(--gold); }
.hero h1 { margin: 28px 0; font-size: clamp(3.25rem, 6.3vw, 5.5rem); letter-spacing: -0.022em; line-height: 1.02; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-description { max-width: 31em; color: var(--on-night-muted); font-size: 1.125rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.button-primary { background: var(--gold); color: var(--night); }
.button-primary:hover { background: var(--gold-bright); }
.button-ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--on-night); }
.button-ghost:hover { border-color: var(--on-night); background: rgba(255, 255, 255, 0.06); }
.button-dark { background: var(--night); color: var(--white); }
.button-dark:hover { background: #2e2c28; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 0.9375rem; font-weight: 600; transition: gap 180ms ease, color 180ms ease; }
.text-link::after { content: "\2192"; }
.text-link:hover { gap: 14px; color: var(--gold-deep); }
.brand-plate { position: relative; border: 1px solid var(--night-line); }
.brand-plate::after { --tick: linear-gradient(#000 0 0); position: absolute; inset: -1px; border: 1px solid var(--gold); content: ""; pointer-events: none; -webkit-mask: var(--tick) 0 0, var(--tick) 100% 0, var(--tick) 0 100%, var(--tick) 100% 100%; mask: var(--tick) 0 0, var(--tick) 100% 0, var(--tick) 0 100%, var(--tick) 100% 100%; -webkit-mask-size: 22px 22px; mask-size: 22px 22px; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.brand-plate img { width: 100%; }
.hero-brand { width: min(100%, 480px); justify-self: end; animation: arrive 900ms 200ms both; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--night-line); }
.hero-facts div { display: flex; flex-direction: column; gap: 6px; padding: 26px 32px 30px 0; }
.hero-facts div + div { padding-left: 32px; border-left: 1px solid var(--night-line); }
.hero-facts dt { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.hero-facts dd { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.4; }

.intro-band { border-bottom: 1px solid var(--line); background: var(--ivory); }
.intro-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 34px; }
.intro-band p { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.35; }
.intro-band p span { color: var(--gold-deep); font-style: italic; }
.intro-coordinate { color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }

.section { padding-block: clamp(80px, 10vw, 136px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(24px, 6vw, 96px); }
.section h2, .interactive-content h2 { margin-top: 24px; font-size: clamp(2.125rem, 4.3vw, 3.5rem); letter-spacing: -0.018em; line-height: 1.08; }
.section h2 span { color: var(--gold-deep); font-style: italic; }
.section-lede { padding-bottom: 6px; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.service-item { padding: 32px 36px 44px 0; }
.service-item + .service-item { padding-left: 36px; border-left: 1px solid var(--line); }
.service-number { color: var(--gold-deep); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.14em; }
.service-item h3 { margin: 56px 0 14px; font-size: 1.625rem; letter-spacing: -0.01em; line-height: 1.2; }
.service-item p { color: var(--muted); line-height: 1.7; }
.approach { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: clamp(24px, 5vw, 72px); margin-top: 32px; padding: 24px 32px; border-left: 2px solid var(--gold); background: var(--ivory); }
.approach-label { color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.approach-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; margin: 0; padding: 0; counter-reset: approach; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; list-style: none; }
.approach-list li { display: flex; gap: 0.55em; counter-increment: approach; }
.approach-list li::before { color: var(--gold-deep); content: counter(approach, upper-roman) "."; }

.interactive-section { background: var(--night); color: var(--on-night); }
.interactive-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 8vw, 128px); padding-block: clamp(80px, 10vw, 136px); }
.interactive-mark { width: min(100%, 400px); }
.interactive-mark figcaption { margin-top: 18px; color: var(--on-night-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.interactive-content h2 span { color: var(--gold); font-style: italic; }
.interactive-content > p:not([class]) { max-width: 32em; margin-top: 28px; color: var(--on-night-muted); font-size: 1.125rem; line-height: 1.7; }
.coming-soon { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 11px 18px; border: 1px solid var(--night-line); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gold); }

.about-inner, .contact-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); justify-content: space-between; gap: clamp(32px, 8vw, 128px); }
.about-copy { padding-top: calc(1.05rem + 24px); }
.about-copy > p { margin-bottom: 36px; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }

.contact-section { border-top: 1px solid var(--line); background: var(--ivory); }
.contact-inner { align-items: center; }
.contact-panel { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-top: 2px solid var(--gold); background: var(--white); box-shadow: 0 28px 60px -40px rgba(22, 21, 19, 0.28); }
.contact-panel > p { margin-bottom: 32px; color: var(--muted); line-height: 1.7; }
.contact-form label { display: block; margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
.contact-form-row { display: grid; gap: 12px; }
.contact-form input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #8c877b; border-radius: 2px; background: var(--white); color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
.contact-form input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(208, 164, 60, 0.4); }
.contact-form input::placeholder { color: #8c877b; }
.form-status { margin-top: 24px; padding: 14px 16px; border-left: 2px solid var(--gold); background: var(--ivory); color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

.site-footer { background: var(--night); color: var(--on-night-muted); font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-block: 72px 56px; }
.footer-about p { margin-top: 20px; }
.footer-title { margin-bottom: 14px; color: var(--on-night); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-nav a { display: flex; width: fit-content; align-items: center; gap: 10px; padding: 6px 0; transition: color 160ms ease; }
.footer-nav a:hover { color: var(--gold-bright); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.social-link:nth-of-type(2) svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-link .social-icon-dot { fill: currentColor; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; padding-block: 24px 28px; border-top: 1px solid var(--night-line); font-size: 0.8125rem; }

.legal-hero { padding-block: clamp(56px, 8vw, 104px); background: var(--night); color: var(--on-night); }
.legal-hero h1 { margin: 24px 0 18px; font-size: clamp(2.5rem, 5.4vw, 4.25rem); letter-spacing: -0.02em; line-height: 1.05; }
.legal-updated { color: var(--on-night-muted); font-size: 0.875rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: clamp(32px, 8vw, 112px); padding-block: clamp(56px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.legal-toc { position: sticky; top: calc(var(--header-height) + 32px); padding-top: 20px; border-top: 1px solid var(--ink); }
.legal-toc p { margin-bottom: 14px; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.legal-toc ol { margin: 0; padding: 0; counter-reset: toc; list-style: none; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 12px; padding: 7px 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; transition: color 160ms ease; }
.legal-toc a::before { color: var(--gold-deep); font-size: 0.75rem; font-weight: 600; line-height: 1.8; content: counter(toc, decimal-leading-zero); }
.legal-toc a:hover { color: var(--ink); }
.legal-body { max-width: 68ch; counter-reset: legal; }
.legal-body p, .legal-body li { color: #3d3b36; font-size: 1.0625rem; line-height: 1.8; }
.legal-body p + p, .legal-body p + ul { margin-top: 1em; }
.legal-body > p:first-child { color: var(--ink); font-family: var(--serif); font-size: 1.375rem; line-height: 1.55; }
.legal-body h2 { margin: 44px 0 14px; padding-top: 32px; border-top: 1px solid var(--line); counter-increment: legal; font-size: 1.625rem; letter-spacing: -0.01em; line-height: 1.25; }
.legal-body h2::before { display: block; margin-bottom: 10px; color: var(--gold-deep); font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; content: counter(legal, decimal-leading-zero); }
.legal-body ul { padding-left: 20px; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 0.9375rem; font-weight: 600; transition: gap 180ms ease, color 180ms ease; }
.legal-back::before { content: "\2190"; }
.legal-back:hover { gap: 14px; color: var(--gold-deep); }

.project-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 32px; border: 1px solid var(--line); border-top: 2px solid var(--gold); background: var(--white); box-shadow: 0 28px 60px -40px rgba(22, 21, 19, 0.28); transition: box-shadow 200ms ease; }
.project-feature:hover { box-shadow: 0 32px 64px -36px rgba(22, 21, 19, 0.4); }
.project-feature-media { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 40px); background: #010101; }
.project-feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 48px); }
.project-feature-label { color: var(--gold-deep); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.project-feature h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.01em; line-height: 1.15; }
.project-feature-body > p:not([class]) { max-width: 34em; color: var(--muted); line-height: 1.7; }
.project-feature .text-link { margin-top: 10px; }
.project-feature:hover .text-link { gap: 14px; color: var(--gold-deep); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; color: var(--on-night-muted); font-size: 0.8125rem; }
.breadcrumb a { color: var(--on-night); border-bottom: 1px solid var(--night-line); transition: border-color 160ms ease; }
.breadcrumb a:hover { border-bottom-color: var(--gold); }
.project-hero h1 { font-size: clamp(2.75rem, 6vw, 5rem); letter-spacing: 0.01em; }
.project-logo { width: 100%; justify-self: end; background: #010101; animation: arrive 900ms 200ms both; }

.live-section { background: var(--ivory); border-bottom: 1px solid var(--line); }
.preview { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--ink); background: var(--night); }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--night-line); color: var(--on-night); }
.preview-address { display: inline-flex; min-width: 0; align-items: center; gap: 10px; color: var(--on-night-muted); font-size: 0.875rem; transition: color 160ms ease; }
.preview-address:hover { color: var(--on-night); }
.preview-address::after { content: "\2197"; }
.preview-modes { display: flex; flex: 0 0 auto; border: 1px solid var(--night-line); }
.preview-modes button { min-height: 36px; padding: 0 16px; border: 0; background: transparent; color: var(--on-night-muted); cursor: pointer; font-size: 0.8125rem; font-weight: 600; transition: background 160ms ease, color 160ms ease; }
.preview-modes button + button { border-left: 1px solid var(--night-line); }
.preview-modes button[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.preview :focus-visible { outline-color: var(--gold-bright); }
.preview-stage { display: flex; justify-content: center; background: #000; }
.preview-frame { display: block; width: 100%; height: min(78vh, 780px); border: 0; background: #000; transition: width 300ms ease; }
.preview[data-mode="mobile"] .preview-stage { padding: 28px 0; background: #0b0b0b; }
.preview[data-mode="mobile"] .preview-frame { width: 390px; height: min(78vh, 760px); border: 1px solid var(--night-line); }

.project-about .about-copy > p { margin-bottom: 20px; }
.features-section { border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); }
.feature-grid .service-item { padding: 32px 36px 44px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid .service-item:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.feature-grid .service-item:nth-child(3n) { padding-right: 0; }
.feature-grid .service-item h3 { margin-top: 40px; }

.process-section { background: var(--night); color: var(--on-night); }
.process-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(32px, 8vw, 128px); padding-block: clamp(80px, 10vw, 136px); }
.process-heading { position: sticky; top: calc(var(--header-height) + 40px); }
.process-heading .eyebrow { color: var(--gold); }
.process-heading h2 { margin-top: 24px; font-size: clamp(2.125rem, 4.3vw, 3.5rem); letter-spacing: -0.018em; line-height: 1.08; }
.process-heading h2 span { color: var(--gold); font-style: italic; }
.process-heading > p:not([class]) { max-width: 26em; margin-top: 28px; color: var(--on-night-muted); line-height: 1.7; }
.timeline { margin: 0; padding: 0; border-top: 1px solid var(--night-line); list-style: none; }
.timeline li { position: relative; padding: 28px 0 30px 32px; border-bottom: 1px solid var(--night-line); }
.timeline li::before { position: absolute; top: 36px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }
.timeline li:last-child::before { box-shadow: 0 0 0 5px rgba(208, 164, 60, 0.22); }
.timeline-date { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.timeline h3 { margin: 10px 0 8px; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.25; }
.timeline p { max-width: 36em; color: var(--on-night-muted); line-height: 1.7; }
.process-section :focus-visible { outline-color: var(--gold-bright); }

.stack-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--ink); }
.stack-list div { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.stack-list div:not(:nth-child(4n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.stack-list dt { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.stack-list dd { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.project-cta > p { margin-bottom: 28px; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.project-cta .hero-actions { margin-top: 0; }

.has-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root { --header-height: 66px; }
  .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 0 0 12px; border: 0; background: transparent; color: var(--on-night); cursor: pointer; }
  .menu-toggle-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
  .menu-toggle-lines { position: relative; width: 22px; height: 10px; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; content: ""; transition: transform 200ms ease; }
  .menu-toggle-lines::before { top: 0; }
  .menu-toggle-lines::after { bottom: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 4px var(--gutter) 24px; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); background: var(--night); font-size: 1rem; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a:not(.nav-contact) { padding: 16px 0; border-bottom: 1px solid var(--night-line); }
  .site-nav a:not(.nav-contact)::after { display: none; }
  .site-nav .nav-contact { margin-top: 20px; padding: 15px; text-align: center; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item + .service-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 30px 0 34px; border-left: 0; }
  .service-item + .service-item { border-top: 1px solid var(--line); }
  .service-number { grid-row: 1 / span 2; padding-top: 9px; }
  .service-item h3 { margin: 0 0 10px; }
  .service-item p { max-width: 36em; }
  .approach { grid-template-columns: 1fr; gap: 14px; }
  .approach-list { grid-template-columns: 1fr; gap: 6px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid .service-item, .feature-grid .service-item:nth-child(3n + 1), .feature-grid .service-item:nth-child(3n) { display: block; padding: 30px 28px 34px; border-top: 0; border-left: 1px solid var(--line); }
  .feature-grid .service-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .feature-grid .service-item:nth-child(even) { padding-right: 0; }
  .stack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-list div:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .stack-list div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .hero-inner, .section-heading, .interactive-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 48px; }
  .hero h1 { margin: 24px 0; }
  .hero-description { font-size: 1.0625rem; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-brand { width: min(100%, 420px); justify-self: start; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { flex-direction: row; align-items: baseline; gap: 16px; padding: 18px 0; border-left: 0; }
  .hero-facts div + div { border-top: 1px solid var(--night-line); }
  .hero-facts dt { flex: 0 0 84px; }
  .hero-facts dd { font-size: 1.0625rem; }
  .intro-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 28px; }
  .section-heading { align-items: start; gap: 20px; }
  .section-lede { padding-bottom: 0; font-size: 1.0625rem; }
  .service-item, .service-item + .service-item { grid-template-columns: 44px minmax(0, 1fr); padding: 28px 0 32px; }
  .service-number { padding-top: 7px; }
  .service-item h3 { font-size: 1.5rem; }
  .approach { padding: 24px; }
  .approach-list { font-size: 1.1875rem; }
  .interactive-inner { gap: 48px; }
  .interactive-mark { width: min(100%, 300px); order: 2; }
  .interactive-content > p:not([class]) { font-size: 1.0625rem; }
  .about-inner { gap: 28px; }
  .about-copy { padding-top: 0; }
  .about-copy > p { font-size: 1.0625rem; }
  .contact-inner { gap: 36px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-block: 56px 44px; }
  .footer-bottom { flex-direction: column; }
  .legal-body p, .legal-body li { font-size: 1rem; }
  .legal-body > p:first-child { font-size: 1.25rem; }
  .project-feature { grid-template-columns: 1fr; }
  .project-logo { justify-self: start; }
  .preview-bar { padding-left: 14px; }
  .preview-modes { display: none; }
  .preview-frame, .preview[data-mode="mobile"] .preview-frame { width: 100%; height: 70vh; border: 0; }
  .preview[data-mode="mobile"] .preview-stage { padding: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .service-item, .feature-grid .service-item:nth-child(n) { display: block; padding: 28px 0 32px; border-left: 0; }
  .feature-grid .service-item h3 { margin: 18px 0 10px; }
  .process-inner { grid-template-columns: 1fr; gap: 40px; }
  .process-heading { position: static; }
  .timeline li { padding-left: 26px; }
  .stack-list { grid-template-columns: 1fr; }
  .stack-list div, .stack-list div:nth-child(even) { padding: 20px 0 22px; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
