:root {
  --dark: #0A1F1A;
  --dark-2: #0E2B23;
  --lime: #8FE536;
  --lime-light: #D4F5A8;
  --lime-soft: #EAF9D4;
  --cream: #F6F5EF;
  --ink: #10241E;
  --gray: #6B7C76;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --edge: 32px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-dark: 0 24px 60px -18px rgba(3, 14, 10, 0.55);
  --shadow-dark-lg: 0 40px 90px -24px rgba(3, 14, 10, 0.65);
  --shadow-lime: 0 14px 34px -10px rgba(143, 229, 54, 0.4);
  --shadow-soft: 0 20px 50px -20px rgba(10, 31, 26, 0.14);

  /* Contour Design System tokens — editorial work grids (Fashion/Beauty/Commerce) */
  --forest-950: #060F0D;
  --forest-900: var(--dark);
  --forest-800: #0F2E26;
  --forest-700: #153D31;
  --forest-600: #1D5243;
  --lime-400: var(--lime);
  --lime-300: #A8EF5E;
  --lime-600: #5A9C12;
  --neutral-50: var(--cream);
  --neutral-600: var(--gray);
  --font-editorial: "Pretendard", var(--font-body);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-wipe: cubic-bezier(0.7, 0, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body.playing { overflow: hidden; overscroll-behavior: none; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  position: relative;
}

/* fixed grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

section[id] { scroll-margin-top: 104px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--dark); opacity: 0.55; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--dark);
  max-width: 720px;
  text-wrap: balance;
}
.section-title--dark { color: var(--dark); }

.section-head {
  padding: 96px var(--edge) 48px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring), filter 0.8s var(--ease-spring);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- Floating glass nav ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding-top: 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(1120px, calc(100% - 32px));
  padding: 12px 12px 12px 24px;
  border-radius: 999px;
  background: rgba(10, 31, 26, 0.62);
  border: 1px solid rgba(143, 229, 54, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-dark);
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--lime);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(246, 245, 239, 0.82);
  transition: color 0.4s var(--ease-spring);
}
.nav-links a:hover { color: var(--lime); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  background: none;
  border: none;
  color: rgba(246, 245, 239, 0.75);
  cursor: pointer;
  display: flex;
  padding: 4px;
  transition: color 0.4s var(--ease-spring);
}
.icon-btn:hover { color: var(--lime); }

/* ---------- CTA button (pill + nested arrow) ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 10px 9px 20px;
  border-radius: 999px;
  transition: transform 0.5s var(--ease-spring), background 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
  white-space: nowrap;
}
.cta-arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(10, 31, 26, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-spring);
  flex-shrink: 0;
}
.cta-btn:hover { background: var(--lime-light); transform: translateY(-1px) scale(1.02); box-shadow: var(--shadow-lime); }
.cta-btn:hover .cta-arrow { transform: translateX(2px); }
.cta-btn:active { transform: scale(0.98); }
.cta-btn--lg { padding: 13px 13px 13px 28px; font-size: 15px; }
.cta-btn--lg .cta-arrow { width: 32px; height: 32px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--dark);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--edge);
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) translateY(var(--parallax, 0px)) scale(1.15);
  will-change: transform;
}
.hero-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,26,0.5) 0%, rgba(10,31,26,0.72) 55%, rgba(10,31,26,0.94) 100%);
}

.orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  animation: float 9s ease-in-out infinite;
}
.orb--1 {
  top: -18%;
  right: -8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(143,229,54,0.18) 0%, rgba(143,229,54,0) 70%);
}
.orb--2 {
  bottom: -20%;
  left: -6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(143,229,54,0.1) 0%, rgba(143,229,54,0) 72%);
  animation-delay: -4s;
  animation-duration: 11s;
}
.orb--3 {
  top: -30%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(143,229,54,0.14) 0%, rgba(143,229,54,0) 70%);
  animation-duration: 12s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* no fixed cap here — fitHeadline() already sizes the headline to 97% of the
   hero's inner width, and a hard max-width clamps the box while the nowrap
   headline keeps its real width, pushing the tail off the right edge */
.hero-inner {
  max-width: 100%;
  width: fit-content;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.js .hero-inner {
  opacity: 0;
}
.js .hero-inner.is-revealed {
  opacity: 1;
  transition: opacity 0.5s var(--ease-spring);
}

/* ---------- Intro cursor (center-screen, before headline reveals) ---------- */
.intro-cursor {
  display: none;
}
.js .intro-cursor {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 3px;
  height: 56px;
  transform: translate(-50%, -50%);
  background: var(--lime);
  animation: cursorBlink 0.9s step-end infinite;
}
.js .intro-cursor.is-hidden {
  opacity: 0;
  transition: opacity 0.3s var(--ease-spring);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- Rotating headline (fixed-position frame, slide/fade phrases) ---------- */
.hero-headline--rotating {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 0.28em;
  font-family: "Pretendard", var(--font-body);
  font-size: clamp(20px, 6vw, 76px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hh-fixed {
  flex-shrink: 0;
}
.hh-fixed .c {
  font-style: normal;
  color: #ffffff;
  visibility: visible;
}
.js .hh-fixed .c {
  visibility: hidden;
}
.js .hh-fixed .c.on {
  visibility: visible;
}

/* typing caret — follows the fixed prefix/suffix characters as they're revealed */
.type-caret {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0.86em;
  background: var(--lime);
  pointer-events: none;
  animation: cursorBlink 1s step-end infinite;
}
.type-caret.is-active {
  display: block;
}
.type-caret.is-gone {
  opacity: 0;
  transition: opacity 0.3s var(--ease-spring);
}

.rotator {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  padding-bottom: 0.05em;
}
/* underline — independent element, decoupled from the box's own width transition */
.rotator-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.06em;
  background: rgba(143, 229, 54, 0.4);
  pointer-events: none;
}
.js .rotator-underline {
  opacity: 0;
  transition: opacity 0.4s var(--ease-spring);
}
.js .hero-headline--rotating.is-open .rotator-underline {
  opacity: 1;
}
.rotator-viewport {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  width: var(--rotator-target-w, 14em);
  height: 1.25em;
  flex-shrink: 0;
}
.js .rotator-viewport {
  width: 0;
  transition: width 0.7s var(--ease-spring);
}
.js .hero-headline--rotating.is-open .rotator-viewport {
  width: var(--rotator-target-w, 14em);
}
.rotator-phrase {
  position: absolute;
  left: 50%;
  top: 0;
  width: max-content;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, 0);
  opacity: 1;
  transition: transform 0.5s var(--ease-spring), opacity 0.45s var(--ease-spring);
}
.rotator-phrase.rp-out {
  transform: translate(-50%, -0.35em);
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.35s var(--ease-spring);
}
.rotator-phrase.rp-in-start {
  transform: translate(-50%, 0.35em);
  opacity: 0;
  transition: none;
}
.rp-particle {
  color: #ffffff;
  font-weight: 600;
}
.rp-point {
  color: var(--lime);
  font-weight: 800;
}
.rotator-cursor {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .rotator-cursor { animation: none; opacity: 1; }
  .intro-cursor { animation: none; }
  .type-caret { animation: none; }
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(246, 245, 239, 0.72);
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid rgba(246,245,239,0.35);
  padding-bottom: 2px;
  transition: color 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring);
}
.text-link:hover { color: var(--lime); border-color: var(--lime); }
.text-link span { display: inline-block; margin-left: 2px; }

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: var(--edge);
  bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,245,239,0.4);
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 0.75; }
}

