/* ══════════════════════════════════════════════════════
   WORKFORM — STYLE.CSS
   Sections in order: tokens · reset · typography · grid ·
   nav · s01 · s02 · s03 · s04 · s05 · utilities
══════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════
   1. DESIGN TOKENS
══════════════════════════════════════════════════════ */
:root {
  /* Colour */
  --color-paper:      #F2EDE3;
  --color-warm-grey:  #E8E2D6;
  --color-ink:        #111111;
  --color-off-white:  #FAFAF8;
  --color-terracotta: #C84B2F;
  --color-terra-deep: #A53B23;
  --color-dark:       #0F0D0C;

  /* Typography */
  --font-sans: 'Inter', Helvetica, Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  /* PUNCH note (v2): display-xl ceiling raised 80→96, display-l 64→72 */
  --size-display-xl: clamp(48px, 7.5vw, 96px);
  --size-display-l:  clamp(38px, 5.5vw, 72px);
  --size-display-m:  clamp(28px, 3.8vw, 52px);
  --size-heading:    clamp(20px, 2.5vw, 28px);
  --size-body:       clamp(14px, 1.2vw, 16px);
  --size-small:      13px;
  --size-mono:       11px;

  --ls-display: -0.04em;
  --ls-heading: -0.02em;
  --ls-mono:    0.05em;

  /* Spacing — 8pt base */
  --space-4:   4px;
  --space-8:   8px;
  --space-16:  16px;
  --space-24:  24px;
  --space-32:  32px;
  --space-48:  48px;
  --space-64:  64px;
  --space-80:  80px;
  --space-96:  96px;
  --space-128: 128px;
  --space-160: 160px;

  /* Layout */
  --pad-mobile:  24px;
  --pad-tablet:  48px;
  --pad-desktop: 80px;
  --max-width:   1440px;
  --nav-h:       60px;

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}


/* ══════════════════════════════════════════════════════
   2. RESET / BASE
══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--color-paper);
  color: var(--color-ink);
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }


/* ══════════════════════════════════════════════════════
   3. TYPOGRAPHY UTILITIES
══════════════════════════════════════════════════════ */
.display-xl { font-weight: 700; font-size: var(--size-display-xl); letter-spacing: var(--ls-display); line-height: 0.92; }
.display-l  { font-weight: 700; font-size: var(--size-display-l);  letter-spacing: var(--ls-display); line-height: 0.92; }
.display-m  { font-weight: 700; font-size: var(--size-display-m);  letter-spacing: var(--ls-display); line-height: 0.95; }

.mono {
  font-family: var(--font-mono);
  font-size: var(--size-mono);
  letter-spacing: var(--ls-mono);
}
.mono--muted  { opacity: 0.45; }
.mono--bright { color: rgba(250, 250, 248, 0.85); }
.mono--dim    { color: rgba(250, 250, 248, 0.45); }


/* ══════════════════════════════════════════════════════
   4. SECTIONS + GRID OVERLAY
══════════════════════════════════════════════════════ */
.section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
.section--paper { background: var(--color-paper); color: var(--color-ink); }
.section--dark  { background: var(--color-dark);  color: var(--color-off-white); }
.section--terra { background: var(--color-terracotta); color: var(--color-off-white); }

/* Grid system (v3) — CSS bg-image pattern. Tighter cells,
   higher contrast. The grid is "the structure beneath" — it
   scales as a single unit during the S01 → S02 zoom. */
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform-origin: center center;
  will-change: transform, opacity;
}

/* Per-surface grid colour, 64px cells */
.section--paper .grid-overlay {
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.085) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.085) 0.5px, transparent 0.5px);
  background-size: 64px 64px;
}
.section--dark .grid-overlay {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px);
  background-size: 64px 64px;
}
.section--terra .grid-overlay {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.10) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.10) 0.5px, transparent 0.5px);
  background-size: 64px 64px;
}

/* S01 dense — extra contrast and tighter cells.
   This IS the structure we fly into. */
.grid-overlay--dense {
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.13) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.13) 0.5px, transparent 0.5px) !important;
  background-size: 56px 56px !important;
}

