html, body { background: #1E2130; }

/* Brand tokens (from the business card) */
:root {
  --navy: #1E2130;
  --navy-deep: #161925;
  --navy-2: #272B3B;
  --silver: #C8C9CB;
  --paper: #F2F2F0;
  --white: #FFFFFF;
  --ink: #111318;

  --fg-dark: 228 6% 79%;   /* silver as HSL for opacity steps on dark */
  --fg-light: 228 17% 8%;  /* ink as HSL for opacity steps on light */

  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);

  --gutter: 20px;
  --wrap: 1280px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--silver);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: rgba(200, 201, 203, .3); color: var(--white); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 4px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 99px; }
.skip:focus { left: 12px; }

/* Film grain unifies the flat colours */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .6;
}

/* ---------- Nav: floating pill ---------- */
.nav {
  position: fixed; z-index: 100;
  top: 12px; left: 12px; right: 12px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 10px 0 14px;
  border-radius: 99px;
  background: rgba(30, 33, 48, .55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(200, 201, 203, .12);
  transition: background-color .4s var(--ease-io), box-shadow .4s var(--ease-io);
}
.nav.is-scrolled { background: rgba(22, 25, 37, .85); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.nav__mark { width: 30px; height: 34px; color: var(--silver); flex: none; }
.nav__name {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav__links { display: none; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 500; color: rgba(200, 201, 203, .8);
  transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: var(--white); background: rgba(200, 201, 203, .08); }
.nav__end { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { display: flex; padding: 3px; border-radius: 99px; background: rgba(200, 201, 203, .08); }
.lang button {
  font: 600 11px/1 var(--mono); letter-spacing: .08em;
  min-width: 36px; min-height: 32px; border: 0; border-radius: 99px; cursor: pointer;
  background: transparent; color: rgba(200, 201, 203, .7);
  transition: background-color .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: var(--silver); color: var(--navy); }
.nav__cta {
  display: none; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 99px;
  background: var(--white); color: var(--navy); font-size: 14px; font-weight: 600;
  transition: transform .2s var(--ease-io), background-color .2s;
}
.nav__cta:hover { background: var(--silver); }
.nav__cta:active { transform: scale(.97); }

.burger {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--silver); display: grid; place-content: center; gap: 5px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--navy); transition: transform .35s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-deep);
  padding: 110px 24px max(32px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .35s var(--ease-io);
}
.menu[hidden] { display: none; }
.menu:not(.is-open) { pointer-events: none; }
.menu.is-open { opacity: 1; }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid rgba(200, 201, 203, .12);
  font-size: clamp(30px, 9vw, 44px); font-weight: 500; letter-spacing: -.03em; color: var(--white);
  transform: translateY(16px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu nav small { font: 500 11px var(--mono); color: rgba(200, 201, 203, .5); }
.menu__phone { font: 500 15px var(--mono); letter-spacing: .1em; color: var(--silver); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 104px var(--gutter) 40px;
  overflow: hidden;
  background: var(--navy);
  color: var(--silver);
}
/* blueprint grid, fading out at the edges */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 201, 203, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 201, 203, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
}
/* the card's diagonal: navy / thin white line / silver, at the bottom-right corner */
.hero__stripe {
  position: absolute; right: -10%; bottom: -1px; width: 70%; height: 22%;
  background: linear-gradient(160deg, transparent 0 49.6%, rgba(255,255,255,.9) 49.6% 50.1%, var(--silver) 50.1%);
  opacity: .9; pointer-events: none;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero__art {
  position: relative; justify-self: end;
  width: min(72vw, 360px); margin: 0 -8px 8px 0;
}
.drawing { width: 100%; height: auto; overflow: visible; }
.drawing .ln {
  fill: none; stroke: var(--silver); stroke-width: 2.5; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.drawing__fill { fill: var(--silver); }
.drawing__axis path { stroke: rgba(200, 201, 203, .35); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; stroke-dasharray: 6 4; }

.dim { display: none; }

.hero__copy { position: relative; align-self: end; max-width: 820px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(200, 201, 203, .75);
  margin-bottom: 22px;
}
.eyebrow__rule { width: 32px; height: 1px; background: currentColor; flex: none; }
.hero__title {
  font-size: clamp(42px, 11vw, 112px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--white);
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__in { display: inline-block; }
.line--muted { color: rgba(200, 201, 203, .55); font-weight: 300; }
.hero__sub {
  margin-top: 24px; max-width: 30rem;
  font-size: 16px; line-height: 1.6; color: rgba(200, 201, 203, .78);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 24px 0 6px; border-radius: 99px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .2s var(--ease-io), background-color .3s, color .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--white); color: var(--navy); }
.btn--solid:hover { background: var(--silver); }
.btn--solid:hover .btn__ico { transform: rotate(-12deg); }
.btn__ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); flex: none;
  transition: transform .35s var(--ease-out);
}
.btn__ico svg { width: 17px; height: 17px; fill: currentColor; }
.btn--ghost { padding: 0 22px; color: var(--white); border: 1px solid rgba(200, 201, 203, .3); }
.btn--ghost:hover { border-color: var(--silver); background: rgba(200, 201, 203, .06); }
.btn__arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn--ghost:hover .btn__arrow { transform: translateY(3px); }

/* Drawing title block (desktop) */
.titleblock { display: none; }
.scrollcue { display: none; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--navy-deep); color: var(--silver);
  border-top: 1px solid rgba(200, 201, 203, .1); border-bottom: 1px solid rgba(200, 201, 203, .1);
  padding: 22px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(22px, 3.4vw, 40px); font-weight: 300; letter-spacing: -.03em; white-space: nowrap;
}
.marquee__item svg { width: 22px; height: 26px; color: rgba(200, 201, 203, .45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--navy); color: var(--silver); }
.sheet { border-radius: 28px 28px 0 0; margin-top: -28px; z-index: 2; }
.head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 860px; }
.h2 {
  font-size: clamp(32px, 6.4vw, 72px);
  font-weight: 500; line-height: 1.04; letter-spacing: -.04em;
}
.section--light .h2 { color: var(--ink); }
.section--dark .h2 { color: var(--white); }