/* ---------- Sheet stack (overlapping section cards) ---------- */
.sheet {
  position: relative;
  margin-top: -40px;
  border-radius: 40px 40px 0 0;
  box-shadow: var(--shadow-dark-lg);
}
.ctr-work-page.sheet { z-index: 2; background: var(--neutral-50); }
.cost.sheet { z-index: 3; background: var(--dark); }
.about.sheet { z-index: 4; background: var(--dark); }
.clients.sheet { z-index: 5; background: var(--cream); }
.contact.sheet { z-index: 6; background: var(--dark); }

/* ---------- Work grids: Fashion / Beauty / Commerce (horizontal slide track) ---------- */
.ctr-work-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.ctr-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.85s var(--ease-editorial);
}

.ctr-work {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  background: var(--neutral-50);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* grid width is capped by viewport HEIGHT (141vh - 152px, fitted against the
   tallest collage column of all three slides) so a whole slide always fits one
   screen — cells keep their 4:5 / 9:16 ratios and simply scale down */
.ctr-grid {
  position: relative;
  display: grid;
  align-items: start;
  gap: 10px;
  width: 100%;
  max-width: min(1440px, 141vh - 152px);
  margin: 0 auto;
  padding: min(72px, 7vh) var(--edge) min(88px, 8.5vh);
}

/* each column is a vertical stack of ratio-locked cells; columns are offset
   against each other so the composition reads as an editorial collage */
.ctr-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ctr-row {
  display: flex;
  gap: 10px;
}
.ctr-row > .cell { flex: 1; }

.cell {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s var(--ease-editorial);
}
.cell:hover { transform: scale(1.015); }

/* content ratios — every cell locks to one of the two shooting formats */
.r45 { aspect-ratio: 4 / 5; }
.r916 { aspect-ratio: 9 / 16; }

/* real media fills its cell; the gradient underneath doubles as the poster */
.cell > img,
.cell > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* living wall — JS stacks two layers per unpinned cell and crossfades between
   them, so the collage keeps cycling through the media pool */
.cell-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
}
.js .cell-layer {
  transition: opacity 0.6s var(--ease-editorial);
}
.cell-layer.is-on { opacity: 1; }