.section-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--size-mono);
  letter-spacing: var(--ls-mono);
  color: rgba(17, 17, 17, 0.40);
  margin-bottom: var(--space-48);
}
.section-num--dark  { color: rgba(250, 250, 248, 0.40); }
.section-num--terra { color: rgba(250, 250, 248, 0.55); }


/* ══════════════════════════════════════════════════════
   5. NAV
══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-mobile);
  background: rgba(242, 237, 227, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.06);
  z-index: 100;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(242, 237, 227, 0.94);
  border-bottom-color: rgba(17, 17, 17, 0.12);
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-terracotta);
  letter-spacing: 0.10em;
}

.nav__links {
  display: none;
  gap: var(--space-32);
}
.nav__links a {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.45);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-ink); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-ink);
  transition: transform 0.3s, opacity 0.3s;
}

@media (min-width: 768px) {
  .nav { padding: 0 var(--pad-tablet); }
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}
@media (min-width: 1200px) {
  .nav { padding: 0 var(--pad-desktop); }
}

/* Mobile menu */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(17, 17, 17, 0.32);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--color-paper);
  z-index: 200;
  padding: 96px var(--pad-mobile) var(--pad-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  border-left: 0.5px solid rgba(17, 17, 17, 0.08);
  transform: translateX(102%);
  transition: transform 0.4s var(--ease-inout);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__link {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  color: var(--color-ink);
}
.mobile-menu__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--ls-mono);
  color: rgba(17, 17, 17, 0.45);
}


/* ══════════════════════════════════════════════════════
   6. SECTION 01 — PRESSURE
══════════════════════════════════════════════════════ */
.s01 {
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
}

.s01__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: var(--space-64) var(--pad-mobile) var(--space-128);
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.s01__left { max-width: 720px; }

.s01__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.55);
  margin-bottom: var(--space-48);
}
.s01__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(200, 75, 47, 0.18);
}

.s01__hero {
  font-weight: 700;
  font-size: var(--size-display-xl);
  letter-spacing: var(--ls-display);
  line-height: 0.92;
  color: var(--color-ink);
  will-change: transform, opacity;
  transform-origin: center center;
}
.s01__hero .line { display: block; }
.s01__hero .line--terra { color: var(--color-terracotta); }

/* ──────────────────────────────────────────────────────
   S01 USP "NODE" — the verdict we arrive at mid-scroll
   Hidden by default; revealed by GSAP scrub timeline.
────────────────────────────────────────────────────── */
.s01__usp {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Centering handled by GSAP via xPercent/yPercent in main.js
     so transform animations don't stomp the translate. */
  width: min(820px, 92vw);
  text-align: center;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  padding: var(--space-48) var(--space-32);
}

/* Soft terracotta halo behind the node — depth signal */
.s01__usp::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(
    ellipse at center,
    rgba(200, 75, 47, 0.10) 0%,
    rgba(200, 75, 47, 0.03) 50%,
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
}

/* Corner brackets — "system readout" frame */
.s01__usp-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(200, 75, 47, 0.55);
  border-style: solid;
  border-width: 0;
  will-change: transform, opacity;
}
.s01__usp-corner--tl { top: 0; left: 0;     border-top-width: 1px;    border-left-width: 1px;  }
.s01__usp-corner--tr { top: 0; right: 0;    border-top-width: 1px;    border-right-width: 1px; }
.s01__usp-corner--bl { bottom: 0; left: 0;  border-bottom-width: 1px; border-left-width: 1px;  }
.s01__usp-corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* Mark — same DNA as the S01 eyebrow (visual connector) */
.s01__usp-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-32);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(17, 17, 17, 0.55);
  text-transform: uppercase;
}

.s01__usp-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-terracotta);
  box-shadow: 0 0 0 4px rgba(200, 75, 47, 0.20);
  position: relative;
  flex-shrink: 0;
}

/* Slow ping ring — node-broadcast signal, pure CSS */
.s01__usp-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(200, 75, 47, 0.5);
  border-radius: 50%;
  animation: usp-ping 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes usp-ping {
  0%   { transform: scale(1);    opacity: 0.6; }
  80%  { opacity: 0; }
  100% { transform: scale(2.6);  opacity: 0; }
}