/* Services: drawing index */
.index { border-top: 1px solid hsl(var(--fg-light) / .14); }
.row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 44px 1fr 36px; gap: 6px 16px; align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid hsl(var(--fg-light) / .14);
  transition: color .45s var(--ease-out);
}
.row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--navy);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.row__n { font: 500 12px/2 var(--mono); color: hsl(var(--fg-light) / .45); transition: color .45s; }
.row__t { font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.row__d { grid-column: 2; font-size: 15px; line-height: 1.55; color: hsl(var(--fg-light) / .62); max-width: 44ch; transition: color .45s; }
.row__d p + .row__list { margin-top: 12px; }
.row__list { display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.row__list li { position: relative; padding-left: 18px; }
.row__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: currentColor; opacity: .55; }
.row__i {
  grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease-out);
}
@media (hover: hover) {
  .row:hover { color: var(--white); }
  .row:hover::before { transform: scaleY(1); }
  .row:hover .row__n { color: var(--silver); }
  .row:hover .row__d { color: rgba(200, 201, 203, .85); }
  .row:hover .row__i { transform: rotate(-8deg) scale(1.08); }
}

/* Process: steps on a track that fills while scrolling */
.steps { position: relative; }
.steps__track {
  position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: rgba(200, 201, 203, .18);
}
.steps__fill {
  position: absolute; inset: 0; background: var(--silver);
  transform: scaleY(var(--p)); transform-origin: top;
}
.steps__gear {
  position: absolute; left: 50%; top: calc(var(--p) * 100%);
  width: 26px; height: 30px; margin: -15px 0 0 -13px; color: var(--silver);
  background: var(--navy); padding: 2px 0;
}
.steps__list { display: grid; gap: 40px; padding-left: 44px; }
.step { position: relative; display: grid; gap: 6px; }
.step__dot {
  position: absolute; left: -42px; top: 6px; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid rgba(200, 201, 203, .5); background: var(--navy);
  transition: background-color .4s, border-color .4s, transform .4s var(--ease-out);
}
.step.is-on .step__dot { background: var(--silver); border-color: var(--silver); transform: scale(1.25); }
.step__n { font: 500 12px var(--mono); letter-spacing: .14em; color: rgba(200, 201, 203, .5); }
.step h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.025em; color: var(--white); line-height: 1.2; }
.step p { font-size: 15px; color: rgba(200, 201, 203, .7); max-width: 32ch; }

/* About */
.about { display: grid; }
.about .head { margin-bottom: 28px; }
.about__name { display: grid; gap: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.about__name small { font: 500 11px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--fg-light) / .55); }
.manifesto {
  font-size: clamp(26px, 4.6vw, 54px);
  font-weight: 500; line-height: 1.16; letter-spacing: -.035em;
  color: var(--ink); max-width: 22em;
}
.manifesto .w { transition: opacity .25s linear; }
.js .manifesto .w { opacity: .16; }
.js .manifesto .w.is-on { opacity: 1; }
.creds { display: grid; gap: 1px; margin-top: 64px; background: hsl(var(--fg-light) / .14); border: 1px solid hsl(var(--fg-light) / .14); border-radius: 20px; overflow: hidden; }
.cred { display: grid; gap: 6px; padding: 22px 24px; background: var(--paper); }
.cred strong { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.values { display: grid; gap: 28px; margin-top: 56px; }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; }
.values span { grid-row: span 2; font: 500 12px/2 var(--mono); color: hsl(var(--fg-light) / .45); }
.values strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.values p { color: hsl(var(--fg-light) / .62); font-size: 15px; }

