@font-face {
  font-family: "Lonch Display";
  src: url("../assets/fonts/lonch-studio/unbounded-variable.woff2") format("woff2"),
       url("../assets/fonts/lonch-studio/unbounded-variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lonch Sans";
  src: url("../assets/fonts/lonch-studio/manrope-variable.woff2") format("woff2"),
       url("../assets/fonts/lonch-studio/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #080908;
  --ink-soft: #111210;
  --paper: #f1efe9;
  --paper-soft: #d8d6cf;
  --acid: #caff37;
  --acid-dark: #27340c;
  --line-dark: rgba(241, 239, 233, .18);
  --line-light: rgba(8, 9, 8, .18);
  --muted-dark: rgba(241, 239, 233, .68);
  --muted-light: rgba(8, 9, 8, .64);
  --edge: clamp(20px, 3vw, 52px);
  --section: clamp(92px, 11vw, 164px);
  --control-radius: 12px;
  --compact-radius: 8px;
  --display: "Lonch Display", Arial, sans-serif;
  --sans: "Lonch Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }
figure, h1, h2, h3, h4, p { margin-top: 0; }
ul, ol { margin-top: 0; }
::selection { color: var(--ink); background: var(--acid); }
* { scrollbar-width: thin; scrollbar-color: var(--acid) var(--ink); caret-color: var(--acid); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { border: 3px solid var(--ink); border-radius: 999px; background: var(--acid); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

.topbar {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: var(--edge);
  right: var(--edge);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}

.topbar > * { pointer-events: auto; }
.brand {
  justify-self: start;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -.03em;
}

.brand-dot { color: var(--acid); }
.topbar[data-theme="light"] .brand,
.topbar[data-theme="acid"] .brand { color: var(--ink); }
.topbar[data-theme="acid"] .nav-cta { color: var(--acid); background: var(--ink); }
.topbar.is-open .brand { color: var(--paper); }
.nav-shell {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(241, 239, 233, .14);
  border-radius: 14px;
  background: rgba(8, 9, 8, .64);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 8px 34px rgba(0, 0, 0, .18);
}

.nav-shell a {
  padding: 9px 14px;
  border-radius: var(--compact-radius);
  color: rgba(241, 239, 233, .76);
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}

.nav-shell a:hover,
.nav-shell a:focus-visible,
.nav-shell a[aria-current="page"] {
  color: var(--paper);
  background: rgba(241, 239, 233, .1);
  outline: none;
}

.nav-cta,
.button,
.button-dark,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: var(--control-radius);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.nav-cta { justify-self: end; color: var(--ink); background: var(--acid); }
.button { color: var(--ink); background: var(--acid); }
.button-dark { color: var(--acid); background: var(--ink); }
.button-outline { border: 1px solid currentColor; color: inherit; background: transparent; }
.nav-cta:hover, .nav-cta:focus-visible,
.button:hover, .button:focus-visible,
.button-dark:hover, .button-dark:focus-visible,
.button-outline:hover, .button-outline:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.nav-cta svg, .button svg, .button-dark svg, .button-outline svg { width: 16px; height: 16px; }
.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(241, 239, 233, .18);
  border-radius: var(--compact-radius);
  color: var(--paper);
  background: rgba(8, 9, 8, .72);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.page-hero {
  position: relative;
  min-height: min(940px, 100svh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #050605;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background: linear-gradient(155deg, #080908 10%, #11150a 60%, #080908 90%);
}

.page-hero-media,
.page-hero-media::after { position: absolute; inset: 0; }
.page-hero-media { z-index: -2; overflow: hidden; }
.page-hero-media img {
  height: 112%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(1.08) brightness(.64);
  transform: scale(1.03);
}

.page-hero-media::after {
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 6, 5, .55) 0%, rgba(5, 6, 5, .12) 36%, rgba(5, 6, 5, .82) 86%, #080908 100%),
    linear-gradient(90deg, rgba(5, 6, 5, .72) 0%, rgba(5, 6, 5, .08) 72%);
}

.service-detail-hero--crm-development .page-hero-media img {
  object-position: center 42%;
  filter: saturate(.82) contrast(1.06) brightness(.7);
}

.service-detail-hero--crm-development .page-hero-media::after {
  background:
    linear-gradient(180deg, rgba(5, 6, 5, .42) 0%, rgba(5, 6, 5, .08) 31%, rgba(5, 6, 5, .74) 72%, #080908 100%),
    linear-gradient(90deg, rgba(5, 6, 5, .6) 0%, rgba(5, 6, 5, .12) 48%, rgba(5, 6, 5, .46) 100%);
}

.hero-shell {
  width: 100%;
  padding: clamp(150px, 20vh, 220px) var(--edge) clamp(70px, 9vh, 110px);
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin: 0 0 clamp(38px, 6vh, 76px);
  padding: 0;
  border: 0;
  list-style: none;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
}

.breadcrumbs li:last-child {
  max-width: min(52vw, 460px);
  overflow: hidden;
  color: var(--acid);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs a { transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--paper); }
.breadcrumbs a:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.breadcrumbs li:not(:last-child)::after {
  width: 6px;
  height: 6px;
  margin: 0 12px 0 10px;
  border-top: 1px solid var(--acid);
  border-right: 1px solid var(--acid);
  content: "";
  transform: rotate(45deg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(34px, 7vw, 110px);
}

.hero-title {
  max-width: 1040px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(54px, 7.4vw, 112px);
  line-height: .94;
  font-weight: 620;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero-title--compact { font-size: clamp(48px, 6.4vw, 94px); }
.hero-aside { align-self: end; padding-bottom: 8px; }
.hero-aside p { max-width: 440px; margin-bottom: 26px; color: rgba(241, 239, 233, .82); font-size: clamp(16px, 1.3vw, 20px); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line-dark);
}

.hero-fact { padding: 18px 0; background: rgba(8, 9, 8, .72); }
.hero-fact + .hero-fact { padding-left: 18px; }
.hero-fact span { display: block; color: var(--muted-dark); font-size: 12px; }
.hero-fact strong { display: block; margin-top: 5px; font-weight: 650; }

.case-detail-hero .page-hero-media img {
  filter: saturate(.82) contrast(1.06) brightness(.68);
}

.case-detail-hero .page-hero-media::after {
  background:
    linear-gradient(180deg, rgba(5, 6, 5, .46) 0%, rgba(5, 6, 5, .08) 34%, rgba(5, 6, 5, .72) 72%, #080908 100%),
    linear-gradient(90deg, rgba(5, 6, 5, .74) 0%, rgba(5, 6, 5, .18) 62%, rgba(5, 6, 5, .46) 100%);
}

.case-hero-shell {
  min-height: min(980px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 124px;
}

.case-hero-shell .breadcrumbs { margin-bottom: auto; }
.case-detail-hero .hero-grid { padding-top: clamp(72px, 11vh, 128px); }
.case-detail-hero .hero-facts {
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
}
.case-detail-hero .hero-fact {
  min-width: 0;
  padding: 17px clamp(20px, 3vw, 30px);
  background: transparent;
}
.case-detail-hero .hero-fact:first-child { padding-left: 0; }
.case-detail-hero .hero-fact + .hero-fact { border-left: 1px solid var(--line-dark); }
.case-detail-hero .hero-fact strong { overflow-wrap: anywhere; line-height: 1.28; }

.system-stage {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: 2%;
  width: min(45vw, 650px);
  aspect-ratio: 1;
  opacity: .72;
}

.system-stage svg { width: 100%; height: 100%; overflow: visible; }
.system-stage .system-line {
  fill: none;
  stroke: rgba(202, 255, 55, .42);
  stroke-width: 1.2;
  stroke-dasharray: 12 16;
}

.system-stage .system-node { fill: var(--ink); stroke: var(--acid); stroke-width: 1.5; }
.system-stage .system-core { fill: var(--acid); }
.section { padding: var(--section) var(--edge); }
.section[id] { scroll-margin-top: 0; }
h2[id], article[id] { scroll-margin-top: 112px; }
.section-dark { color: var(--paper); background: var(--ink); }
.section-soft { color: var(--paper); background: var(--ink-soft); }
.section-light { color: var(--ink); background: var(--paper); }
.section-acid { color: var(--ink); background: var(--acid); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 110px);
}

.section-head h2,
.display-heading {
  max-width: 1050px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(44px, 6.3vw, 92px);
  line-height: .97;
  font-weight: 590;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.section-head p { max-width: 520px; margin-bottom: 0; color: var(--muted-dark); font-size: clamp(16px, 1.25vw, 19px); }
.section-head > * { min-width: 0; }
.section-light .section-head p,
.section-acid .section-head p { color: var(--muted-light); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link svg { width: 16px; height: 16px; }

.service-directory { border-top: 1px solid var(--line-dark); }
.service-group {
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 7vw, 110px);
  padding: clamp(34px, 5vw, 66px) 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-group h2 { margin-bottom: 14px; font-family: var(--display); font-size: clamp(27px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.service-group > div:first-child p { max-width: 360px; margin-bottom: 0; color: var(--muted-dark); }
.service-group > * { min-width: 0; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list > li > a,
.service-list > li > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(241, 239, 233, .11);
  font-size: clamp(18px, 1.8vw, 25px);
  transition: color .2s ease, transform .2s ease;
}

.service-list > li:last-child > a,
.service-list > li:last-child > span { border-bottom: 0; }
.service-list > li > a > span { display: block; min-width: 0; }
.service-list a:hover,
.service-list a:focus-visible { color: var(--acid); outline: none; transform: translateX(12px); }
.service-list svg { width: 20px; height: 20px; }
.service-list small { display: block; margin-top: 4px; color: var(--muted-dark); font-size: 13px; }
.service-group h2,
.service-list strong,
.service-list small { overflow-wrap: anywhere; hyphens: auto; }

.process-list { border-top: 1px solid currentColor; }
.process-row {
  display: grid;
  grid-template-columns: 54px minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: clamp(22px, 5vw, 80px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid rgba(8, 9, 8, .2);
}

.section-dark .process-row,
.section-soft .process-row { border-bottom-color: var(--line-dark); }
.process-row > span { font-variant-numeric: tabular-nums; color: var(--acid-dark); font-weight: 760; }
.section-dark .process-row > span,
.section-soft .process-row > span { color: var(--acid); }
.process-row h3 { margin-bottom: 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 33px); line-height: 1.1; letter-spacing: -.03em; }
.process-row p { max-width: 680px; margin-bottom: 0; color: var(--muted-light); }
.process-row > * { min-width: 0; }
.process-row h3,
.process-row p { overflow-wrap: anywhere; hyphens: auto; }
.section-dark .process-row p,
.section-soft .process-row p { color: var(--muted-dark); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.case-tile {
  --case-media-height: clamp(320px, 34vw, 510px);
  --case-stage: var(--paper-soft);
  grid-column: span var(--case-span, 6);
  min-width: 0;
  display: flex;
  height: 100%;
  flex-direction: column;
}

.case-tile[data-case-span="4"] { --case-media-height: clamp(260px, 24vw, 360px); }
.case-tile[data-case-span="12"] { --case-media-height: clamp(360px, 42vw, 620px); }
.case-tile--tablet { --case-stage: var(--paper); }
.case-tile--mobile { --case-stage: var(--acid); }
.case-tile--split { --case-stage: var(--ink-soft); }
.case-tile-media {
  position: relative;
  height: var(--case-media-height);
  overflow: hidden;
  background: var(--case-stage);
}
.case-preview { position: absolute; inset: 0; overflow: hidden; }
.case-device {
  --device-rotate: 0deg;
  position: absolute;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 8, .22);
  background: #050605;
  transform: rotate(var(--device-rotate));
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.case-device img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}
.case-device--desktop {
  left: 4%;
  right: 4%;
  top: 12%;
  bottom: 8%;
  display: grid;
  grid-template-rows: 18px minmax(0, 1fr);
  border-radius: 10px 10px 3px 3px;
}
.case-device__bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  background: #111210;
}
.case-device__bar i { width: 4px; height: 4px; border-radius: 50%; background: rgba(241, 239, 233, .44); }
.case-device--phone {
  right: 2%;
  bottom: -3%;
  z-index: 2;
  display: grid;
  width: 24%;
  height: 80%;
  padding: 8px 5px 5px;
  border: 5px solid #080908;
  border-radius: 27px;
}
.case-device--phone img { border-radius: 16px; }
.case-device__sensor {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 50%;
  width: 30%;
  height: 4px;
  border-radius: 4px;
  background: #080908;
  transform: translateX(-50%);
}
.case-preview--browser .case-device--phone { display: none; }
.case-preview--split .case-device--desktop { --device-rotate: -1.4deg; right: 17%; top: 10%; bottom: 7%; }
.case-preview--split .case-device--phone { --device-rotate: 2.4deg; }
.case-preview--tablet .case-device--desktop {
  --device-rotate: -2.2deg;
  left: 7%;
  right: 18%;
  top: 7%;
  bottom: 7%;
  grid-template-rows: minmax(0, 1fr);
  padding: 7px;
  border: 6px solid #080908;
  border-radius: 22px;
}
.case-preview--tablet .case-device__bar { display: none; }
.case-preview--tablet .case-device--desktop img { border-radius: 10px; }
.case-preview--tablet .case-device--phone { --device-rotate: 3deg; right: 3%; height: 72%; }
.case-preview--mobile .case-device--desktop { --device-rotate: -1.6deg; right: 22%; top: 15%; bottom: 13%; opacity: .78; }
.case-preview--mobile .case-device--phone { --device-rotate: 2.8deg; right: 8%; width: 29%; height: 84%; }
.case-tile:hover .case-device,
.case-tile:focus-visible .case-device { transform: translateY(-7px) rotate(var(--device-rotate)); }
.case-tile:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
.case-tag,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px;
  border-radius: var(--compact-radius);
  font-size: 11px;
  font-weight: 760;
  line-height: 1;
}

.case-tag { position: absolute; z-index: 4; top: 14px; left: 14px; color: var(--paper); background: rgba(8, 9, 8, .9); }
.status-chip { color: var(--ink); background: var(--acid); }
.case-tile-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; flex: 1; gap: 20px; padding: 20px 0 32px; border-bottom: 1px solid var(--line-dark); }
.section-light .case-tile-body { border-bottom-color: var(--line-light); }
.case-tile h3 { margin-bottom: 8px; font-family: var(--display); font-size: clamp(20px, 2.1vw, 31px); line-height: 1.12; letter-spacing: -.03em; }
.case-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 0; padding: 0; list-style: none; color: var(--muted-dark); font-size: 12px; }
.section-light .case-meta { color: var(--muted-light); }
.case-tile-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--compact-radius); }
.case-tile-arrow svg { width: 16px; height: 16px; }
.case-tile-arrow { transition: color .2s ease, background .2s ease, border-color .2s ease; }
.case-tile:hover .case-tile-arrow,
.case-tile:focus-visible .case-tile-arrow { border-color: var(--acid); color: var(--ink); background: var(--acid); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 42px; padding: 0; border: 0; }
.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--control-radius);
  color: var(--muted-dark);
  background: transparent;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active { color: var(--ink); background: var(--acid); outline: none; }
.case-tile[hidden] { display: none; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid currentColor; }
.feature-item { min-height: 250px; padding: clamp(26px, 4vw, 48px) clamp(20px, 3vw, 42px) clamp(30px, 4vw, 52px) 0; border-bottom: 1px solid currentColor; }
.feature-item:nth-child(odd) { border-right: 1px solid currentColor; }
.feature-item:nth-child(even) { padding-left: clamp(20px, 3vw, 42px); }
.feature-item h3 { max-width: 430px; margin-bottom: 18px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.feature-item p { max-width: 600px; margin-bottom: 0; color: var(--muted-light); }
.feature-item { min-width: 0; }
.feature-item h3,
.feature-item p { overflow-wrap: anywhere; hyphens: auto; }
.section-dark .feature-item p,
.section-soft .feature-item p { color: var(--muted-dark); }

.scope-table { border-top: 1px solid var(--line-dark); }
.scope-row { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: clamp(30px, 6vw, 90px); padding: clamp(26px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line-dark); }
.scope-row h3 { margin-bottom: 0; font-family: var(--display); font-size: clamp(22px, 2vw, 31px); letter-spacing: -.03em; }
.scope-row ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; margin-bottom: 0; padding-left: 18px; color: var(--muted-dark); }
.scope-row li::marker { color: var(--acid); }
.scope-row > * { min-width: 0; }
.scope-row h3,
.scope-row li { overflow-wrap: anywhere; hyphens: auto; }

.value-list { border-top: 1px solid var(--line-light); }
.value-row { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 7vw, 110px); padding: clamp(32px, 5vw, 62px) 0; border-bottom: 1px solid var(--line-light); }
.value-row h3 { margin-bottom: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; }
.value-row p { max-width: 700px; margin-bottom: 0; color: var(--muted-light); font-size: clamp(16px, 1.35vw, 20px); }

.team-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.role { min-height: 260px; padding: 28px 24px 32px 0; }
.role + .role { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.role span { color: var(--acid); font-size: 12px; font-weight: 760; }
.role h3 { margin: 54px 0 12px; font-family: var(--display); font-size: clamp(20px, 2vw, 29px); letter-spacing: -.03em; }
.role p { margin-bottom: 0; color: var(--muted-dark); font-size: 14px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr); gap: clamp(44px, 9vw, 150px); }
.contact-details { border-top: 1px solid var(--line-dark); }
.contact-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.contact-row span { color: var(--muted-dark); font-size: 12px; }
.contact-row strong, .contact-row a { font-size: clamp(17px, 1.6vw, 23px); font-weight: 600; }
.contact-form > p { max-width: 560px; margin-bottom: 34px; color: var(--muted-dark); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.field { position: relative; padding-top: 16px; border-bottom: 1px solid var(--line-dark); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline: 0;
  padding: 17px 0 13px;
  color: var(--paper);
  background: transparent;
  resize: vertical;
}

.field label { position: absolute; left: 0; top: 34px; color: var(--muted-dark); pointer-events: none; transition: transform .2s ease, font-size .2s ease, color .2s ease; transform-origin: left top; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--phone label { transform: translateY(-19px); color: var(--paper-soft); font-size: 12px; }
.field:focus-within { border-bottom-color: var(--acid); box-shadow: 0 1px 0 var(--acid); }
.field--phone input::placeholder { color: rgba(241, 239, 233, .38); opacity: 1; }
.form-submit { margin-top: 28px; }
.form-note { margin: 14px 0 0; color: var(--muted-dark); font-size: 12px; }
.form-note a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.social-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: var(--compact-radius); color: var(--paper); }
.social-icon svg { width: 19px; height: 19px; }

.case-story { display: grid; grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr); gap: clamp(38px, 8vw, 120px); }
.case-story > * { min-width: 0; }
.case-story-nav { align-self: start; position: sticky; top: 110px; }
.case-story-nav ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.case-story-nav a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); }
.case-story-nav a:hover, .case-story-nav a:focus-visible { color: var(--acid); outline: none; }
.story-block { padding: 0 0 clamp(70px, 9vw, 120px); scroll-margin-top: 110px; }
.story-block h2 { margin-bottom: 28px; font-family: var(--display); font-size: clamp(34px, 4.3vw, 64px); line-height: 1; letter-spacing: -.04em; }
.story-block p { max-width: 760px; color: rgba(241, 239, 233, .82); font-size: clamp(17px, 1.45vw, 21px); }
.story-block ul { max-width: 760px; padding-left: 20px; color: rgba(241, 239, 233, .82); }
.story-block li { margin: 10px 0; }
.story-block li::marker { color: var(--acid); }
.proof-note { padding: 24px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); }
.proof-note strong { color: var(--acid); }
.case-hero-image { margin-top: clamp(48px, 7vw, 90px); aspect-ratio: 16 / 7; overflow: hidden; }
.case-hero-image img { height: 100%; object-fit: cover; }
.case-live-link { margin-top: 22px; }
.case-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(44px, 7vw, 86px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line-dark);
}
.case-showcase__overview {
  position: relative;
  grid-column: 1 / -1;
  min-height: clamp(360px, 48vw, 620px);
  overflow: hidden;
  background: var(--paper-soft);
}
.case-showcase__browser {
  position: absolute;
  left: 4%;
  right: 16%;
  top: 10%;
  bottom: 9%;
  display: grid;
  grid-template-rows: 20px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(8, 9, 8, .24);
  border-radius: 11px 11px 3px 3px;
  background: #050605;
  transform: rotate(-1deg);
}
.case-showcase__browser img,
.case-showcase__phone img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top center; }
.case-showcase__phone {
  position: absolute;
  z-index: 2;
  right: 3.5%;
  bottom: -4%;
  width: clamp(116px, 23%, 190px);
  height: 82%;
  display: grid;
  padding: 9px 6px 6px;
  overflow: hidden;
  border: 6px solid #080908;
  border-radius: 31px;
  background: #050605;
  transform: rotate(2.3deg);
}
.case-showcase__phone img { border-radius: 18px; }
.case-showcase__frame { min-width: 0; margin: 0; }
.case-showcase__frame--desktop { grid-column: span 8; }
.case-showcase__frame--mobile {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 38px);
  background: var(--acid);
}
.case-showcase__viewport { position: relative; overflow: hidden; border: 1px solid rgba(241, 239, 233, .22); background: #050605; }
.case-showcase__frame--desktop .case-showcase__viewport { aspect-ratio: 3 / 2; }
.case-showcase__frame--mobile .case-showcase__viewport { width: min(100%, 230px); aspect-ratio: 43 / 90; margin: auto; border-width: 6px; border-color: #050605; border-radius: 29px; }
.case-showcase__viewport img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-showcase figcaption { margin-top: 10px; color: var(--muted-dark); font-size: 11px; line-height: 1.4; }
.case-showcase__frame--mobile figcaption { color: var(--acid-dark); text-align: center; }

.faq-list { border-top: 1px solid currentColor; }
.faq-item { border-bottom: 1px solid currentColor; }
.faq-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span:first-child { font-family: var(--display); font-size: clamp(19px, 2vw, 28px); letter-spacing: -.025em; }
.faq-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--compact-radius); }
.faq-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.faq-item[open] .faq-toggle svg { transform: rotate(45deg); }
.faq-answer { max-width: 760px; padding: 0 0 28px; color: var(--muted-light); }
.section-dark .faq-answer,
.section-soft .faq-answer { color: var(--muted-dark); }