/* Verdict text */
.s01__usp-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 64px);
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  color: var(--color-ink);
}

.s01__usp-line {
  display: block;
  will-change: transform, opacity;
}

.s01__usp-text em {
  font-style: normal;
  color: var(--color-terracotta);
}

/* Continuation arrow — a clear "go down" cue */
.s01__usp-arrow {
  margin-top: var(--space-48);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  will-change: transform, opacity;
}

.s01__usp-arrow-glyph {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--color-terracotta);
  animation: arrow-bob 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.s01__usp-arrow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(17, 17, 17, 0.40);
  text-transform: uppercase;
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(0);   opacity: 0.7; }
  50%      { transform: translateY(8px); opacity: 1; }
}

.s01__divider {
  width: 100%;
  max-width: 320px;
  height: 0.5px;
  background: rgba(17, 17, 17, 0.18);
  margin: var(--space-32) 0 var(--space-24);
}

.s01__tagline {
  font-weight: 700;
  font-size: 14px;
  color: rgba(17, 17, 17, 0.65);
  margin-bottom: var(--space-8);
  letter-spacing: -0.005em;
}

.s01__sub {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.40);
}

.s01__bottom {
  position: absolute;
  bottom: var(--space-32);
  left: var(--pad-mobile);
  right: var(--pad-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.s01__bottom .mono {
  color: rgba(17, 17, 17, 0.32);
}

@media (min-width: 768px) {
  .s01__inner { padding-left: var(--pad-tablet); padding-right: var(--pad-tablet); }
  .s01__bottom { left: var(--pad-tablet); right: var(--pad-tablet); }
}

@media (min-width: 1200px) {
  .s01__inner {
    padding: var(--space-128) var(--pad-desktop);
  }
  .s01__left { max-width: 80%; }
  .s01__bottom { left: var(--pad-desktop); right: var(--pad-desktop); }
}


/* ══════════════════════════════════════════════════════
   7. SECTION 02 — CONTRAST
══════════════════════════════════════════════════════ */
.s02 {
  padding: var(--space-128) 0;
}
.s02__inner {
  position: relative;
  z-index: 10;
  padding: 0 var(--pad-mobile);
}
@media (min-width: 768px)  { .s02__inner { padding: 0 var(--pad-tablet); } }
@media (min-width: 1200px) { .s02__inner { padding: 0 var(--pad-desktop); } }

.s02__headline {
  font-weight: 700;
  font-size: var(--size-display-l);
  letter-spacing: var(--ls-display);
  line-height: 0.92;
  margin-bottom: var(--space-48);
}
.s02__headline .line { display: block; }
.s02__headline .line--ink   { color: var(--color-ink); }
.s02__headline .line--terra { color: var(--color-terracotta); }

/* PUNCH (v2): the verdict promoted from sub-heading to typographic moment */
.s02__verdict {
  font-weight: 700;
  font-size: var(--size-display-m);
  letter-spacing: var(--ls-display);
  line-height: 0.95;
  color: var(--color-ink);
  margin-bottom: var(--space-48);
  position: relative;
  padding-left: var(--space-24);
  border-left: 2px solid var(--color-terracotta);
}
.s02__verdict em {
  font-style: normal;
  color: var(--color-terracotta);
}

.s02__body {
  font-size: 17px;
  color: rgba(17, 17, 17, 0.62);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: var(--space-96);
}
@media (min-width: 768px) {
  .s02__body { font-size: 19px; }
}

/* Image blocks */
.s02__images {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  margin-bottom: var(--space-80);
}
@media (min-width: 768px) {
  .s02__images { grid-template-columns: 1fr 1fr; gap: var(--space-32); }
}

.img-block { display: flex; flex-direction: column; gap: 12px; }

.img-block__title {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
}
.img-block__title--terra { color: var(--color-terracotta); }

.img-block__caption {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.48);
}

.img-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.img-frame--dark  { background: var(--color-dark); }
.img-frame--light { background: var(--color-off-white); box-shadow: inset 0 0 0 0.5px rgba(17, 17, 17, 0.07); }

/* ──────────────────────────────────────────────────
   PROMPT-UI (dark frame, S02 left) — v4
   Bigger, more prominent input bar. The input is the
   protagonist; chat history is supporting context.
─────────────────────────────────────────────────── */
.prompt-ui {
  position: absolute;
  inset: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prompt-ui__topbar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prompt-ui__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(250, 250, 248, 0.10);
}
.prompt-ui__title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(250, 250, 248, 0.35);
  text-transform: uppercase;
}