/* Contact */
.bigphone {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  width: fit-content; max-width: 100%;
  padding: 8px 0 28px;
  color: var(--white);
}
.bigphone__num {
  font-size: clamp(40px, 11vw, 140px); font-weight: 300; letter-spacing: -.05em; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bigphone__arrow {
  width: clamp(48px, 7vw, 88px); height: clamp(48px, 7vw, 88px); flex: none;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--navy);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.bigphone__arrow svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bigphone:hover .bigphone__arrow { transform: rotate(45deg); background: var(--silver); }

.contact { display: grid; gap: 32px; padding-top: 40px; border-top: 1px solid rgba(200, 201, 203, .18); }
.facts { display: grid; }
.facts li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(200, 201, 203, .14); }
.facts a, .facts__v { font-size: 18px; font-weight: 500; color: var(--white); word-break: break-word; }
.facts a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); justify-self: start; }
.facts a:hover { background-size: 100% 1px; }
.status {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(200, 201, 203, .2);
  font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silver);
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(200, 201, 203, .4); }
.status.is-open .status__dot { background: #7FD1A0; box-shadow: 0 0 0 0 rgba(127, 209, 160, .6); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(127, 209, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 160, 0); } }
.map { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy-2); border: 1px solid rgba(200, 201, 203, .14); }
.map iframe { pointer-events: none; }
.map__link { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; }
.map__pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 99px;
  background: var(--white); color: var(--navy); font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.map__link:hover .map__pill { transform: translateY(-2px); background: var(--silver); }
.map iframe {
  display: block; width: 100%; height: 340px; border: 0;

}

/* Footer */
.footer { position: relative; background: var(--navy-deep); color: var(--silver); padding-top: 64px; overflow: hidden; }
.footer__stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 58%, var(--white) 58% 58.5%, var(--silver) 58.5%);
}
.footer__row { display: grid; gap: 28px; font-size: 14px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__mark { width: 40px; height: 46px; color: var(--silver); flex: none; }
.footer__brand strong { display: block; color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer__brand span { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.footer address { font-style: normal; display: grid; gap: 4px; color: rgba(200, 201, 203, .75); }
.footer address a:hover, .totop:hover { color: var(--white); }
.totop { justify-self: start; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.wordmark {
  margin: 48px 0 0; padding: 0 var(--gutter);
  font-size: 21vw; font-weight: 800; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(200, 201, 203, .22);
  white-space: nowrap; user-select: none;
  transform: translateY(8%);
}
.footer__copy { position: relative; padding-top: 8px; padding-bottom: max(96px, calc(80px + env(safe-area-inset-bottom))); font: 500 11px var(--mono); letter-spacing: .12em; opacity: .5; }

/* Mobile call bar */
.callbar {
  position: fixed; z-index: 80; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px 0 8px; border-radius: 99px;
  background: var(--white); color: var(--navy); font-weight: 700; font-size: 15px; white-space: nowrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  transform: translate(-50%, 150%); transition: transform .5s var(--ease-out);
}
.callbar.is-on { transform: translate(-50%, 0); }

/* ---------- Motion: entrance + reveals (only when JS runs) ---------- */
.js .rise { opacity: 0; transform: translateY(24px); filter: blur(8px); }
.js .line__in { transform: translateY(110%); }
.js .nav { opacity: 0; transform: translateY(-16px); }
.is-ready .rise, .is-ready .line__in, .is-ready .nav {
  opacity: 1; transform: none; filter: none;
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s), filter .9s var(--ease-out) var(--d, 0s);
}
.is-ready .nav { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background-color .4s, box-shadow .4s; }

/* Logo draws itself like a pen on a drawing board, then fills */
.js .drawing .ln { stroke-dashoffset: 1; }
.js .drawing__fill { opacity: 0; }
.js .drawing__axis { opacity: 0; }
.is-ready .drawing .ln--k { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.65, 0, .35, 1) .2s; }
.is-ready .drawing .ln--gear { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.65, 0, .35, 1) .5s; }
.is-ready .drawing__axis { opacity: 1; transition: opacity .8s .3s; }
.is-ready .drawing__fill { opacity: 1; transition: opacity 1.2s var(--ease-io) 2s; }
.is-ready .drawing__lines { opacity: .0; transition: opacity 1.2s var(--ease-io) 2.6s; }

.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) var(--rd, 0s), transform .9s var(--ease-out) var(--rd, 0s); }

