:root {
  --ink: #111318;
  --ink-soft: #20242c;
  --paper: #f2f2ec;
  --paper-bright: #fbfbf7;
  --line: rgba(17, 19, 24, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #62666f;
  --muted-dark: #a8adb7;
  --lime: #76952a;
  --lime-soft: #e4e9cf;
  --signal: #ff6a3d;
  --white: #fff;
  --danger: #b42318;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shell: min(1280px, calc(100vw - 80px));
  --header-height: 78px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  color: var(--ink);
  background: rgba(242, 242, 236, 0.92);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.has-dark-hero .site-header:not(.is-scrolled):not(.is-menu-open) {
  color: var(--white);
}

.has-dark-hero .site-header:not(.is-scrolled):not(.is-menu-open) .brand-mark::after {
  background: #0b0d11;
}

.has-dark-hero .site-header:not(.is-scrolled):not(.is-menu-open) .nav-cta {
  color: var(--ink);
  background: var(--white);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  background: var(--lime);
  border-radius: 4px 11px 4px 11px;
  transform: rotate(-8deg);
}

.brand-mark::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--ink);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-sm);
}

.nav-cta span {
  transition: transform 0.3s var(--ease-out);
}

.nav-cta:hover span {
  transform: translate(3px, -3px);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  width: 23px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.menu-toggle > span:nth-child(2) {
  transform: translateY(-4px);
}

.menu-toggle > span:nth-child(3) {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 84px) 0 46px;
  overflow: clip;
  color: var(--ink);
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  width: 1px;
  right: auto;
  left: calc((100vw - min(1280px, calc(100vw - 80px))) / 2 + 55%);
  background: rgba(17, 19, 24, 0.09);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.eyebrow {
  margin: 0 0 25px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: -0.01em;
  opacity: 0.7;
}

.eyebrow::before {
  content: none;
}

.hero-title {
  margin: 0;
  font-size: clamp(55px, 6.6vw, 104px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-line {
  display: block;
}

.hero-title em {
  position: relative;
  color: var(--lime);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.75;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 26px;
  font-weight: 750;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out);
}

.button:hover {
  transform: translateY(-3px);
}

.button span {
  transition: transform 0.3s var(--ease-out);
}

.button:hover span {
  transform: translate(3px, -3px);
}

.button--primary {
  color: var(--white);
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.3s var(--ease-out);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.hero-console {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0 var(--lime);
}

.console-top,
.console-bottom {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 21px;
  color: #9da3af;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.console-top {
  justify-content: space-between;
  font-family: inherit;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-top strong {
  color: var(--white);
  font-size: 12px;
}

.console-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots i {
  width: 6px;
  height: 6px;
  display: block;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
}

.status i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(118, 149, 42, 0.14);
}

.console-canvas {
  position: absolute;
  inset: 52px 0;
}

.console-canvas::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.23) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.23) 1px, transparent 1px);
  background-size: 34px 34px;
}

.flow-card {
  position: absolute;
  z-index: 2;
  padding: 20px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  box-shadow: none;
}

.flow-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.flow-label {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.flow-card--brief {
  top: 10%;
  left: 8%;
  width: 48%;
}

.flow-card--build {
  top: 35%;
  right: 8%;
  width: 50%;
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(1.5deg);
}

.flow-card--build .flow-label {
  color: rgba(17, 19, 24, 0.65);
}

.flow-card--operate {
  bottom: 0;
  left: 12%;
  width: 43%;
}

.mini-meter {
  height: 4px;
  display: block;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
}

.mini-meter i {
  width: 72%;
  height: 100%;
  display: block;
  background: var(--signal);
  border-radius: inherit;
}

.flow-node {
  position: absolute;
  z-index: 1;
  top: 28%;
  left: 37%;
  width: 45%;
  height: 40%;
  border-right: 1px dashed rgba(118, 149, 42, 0.7);
  border-bottom: 1px dashed rgba(118, 149, 42, 0.7);
  border-radius: 0 0 30px 0;
}

.flow-node span {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(118, 149, 42, 0.16);
}

.signal {
  position: absolute;
  border: 1px solid rgba(255, 106, 61, 0.23);
  border-radius: 50%;
}

.signal--one {
  top: 24%;
  right: -90px;
  width: 270px;
  height: 270px;
}

.signal--two {
  top: 30%;
  right: -45px;
  width: 180px;
  height: 180px;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 78px;
  border-top: 1px solid var(--ink);
}

.hero-meta p {
  margin: 0;
  padding: 23px 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span {
  margin-right: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.section {
  padding-block: clamp(110px, 12vw, 190px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 76px;
}

.section-heading h2,
.process-intro h2,
.faq-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(43px, 5.6vw, 80px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.section-heading > p:last-child,
.process-intro > p,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.025em;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.service-card {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 38px 38px;
  border-right: 1px solid var(--ink);
  transition: color 0.45s ease, background 0.45s ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  color: var(--white);
  background: var(--ink);
}

.service-card:hover .service-number,
.service-card:hover .service-tag,
.service-card:hover > div > p {
  color: var(--muted-dark);
}

.service-card:hover li {
  border-color: var(--line-dark);
}

.service-card:hover li::before {
  background: var(--lime);
}

.service-number {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.service-tag {
  margin: auto 0 15px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.service-card > div > p:last-child {
  min-height: 86px;
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-card ul,
.story-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 12px 0;
  font-size: 13px;
  border-top: 1px solid var(--line);
  transition: border-color 0.45s ease;
}

.service-card li::before {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin: 0 10px 2px 0;
  content: "";
  background: var(--ink);
  border-radius: 50%;
  transition: background 0.45s ease;
}

.scroll-story {
  position: relative;
  height: 300vh;
  color: var(--white);
  background: var(--ink);
}

.scroll-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
}

.scroll-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 58%, rgba(255, 106, 61, 0.11), transparent 25%),
    linear-gradient(120deg, transparent 0 67%, rgba(255, 255, 255, 0.025) 67% 100%);
}

.story-chrome {
  position: absolute;
  z-index: 5;
  top: clamp(95px, 12vh, 135px);
  right: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.story-heading h2 {
  margin: 0;
  font-size: clamp(31px, 3.5vw, 50px);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.story-progress {
  position: absolute;
  top: 12px;
  right: 76px;
  width: min(26vw, 330px);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.story-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
}

.story-index {
  margin: 0;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.story-index span {
  color: var(--lime);
}

.story-scenes {
  position: absolute;
  inset: 0;
}

.story-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(40px, 8vw, 140px);
  padding-top: 180px;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.98);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out), visibility 0s 0.9s;
}

.story-scene.is-current {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.scroll-story.is-active .story-scene {
  will-change: opacity, transform;
}

.story-giant {
  position: absolute;
  z-index: -1;
  right: -0.03em;
  bottom: -0.2em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(150px, 25vw, 390px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
  white-space: nowrap;
}

.story-card {
  align-self: end;
  max-width: 560px;
  padding-bottom: clamp(55px, 9vh, 110px);
}

.story-step {
  margin: 0 0 22px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
}

.story-card h3 {
  margin: 0;
  font-size: clamp(36px, 4.7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.story-card > p:not(.story-step) {
  max-width: 520px;
  margin: 27px 0 32px;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.8;
}

.story-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-card li {
  padding: 8px 13px;
  color: #d6dae1;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
}

.story-visual {
  position: relative;
  width: min(42vw, 590px);
  aspect-ratio: 1;
  justify-self: end;
}

.story-visual::before,
.story-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.story-visual::before {
  inset: 8%;
}

.story-visual::after {
  inset: 22%;
}

.story-visual--plan .plan-axis {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 67%;
  height: 67%;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
}

.story-visual--plan i {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  background: var(--lime);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--lime), 0 0 35px rgba(118, 149, 42, 0.28);
}

.story-visual--plan i:nth-of-type(1) { top: 65%; left: 25%; }
.story-visual--plan i:nth-of-type(2) { top: 49%; left: 47%; }
.story-visual--plan i:nth-of-type(3) { top: 26%; left: 69%; }

.story-visual--plan b {
  position: absolute;
  z-index: 4;
  top: 21%;
  left: 73%;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.build-window {
  position: absolute;
  z-index: 3;
  inset: 17% 10%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  transform: rotate(-4deg);
  box-shadow: 35px 38px 0 rgba(255, 106, 61, 0.11);
}

.build-window::before {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
}

.build-window i {
  position: relative;
  top: 17px;
  left: 17px;
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.build-window b {
  position: absolute;
  inset: 75px 30px 30px;
  background:
    linear-gradient(var(--lime), var(--lime)) 0 0 / 44% 16px no-repeat,
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)) 0 52px / 80% 7px no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 0 72px / 62% 7px no-repeat,
    linear-gradient(rgba(255,106,61,.5), rgba(255,106,61,.5)) 0 132px / 100% 46% no-repeat;
  border-radius: 4px;
}

.run-ring {
  position: absolute;
  z-index: 2;
  inset: 15%;
  border: 2px solid var(--lime);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(35deg);
  box-shadow: inset 0 0 80px rgba(118, 149, 42, 0.04), 0 0 80px rgba(118, 149, 42, 0.08);
}

.run-ring::before,
.run-ring::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.run-ring::before {
  inset: 15%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.run-ring::after {
  top: -7px;
  left: 48%;
  width: 12px;
  height: 12px;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(118, 149, 42, 0.16);
}

.run-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  letter-spacing: 0.24em;
  transform: translate(-45%, -50%);
}

.principles {
  background: var(--lime-soft);
}

.section-heading--split {
  align-items: end;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.principle-card {
  min-height: 365px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(17, 19, 24, 0.18);
  border-radius: var(--radius-md);
}

.principle-icon {
  width: auto;
  height: auto;
  display: block;
  margin-bottom: auto;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.principle-card h3 {
  margin: 56px 0 12px;
  font-size: 25px;
  letter-spacing: -0.045em;
}

.principle-card > p {
  margin: 0;
  color: #565b58;
  font-size: 14px;
}

.principle-code {
  margin-top: 28px;
  color: #565b58;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid rgba(17, 19, 24, 0.16);
  padding-top: 14px;
}

.process {
  background: var(--paper-bright);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(70px, 10vw, 160px);
}

.process-intro {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.process-intro > p {
  max-width: 440px;
  margin-top: 28px;
}

.process-intro .text-link {
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.process-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 37px 0 44px;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  padding-top: 7px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.045em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  color: var(--white);
  background: var(--ink-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(70px, 11vw, 170px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 2px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 11px;
  right: 2px;
  left: 2px;
  height: 2px;
  content: "";
  background: var(--lime);
  transition: transform 0.3s ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 680px;
  margin: -7px 54px 0 0;
  padding: 0 0 34px;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.85;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #0b0d11;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 50px);
}

.contact-copy > p {
  max-width: 430px;
  margin-top: 30px;
  color: var(--muted-dark);
}

.contact-notes {
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.contact-notes p {
  margin: 9px 0;
  color: #d0d4dc;
  font-size: 13px;
}

.contact-notes span {
  margin-right: 9px;
  color: var(--lime);
}

.contact-panel {
  padding: clamp(28px, 4vw, 52px);
  color: var(--ink);
  background: var(--paper-bright);
  border-radius: var(--radius-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 20px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field-label-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 750;
}

.field label span,
.privacy-check label span,
.form-footnote span {
  color: #687d12;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 19, 24, 0.3);
  border-radius: 0;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
  height: 50px;
}

.field textarea {
  min-height: 165px;
  padding: 13px 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #92958f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-label-row output {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.errorlist {
  margin: 7px 0 0;
  padding: 0;
  color: var(--danger);
  font-size: 12px;
  list-style: none;
}

.form-alert {
  margin-bottom: 25px;
  padding: 13px 16px;
  color: #7a271a;
  background: #fee4e2;
  border-radius: 9px;
  font-size: 13px;
}

.form-alert .errorlist {
  margin: 0;
  color: inherit;
}

.privacy-box {
  margin-top: 30px;
  padding: 18px 20px;
  background: #ebebe4;
  border-radius: 12px;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 11px;
}

.privacy-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}

.privacy-check label {
  font-size: 13px;
  font-weight: 700;
}

.privacy-box details {
  margin: 10px 0 0 31px;
}

.privacy-box summary {
  width: max-content;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-box details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.button--submit {
  width: 100%;
  margin-top: 24px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-sm);
}

.button--submit:hover {
  color: var(--ink);
  background: var(--lime);
}

.form-footnote {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.success-message {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.success-message > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 24px;
}

.success-message h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.success-message p {
  max-width: 430px;
  margin: 20px 0 35px;
  color: var(--muted);
}

.site-footer {
  padding: 64px 0 32px;
  color: var(--white);
  background: #07080a;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
}

.brand--footer {
  margin-bottom: 18px;
}

.footer-grid > div > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.footer-grid nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 25px;
  color: #747a85;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.error-page {
  min-height: 80svh;
  display: grid;
  place-items: center;
  padding: 160px 0 100px;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.error-page p:not(.eyebrow) {
  margin: 22px 0 32px;
  color: var(--muted-dark);
}

/* Expanded services and project pages */
.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 520px;
}

.service-card:nth-child(3n) {
  border-right: 0;
}

.service-card:nth-child(-n + 3) {
  border-bottom: 1px solid var(--ink);
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 12px;
  font-weight: 750;
  border-top: 1px solid var(--line);
  transition: border-color 0.45s ease;
}

.service-link i {
  font-style: normal;
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-link {
  border-color: var(--line-dark);
}

.service-card:hover .service-link i {
  transform: translate(3px, -3px);
}

.work-preview {
  padding-block: clamp(110px, 12vw, 180px);
  color: var(--white);
  background: #0b0d11;
}

.work-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: end;
  gap: clamp(70px, 10vw, 150px);
}

.work-preview-kicker,
.case-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.work-preview-kicker .eyebrow,
.case-kicker .eyebrow {
  margin: 0;
}

.work-preview-kicker span,
.case-kicker span {
  padding: 5px 9px;
  color: #cbd7a8;
  border: 1px solid rgba(118, 149, 42, 0.65);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.work-preview h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.1vw, 84px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.work-preview-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 32px 0;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.85;
}

.work-preview-list {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.work-preview-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.work-preview-list dt {
  color: #cbd7a8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-preview-list dd {
  margin: 0;
  color: #e5e7eb;
  font-size: 14px;
}

.detail-page,
.case-page {
  background: var(--paper);
}

.detail-hero {
  padding: calc(var(--header-height) + 72px) 0 clamp(95px, 10vw, 150px);
  border-bottom: 1px solid var(--ink);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(64px, 8vw, 110px);
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumb span[aria-hidden="true"] {
  opacity: 0.45;
}

.breadcrumb--dark {
  color: var(--muted-dark);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.55fr);
  align-items: end;
  gap: clamp(70px, 10vw, 150px);
}

.detail-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 6.8vw, 96px);
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: -0.072em;
}

.detail-lead {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.8;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.detail-summary {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.detail-summary div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.detail-summary dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-summary dd {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
}

/* Privacy */
.privacy-page {
  background: var(--paper);
}

.privacy-hero {
  padding: calc(var(--header-height) + 72px) 0 clamp(78px, 9vw, 120px);
  border-bottom: 1px solid var(--ink);
}

.privacy-hero .breadcrumb {
  margin-bottom: clamp(52px, 7vw, 86px);
}

.privacy-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 740;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.privacy-hero > .shell > p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 12px;
  color: var(--muted);
  font-size: 17px;
}

.privacy-hero time {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.privacy-content {
  padding-block: clamp(80px, 10vw, 140px);
}

.privacy-content > section {
  display: grid;
  grid-template-columns: 64px minmax(0, 760px);
  gap: clamp(28px, 5vw, 72px);
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-content > section:first-child {
  padding-top: 0;
}

.privacy-content > section > span {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.privacy-content h2 {
  margin: -8px 0 24px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 720;
  letter-spacing: -0.045em;
}

.privacy-content p {
  margin: 0;
  color: var(--muted);
}

.privacy-content dl {
  margin: 30px 0 0;
  border-top: 1px solid var(--ink);
}

.privacy-content dl > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-content dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.privacy-content dd {
  margin: 0;
  font-size: 14px;
}

.privacy-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.privacy-content .privacy-note {
  margin-top: 24px;
  padding: 18px 20px;
  color: var(--ink-soft);
  background: var(--lime-soft);
  font-size: 13px;
}

.privacy-content a {
  color: var(--link-fg, #58721d);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-section,
.case-section {
  padding-block: clamp(110px, 12vw, 180px);
}

.detail-section-grid,
.case-principles-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.detail-section-heading {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.detail-section-heading h2,
.case-section-heading h2,
.related-heading h2 {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.062em;
}

.detail-section-heading > p:last-child,
.case-section-heading > p:last-child {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.detail-item-list {
  border-top: 1px solid var(--ink);
}

.detail-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.detail-item > span,
.scope-card > span,
.case-feature > span,
.case-principle > span,
.output-list span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.detail-item h3,
.scope-card h3,
.case-feature h3,
.case-principle h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.detail-item p,
.scope-card p,
.case-feature p,
.case-principle p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.detail-section--dark {
  color: var(--white);
  background: var(--ink);
}

.detail-section-heading--wide {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.detail-section-heading--wide .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -35px;
}

.detail-section--dark .detail-section-heading > p:last-child,
.detail-section--dark .scope-card p {
  color: var(--muted-dark);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.scope-card {
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.scope-card h3 {
  margin-top: 110px;
}

.detail-output {
  background: var(--paper-bright);
}

.output-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.output-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 680;
  letter-spacing: -0.04em;
}

.related-services {
  padding-block: clamp(100px, 10vw, 150px);
  border-top: 1px solid var(--ink);
}

.related-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 60px;
}

.related-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -35px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.related-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--ink);
  transition: color 0.35s ease, background 0.35s ease;
}

.related-card:last-child {
  border-right: 0;
}

.related-card > span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.related-card h3 {
  margin: auto 0 14px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.related-card p {
  min-height: 76px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.related-card b {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 12px;
  border-top: 1px solid var(--line);
}

.related-card i {
  font-style: normal;
}

.related-card:hover {
  color: var(--white);
  background: var(--ink);
}

.related-card:hover p,
.related-card:hover > span {
  color: var(--muted-dark);
}

.related-card:hover b {
  border-color: var(--line-dark);
}

.detail-cta {
  padding-block: 90px;
  color: var(--white);
  background: var(--lime);
}

.detail-cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.detail-cta .eyebrow {
  color: rgba(17, 19, 24, 0.68);
}

.detail-cta h2 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.detail-cta .button {
  flex: 0 0 auto;
  color: var(--white);
  background: var(--ink);
}

.case-hero {
  padding: calc(var(--header-height) + 72px) 0 clamp(100px, 11vw, 170px);
  overflow: hidden;
  color: var(--white);
  background: #0b0d11;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.55fr);
  align-items: end;
  gap: clamp(70px, 10vw, 150px);
}

.case-title {
  margin: 0;
  font-size: clamp(53px, 7vw, 98px);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.case-intro > p:first-child {
  margin: 0;
  color: #d2d5db;
  font-size: 18px;
  line-height: 1.85;
}

.case-note {
  margin: 26px 0 0;
  padding-top: 22px;
  color: #858b96;
  font-size: 11px;
  line-height: 1.7;
  border-top: 1px solid var(--line-dark);
}

.case-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: clamp(75px, 9vw, 125px);
  color: #c6cad1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.case-flow i {
  height: 1px;
  background: linear-gradient(90deg, rgba(118, 149, 42, 0.25), var(--lime));
}

.case-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.5fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.case-section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -35px;
}

.case-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.case-feature {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.case-feature h3 {
  margin-top: 95px;
}

.case-section--muted {
  background: var(--paper-bright);
}

.case-principles-grid .case-section-heading {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  display: block;
  margin: 0;
}

.case-principles-grid .case-section-heading .eyebrow {
  margin-bottom: 25px;
}

.case-principles {
  border-top: 1px solid var(--ink);
}

.case-principle {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.case-stack {
  color: var(--white);
  background: var(--ink);
}

.case-stack .case-section-heading > p:last-child {
  color: var(--muted-dark);
}

.stack-list {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.stack-list div {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) 1fr;
  gap: 40px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line-dark);
}

.stack-list dt {
  color: var(--muted-dark);
  font-size: 12px;
}

.stack-list dd {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-title .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-title .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-lead.reveal { transition-delay: 0.24s; }
.hero-actions.reveal { transition-delay: 0.32s; }
.hero-console.reveal { transition-delay: 0.22s; }

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1120px);
  }

  .hero {
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr);
    gap: 45px;
  }

  .hero-console {
    min-height: 510px;
  }

  .service-card {
    padding-inline: 26px;
  }

  .contact-grid {
    grid-template-columns: minmax(290px, 0.62fr) minmax(530px, 1.38fr);
    gap: 60px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: grid;
    position: relative;
    z-index: 2;
  }

  .site-header .brand {
    position: relative;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 100px 24px 40px;
    color: var(--ink);
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out), visibility 0s 0.4s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav > a {
    padding: 16px 4px;
    font-size: clamp(26px, 8vw, 44px);
    font-weight: 720;
    letter-spacing: -0.05em;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    min-height: auto;
    justify-content: space-between;
    margin-top: 20px;
    padding: 18px 20px;
    font-size: 18px;
    border: 0;
    border-radius: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-console {
    width: min(100%, 680px);
    min-height: 520px;
    justify-self: end;
    transform: none;
  }

  .section-heading,
  .section-heading--split,
  .process-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 28px;
  }

  .section-heading > p:last-child {
    max-width: 600px;
  }

  .service-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) minmax(180px, 0.6fr);
    gap: 18px;
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-card:hover {
    color: inherit;
    background: transparent;
  }

  .service-card:hover .service-number,
  .service-card:hover .service-tag,
  .service-card:hover > div > p {
    color: var(--muted);
  }

  .service-card > div > p:last-child {
    min-height: 0;
    margin-bottom: 0;
  }

  .scroll-story {
    height: auto;
  }

  .scroll-stage {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-block: 110px;
  }

  .story-chrome {
    position: relative;
    top: auto;
    display: block;
    margin-bottom: 70px;
  }

  .story-progress,
  .story-index {
    display: none;
  }

  .story-scenes {
    position: relative;
    inset: auto;
  }

  .story-scene,
  .story-scene.is-current {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 45px;
    margin-bottom: 120px;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .story-scene:last-child {
    margin-bottom: 0;
  }

  .story-card {
    align-self: auto;
    padding-bottom: 0;
  }

  .story-visual {
    width: min(100%, 550px);
    justify-self: center;
    order: -1;
  }

  .story-giant {
    top: 25%;
    right: 0;
    bottom: auto;
    font-size: 35vw;
  }

  .principle-card {
    min-height: 300px;
  }

  .process-grid,
  .faq-grid,
  .contact-grid {
    gap: 70px;
  }

  .process-intro,
  .faq-intro,
  .contact-copy {
    position: relative;
    top: auto;
  }

  .process-intro > p,
  .contact-copy > p {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 36px);
    --radius-lg: 24px;
  }

  body {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-title {
    font-size: clamp(46px, 14.2vw, 68px);
    line-height: 1.01;
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 34px;
  }

  .button--primary {
    width: 100%;
    justify-content: space-between;
  }

  .hero-console {
    min-height: 500px;
    border-radius: var(--radius-lg);
  }

  .console-top > span:nth-child(2) {
    display: none;
  }

  .console-bottom {
    gap: 10px;
    overflow: hidden;
  }

  .console-bottom span:last-child {
    display: none;
  }

  .flow-card {
    padding: 15px;
  }

  .flow-card strong {
    font-size: 14px;
  }

  .flow-card--brief { width: 55%; }
  .flow-card--build { width: 57%; }
  .flow-card--operate { width: 53%; }

  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .hero-meta p {
    padding-top: 14px;
  }

  .section {
    padding-block: 100px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .section-heading h2,
  .process-intro h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .service-card {
    grid-template-columns: 38px 1fr;
  }

  .service-card > ul {
    grid-column: 2;
  }

  .service-card h3 {
    font-size: 27px;
  }

  .story-card h3 {
    font-size: 39px;
  }

  .story-visual {
    width: 100%;
  }

  .process-list li {
    grid-template-columns: 45px 1fr;
  }

  .faq-list summary {
    min-height: 82px;
    font-size: 16px;
  }

  .contact-panel {
    width: calc(100% + 12px);
    margin-left: -6px;
    padding: 26px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-story {
    height: auto;
  }

  .scroll-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding-block: 110px;
    overflow: visible;
  }

  .story-chrome {
    position: relative;
    top: auto;
    margin-bottom: 70px;
  }

  .story-progress,
  .story-index {
    display: none;
  }

  .story-scenes {
    position: relative;
    inset: auto;
  }

  .story-scene,
  .story-scene.is-current {
    position: relative;
    inset: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin-bottom: 100px;
  }
}

@media (max-width: 1120px) {
  .work-preview-grid,
  .detail-hero-grid,
  .case-hero-grid {
    gap: 60px;
  }

  .service-card {
    min-height: 500px;
    padding-inline: 26px;
  }
}

@media (max-width: 900px) {
  .service-card:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .service-card .service-link {
    grid-column: 2 / -1;
    margin-top: 4px;
  }

  .work-preview-grid,
  .detail-hero-grid,
  .detail-section-grid,
  .case-hero-grid,
  .case-principles-grid {
    grid-template-columns: 1fr;
  }

  .work-preview-grid,
  .detail-hero-grid,
  .detail-section-grid,
  .case-hero-grid,
  .case-principles-grid {
    gap: 65px;
  }

  .work-preview-copy > p:not(.eyebrow) {
    max-width: 760px;
  }

  .detail-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-summary div {
    padding-right: 18px;
    border-right: 1px solid var(--line);
  }

  .detail-summary div:last-child {
    border-right: 0;
  }

  .detail-section-heading,
  .case-principles-grid .case-section-heading {
    position: static;
  }

  .detail-section-heading--wide,
  .case-section-heading,
  .related-heading {
    display: block;
  }

  .detail-section-heading--wide .eyebrow,
  .case-section-heading .eyebrow,
  .related-heading .eyebrow {
    margin-bottom: 25px;
  }

  .scope-grid,
  .case-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .related-card:last-child {
    border-bottom: 0;
  }

  .related-card h3 {
    margin-top: 70px;
  }

  .related-card p {
    min-height: auto;
  }

  .detail-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-flow i {
    width: 1px;
    height: 22px;
    margin-left: 7px;
    background: linear-gradient(rgba(118, 149, 42, 0.25), var(--lime));
  }
}

@media (max-width: 640px) {
  .service-card .service-link {
    grid-column: 2;
  }

  .work-preview-list div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .detail-hero,
  .case-hero {
    padding-top: 130px;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(38px, 11.7vw, 56px);
  }

  .breadcrumb {
    margin-bottom: 55px;
  }

  .detail-title,
  .case-title {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 56px);
  }

  .case-hero-grid > *,
  .case-intro {
    min-width: 0;
  }

  .case-intro > p:first-child {
    overflow-wrap: anywhere;
    font-size: 16px;
  }

  .detail-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .detail-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .detail-summary {
    grid-template-columns: 1fr;
  }

  .detail-summary div {
    border-right: 0;
  }

  .scope-grid,
  .case-feature-grid {
    grid-template-columns: 1fr;
  }

  .scope-card,
  .case-feature {
    min-height: 270px;
  }

  .scope-card h3,
  .case-feature h3 {
    margin-top: 75px;
  }

  .detail-item,
  .case-principle,
  .output-list li {
    grid-template-columns: 38px 1fr;
  }

  .related-card {
    padding-inline: 20px;
  }

  .detail-cta {
    padding-block: 72px;
  }

  .detail-cta .button {
    width: 100%;
    justify-content: space-between;
  }

  .case-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .case-section-heading {
    margin-bottom: 50px;
  }

  .stack-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .privacy-hero {
    padding-top: 130px;
  }

  .privacy-content > section {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 18px;
  }

  .privacy-content dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