.prompt-ui__history {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}
.prompt-ui__history-line {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  color: rgba(250, 250, 248, 0.22);
}
.prompt-ui__history-line:nth-child(2) { color: rgba(250, 250, 248, 0.18); }
.prompt-ui__history-line:nth-child(3) { color: rgba(250, 250, 248, 0.12); }

/* The protagonist — large input bar */
.prompt-ui__bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  min-height: 44px;
  border: 1px solid rgba(250, 250, 248, 0.18);
  border-radius: 3px;
  background:
    linear-gradient(180deg,
      rgba(250, 250, 248, 0.04) 0%,
      rgba(250, 250, 248, 0.02) 100%);
  box-shadow: inset 0 0 0 0.5px rgba(200, 75, 47, 0.10);
}
.prompt-ui__bar-prefix {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(200, 75, 47, 0.80);
  line-height: 1;
}
.prompt-ui__bar-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(250, 250, 248, 0.78);
  line-height: 1;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prompt-ui__bar-cursor {
  width: 1.5px;
  height: 14px;
  background: rgba(200, 75, 47, 0.95);
  animation: blink 1.05s step-end infinite;
  flex-shrink: 0;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.prompt-ui__tag {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(250, 250, 248, 0.30);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* ──────────────────────────────────────────────────
   SYSTEM-UI (light frame, S02 right) — v4
   Layered architecture: SKILLS (foundation) →
   TEMPLATES (pattern library) → PROMPT (AI on top).
   Outputs branch out to multiple channels.
─────────────────────────────────────────────────── */
.system-ui {
  position: absolute;
  inset: 22px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

/* Stacked layers — paper-stack offset for depth */
.system-ui__stack {
  position: relative;
  display: flex;
  flex-direction: column;
}

.layer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  height: 26px;
  border: 0.5px solid rgba(17, 17, 17, 0.12);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.layer__name { font-weight: 700; }
.layer__meta { margin-left: auto; opacity: 0.55; font-weight: 400; }

/* Top — PROMPT, the active AI layer (terracotta) */
.layer--top {
  z-index: 3;
  background: rgba(200, 75, 47, 0.09);
  border-color: rgba(200, 75, 47, 0.32);
  color: rgba(200, 75, 47, 0.88);
  box-shadow:
    0 4px 10px rgba(15, 13, 12, 0.05),
    0 1px 2px rgba(15, 13, 12, 0.04);
}

/* Middle — TEMPLATES */
.layer--mid {
  z-index: 2;
  margin-top: 5px;
  margin-left: 14px;
  background: rgba(17, 17, 17, 0.05);
  color: rgba(17, 17, 17, 0.55);
  box-shadow: 0 2px 5px rgba(15, 13, 12, 0.03);
}

/* Bottom — SKILLS, the foundation */
.layer--btm {
  z-index: 1;
  margin-top: 5px;
  margin-left: 28px;
  background: rgba(17, 17, 17, 0.025);
  color: rgba(17, 17, 17, 0.40);
}

.layer__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-terracotta);
  flex-shrink: 0;
}

/* Output channels — branching from the system to the right */
.system-ui__channels {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: center;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.50);
  white-space: nowrap;
}
.channel__line {
  width: 22px;
  height: 0.5px;
  background: rgba(17, 17, 17, 0.22);
  position: relative;
  flex-shrink: 0;
}
.channel__line::after {
  content: '';
  position: absolute;
  right: -3px; top: -2.5px;
  width: 5px; height: 5px;
  border-right: 0.5px solid rgba(17, 17, 17, 0.22);
  border-top: 0.5px solid rgba(17, 17, 17, 0.22);
  transform: rotate(45deg);
}

.system-ui__sysline {
  position: absolute;
  bottom: -6px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(17, 17, 17, 0.28);
  letter-spacing: 0.05em;
}

