/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SANTHOSH KUMAR M — SHARED STYLES
   Editorial dark · single accent · 8px grid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  --ink:        #0C0C0B;
  --surface:    #141413;
  --bone:       #1A1A18;
  --hairline:   #2E2E29;
  --line:       #3A3A33;
  --graphite:   #56564E;
  --mist:       #8A8A80;
  --paper:      #F0EDE5;
  --paper-dim:  #CFCCC2;
  --accent:     #FF4500;
  --accent-soft: rgba(255, 69, 0, 0.14);

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);

  --t-1: 200ms;
  --t-2: 360ms;
  --t-3: 720ms;

  --max:    1600px;
  --gutter: clamp(20px, 3.5vw, 64px);
  --sec-y:  clamp(80px, 8vw, 128px);

  --display: 'Inter', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="light"] {
  --ink:        #F4F1EA;
  --surface:    #ECE8DF;
  --bone:       #E4E0D6;
  --hairline:   #D6D2C6;
  --line:       #C5C0B2;
  --graphite:   #8A8478;
  --mist:       #5F594E;
  --paper:      #14130F;
  --paper-dim:  #3A3833;
}

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

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

/* Lenis smooth scroll recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background var(--t-2) var(--ease), color var(--t-2) var(--ease);
}

/* Subtle grain layer site-wide */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRIMITIVES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wrap {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 8.2vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.underline {
  position: relative;
  display: inline-block;
}
.underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.08em;
  background: var(--accent);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REVEAL / SPLIT TEXT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--t-3) var(--spring),
    transform var(--t-3) var(--spring);
}
.reveal.in { opacity: 1; transform: none; }
.d-1 { transition-delay: 80ms; }
.d-2 { transition-delay: 160ms; }
.d-3 { transition-delay: 240ms; }
.d-4 { transition-delay: 320ms; }
.d-5 { transition-delay: 400ms; }

.split { display: inline-block; }
.split .word { display: inline-block; overflow: hidden; padding: 0 0.02em; }
.split .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms var(--spring);
}
.split.in .word > span { transform: translateY(0); }
.split .word:nth-child(2) > span { transition-delay: 60ms; }
.split .word:nth-child(3) > span { transition-delay: 120ms; }
.split .word:nth-child(4) > span { transition-delay: 180ms; }
.split .word:nth-child(5) > span { transition-delay: 240ms; }
.split .word:nth-child(6) > span { transition-delay: 300ms; }
.split .word:nth-child(7) > span { transition-delay: 360ms; }
.split .word:nth-child(8) > span { transition-delay: 420ms; }
.split .word:nth-child(9) > span { transition-delay: 480ms; }
.split .word:nth-child(10) > span { transition-delay: 540ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .split .word > span { transform: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CUSTOM CURSOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  transition: width 220ms var(--spring), height 220ms var(--spring),
              background 220ms var(--ease), opacity 220ms var(--ease);
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor.is-ready { opacity: 1; }
.cursor.is-hover {
  width: 56px; height: 56px;
  background: var(--paper);
}
.cursor.is-text {
  width: 4px; height: 28px;
  border-radius: 2px;
}
.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.cursor.is-hover .cursor__label { opacity: 1; }
@media (hover: none), (max-width: 720px) {
  .cursor { display: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAV — consistent across all pages
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--gutter);
  transition:
    padding var(--t-1) var(--ease),
    background var(--t-1) var(--ease),
    border-color var(--t-1) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.nav--solid {
  padding-top: 14px;
  padding-bottom: 14px;
  background: color-mix(in oklab, var(--ink) 86%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--hairline);
}

/* Home page: white nav on hero → dark frosted on scroll */
.nav--hero { background: #FFFFFF; }
.nav--hero .nav__brand,
.nav--hero .nav__links a,
.nav--hero .nav__tools button { color: var(--ink); }
.nav--hero .nav__links a.is-active { color: var(--accent); }
.nav--hero .nav__ham span { background: var(--ink); }
.nav--hero .nav__cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* Once scrolled into dark section */
.nav--hero.is-scrolled .nav__brand,
.nav--hero.is-scrolled .nav__links a,
.nav--hero.is-scrolled .nav__tools button { color: var(--paper); }
.nav--hero.is-scrolled .nav__links a.is-active { color: var(--accent); }
.nav--hero.is-scrolled .nav__ham span { background: var(--paper); }
.nav--hero.is-scrolled .nav__cta { background: var(--paper); color: var(--ink); border-color: var(--paper); }


.nav__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--paper);
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__brand .dot { color: var(--accent); }
.nav__brand .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.nav__brand .pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulseRing 2.4s ease-out infinite;
  opacity: 0.6;
}
@keyframes pulseRing {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.nav__links {
  display: flex;
  gap: 28px;
  justify-self: center;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  position: relative;
  padding: 4px 0;
  transition: color var(--t-1) var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-1) var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a.is-active { color: var(--accent); }
.nav__links a:hover::after,
.nav__links a.is-active::after { right: 0; }

.nav__right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__tools {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__tools button {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--paper-dim);
  transition: background var(--t-1) var(--ease), color var(--t-1) var(--ease);
}
.nav__tools button:hover { background: var(--bone); color: var(--paper); }
.nav__tools button svg { width: 14px; height: 14px; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 16px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  transition: all var(--t-1) var(--ease);
}
.nav__cta::after { content: '→'; transition: transform var(--t-1) var(--ease); }
.nav__cta:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.nav__cta:hover::after { transform: translateX(2px); }

.nav__ham {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__ham span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--paper);
  transition: transform var(--t-1) var(--ease), opacity var(--t-1) var(--ease);
}
.nav__ham.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__ham.is-open span:nth-child(2) { opacity: 0; }
.nav__ham.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mob-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 var(--gutter);
  gap: 28px;
  transform: translateY(-100%);
  transition: transform var(--t-2) var(--spring);
}
.mob-menu.is-open { transform: translateY(0); }
.mob-menu a {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 9vw, 56px);
  letter-spacing: -0.025em;
  color: var(--paper);
}
.mob-menu a:hover { color: var(--accent); }
.mob-menu .mono { margin-top: 24px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COMMAND PALETTE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.palette {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: start center;
  padding-top: 14vh;
  background: color-mix(in oklab, var(--ink) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-1) var(--ease);
}
.palette.is-open {
  opacity: 1;
  pointer-events: auto;
}
.palette__box {
  width: min(640px, calc(100vw - 32px));
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transform: translateY(-12px);
  transition: transform var(--t-2) var(--spring);
}
.palette.is-open .palette__box { transform: translateY(0); }
.palette__input {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
}
.palette__input::placeholder { color: var(--mist); }
.palette__list {
  max-height: 50vh;
  overflow-y: auto;
  padding: 8px;
}
.palette__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--t-1) var(--ease);
}
.palette__item:hover,
.palette__item.is-active { background: var(--hairline); }
.palette__icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}
.palette__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--paper);
}
.palette__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-transform: uppercase;
}
.palette__hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mist);
  text-align: right;
  padding: 10px 18px;
  border-top: 1px solid var(--hairline);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--paper);
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 18px;
  text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS / CTAS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: transform var(--t-1) var(--spring), background var(--t-1) var(--ease);
}
.btn::after { content: '→'; transition: transform var(--t-1) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 6px 0;
  border-bottom: 1px solid var(--paper);
}
.link::after { content: '→'; transition: transform var(--t-1) var(--ease); }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link:hover::after { transform: translateX(4px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section {
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 32px;
}
.section__head-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 56ch;
}
.section__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
  max-width: 68ch;
  margin-bottom: 40px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARQUEE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 22px 0;
  background: var(--ink);
}
.marquee--hero {
  background: #0C0C0B;
  border-color: var(--hairline);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.marquee--hero .marquee__item { color: var(--paper); }
.marquee__item::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER + OUTRO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.outro {
  overflow: hidden;
  padding: clamp(48px, 6vw, 96px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--ink);
}
.outro__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(48px, 6vw, 96px);
  animation: marquee 42s linear infinite;
}
.outro:hover .outro__track { animation-play-state: paused; }
.outro__item {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--paper);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  transition: -webkit-text-stroke-color var(--t-2) var(--ease);
}
.outro__item:hover { -webkit-text-stroke-color: var(--accent); }