/* Editorial, legal and partnership surfaces */
.editorial-hero,
.article-hero,
.author-hero,
.legal-hero {
  position: relative;
  padding: clamp(142px, 17vw, 220px) var(--edge) clamp(72px, 9vw, 126px);
  overflow: hidden;
}

.editorial-hero::after,
.legal-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -26vw;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8vw var(--ink), inset 0 0 0 calc(8vw + 1px) var(--line-dark);
  pointer-events: none;
}

.editorial-hero__inner { position: relative; z-index: 1; }
.editorial-hero__grid,
.legal-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: clamp(38px, 8vw, 130px);
  align-items: end;
}

.editorial-hero h1,
.article-hero h1,
.author-profile h1,
.legal-hero h1 {
  max-width: 1180px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 620;
  line-height: .96;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.editorial-hero h1 sup { margin-left: 12px; color: var(--acid); font-family: var(--sans); font-size: 14px; font-weight: 760; vertical-align: top; letter-spacing: 0; }
.editorial-hero__aside { align-self: end; }
.editorial-hero__aside p { max-width: 500px; margin-bottom: 28px; color: var(--muted-dark); font-size: clamp(17px, 1.4vw, 21px); }

.journal-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: stretch;
  margin-bottom: clamp(62px, 8vw, 110px);
  padding: 0 0 clamp(62px, 8vw, 110px);
  border-bottom: 1px solid var(--line-light);
}