/* Bridge */
.s02__bridge {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-32);
  border-top: 0.5px solid rgba(17, 17, 17, 0.12);
}
.s02__bridge-left {
  font-weight: 700;
  font-size: 16px;
  color: rgba(17, 17, 17, 0.72);
}
.s02__bridge-right { color: var(--color-terracotta); }
@media (min-width: 768px) {
  .s02__bridge { flex-direction: row; align-items: center; justify-content: space-between; }
  .s02__bridge-left { font-size: 18px; }
}


/* ══════════════════════════════════════════════════════
   8. SECTION 03 — SYSTEM
══════════════════════════════════════════════════════ */
.s03 {
  padding: var(--space-128) 0;
}
.s03__inner {
  position: relative;
  z-index: 10;
  padding: 0 var(--pad-mobile);
}
@media (min-width: 768px)  { .s03__inner { padding: 0 var(--pad-tablet); } }
@media (min-width: 1200px) { .s03__inner { padding: 0 var(--pad-desktop); } }

.s03__headline {
  font-weight: 700;
  font-size: var(--size-display-l);
  letter-spacing: var(--ls-display);
  line-height: 0.92;
  margin-bottom: var(--space-96);
}
.s03__headline .line { display: block; }
.s03__headline .line--off   { color: var(--color-off-white); }
.s03__headline .line--terra { color: var(--color-terracotta); }

.s03__rows {
  margin-bottom: var(--space-80);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: var(--space-24);
  row-gap: 8px;
  padding: var(--space-48) 0;
  border-top: 0.5px solid rgba(250, 250, 248, 0.08);
  transition: background 0.3s ease;
}
.service-row:last-of-type { border-bottom: 0.5px solid rgba(250, 250, 248, 0.08); }

.service-row__num {
  grid-column: 1;
  grid-row: 1 / 4;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(200, 75, 47, 0.65);
  letter-spacing: var(--ls-mono);
  padding-top: 6px;
}

/* PUNCH (v2): service names sized up 24→32+, ample breathing room */
.service-row__name {
  grid-column: 2;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: var(--ls-display);
  line-height: 0.98;
  color: var(--color-off-white);
}
.service-row__tag {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--ls-mono);
  color: rgba(250, 250, 248, 0.32);
}
.service-row__body {
  grid-column: 2;
  font-size: 15px;
  color: rgba(250, 250, 248, 0.55);
  line-height: 1.55;
  max-width: 640px;
  margin-top: 6px;
}

@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: 60px 320px 220px 1fr;
    grid-template-rows: auto;
    align-items: baseline;
    column-gap: var(--space-48);
  }
  .service-row__num  { grid-column: 1; grid-row: 1; padding-top: 0; }
  .service-row__name { grid-column: 2; }
  .service-row__tag  { grid-column: 3; }
  .service-row__body { grid-column: 4; margin-top: 0; }
}

/* Differentiator — the both-languages line, bold and confident */
.s03__diff {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: var(--ls-heading);
  line-height: 1.25;
  color: rgba(250, 250, 248, 0.92);
  padding: var(--space-64) 0 var(--space-80);
  max-width: 820px;
}
.s03__diff em {
  font-style: normal;
  color: var(--color-terracotta);
  display: inline-block;
  margin-left: 6px;
}

/* Stats — big, anchored numbers */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  padding-top: var(--space-48);
  border-top: 0.5px solid rgba(250, 250, 248, 0.10);
}
@media (min-width: 768px) {
  .stats-bar { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: var(--space-48);
}
@media (min-width: 768px) {
  .stat + .stat {
    padding-left: var(--space-48);
    border-left: 0.5px solid rgba(250, 250, 248, 0.10);
  }
}

/* PUNCH (v2): stat numbers sized up 34→display-l */
.stat__num {
  font-weight: 700;
  font-size: clamp(46px, 5.5vw, 72px);
  letter-spacing: var(--ls-display);
  line-height: 0.95;
  color: var(--color-terracotta);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--ls-mono);
  color: rgba(250, 250, 248, 0.45);
}


/* ══════════════════════════════════════════════════════
   9. SECTION 04 — FLUENCY
══════════════════════════════════════════════════════ */
.s04 {
  min-height: 100vh;
}