/* flash cut — full-bleed montage that covers the section on first entry, then
   decelerates and dissolves into the collage underneath */
.fc-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--forest-950);
  pointer-events: none;
}
.fc-overlay.is-done {
  opacity: 0;
  transition: opacity 0.55s var(--ease-editorial);
}
.fc-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
}
.fc-frame.is-on { opacity: 1; }
.fc-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--lime-400);
}
.fc-count {
  position: absolute;
  right: var(--edge);
  bottom: 26px;
  font-family: var(--font-editorial);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lime-400);
}

/* chapter card — sits above the frames and swaps as the montage moves from one
   category to the next; exits before the dissolve so it never collides with
   the grid headline landing underneath */
.fc-caption {
  position: absolute;
  z-index: 2;
  left: var(--edge);
  bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.fc-chapter-index {
  font-family: var(--font-editorial);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--lime-400);
}
.fc-chapter-name {
  font-family: var(--font-editorial);
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(6, 15, 13, 0.55);
}
.js .fc-caption {
  opacity: 0;
  transform: translateY(16px);
}
.js .fc-caption.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.34s var(--ease-editorial), transform 0.34s var(--ease-editorial);
}
.js .fc-caption.is-out {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.26s var(--ease-editorial), transform 0.26s var(--ease-editorial);
}

.ctr-nav { overflow: hidden; }

.g1 { background: linear-gradient(152deg, var(--forest-700) 0%, var(--forest-950) 90%); }
.g2 { background: linear-gradient(115deg, var(--forest-800) 10%, var(--forest-950) 100%); }
.g3 { background: linear-gradient(200deg, var(--forest-600) 0%, var(--forest-900) 75%); }
.g4 { background: linear-gradient(160deg, var(--forest-900) 0%, var(--forest-700) 55%, var(--forest-950) 100%); }
.g5 { background-color: var(--forest-900); background-image: linear-gradient(135deg, var(--forest-800) 0%, var(--forest-900) 45%, rgba(143, 229, 54, 0.14) 160%); }
.g6 { background: linear-gradient(35deg, var(--forest-950) 20%, var(--forest-700) 110%); }

/* oversized category headline — floats over the collage */
.ctr-headline {
  position: absolute;
  z-index: 3;
  font-family: var(--font-editorial);
  font-weight: 900;
  font-size: clamp(88px, 11.5vw, 164px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: var(--lime-400);
  pointer-events: none;
  text-transform: uppercase;
}

/* caption floating in negative space */
.ctr-caption {
  position: absolute;
  z-index: 4;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--neutral-600);
  max-width: 200px;
}

/* lime accent nav cells — same size on every slide, offset on a diagonal */
.ctr-nav {
  --nav-top: 26%;
  --nav-bottom: 21%;
  z-index: 5;
  position: absolute;
  width: 196px;
  height: 96px;
  display: flex;
  align-items: center;
  background: var(--lime-400);
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-editorial);
  padding: 0 22px;
  transition: background 0.18s var(--ease-editorial);
  text-align: left;
}
/* align with the grid's centred content edges (half of the grid's max-width) */
.ctr-nav:not(.to-end) { top: var(--nav-top); left: max(var(--edge), calc(50% - min(720px, 70.5vh - 76px) + var(--edge))); }
.ctr-nav.to-end { bottom: var(--nav-bottom); right: max(var(--edge), calc(50% - min(720px, 70.5vh - 76px) + var(--edge))); }
.ctr-nav:hover { background: var(--lime-300); }
.ctr-nav:active { opacity: 0.85; }
.ctr-nav.to-end { justify-content: flex-end; text-align: right; }
.ctr-nav .nav-arrow {
  font-size: 26px;
  line-height: 1;
  color: var(--forest-950);
}
.ctr-nav .nav-dest {
  position: absolute;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-800);
  white-space: nowrap;
}
.ctr-nav:not(.to-end) .nav-dest { right: 20px; }
.ctr-nav.to-end .nav-dest { left: 20px; }