.journal-feature__media { position: relative; min-height: 560px; overflow: hidden; background: var(--ink-soft); }
.journal-feature__media img { height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.journal-feature__media:hover img,
.journal-feature__media:focus-visible img { transform: scale(1.025); filter: saturate(.88); }
.journal-feature__content { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(10px, 2vw, 34px) 0; }
.journal-feature__content h2 { margin: 24px 0; font-family: var(--display); font-size: clamp(30px, 4vw, 58px); line-height: 1.02; letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: balance; }
.journal-feature__content > p { max-width: 560px; margin-bottom: 32px; color: var(--muted-light); font-size: clamp(16px, 1.2vw, 19px); }

.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(46px, 7vw, 96px) clamp(24px, 4vw, 58px); }
.journal-card { min-width: 0; }
.journal-card__link { display: flex; height: 100%; flex-direction: column; }
.journal-card__media { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--ink-soft); }
.journal-card__media img { height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.journal-card__link:hover .journal-card__media img,
.journal-card__link:focus-visible .journal-card__media img { transform: scale(1.035); filter: saturate(1); }
.journal-card__category { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: var(--compact-radius); color: var(--ink); background: var(--acid); font-size: 11px; font-weight: 760; }
.journal-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 0 26px; border-bottom: 1px solid var(--line-light); }
.section-dark .journal-card__body,
.section-soft .journal-card__body { border-bottom-color: var(--line-dark); }
.journal-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted-light); font-size: 12px; font-variant-numeric: tabular-nums; }
.section-dark .journal-card__meta,
.section-soft .journal-card__meta { color: var(--muted-dark); }
.journal-card h3 { margin: 22px 0 16px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.03em; overflow-wrap: anywhere; text-wrap: balance; }
.journal-card__body > p { max-width: 620px; margin-bottom: 28px; color: var(--muted-light); }
.section-dark .journal-card__body > p,
.section-soft .journal-card__body > p { color: var(--muted-dark); }
.journal-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; font-size: 13px; font-weight: 650; }
.journal-card__arrow { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: var(--compact-radius); }
.journal-card__arrow svg { width: 16px; height: 16px; }