@media (max-width: 420px) {
  .nav { gap: 10px; padding-left: 12px; }
  .nav__name { font-size: 10.5px; letter-spacing: .06em; }
  .nav__mark { width: 26px; height: 30px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero__art { width: min(48vw, 420px); }
  .row { grid-template-columns: 72px 1.1fr 1fr 40px; padding: 30px 0; align-items: center; }
  .row__d { grid-column: 3; }
  .row__i { grid-column: 4; grid-row: 1; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
  .map iframe { height: 420px; }
  .footer__row { grid-template-columns: 1.3fr 1.3fr auto; align-items: center; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 56px; --nav-h: 64px; }
  body { font-size: 17px; }
  .nav { top: 16px; left: 24px; right: 24px; padding: 0 8px 0 18px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .callbar { display: none; }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-rows: 1fr auto;
    padding: 128px var(--gutter) 48px;
    column-gap: 40px;
  }
  .hero__copy { grid-column: 1; grid-row: 1; align-self: center; }
  .hero__art { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; width: min(36vw, 560px); margin: -40px 0 0; }
  .hero__title { font-size: clamp(48px, 5.4vw, 92px); }
  .line { white-space: nowrap; }
  .hero__sub { font-size: 18px; max-width: 32rem; }
  .dim {
    display: block; position: absolute; right: -28px; top: 4%; bottom: 8%; width: 1px;
    background: rgba(200, 201, 203, .3);
  }
  .dim::before, .dim::after { content: ""; position: absolute; left: -6px; width: 13px; height: 1px; background: rgba(200, 201, 203, .5); }
  .dim::before { top: 0; } .dim::after { bottom: 0; }
  .dim span {
    position: absolute; top: 50%; left: 10px; transform: translateY(-50%) rotate(90deg); transform-origin: left center;
    font: 500 10px var(--mono); letter-spacing: .2em; color: rgba(200, 201, 203, .55); white-space: nowrap;
  }
  .js .dim { opacity: 0; }
  .is-ready .dim { opacity: 1; transition: opacity 1s 1.6s; }

  .titleblock {
    grid-column: 2; grid-row: 2; justify-self: end; align-self: end; z-index: 2;
    display: grid; grid-template-columns: repeat(2, minmax(110px, auto));
    border: 1px solid rgba(200, 201, 203, .3); background: rgba(22, 25, 37, .6);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  }
  .titleblock > div { padding: 8px 12px; border-right: 1px solid rgba(200, 201, 203, .2); border-bottom: 1px solid rgba(200, 201, 203, .2); }
  .titleblock > div:nth-child(2n) { border-right: 0; }
  .titleblock > div:nth-last-child(-n+2) { border-bottom: 0; }
  .titleblock .tb-wide { grid-column: span 2; border-right: 0; }
  .titleblock dt { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(200, 201, 203, .5); }
  .titleblock dd { color: var(--white); white-space: nowrap; }
  .hero__stripe { width: 46%; height: 30%; }

  .scrollcue {
    grid-column: 1; grid-row: 2; align-self: end; justify-self: start;
    display: flex; align-items: center; gap: 12px;
    font: 500 10.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(200, 201, 203, .6);
  }
  .scrollcue__line { position: relative; width: 56px; height: 1px; background: rgba(200, 201, 203, .25); overflow: hidden; }
  .scrollcue__line::after { content: ""; position: absolute; inset: 0; background: var(--silver); animation: cue 2.6s var(--ease-io) infinite; }
  @keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

  .section { padding: 152px 0; }
  .sheet { border-radius: 48px 48px 0 0; margin-top: -48px; }
  .head { margin-bottom: 72px; }

  /* Process becomes horizontal */
  .steps__track { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
  .steps__fill { transform: scaleX(var(--p)); transform-origin: left; }
  .steps__gear { left: calc(var(--p) * 100%); top: 50%; margin: -15px 0 0 -13px; padding: 0 2px; }
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 48px 0 0; }
  .step__dot { left: 0; top: -48px; margin-top: 2px; }

  .about { grid-template-columns: 240px 1fr; column-gap: 48px; }
  .about .head { grid-row: span 3; align-self: start; position: sticky; top: 120px; }
  .creds, .values { grid-column: 2; }

  .footer__row { grid-template-columns: 1.3fr 1.3fr auto; }
  .footer__copy { padding-bottom: 32px; }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .hero__title { font-size: clamp(42px, 4.6vw, 72px); }
  .hero { padding-top: 112px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .line__in, .js .nav, .js .reveal, .js .dim { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .drawing .ln { stroke-dashoffset: 0; }
  .js .drawing__fill, .js .drawing__axis { opacity: 1; }
  .js .drawing__lines { opacity: 0; }
  .marquee__track, .scrollcue__line::after, .status.is-open .status__dot { animation: none; }
  .js .manifesto .w { opacity: 1; }
  * { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