/* 01 · FASHION — five columns, cascading stagger, headline low-left */
.grid-fashion {
  grid-template-columns: 1.15fr 0.9fr 1.25fr 0.85fr 1.05fr;
}
.grid-fashion .fc1 { margin-top: 0; }
.grid-fashion .fc2 { margin-top: 96px; }
.grid-fashion .fc3 { margin-top: 28px; }
.grid-fashion .fc4 { margin-top: 132px; }
.grid-fashion .fc5 { margin-top: 46px; }
.grid-fashion .f-cap { top: 4px; right: var(--edge); text-align: right; }
.grid-fashion .f-hl  { left: var(--edge); bottom: 30px; }

/* 02 · BEAUTY — four columns, dominant left anchor, headline upper-right */
.grid-beauty {
  grid-template-columns: 1.45fr 0.95fr 1.2fr 0.95fr;
}
.grid-beauty .bc1 { margin-top: 130px; }
.grid-beauty .bc2 { margin-top: 40px; }
.grid-beauty .bc3 { margin-top: 50px; }
.grid-beauty .bc4 { margin-top: 100px; }
.grid-beauty .b-cap { left: var(--edge); bottom: 34px; }
.grid-beauty .b-hl  { right: var(--edge); top: 28px; }

/* 03 · COMMERCE — six narrow columns, scattered off-axis rhythm */
.grid-commerce {
  grid-template-columns: 0.95fr 1.15fr 0.85fr 1.1fr 0.9fr 1.05fr;
}
.grid-commerce .cc1 { margin-top: 120px; }
.grid-commerce .cc2 { margin-top: 40px; }
.grid-commerce .cc3 { margin-top: 90px; }
.grid-commerce .cc4 { margin-top: 180px; }
.grid-commerce .cc5 { margin-top: 250px; }
.grid-commerce .cc6 { margin-top: 60px; }
.grid-commerce .c-cap { top: 4px; left: var(--edge); }
.grid-commerce .c-hl  { right: var(--edge); bottom: 24px; }

@media (max-width: 960px) {
  .ctr-grid { display: block; }
  .ctr-col, .ctr-grid [class*="c1"], .ctr-grid [class*="c2"] { margin-top: 0; }
  .ctr-row { flex-direction: column; }
  .ctr-headline { position: static; margin: 24px 0; font-size: 72px; }
  .ctr-nav { position: static; transform: none; height: 72px; width: 48%; margin-bottom: 10px; }
  .ctr-caption { position: static; display: block; margin-bottom: 12px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cell, .ctr-nav { transition: none; }
  .ctr-track { transition: none; }
  .ticker-row, .cost-arrow, .cost-reveal, .ticker-total-figure { transition: none; }
  .fc-overlay { display: none; }
  .js .cell-layer { transition: none; }
}

/* ---------- Cost Efficiency ---------- */
.cost {
  color: var(--cream);
  padding: 130px var(--edge) 110px;
}
.cost-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.cost .eyebrow--dark { color: var(--lime); opacity: 1; }
.cost .section-title--dark { color: var(--cream); }
.cost-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(246, 245, 239, 0.7);
  margin-top: 24px;
  max-width: 520px;
}

.cost-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.cost-ticker,
.cost-reveal {
  flex: 1;
  min-width: 260px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(246, 245, 239, 0.04);
  border: 1px solid rgba(246, 245, 239, 0.08);
}
.cost-card-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 245, 239, 0.5);
  margin-bottom: 14px;
}
.cost-figure {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
  color: var(--cream);
}
.cost-figure--lime { color: var(--lime); }
.cost-card-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(246, 245, 239, 0.55);
}
.cost-arrow {
  flex-shrink: 0;
  font-size: 28px;
  color: var(--lime);
  opacity: 0;
  transition: opacity 0.4s var(--ease-editorial);
}
.cost-arrow.is-in { opacity: 1; }