.studio-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: clamp(58px, 8vw, 104px); padding-top: 24px; border-top: 1px solid currentColor; }
.studio-pagination__control { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.studio-pagination__control:last-child { justify-self: end; }
.studio-pagination__control svg { width: 18px; height: 18px; }
.studio-pagination__control.is-disabled { opacity: .35; }
.studio-pagination__pages { display: flex; gap: 7px; }
.studio-pagination__pages a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--compact-radius); font-size: 12px; font-variant-numeric: tabular-nums; }
.studio-pagination__pages a[aria-current="page"] { border-color: var(--acid); color: var(--ink); background: var(--acid); }
.studio-empty-state { max-width: 760px; padding: clamp(42px, 7vw, 82px) 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.studio-empty-state h2,
.studio-empty-state h3 { margin-bottom: 18px; font-family: var(--display); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.studio-empty-state p { max-width: 580px; color: var(--muted-light); }
.studio-empty-state .button-dark { margin-top: 18px; }

.article-hero { padding-bottom: 0; }
.article-hero .breadcrumbs { margin-bottom: clamp(46px, 8vw, 110px); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.article-tags span { padding: 7px 11px; border: 1px solid currentColor; border-radius: var(--compact-radius); font-size: 11px; font-weight: 700; }
.article-hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(38px, 9vw, 140px); align-items: end; margin: clamp(44px, 7vw, 92px) 0 clamp(50px, 7vw, 92px); }
.article-hero__foot > p { max-width: 700px; margin-bottom: 0; color: rgba(241,239,233,.82); font-size: clamp(18px, 1.8vw, 26px); }
.article-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.article-meta div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.article-meta dt { margin-bottom: 6px; color: var(--muted-dark); font-size: 11px; }
.article-meta dd { margin: 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.article-cover { width: calc(100% + (var(--edge) * 2)); margin: 0 calc(var(--edge) * -1); aspect-ratio: 16 / 7; overflow: hidden; background: var(--ink-soft); }
.article-cover img { height: 100%; object-fit: cover; }
.article-layout,
.legal-layout { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: clamp(48px, 10vw, 160px); align-items: start; }
.article-aside,
.legal-aside { position: sticky; top: 116px; display: grid; gap: 28px; }
.article-author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 0 0 24px; border-bottom: 1px solid var(--line-light); }
.article-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.article-author span { display: grid; gap: 3px; }
.article-author small { color: var(--muted-light); font-size: 11px; }
.article-author strong { font-size: 15px; }
.article-author em { color: var(--muted-light); font-size: 12px; font-style: normal; }
.article-prose { width: 100%; max-width: 780px; min-width: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.72; overflow-wrap: anywhere; }
.article-prose > :first-child { margin-top: 0; }
.article-prose > :last-child { margin-bottom: 0; }
.article-prose h2,
.article-prose h3,
.article-prose h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.article-prose h2 { margin: 2.2em 0 .7em; font-size: clamp(30px, 3.7vw, 52px); }
.article-prose h3 { margin: 2em 0 .65em; font-size: clamp(23px, 2.6vw, 34px); }
.article-prose h4 { margin: 1.8em 0 .6em; font-size: 21px; }
.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose blockquote,
.article-prose figure,
.article-prose table { margin-bottom: 1.45em; }
.article-prose ul,
.article-prose ol { padding-left: 1.25em; }
.article-prose li { margin: .45em 0; }
.article-prose li::marker { color: var(--acid-dark); font-weight: 800; }
.article-prose a { text-decoration: underline; text-decoration-color: var(--acid-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article-prose blockquote { margin-left: 0; padding: clamp(26px, 4vw, 44px); color: var(--paper); background: var(--ink); font-family: var(--display); font-size: clamp(21px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -.025em; }
.article-prose img { height: auto; }
.article-prose figure { margin-left: 0; margin-right: 0; }
.article-prose figcaption { margin-top: 9px; color: var(--muted-light); font-size: 12px; }
.article-prose pre { max-width: 100%; padding: 20px; overflow: auto; color: var(--paper); background: var(--ink); font-size: 14px; }
.article-prose code { overflow-wrap: anywhere; }
.article-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-prose th,
.article-prose td { padding: 13px 12px; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }

.author-hero { min-height: min(920px, 100svh); }
.author-hero__grid { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 9vw, 150px); align-items: end; }
.author-portrait { max-width: 620px; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-soft); }
.author-portrait img { height: 100%; object-fit: cover; filter: saturate(.7); }
.author-profile { padding-bottom: clamp(8px, 4vw, 64px); }
.author-role { margin-bottom: 24px; color: var(--acid); font-weight: 700; }
.author-bio { max-width: 690px; margin: 36px 0 30px; color: rgba(241,239,233,.82); font-size: clamp(17px, 1.5vw, 22px); }
.author-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.author-socials a { padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: var(--control-radius); font-size: 12px; font-weight: 700; }

.legal-hero { min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; }
.legal-hero__grid h1 { position: relative; z-index: 1; }
.legal-hero__grid > p { position: relative; z-index: 1; margin-bottom: 8px; color: var(--muted-dark); }
.legal-aside > span { padding-top: 14px; border-top: 1px solid var(--line-light); color: var(--muted-light); font-size: 12px; }
.legal-prose { max-width: 860px; }

.partnership-manifest { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(38px, 9vw, 140px); align-items: end; padding: var(--section) var(--edge); }
.partnership-manifest h2 { max-width: 1050px; margin-bottom: 0; font-family: var(--display); font-size: clamp(38px, 5.8vw, 82px); line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.partnership-manifest p { max-width: 470px; margin-bottom: 8px; color: var(--muted-light); font-size: clamp(17px, 1.4vw, 21px); }
.partnership-offers { border-top: 1px solid var(--line-light); }
.partnership-offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 7vw, 110px); padding: clamp(42px, 7vw, 92px) 0; border-bottom: 1px solid var(--line-light); }
.partnership-offer.has-media { grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); }
.partnership-offer__content { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.partnership-offer h3 { max-width: 760px; margin-bottom: 26px; font-family: var(--display); font-size: clamp(30px, 4vw, 58px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.partnership-offer p { max-width: 700px; color: var(--muted-light); font-size: clamp(16px, 1.3vw, 20px); }
.partnership-offer ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.partnership-offer li { padding: 7px 11px; border: 1px solid var(--line-light); border-radius: var(--compact-radius); font-size: 11px; font-weight: 700; }
.partnership-offer figure {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-soft);
}
.partnership-offer figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(8, 9, 8, .12);
  content: '';
  pointer-events: none;
}
.partnership-offer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.partnership-offer:hover img { transform: scale(1.018); }

.error-stage { min-height: 100svh; display: grid; place-items: center; padding: 140px var(--edge) 90px; isolation: isolate; overflow: hidden; }
.error-stage__content { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.error-code { margin-bottom: 12px; color: var(--acid); font-family: var(--display); font-size: clamp(76px, 16vw, 230px); font-weight: 700; line-height: .8; letter-spacing: -.04em; }
.error-stage h1 { margin-bottom: 22px; font-family: var(--display); font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.error-stage__content > p:not(.error-code) { max-width: 560px; margin: 0 auto 30px; color: var(--muted-dark); font-size: clamp(16px, 1.4vw, 20px); }
.error-stage__orbit { position: absolute; inset: 50% auto auto 50%; width: min(78vw, 980px); aspect-ratio: 1; border: 1px solid var(--line-dark); border-radius: 50%; transform: translate(-50%, -50%); }
.error-stage__orbit span { position: absolute; border: 1px solid var(--line-dark); border-radius: 50%; }
.error-stage__orbit span:nth-child(1) { inset: 12%; }
.error-stage__orbit span:nth-child(2) { inset: 27%; }
.error-stage__orbit span:nth-child(3) { width: 18px; height: 18px; top: 24%; right: 17%; border: 0; background: var(--acid); }

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: end;
  gap: clamp(34px, 8vw, 120px);
  padding: var(--section) var(--edge);
  color: var(--ink);
  background: var(--acid);
}

.cta-section h2 { max-width: 980px; margin-bottom: 0; font-family: var(--display); font-size: clamp(46px, 7vw, 104px); line-height: .94; letter-spacing: -.04em; }
.cta-section p { max-width: 450px; margin-bottom: 24px; color: var(--muted-light); }

.site-footer { position: relative; z-index: 2; margin-top: calc(-1 * var(--motion-scene-radius)); padding: clamp(72px, 9vw, 120px) var(--edge) 28px; padding-top: calc(clamp(72px, 9vw, 120px) + var(--motion-scene-radius)); border-radius: var(--motion-scene-radius) var(--motion-scene-radius) 0 0; background: #151714; }
.footer-main { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: clamp(34px, 6vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); }
.footer-brand { font-family: var(--display); font-size: clamp(34px, 4vw, 56px); font-weight: 700; letter-spacing: -.04em; }
.footer-brand-block p { max-width: 300px; margin: 24px 0 0; color: var(--muted-dark); }
.footer-column h3 { margin-bottom: 18px; color: var(--muted-dark); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { margin: 9px 0; }
.footer-column a:hover, .footer-column a:focus-visible { color: var(--acid); outline: none; }
.footer-placeholder, .footer-note { color: var(--muted-dark); }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-social-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: var(--compact-radius); }
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-note { display: block; margin-top: 9px; font-size: 10px; }
.footer-legal { display: grid; grid-template-columns: 1fr auto auto; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 11px; }

[data-reveal] { opacity: 1; transform: none; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--acid) !important;
  outline-offset: 4px;
}

.section-acid a:focus-visible,
.cta-section a:focus-visible { outline-color: var(--ink) !important; }

.field input:focus-visible,
.field textarea:focus-visible { outline: 0; }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .menu-button { display: grid; place-items: center; }
  .nav-shell {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 100px var(--edge) 60px;
    border: 0;
    border-radius: 0;
    background: rgba(8, 9, 8, .98);
    backdrop-filter: none;
  }
  .topbar.is-open .nav-shell { display: flex; }
  .nav-shell a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-family: var(--display); font-size: clamp(28px, 7vw, 48px); color: var(--paper); }
  .hero-grid, .section-head, .contact-layout, .cta-section { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > *, .hero-aside { min-width: 0; }
  .case-hero-shell { min-height: min(1020px, 100svh); padding-top: 112px; }
  .case-detail-hero .hero-grid { padding-top: clamp(64px, 9vh, 96px); }
  .case-detail-hero .hero-facts { width: 100%; max-width: 100%; }
  .system-stage { top: 13%; right: -12%; width: 68vw; }
  .service-group, .scope-row, .value-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .process-row { grid-template-columns: 44px minmax(0, 1fr); gap: 16px 24px; }
  .process-row p { grid-column: 2; }
  .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .role:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .case-story { grid-template-columns: 1fr; }
  .case-tile { --case-media-height: clamp(300px, 48vw, 460px); grid-column: span 6; }
  .case-tile[data-case-last-odd="true"] { grid-column: span 12; }
  .case-story-nav { position: static; width: 100%; max-width: 100%; overflow: hidden; }
  .case-story-nav ul { display: flex; width: 100%; max-width: 100%; overflow-x: auto; }
  .case-story-nav li { flex: 0 0 auto; }
  .case-story-nav a { padding: 14px 20px 14px 0; border-bottom: 0; }
  .editorial-hero__grid,
  .legal-hero__grid,
  .journal-feature,
  .article-hero__foot,
  .author-hero__grid,
  .article-layout,
  .legal-layout,
  .partnership-manifest,
  .partnership-offer.has-media { grid-template-columns: 1fr; }
  .journal-feature__media { min-height: 0; aspect-ratio: 16 / 10; }
  .journal-feature__content { padding-bottom: 0; }
  .article-aside,
  .legal-aside { position: static; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line-light); }
  .article-author { max-width: 360px; padding-bottom: 0; border-bottom: 0; }
  .article-prose,
  .legal-prose { max-width: 800px; }
  .author-hero { min-height: 0; }
  .author-portrait { width: min(78vw, 560px); }
  .partnership-offer figure { max-width: 760px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --edge: 18px; --section: 86px; }
  .topbar { top: 12px; }
  .page-hero { min-height: 760px; }
  .hero-shell { max-width: 100vw; padding-top: 124px; padding-bottom: 58px; overflow: hidden; }
  .hero-grid { width: 100%; min-width: 0; max-width: calc(100vw - (var(--edge) * 2)); overflow: hidden; }
  .hero-aside { width: 100%; min-width: 0; max-width: calc(100vw - (var(--edge) * 2)); overflow: hidden; }
  .hero-aside p, .hero-facts { width: calc(100vw - (var(--edge) * 2)); max-width: calc(100vw - (var(--edge) * 2)); }
  .hero-aside p { overflow-wrap: break-word; }
  .breadcrumbs { width: 100%; margin-bottom: 34px; overflow: hidden; flex-wrap: nowrap; }
  .breadcrumbs li:last-child { min-width: 0; flex: 1; display: block; line-height: 24px; }
  .hero-title { max-width: 100%; font-size: clamp(38px, 11vw, 52px); line-height: .98; }
  .hero-title--compact { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(34px, 9.8vw, 44px); line-height: 1; }
  .hero-aside p { font-size: 16px; }
  .system-stage { top: 12%; right: -28%; width: 96vw; opacity: .48; }
  .hero-facts { grid-template-columns: 1fr; background: transparent; }
  .hero-fact + .hero-fact { padding-left: 0; border-top: 1px solid var(--line-dark); }
  .section-head h2, .display-heading { font-size: clamp(34px, 10vw, 49px); }
  .section-head { margin-bottom: 48px; }
  .service-group { padding: 34px 0; }
  .process-row { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .process-row p { grid-column: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item, .feature-item:nth-child(even) { min-height: 0; padding: 30px 0 34px; border-right: 0; }
  .scope-row ul { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-tile,
  .case-tile[data-case-last-odd="true"] { --case-media-height: auto; grid-column: auto; }
  .case-tile-media { height: auto; aspect-ratio: 4 / 3; }
  .case-device--desktop { top: 11%; bottom: 9%; }
  .case-device--phone { width: 25%; }
  .case-preview--mobile .case-device--phone { width: 31%; }
  .case-tile-body { grid-template-columns: 1fr auto; }
  .team-strip { grid-template-columns: 1fr; }
  .role, .role + .role { min-height: 0; padding: 28px 0 32px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .role:first-child { border-top: 0; }
  .role h3 { margin-top: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .contact-row { grid-template-columns: 96px 1fr; }
  .case-hero-image { aspect-ratio: 4 / 3; }
  .case-detail-hero { min-height: 820px; }
  .case-hero-shell { min-height: 820px; padding-top: 104px; padding-bottom: 52px; }
  .case-detail-hero .hero-grid { padding-top: 52px; }
  .case-detail-hero .hero-title--compact { overflow-wrap: normal; font-size: clamp(32px, 8.2vw, 38px); text-wrap: pretty; }
  .case-detail-hero .hero-aside { overflow: visible; }
  .case-detail-hero .hero-facts { width: 100%; max-width: 100%; }
  .case-detail-hero .hero-fact { padding-right: 0; }
  .case-detail-hero .hero-fact + .hero-fact { padding-left: 0; border-top: 1px solid var(--line-dark); border-left: 0; }
  .case-showcase { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .case-showcase__overview,
  .case-showcase__frame--desktop,
  .case-showcase__frame--mobile { grid-column: auto; }
  .case-showcase__overview { min-height: 0; aspect-ratio: 4 / 3; }
  .case-showcase__browser { right: 18%; top: 12%; bottom: 11%; grid-template-rows: 15px minmax(0, 1fr); }
  .case-showcase__phone { right: 3%; width: 25%; height: 80%; padding: 6px 4px 4px; border-width: 4px; border-radius: 20px; }
  .case-showcase__phone img { border-radius: 11px; }
  .case-showcase__frame--mobile { padding: 28px; }
  .case-showcase__frame--mobile .case-showcase__viewport { width: min(56vw, 218px); border-width: 5px; }
  .case-showcase figcaption { font-size: 10px; }
  .editorial-hero,
  .article-hero,
  .author-hero,
  .legal-hero { padding-top: 124px; padding-bottom: 72px; }
  .editorial-hero,
  .legal-hero { min-height: 620px; }
  .editorial-hero h1,
  .article-hero h1,
  .author-profile h1,
  .legal-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .editorial-hero::after,
  .legal-hero::after { right: -46vw; bottom: -20vw; width: 110vw; }
  .journal-feature { margin-bottom: 62px; padding-bottom: 62px; }
  .journal-feature__media { aspect-ratio: 4 / 3; }
  .journal-grid { grid-template-columns: 1fr; }
  .studio-pagination { grid-template-columns: 1fr 1fr; }
  .studio-pagination__pages { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .studio-pagination__control { grid-row: 2; }
  .article-hero .breadcrumbs { margin-bottom: 46px; }
  .article-hero__foot { margin: 38px 0 50px; }
  .article-meta { grid-template-columns: 1fr; }
  .article-cover { aspect-ratio: 4 / 3; }
  .article-aside,
  .legal-aside { grid-template-columns: 1fr; }
  .article-prose { font-size: 17px; line-height: 1.66; }
  .article-prose table { display: block; overflow-x: auto; }
  .author-portrait { width: 100%; }
  .author-bio { margin-top: 28px; }
  .partnership-manifest { padding-top: 86px; padding-bottom: 86px; }
  .partnership-offer { padding: 48px 0; }
  .error-stage { min-height: 760px; }
  .error-stage__orbit { width: 150vw; }
  .cta-section h2 { font-size: clamp(40px, 11vw, 54px); }
  .footer-main, .footer-legal { grid-template-columns: 1fr; }
  .footer-main { gap: 42px; }
  .footer-legal { align-items: start; }
}

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