/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f6f1f2;
  --ink: #0a0808;
  --ink-dim: #5a4a4d;
  --ink-faint: #9a8c8f;
  --rule: rgba(10, 8, 8, 0.14);
  --accent: #e89aab;
  --pink: #f5d6df;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow::before {
  content: "· ";
  color: var(--accent);
  opacity: 0.6;
}
.label-num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- layout ---------- */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.container { max-width: var(--max); margin: 0 auto; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  pointer-events: none;
  color: var(--ink);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.topbar.is-scrolled {
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.topbar > * { pointer-events: auto; }
.topbar__brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: 0.005em;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.topbar__logo {
  display: block;
  height: 30px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}
body[data-viewport="mobile"] .topbar__logo { height: 24px; }
.cfz-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: currentColor;
  text-transform: uppercase;
}
.cfz-mark em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.cfz-mark svg { display: none; }
.topbar__nav {
  display: flex; gap: 28px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.topbar__nav a { color: inherit; text-decoration: none; opacity: 0.75; transition: opacity .2s, color .2s; position: relative; }
.topbar__nav a:hover { opacity: 1; color: var(--accent); }
@media (max-width: 720px) { .topbar__nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 250vh;
}
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
.hero__media {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  overflow: hidden;
  will-change: clip-path, transform;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__video--desktop { display: block; }
.hero__video--mobile { display: none; }
body[data-viewport="mobile"] .hero__video--desktop { display: none; }
body[data-viewport="mobile"] .hero__video--mobile { display: block; }

.hero__veil {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.0);
  pointer-events: none;
}
.hero__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
  z-index: 2;
}
.hero__line {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 7.6vw, 120px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 16ch;
  color: var(--ink);
}
.hero__wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(120px, 28vw, 380px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.hero__wordmark-img {
  position: relative;
  z-index: 2;
  width: auto;
  height: clamp(220px, 38vh, 460px);
  max-width: 78vw;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 720px) {
  .hero__wordmark-img { height: clamp(180px, 34vh, 320px); max-width: 72vw; }
}
.hero__wordmark--measure {
  position: absolute; left: -99999px; top: -99999px;
  visibility: hidden;
  pointer-events: none;
}
.hero__lli-black {
  position: absolute;
  z-index: 4;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0808;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero__wordmark { font-size: clamp(96px, 30vw, 180px); }
}
.hero__reveal-box {
  position: absolute;
  background: var(--pink);
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  will-change: top, left, width, height;
}
.hero__reveal-box .hero__video,
.hero__reveal-box .hero__placeholder {
  position: absolute;
  width: 100vw; height: 100vh;
  object-fit: cover;
  /* offset so the video stays anchored to viewport, not to the box */
  will-change: top, left;
}
.hero__reveal-fill {
  position: absolute; inset: 0;
  background: var(--pink);
  z-index: 2;
  will-change: opacity;
}
.hero__tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 6.2vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 18ch;
  color: var(--ink);
  position: relative;
  z-index: 5;
  white-space: pre-line;
}
.hero__tagline em {
  font-style: italic;
  font-weight: 400;
  color: var(--pink);
}
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero__stage > * {
  grid-column: 1;
  grid-row: 1;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.hero__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero__word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.hero__line.is-in .hero__word > span { transform: translateY(0); }
.hero__line.is-in .hero__word:nth-child(2) > span { transition-delay: .08s; }
.hero__line.is-in .hero__word:nth-child(3) > span { transition-delay: .16s; }
.hero__line.is-in .hero__word:nth-child(4) > span { transition-delay: .24s; }
.hero__line.is-in .hero__word:nth-child(5) > span { transition-delay: .32s; }
.hero__line.is-in .hero__word:nth-child(6) > span { transition-delay: .4s; }
.hero__line.is-in .hero__word:nth-child(7) > span { transition-delay: .48s; }
.hero__line.is-in .hero__word:nth-child(8) > span { transition-delay: .56s; }
.hero__line.is-in .hero__word:nth-child(9) > span { transition-delay: .64s; }
.hero__line.is-in .hero__word:nth-child(10) > span { transition-delay: .72s; }
.hero__line.is-in .hero__word:nth-child(11) > span { transition-delay: .8s; }

.hero__sub {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
}
.hero__cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.hero__cue::after {
  content: ""; width: 1px; height: 36px; background: var(--ink-faint);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

.hero__corner {
  position: absolute;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  z-index: 3;
}
.hero__corner--bl { left: var(--gutter); bottom: 28px; }
.hero__corner--br { right: var(--gutter); bottom: 28px; }

.hero__placeholder { position: absolute; background: #f0e8ea; }
.hero__placeholder-grain,
.hero__placeholder-shimmer { display: none; }
.hero__placeholder-label {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--sans);
  color: var(--ink-dim);
  z-index: 1;
}
.hero__placeholder-tag { font-size: 12px; letter-spacing: 0.22em; font-weight: 500; }
.hero__placeholder-meta { font-size: 11px; letter-spacing: 0.12em; margin-top: 8px; color: var(--ink-faint); }

/* ---------- pillars ---------- */
.pillars {
  position: relative;
  background: var(--bg);
  padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px);
}
.pillars__head {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  margin-bottom: clamp(60px, 8vw, 120px);
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.pillars__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin: 0;
}
.pillars__title em,
.stats__title em,
.demo__title em,
.process__title em,
.inquiry__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.pillars__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 32px);
}
.pillar {
  position: relative;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.pillar.is-in { opacity: 1; transform: translateY(0); }
.pillar__img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #efe6e8;
}
.pillar__img::before {
  content: "";
  display: block;
  padding-top: var(--ratio, 125%);
}
.pillar__img-inner {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: #efe6e8;
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.pillar__img-inner span { display: block; line-height: 1.7; }
.pillar__img-real {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pillar__veil {
  position: absolute; inset: 0;
  background: var(--bg);
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 1.4s cubic-bezier(.7,.05,.2,1);
}
.pillar.is-in .pillar__veil { transform: scaleY(0); }

.pillar__caption {
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.pillar__num {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; color: var(--accent);
  font-weight: 500; text-transform: uppercase;
}
.pillar__title {
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
.pillar__body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 36ch;
  margin: 0;
}

.pillar--01 { grid-column: 1 / span 6; --ratio: 130%; }
.pillar--02 { grid-column: 8 / span 5; margin-top: clamp(60px, 10vw, 140px); --ratio: 110%; }
.pillar--03 { grid-column: 2 / span 5; margin-top: clamp(40px, 6vw, 80px); --ratio: 140%; }
.pillar--04 { grid-column: 8 / span 4; margin-top: clamp(20px, 4vw, 60px); --ratio: 120%; }
.pillar--05 { grid-column: 3 / span 6; margin-top: clamp(40px, 6vw, 80px); --ratio: 115%; }

@media (max-width: 860px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .pillar--01 { grid-column: 1 / span 2; --ratio: 110%; }
  .pillar--02 { grid-column: 1 / span 1; margin-top: 0; --ratio: 130%; }
  .pillar--03 { grid-column: 2 / span 1; margin-top: 40px; --ratio: 130%; }
  .pillar--04 { grid-column: 1 / span 2; margin-top: 0; --ratio: 80%; }
  .pillar--05 { grid-column: 1 / span 2; margin-top: 0; --ratio: 110%; }
}

/* ---------- worked with (logo marquee) ---------- */
.worked {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
}
.worked__head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 64px);
  padding: 0 var(--gutter);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.worked__title {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
}
.worked__title em { font-style: italic; font-weight: 400; color: var(--accent); }
.worked__note {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 500;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee var(--marquee-dur, 42s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-link {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 78px;
  padding: 0 clamp(36px, 5vw, 72px);
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: opacity .25s ease, color .25s ease;
  border-left: 1px solid var(--rule);
}
.logo-link__mark { font-style: normal; opacity: 0.55; transition: opacity .25s ease, color .25s ease; }
.logo-link:hover .logo-link__mark { opacity: 1; color: var(--accent); }
.logo-link__img {
  height: clamp(34px, 4vw, 48px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.82;
  transition: opacity .25s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.logo-link:hover .logo-link__img { opacity: 1; }
.logo-link__sup {
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 4px;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
body[data-viewport="mobile"] .worked { padding: 56px 0; }
body[data-viewport="mobile"] .worked__head { padding: 0 20px; margin-bottom: 36px; }
body[data-viewport="mobile"] .worked__title { font-size: 26px; }
body[data-viewport="mobile"] .logo-link { font-size: 22px; height: 48px; padding: 0 36px; }

/* ---------- stats ---------- */
.stats {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.stats__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(60px, 8vw, 100px);
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.stats__title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 16ch;
  margin: 0;
}
.stats__handle {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; color: var(--ink-dim);
  text-decoration: none;
  font-weight: 500;
}
.stats__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr; } }

.stat-block {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.stat-block__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 48px;
}
.stat-block__period {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--accent);
}
.stat-block__period em { font-style: italic; }
.stat-block__range {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-faint);
  font-weight: 500; text-transform: uppercase;
}
.stat-row { display: grid; grid-template-columns: 1fr; gap: 28px; }
.stat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.stat:last-child { border-bottom: 0; }
.stat__label {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em;
  color: var(--ink-dim); text-transform: uppercase;
  font-weight: 500;
}
.stat__value {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 7.5vw, 108px);
  letter-spacing: -0.025em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
}
.stat__suffix {
  font-size: 0.45em;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

/* ---------- demographics ---------- */
.demo { padding: clamp(100px, 12vw, 160px) var(--gutter); }
.demo__head {
  max-width: var(--max); margin: 0 auto clamp(60px, 8vw, 100px);
}
.demo__title {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0;
}

.demo__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
@media (max-width: 920px) { .demo__grid { grid-template-columns: 1fr; } }

.demo__panel {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.demo__panel-title {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em;
  color: var(--ink-dim); text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.demo-bar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.demo-bar__row { display: flex; justify-content: space-between; align-items: baseline; }
.demo-bar__label { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.005em; }
.demo-bar__val { font-family: var(--sans); font-size: 13px; color: var(--ink-dim); font-weight: 500; }
.demo-bar__track { height: 1px; background: var(--rule); position: relative; overflow: hidden; }
.demo-bar__fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.demo.is-in .demo-bar__fill { width: var(--w, 0%); }

.demo-split {
  display: flex; align-items: stretch;
  height: clamp(120px, 18vw, 200px);
  position: relative;
  border: 1px solid var(--rule);
}
.demo-split__half {
  flex: 0 0 50%;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
}
.demo-split__half + .demo-split__half { border-left: 1px solid var(--rule); }
.demo-split__pct {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
}
.demo-split__lbl {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; color: var(--ink-dim);
  text-transform: uppercase; font-weight: 500;
}

.country-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.country-row:last-child { border-bottom: 0; }
.country-row__num { font-family: var(--sans); font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.country-row__name { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.005em; }
.country-row__pct { font-family: var(--sans); font-size: 13px; color: var(--ink-dim); font-weight: 500; }

/* ---------- about ---------- */
.about {
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about__inner { max-width: 1100px; margin: 0 auto; }
.about__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(40px, 6vw, 80px) 0;
}
.about__row + .about__row { border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .about__row { grid-template-columns: 1fr; gap: 24px; } }
.about__lbl {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em;
  color: var(--ink-dim); text-transform: uppercase;
  font-weight: 500;
}
.about__body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;
}
.about__para {
  margin: 0 0 1.1em 0;
  text-wrap: pretty;
}
.about__para:last-child {
  margin-bottom: 0;
}
.about__para:first-child {
  font-size: 1.08em;
  font-weight: 500;
}

/* ---------- process ---------- */
.process { padding: clamp(100px, 12vw, 160px) var(--gutter); }
.process__head { max-width: var(--max); margin: 0 auto clamp(60px, 8vw, 100px); }
.process__title {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0;
}

.process__list {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: clamp(20px, 3vw, 60px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
  cursor: default;
  transition: padding-left .4s ease;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step:hover { padding-left: 12px; }
@media (max-width: 760px) {
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step__body { grid-column: 1 / -1; }
}
.step__num {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; color: var(--accent);
  font-weight: 500; text-transform: uppercase;
}
.step__title {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
.step__body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 56ch;
  margin: 0;
}

/* ---------- inquiry ---------- */
.inquiry {
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
}
.inquiry__inner { max-width: 1100px; margin: 0 auto; }
.inquiry__title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 16ch;
  margin: 0 0 clamp(40px, 6vw, 80px);
}
.inquiry__lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 60ch;
  margin: 0 0 clamp(48px, 6vw, 80px);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }

.field {
  display: flex; flex-direction: column;
  padding: 22px 0 18px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.field--full { grid-column: 1 / -1; }
.field--right { padding-left: 24px; }
@media (max-width: 720px) { .field--right { padding-left: 0; } }
.form .field:nth-last-child(-n+1) { border-bottom: 1px solid var(--rule); }

.field__lbl {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em;
  color: var(--ink-faint); text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.field__input,
.field__select {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  background: transparent;
  border: 0; outline: 0;
  color: var(--ink);
  padding: 4px 0;
  width: 100%;
  letter-spacing: -0.005em;
}
.field__input:focus,
.field__select:focus { color: var(--accent); }
.field__input::placeholder,
.field__select:invalid { color: var(--ink-faint); }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: none;
}
.field__select option { background: var(--bg); color: var(--ink); }

.submit-row {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  gap: 20px; flex-wrap: wrap;
}
.submit {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 22px 36px;
  transition: background .2s, color .2s, border-color .2s;
}
.submit:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.submit__arrow { display: inline-block; margin-left: 14px; transition: transform .2s; }
.submit:hover .submit__arrow { transform: translateX(6px); }

.success {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--accent);
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.005em;
}

/* ---------- footer ---------- */
.foot {
  padding: 60px var(--gutter) 32px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; color: var(--ink-faint);
  text-transform: uppercase;
  font-weight: 500;
  flex-wrap: wrap; gap: 20px;
}
.foot a { color: inherit; text-decoration: none; }

/* ---------- edit menu ---------- */
.edit-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  padding: 14px 20px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.edit-fab span { font-family: var(--sans) !important; }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr min(440px, 100%);
  pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer__scrim {
  background: rgba(0,0,0,0.5);
  opacity: 0; transition: opacity .3s ease;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  background: var(--bg);
  border-left: 1px solid var(--rule);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
}
.drawer__title { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.005em; }
.drawer__title em { font-style: italic; color: var(--accent); }
.drawer__close {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.drawer__tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
}
.drawer__tab {
  flex: 0 0 auto;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  padding: 14px 16px;
  color: var(--ink-faint);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.drawer__tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.drawer__body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex; flex-direction: column; gap: 22px;
}
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group__lbl {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-faint);
  text-transform: uppercase; font-weight: 500;
}
.field-group__input,
.field-group__textarea {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  outline: none;
  border-radius: 0;
}
.field-group__textarea { min-height: 90px; resize: vertical; }
.field-group__input:focus,
.field-group__textarea:focus { border-color: var(--accent); }

.color-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.color-swatch {
  width: 36px; height: 28px;
  border: 1px solid var(--rule);
  cursor: pointer;
  background: transparent;
}
.color-input {
  background: var(--bg-2); border: 1px solid var(--rule);
  color: var(--ink-dim); padding: 8px 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  width: 100px;
}
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; }
.preset {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  color: var(--ink-dim);
}
.preset.is-active { color: var(--ink); border-color: var(--accent); }

.section-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  gap: 12px;
}
.section-row__handle {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: grab;
  font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -0.005em;
}
.section-row__drag { color: var(--ink-faint); font-family: var(--sans); font-size: 12px; }
.section-row.is-dragging { opacity: 0.4; }
.section-row.is-over { border-top: 1px solid var(--accent); }

.toggle {
  width: 36px; height: 20px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  position: relative;
  cursor: pointer;
  flex: 0 0 36px;
}
.toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: var(--ink-faint);
  transition: left .2s, background .2s;
}
.toggle.is-on { border-color: var(--accent); }
.toggle.is-on::after { left: 18px; background: var(--accent); }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-secondary {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  color: var(--ink-dim);
}
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-dim); }