/* ticker — cost line items cross the screen, running total climbs */
.ticker-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ticker-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-editorial), transform 0.5s var(--ease-editorial);
}
.ticker-row.is-in { opacity: 1; transform: none; }
.ticker-row-plus {
  width: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--lime);
}
.ticker-row-label {
  flex: 1;
  font-size: 14px;
  color: rgba(246, 245, 239, 0.7);
}
.ticker-row-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
}
.ticker-row--spike .ticker-row-amount { color: var(--lime); }
.ticker-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 245, 239, 0.15);
}
.ticker-total-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 245, 239, 0.5);
}
.ticker-total-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--cream);
  transition: transform 0.2s var(--ease-editorial), color 0.2s var(--ease-editorial);
}
.ticker-total-figure.is-spiking { color: var(--lime); transform: scale(1.06); }

.cost-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-editorial), transform 0.6s var(--ease-editorial);
}
.cost-reveal.is-in { opacity: 1; transform: none; }

.cost-breakdown-label {
  margin-top: 72px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 245, 239, 0.5);
}
.cost-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(246, 245, 239, 0.12);
}
.cost-item-amount {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--lime);
  margin-bottom: 10px;
}
.cost-item h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}
.cost-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(246, 245, 239, 0.6);
  max-width: 280px;
}

.cost-footnote {
  margin-top: 56px;
  padding-left: 20px;
  max-width: 640px;
  border-left: 2px solid var(--lime);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 245, 239, 0.75);
}

/* ---------- About ---------- */
.about {
  color: var(--cream);
  padding: 130px var(--edge) 110px;
}
.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about .eyebrow--dark { color: var(--lime); opacity: 1; }
.about .section-title--dark { color: var(--cream); }
.about-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(246,245,239,0.7);
  margin-top: 24px;
  max-width: 480px;
}
.process {
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-left: 1px solid rgba(143,229,54,0.25);
  padding-left: 40px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--lime);
  margin: 6px 0 8px;
}
.process-step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(246,245,239,0.65);
  max-width: 420px;
}
.process-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(246,245,239,0.4);
  letter-spacing: 0.08em;
}

/* ---------- Clients ---------- */
.clients { padding-top: 8px; }

.logo-strip {
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 64px;
  border-bottom: 1px solid rgba(10,31,26,0.1);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 64px;
  width: max-content;
  padding: 0 var(--edge);
  animation: marquee 26s linear infinite;
}
.logo-strip:hover .logo-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
  opacity: 0.7;
  white-space: nowrap;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px var(--edge) 96px;
}
.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.5s var(--ease-spring);
}
.case-card:hover { transform: translateY(-4px); }
.card-bezel {
  padding: 7px;
  border-radius: 26px;
  background: rgba(10, 31, 26, 0.05);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), var(--shadow-soft);
  transition: box-shadow 0.5s var(--ease-spring);
}
.case-card:hover .card-bezel { box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), var(--shadow-dark); }
.case-thumb {
  aspect-ratio: 4 / 5;
  border-radius: 19px;
  background: var(--dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.case-thumb[data-tone="2"] { background: linear-gradient(135deg, #1B3A2E 0%, #0D241D 100%); }
.case-thumb[data-tone="5"] { background: linear-gradient(135deg, #1E3F30 0%, #0A1F1A 60%, #557A44 100%); }
.case-thumb[data-tone="7"] { background: linear-gradient(135deg, #22452F 0%, #0A1F1A 55%, #6B9450 100%); }
.case-tag {
  align-self: flex-start;
  background: var(--lime-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}
.case-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
}
.case-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray);
}

/* ---------- Contact ---------- */
.contact {
  color: var(--cream);
  padding: 150px var(--edge) 140px;
  text-align: center;
  overflow: hidden;
}
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.contact-headline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lime);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
  text-wrap: balance;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-2);
  color: rgba(246,245,239,0.6);
  padding: 28px var(--edge);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer .logo { font-size: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.4s var(--ease-spring); }
.footer-links a:hover { color: var(--lime); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 150px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .case-grid { grid-template-columns: 1fr; }
  .collage {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 22vw;
  }
  .cell[style*="span 3"] { grid-column: span 4 !important; }
  .cell[style*="span 4"] { grid-column: span 4 !important; }
  .cell[style*="span 2"] { grid-column: span 2 !important; }
}

@media (max-width: 560px) {
  .nav { padding: 10px 10px 10px 18px; }
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .cell { grid-column: span 2 !important; grid-row: span 1 !important; }
  .logo-track span { font-size: 18px; }
  .sheet { border-radius: 26px 26px 0 0; margin-top: -24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  .logo-track { animation: none; }
  .hero-scroll { animation: none; }
  .hero-video { transform: translate(-50%, -50%) scale(1.15) !important; }
  .js [data-reveal] { transition: none; opacity: 1; transform: none; filter: none; }
}