.lt {
  position: absolute;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-off-white);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  will-change: transform;
  z-index: 3;
}

.s04__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 18%, rgba(0, 0, 0, 0.70) 100%);
  pointer-events: none;
  z-index: 8;
}

.s04__corner {
  position: absolute;
  z-index: 20;
  pointer-events: none;
}
.s04__corner--tl { top: var(--space-32); left: var(--pad-mobile); color: rgba(250, 250, 248, 0.45); }
.s04__corner--tr { top: var(--space-32); right: var(--pad-mobile); color: rgba(250, 250, 248, 0.10); }
.s04__corner--bl { bottom: var(--space-32); left: var(--pad-mobile); }

.s04__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(200, 75, 47, 0.65);
  background: rgba(200, 75, 47, 0.14);
  padding: 5px 10px;
  border-radius: 2px;
  letter-spacing: var(--ls-mono);
}

@media (min-width: 768px) {
  .s04__corner--tl { left: var(--pad-tablet); }
  .s04__corner--tr { right: var(--pad-tablet); }
  .s04__corner--bl { left: var(--pad-tablet); }
}
@media (min-width: 1200px) {
  .s04__corner--tl { left: var(--pad-desktop); }
  .s04__corner--tr { right: var(--pad-desktop); }
  .s04__corner--bl { left: var(--pad-desktop); }
}

.s04__inner {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s04__hero {
  text-align: center;
  pointer-events: none;
  padding: 0 var(--pad-mobile);
}
.s04__hl {
  display: block;
  font-weight: 700;
  font-size: var(--size-display-xl);
  letter-spacing: var(--ls-display);
  line-height: 0.92;
  opacity: 0;
  will-change: opacity;
}
.s04__hl--off   { color: var(--color-off-white); }
.s04__hl--terra { color: var(--color-terracotta); }


/* ══════════════════════════════════════════════════════
   10. SECTION 05 — CTA
══════════════════════════════════════════════════════ */
.s05 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: var(--space-96) var(--pad-mobile) var(--space-48);
}
@media (min-width: 768px)  { .s05 { padding: var(--space-128) var(--pad-tablet) var(--space-64); } }
@media (min-width: 1200px) { .s05 { padding: var(--space-128) var(--pad-desktop) var(--space-64); } }

.s05__inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-32);
  max-width: 1100px;
}

.s05__headline {
  font-weight: 700;
  font-size: var(--size-display-xl);
  letter-spacing: var(--ls-display);
  line-height: 0.92;
  color: var(--color-off-white);
}

.s05__reframe {
  font-size: 17px;
  color: rgba(250, 250, 248, 0.72);
  max-width: 480px;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .s05__reframe { font-size: 19px; }
}

.s05__cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin-top: var(--space-24);
}
.s05__tagline {
  font-size: 14px;
  color: rgba(250, 250, 248, 0.65);
}
@media (min-width: 768px) {
  .s05__cta-row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-32);
  }
}

/* CTA button — meaningful weight, hover commits */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  min-width: 240px;
  padding: 0 24px;
  background: var(--color-off-white);
  color: var(--color-terracotta);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--ls-mono);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cta-btn__arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.cta-btn:hover {
  background: var(--color-ink);
  color: var(--color-off-white);
}
.cta-btn:hover .cta-btn__arrow { transform: translateX(4px); }
.cta-btn:active { transform: translateY(1px); }

@media (max-width: 767px) {
  .cta-btn { width: 100%; justify-content: center; }
}

/* Footer */
.s05__footer {
  position: relative;
  z-index: 10;
  margin-top: var(--space-96);
}
.s05__footer-rule {
  height: 0.5px;
  background: rgba(250, 250, 248, 0.18);
  margin-bottom: var(--space-24);
}
.s05__footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}
.s05__footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 768px) {
  .s05__footer-grid { grid-template-columns: 1fr 1fr; align-items: end; }
  .s05__footer-col--right { align-items: flex-end; text-align: right; }
}


/* ══════════════════════════════════════════════════════
   11. UTILITIES — reveal init state
══════════════════════════════════════════════════════ */
.reveal { will-change: transform, opacity; }