.divider { height: 1px; background: var(--rule); margin: 6px 0; }
.note {
  font-family: var(--sans); font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.55;
  font-weight: 400;
}

[data-off="true"] { display: none !important; }

/* ---------- viewport tabs ---------- */
.vp-tabs {
  position: fixed; left: 18px; bottom: 18px;
  z-index: 100;
  display: inline-flex;
  gap: 0;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(8px);
}
.vp-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-faint);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.vp-tab.is-active { background: var(--ink); color: var(--bg); }
.vp-tab svg { display: block; }

/* ---------- phone stage ---------- */
.phone-stage {
  min-height: 100vh;
  background: var(--bg-2);
  padding: 80px 20px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.phone-stage__chrome {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-faint); text-transform: uppercase;
  font-weight: 500;
}
.phone-frame {
  position: relative;
  width: 390px;
  height: 844px;
  background: #000;
  border-radius: 54px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.18);
}
.phone-frame__notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 32px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
}
.phone-frame__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--bg);
}
.phone-frame__home {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
}

body[data-viewport="mobile"] .topbar { padding: 14px 18px; }
body[data-viewport="mobile"] .topbar__brand { font-size: 18px; }
body[data-viewport="mobile"] .topbar__nav { display: none; }
body[data-viewport="mobile"] .pillars { padding: 80px 20px 60px; }
body[data-viewport="mobile"] .pillars__head { gap: 28px; margin-bottom: 56px; }
body[data-viewport="mobile"] .pillars__title { font-size: 38px; }
body[data-viewport="mobile"] .pillars__grid { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
body[data-viewport="mobile"] .pillar--01 { grid-column: 1 / span 2; --ratio: 110%; margin-top: 0; }
body[data-viewport="mobile"] .pillar--02 { grid-column: 1 / span 1; margin-top: 0; --ratio: 130%; }
body[data-viewport="mobile"] .pillar--03 { grid-column: 2 / span 1; margin-top: 36px; --ratio: 130%; }
body[data-viewport="mobile"] .pillar--04 { grid-column: 1 / span 2; margin-top: 0; --ratio: 80%; }
body[data-viewport="mobile"] .pillar--05 { grid-column: 1 / span 2; margin-top: 0; --ratio: 110%; }
body[data-viewport="mobile"] .pillar__title { font-size: 22px; }
body[data-viewport="mobile"] .pillar__body { font-size: 15px; }

body[data-viewport="mobile"] .hero__line { font-size: 38px; max-width: 14ch; line-height: 1.18; }
body[data-viewport="mobile"] .hero__corner { font-size: 10px; }
body[data-viewport="mobile"] .hero__corner--bl { left: 20px; bottom: 60px; }
body[data-viewport="mobile"] .hero__corner--br { right: 20px; bottom: 60px; }

body[data-viewport="mobile"] .stats { padding: 64px 20px; }
body[data-viewport="mobile"] .stats__head { margin-bottom: 48px; }
body[data-viewport="mobile"] .stats__title { font-size: 32px; }
body[data-viewport="mobile"] .stats__grid { grid-template-columns: 1fr; gap: 36px; }
body[data-viewport="mobile"] .stat__value { font-size: 64px; }

body[data-viewport="mobile"] .demo { padding: 64px 20px; }
body[data-viewport="mobile"] .demo__title { font-size: 36px; }
body[data-viewport="mobile"] .demo__grid { grid-template-columns: 1fr; gap: 36px; }

body[data-viewport="mobile"] .about { padding: 64px 20px; }
body[data-viewport="mobile"] .about__row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
body[data-viewport="mobile"] .about__body { font-size: 16px; }

body[data-viewport="mobile"] .process { padding: 64px 20px; }
body[data-viewport="mobile"] .process__title { font-size: 34px; }
body[data-viewport="mobile"] .step { grid-template-columns: 50px 1fr; gap: 12px; padding: 28px 0; }
body[data-viewport="mobile"] .step__title { font-size: 26px; }
body[data-viewport="mobile"] .step__body { grid-column: 1 / -1; font-size: 15px; }

body[data-viewport="mobile"] .inquiry { padding: 64px 20px; }
body[data-viewport="mobile"] .inquiry__title { font-size: 44px; }
body[data-viewport="mobile"] .form { grid-template-columns: 1fr; }
body[data-viewport="mobile"] .field--right { padding-left: 0; }
body[data-viewport="mobile"] .field__input,
body[data-viewport="mobile"] .field__select { font-size: 20px; }
body[data-viewport="mobile"] .submit { padding: 18px 24px; font-size: 11px; }

body[data-viewport="mobile"] .foot { padding: 36px 20px 24px; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 10px; }

body[data-viewport="mobile"] .edit-fab { right: 14px; bottom: 14px; padding: 12px 16px; font-size: 11px; }

@media (max-width: 520px) {
  .phone-frame { width: 92vw; height: calc(92vw * 2.16); border-radius: 12vw; padding: 2.5vw; }
  .phone-frame__screen { border-radius: 9vw; }
  .phone-frame__notch { top: 5vw; width: 28vw; height: 7vw; }
  .vp-tabs { left: 12px; bottom: 12px; }
}