.footer {
  background: var(--ink);
}
.footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px var(--gutter);
}
.footer__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.footer__brand .dot { color: var(--accent); }
.footer__links {
  display: flex;
  gap: 28px;
  justify-self: center;
}
.footer__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color var(--t-1) var(--ease);
}
.footer__links a:hover { color: var(--paper); }
.footer__copy {
  justify-self: end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL PROGRESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--accent);
  z-index: 101;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progressFill linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progressFill { to { transform: scaleX(1); } }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — base
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .nav__links { gap: 18px; }
  .nav__cta { display: none; }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: auto 1fr auto; align-items: center; }
  .nav__links { display: none; }
  .nav__tools { display: none; }
  .nav__cta { display: none; }
  .nav__right { display: none; }
  .nav__ham { display: flex; grid-column: 3; justify-self: end; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .footer__bar { grid-template-columns: 1fr; gap: 14px; }
  .footer__links { justify-self: start; flex-wrap: wrap; gap: 18px; }
  .footer__copy { justify-self: start; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA SECTION (shared across all pages)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta {
  background: var(--ink);
  padding-top: clamp(96px, 12vw, 180px);
  padding-bottom: clamp(96px, 12vw, 180px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__eyebrow { margin-bottom: 32px; }
.cta__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--paper);
  margin-bottom: 40px;
}
.cta__title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.cta__title .accent { color: var(--accent); }
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 44px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 220ms var(--spring);
}
.cta__btn::after { content: '↗'; transition: transform var(--t-1) var(--ease); }
.cta__btn:hover { transform: translateY(-3px); }
.cta__btn:hover::after { transform: translate(3px, -3px); }
.cta__meta {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STAGGERED CHILDREN REVEAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-3) var(--spring), transform var(--t-3) var(--spring);
}
.reveal-stagger.in > *:nth-child(1)  { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2)  { opacity: 1; transform: none; transition-delay:  90ms; }
.reveal-stagger.in > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 270ms; }
.reveal-stagger.in > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 450ms; }

/* Work-row line items — slide in from left, preserves hover transitions */
.work-list.reveal-stagger > * {
  transition:
    opacity  var(--t-3) var(--spring),
    transform var(--t-3) var(--spring),
    padding  320ms var(--ease),
    color    220ms var(--ease);
}

/* Flow steps */
.flow__body.reveal-stagger > * {
  transform: translateX(-16px);
}
.flow__body.reveal-stagger.in > * { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMALL MOBILE — 480px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 480px) {
  :root { --gutter: 16px; }

  .nav { padding: 12px var(--gutter); }

  .mob-menu a { font-size: clamp(24px, 7.5vw, 40px); }

  .section__head { margin-bottom: 40px; gap: 18px; }

  .footer__bar { padding: 18px var(--gutter); gap: 10px; }
  .footer__links { gap: 12px; }

  .palette__box { border-radius: 0 0 14px 14px; }
}


/* ─── Skip to main content ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }
