:root {
  --ink: #0b0b0a;
  --ink-soft: #161615;
  --paper: #f1eee7;
  --paper-2: #d8d3c8;
  --muted: #918e87;
  --line: rgba(241, 238, 231, .16);
  --line-strong: rgba(241, 238, 231, .32);
  --signal: #0692a1;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection { background: var(--signal); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 88px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: flex;
  gap: 3px;
  align-items: end;
  justify-content: center;
  transform: rotate(-8deg);
}

.brand-mark i {
  display: block;
  width: 6px;
  border-radius: 10px;
  background: currentColor;
}
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 27px; }
.brand-mark i:nth-child(3) { height: 20px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a {
  font-family: var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
}
.nav-links > a:not(.nav-cta) { color: var(--paper-2); }
.nav-links > a:not(.nav-cta):hover { color: var(--paper); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--paper); color: var(--ink); }
.menu-button { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 6px 0; background: var(--paper); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(40px, 7vw, 120px);
  align-items: center;
  padding: 128px var(--pad) 42px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -16vw;
  top: 16%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  border: 1px solid rgba(241,238,231,.055);
  box-shadow: 0 0 0 9vw rgba(241,238,231,.015), 0 0 0 18vw rgba(241,238,231,.01);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 900px; }
.eyebrow, .section-label, .feature-kicker, .dialog-category {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.eyebrow { margin-bottom: 28px; color: var(--paper-2); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--signal); }

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(54px, 7vw, 112px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 600;
}
.hero h1 em, .statement h2 em { color: var(--muted); font-style: normal; }
.hero-intro {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--paper-2);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  letter-spacing: -.02em;
}
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-solid { background: var(--signal); color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
}

.hero-visual {
  position: relative;
  width: min(42vw, 590px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #20201e;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: #2a2a27;
  z-index: -1;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--line);
}
.hero-logo-wrap {
  width: 46%;
  height: 46%;
  display: grid;
  place-items: center;
}
.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  transition: opacity .25s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.hero-logo-wrap img.is-switching { opacity: 0; transform: scale(.76) rotate(-8deg); }
.hero-index {
  position: absolute;
  top: 9%;
  left: 11%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
}
.hero-product { position: absolute; left: 10%; bottom: 10%; display: flex; flex-direction: column; gap: 3px; }
.hero-product span { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-product strong { font-size: 20px; letter-spacing: -.04em; }
.hero-next {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hero-next:hover { background: var(--paper); color: var(--ink); transform: rotate(45deg); }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(241,238,231,.13); pointer-events: none; }
.hero-orbit-one { inset: 6%; animation: spin 38s linear infinite; }
.hero-orbit-two { inset: 26%; animation: spin 24s linear infinite reverse; }
.hero-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); top: -4px; left: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-metrics {
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 1px;
  margin-top: 42px;
}
.hero-metrics > div { display: flex; flex-direction: column; padding: 15px 20px 0 0; border-top: 1px solid var(--line); }
.hero-metrics strong { font-size: 20px; font-weight: 500; letter-spacing: -.04em; }
.hero-metrics span { margin-top: 4px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  animation: marquee 25s linear infinite;
}
.ticker-track b { color: var(--signal); font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.statement {
  min-height: 80vh;
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1.3fr) minmax(240px, .45fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
  padding: clamp(100px, 14vw, 210px) var(--pad);
  border-bottom: 1px solid var(--line);
}
.statement h2 {
  margin: 0;
  max-width: 1080px;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.065em;
  font-weight: 500;
}
.statement > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.featured { padding: clamp(90px, 12vw, 180px) var(--pad); }
.featured-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 64px; }
.featured-heading h2, .work-heading h2, .process-intro h2 {
  margin: 16px 0 0;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 500;
}
.feature {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #181817;
}
.feature-voicify .feature-visual { background: #222220; }
.feature-visual img { width: min(52%, 390px); height: min(52%, 390px); object-fit: contain; position: relative; z-index: 2; }
.feature-number { position: absolute; top: 24px; left: 24px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.feature-copy { padding: clamp(48px, 6vw, 94px); display: flex; flex-direction: column; justify-content: center; }
.feature-copy h3 { margin: 12px 0 20px; font-size: clamp(50px, 6vw, 92px); line-height: .95; letter-spacing: -.07em; font-weight: 500; }
.feature-copy > p:not(.feature-kicker) { max-width: 600px; margin: 0; color: var(--paper-2); font-size: 17px; line-height: 1.65; }
.feature-copy dl { margin: 54px 0 0; }
.feature-copy dl div { padding: 16px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.feature-copy dt, .feature-copy dd { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.feature-copy dt { color: var(--muted); }
.feature-signal { position: absolute; inset: 0; display: grid; place-items: center; opacity: .35; }
.feature-signal i { position: absolute; width: 14%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-strong); animation: pulse 4s ease-out infinite; }
.feature-signal i:nth-child(2) { width: 30%; animation-delay: 1s; }
.feature-signal i:nth-child(3) { width: 50%; animation-delay: 2s; }
.feature-signal i:nth-child(4) { width: 72%; animation-delay: 3s; }
@keyframes pulse { 0%, 30% { opacity: .2; } 60% { opacity: 1; } 100% { opacity: .2; } }
.voice-wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2.6%; opacity: .3; }
.voice-wave i { width: 1px; background: var(--paper); animation: wave 2.4s ease-in-out infinite; }
.voice-wave i:nth-child(1), .voice-wave i:nth-child(9) { height: 14%; }
.voice-wave i:nth-child(2), .voice-wave i:nth-child(8) { height: 27%; animation-delay: -.2s; }
.voice-wave i:nth-child(3), .voice-wave i:nth-child(7) { height: 44%; animation-delay: -.4s; }
.voice-wave i:nth-child(4), .voice-wave i:nth-child(6) { height: 63%; animation-delay: -.6s; }
.voice-wave i:nth-child(5) { height: 78%; animation-delay: -.8s; }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .35; } }

.work { padding: clamp(90px, 12vw, 180px) var(--pad); background: var(--paper); color: var(--ink); }
.work .section-label { color: #6f6c65; }
.work-heading { display: grid; grid-template-columns: 1fr minmax(260px, .4fr); gap: 50px; align-items: end; }
.work-heading p:last-child { margin: 0; color: #6f6c65; font-size: 15px; line-height: 1.65; }
.catalog-tools {
  margin-top: 70px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr) auto;
  gap: 24px;
  align-items: center;
  border-block: 1px solid rgba(11,11,10,.18);
}
.search-field { display: flex; align-items: center; gap: 12px; }
.search-field > span:not(.sr-only) { font-size: 24px; transform: rotate(-15deg); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-field input::placeholder { color: #77736b; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter {
  padding: 8px 11px;
  border: 1px solid rgba(11,11,10,.16);
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
.filter:hover, .filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.result-count { font-family: var(--mono); font-size: 10px; color: #77736b; white-space: nowrap; }

.app-list { border-bottom: 1px solid rgba(11,11,10,.18); }
.app-row {
  position: relative;
  min-height: 146px;
  width: 100%;
  display: grid;
  grid-template-columns: 56px 94px minmax(150px, .55fr) minmax(280px, 1fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid rgba(11,11,10,.18);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.app-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.app-row > * { position: relative; z-index: 1; }
.app-row:hover::before, .app-row:focus-visible::before { transform: translateY(0); }
.app-row:hover, .app-row:focus-visible { color: var(--paper); outline: none; }
.app-row-index { font-family: var(--mono); font-size: 9px; color: #77736b; transition: color .2s ease; }
.app-row:hover .app-row-index { color: var(--signal); }
.app-row-logo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 18px;
  transition: background .25s ease, transform .35s ease;
}
.app-row:hover .app-row-logo { background: var(--signal); transform: rotate(-4deg) scale(1.06); }
.app-row-logo img { width: 70%; height: 70%; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); mix-blend-mode: screen; }
.app-row-name strong { display: block; font-size: clamp(22px, 2.1vw, 34px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.app-row-name span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #77736b; }
.app-row:hover .app-row-name span { color: var(--muted); }
.app-row-summary { max-width: 680px; color: #5d5a54; font-size: 14px; line-height: 1.55; }
.app-row:hover .app-row-summary { color: var(--paper-2); }
.app-row-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: transform .25s ease; }
.app-row:hover .app-row-arrow { transform: rotate(45deg); }
.empty-state { margin: 50px 0 0; font-size: 24px; color: #77736b; }

.process {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(100px, 13vw, 190px) var(--pad);
}
.process-intro { position: sticky; top: 60px; align-self: start; }
.process-intro > p:last-child { max-width: 430px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.process-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.process-list li { min-height: 190px; display: grid; grid-template-columns: 70px 1fr; gap: 30px; align-items: start; padding: 42px 0; border-top: 1px solid var(--line); }
.process-list li > span { font-family: var(--mono); font-size: 11px; color: var(--signal); }
.process-list h3 { margin: 0 0 14px; font-size: clamp(27px, 3vw, 44px); letter-spacing: -.05em; font-weight: 500; }
.process-list p { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.closing {
  position: relative;
  min-height: 90vh;
  padding: clamp(90px, 12vw, 170px) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--signal);
  color: var(--ink);
  overflow: hidden;
}
.closing .section-label { color: rgba(11,11,10,.65); }
.closing h2 { position: relative; z-index: 1; margin: 20px 0 28px; font-size: clamp(70px, 11vw, 172px); line-height: .82; letter-spacing: -.085em; font-weight: 600; }
.closing > p:not(.section-label) { position: relative; z-index: 1; max-width: 600px; margin: 0 0 42px; font-size: 18px; line-height: 1.55; }
.closing .button { position: relative; z-index: 1; }
.closing-mark { position: absolute; right: -3vw; bottom: -12vw; width: min(50vw, 720px); aspect-ratio: 1; display: flex; gap: 4%; align-items: end; justify-content: center; opacity: .13; transform: rotate(-10deg); }
.closing-mark i { width: 17%; background: var(--ink); border-radius: 999px; }
.closing-mark i:nth-child(1) { height: 43%; }
.closing-mark i:nth-child(2) { height: 88%; }
.closing-mark i:nth-child(3) { height: 64%; }

footer {
  min-height: 150px;
  padding: 30px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}
footer p, footer > span { margin: 0; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
footer p { text-align: center; }

.app-dialog {
  width: min(1120px, calc(100% - 40px));
  max-height: min(820px, calc(100svh - 40px));
  margin: auto;
  padding: 0;
  border: 1px solid rgba(241,238,231,.2);
  background: var(--ink-soft);
  color: var(--paper);
  grid-template-columns: .85fr 1.15fr;
  overflow: auto;
}
.app-dialog[open] { display: grid; animation: dialogIn .35s cubic-bezier(.2,.8,.2,1); }
.app-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.dialog-close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.dialog-close:hover { background: var(--paper); color: var(--ink); }
.dialog-visual { position: relative; min-height: 640px; display: grid; place-items: center; background: #242421; overflow: hidden; }
.dialog-visual::before, .dialog-visual::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.dialog-visual::before { width: 80%; aspect-ratio: 1; }
.dialog-visual::after { width: 56%; aspect-ratio: 1; }
.dialog-visual img { position: relative; z-index: 1; width: 45%; aspect-ratio: 1; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.dialog-index { position: absolute; top: 24px; left: 24px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.dialog-copy { padding: clamp(52px, 7vw, 100px); }
.dialog-copy h2 { margin: 12px 0 24px; font-size: clamp(50px, 6vw, 88px); line-height: .95; letter-spacing: -.07em; font-weight: 500; }
.dialog-summary { margin: 0 0 50px; color: var(--paper-2); font-size: 17px; line-height: 1.65; }
.dialog-detail { padding: 20px 0; border-top: 1px solid var(--line); }
.dialog-detail span { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dialog-detail p { margin: 10px 0 0; color: var(--paper-2); font-size: 14px; line-height: 1.6; }
.dialog-repo-meta { display: grid; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.dialog-repo-meta > div { display: flex; justify-content: space-between; gap: 20px; font-family: var(--mono); font-size: 9px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.dialog-repo-meta span { color: var(--muted); }
.dialog-repo-meta strong { color: var(--paper-2); font-weight: 400; text-align: right; word-break: break-word; }
.dialog-next { margin-top: 38px; padding: 0 0 8px; display: flex; gap: 30px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr minmax(330px, .75fr); }
  .hero-visual { width: min(43vw, 500px); }
  .statement { grid-template-columns: 150px 1fr; }
  .statement > p:last-child { grid-column: 2; max-width: 450px; margin-top: 10px; }
  .feature { grid-template-columns: 1fr; }
  .feature-visual { min-height: 500px; }
  .feature-copy { min-height: 500px; }
  .app-row { grid-template-columns: 40px 82px minmax(150px, .55fr) minmax(220px, 1fr) 40px; gap: 18px; }
  .catalog-tools { grid-template-columns: minmax(220px, .7fr) 1fr auto; }
}

@media (max-width: 780px) {
  .topbar { height: 72px; }
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    left: 0; right: 0; top: 72px;
    padding: 28px var(--pad);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 10px 0; }
  .nav-cta { justify-content: space-between; padding: 16px !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 130px; }
  .hero-visual { width: min(92vw, 560px); margin: 66px auto 0; justify-self: center; }
  .hero-metrics { grid-column: 1; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; }
  .statement { min-height: auto; grid-template-columns: 1fr; padding-block: 110px; }
  .statement > p:last-child { grid-column: 1; margin-top: 12px; }
  .featured-heading { display: block; }
  .feature-visual { min-height: 420px; }
  .feature-copy { padding: 52px 0 90px; min-height: auto; }
  .work-heading { grid-template-columns: 1fr; }
  .catalog-tools { grid-template-columns: 1fr auto; }
  .filters { grid-column: 1 / -1; grid-row: 2; }
  .result-count { grid-column: 2; grid-row: 1; }
  .app-row { min-height: 132px; grid-template-columns: 70px 1fr 38px; gap: 16px; }
  .app-row-index { display: none; }
  .app-row-logo { width: 64px; height: 64px; border-radius: 15px; }
  .app-row-summary { grid-column: 2 / -1; margin-top: -14px; padding-right: 10px; }
  .app-row-arrow { grid-column: 3; grid-row: 1; }
  .process { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .app-dialog[open] { display: block; }
  .dialog-visual { min-height: 340px; }
  .dialog-visual img { width: 36%; }
  .dialog-copy { padding: 44px 26px 60px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 520px) {
  :root { --pad: 20px; --radius: 22px; }
  .hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .hero-intro { margin-top: 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-visual { width: calc(100vw - 40px); }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics > div { padding: 12px 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .hero-metrics span { margin: 0; }
  .statement h2, .featured-heading h2, .work-heading h2, .process-intro h2 { font-size: 46px; }
  .feature-visual { min-height: 350px; }
  .feature-copy h3 { font-size: 58px; }
  .catalog-tools { margin-top: 45px; grid-template-columns: 1fr; }
  .result-count { grid-row: auto; grid-column: auto; }
  .filters { grid-column: 1; grid-row: auto; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .app-row { grid-template-columns: 58px 1fr 34px; min-height: 118px; }
  .app-row-logo { width: 52px; height: 52px; border-radius: 13px; }
  .app-row-summary { display: none; }
  .app-row-name strong { font-size: 24px; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 16px; }
  .closing h2 { font-size: 22vw; }
  .app-dialog { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
