/* Nikdeshae — Teneika Woodson, UGC Creator
   Palette: magnolia paper, chicory ink, cayenne, bayou green */
:root {
  --bg: #f4ede3;
  --surface: #ebe0d1;
  --surface-2: #e2d4c1;
  --ink: #2b1d17;
  --muted: #65524a;
  --accent: #a3412a;
  --accent-hover: #8c3521;
  --accent-ink: #fff8f1;
  --bayou: #20342b;
  --bayou-2: #2b4438;
  --bayou-ink: #f4ede3;
  --bayou-muted: #c9c6b5;
  --gold: #e4c58b;
  --line: rgba(43, 29, 23, 0.14);

  --font-display: 'Imbue', 'Didot', 'Bodoni 72', serif;
  --font-body: 'Albert Sans', 'Helvetica Neue', sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --step-hero: clamp(3.4rem, 1.6rem + 6.2vw, 7.5rem);

  --radius: 14px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 500 var(--step-small)/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { border-color: rgba(43,29,23,.35); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
  padding: 12px;
}
.reading { min-width: 0; }
.stage {
  position: sticky; top: 12px;
  height: calc(100svh - 24px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.stage figure { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.stage figure.is-active { opacity: 1; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  min-height: 56px; padding: 14px 22px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: var(--bg); color: var(--ink);
  font-size: var(--step-small);
}
.stage-bar [data-stage-caption] { color: var(--muted); text-align: right; }

/* ---------- Header / sheet ---------- */
.sheet { padding: 0 clamp(20px, 4.5vw, 72px); }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
}
.wordmark {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.75rem; line-height: 1; letter-spacing: 0.04em; text-decoration: none;
  font-variation-settings: 'opsz' 100;
}
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: var(--step-small); }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a[aria-current="page"] { text-decoration: underline; }
.nav .btn { min-height: 44px; padding: 0 18px; }

.hero {
  min-height: calc(100svh - 24px - 84px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vh 0 10vh;
}
.hero-name {
  display: block; font-family: var(--font-body); font-size: var(--step-small);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: var(--step-hero); line-height: 0.9; letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 100; color: var(--ink); max-width: 9ch;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-lead { margin: 30px 0 34px; font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 48px 0 0; padding: 0; list-style: none;
  font-size: var(--step-small); color: var(--muted);
}
.hero-facts strong { color: var(--ink); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0 0; }
.section:last-child { padding-bottom: clamp(80px, 10vw, 140px); }
.section-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 100; margin-bottom: 36px;
}
.section-sub { color: var(--muted); max-width: 46ch; margin: -18px 0 40px; }
.measure { max-width: 46ch; }
.intro p:first-child { font-weight: 500; font-size: var(--step-lead); line-height: 1.4; }
.intro p { color: var(--muted); }
.intro p:first-child { color: var(--ink); }
.m-figure { display: none; margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.m-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(24px, 3vw, 44px); align-items: start; }
.work-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-index li { border-bottom: 1px solid var(--line); }
.work-row {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 16px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--muted);
  font: inherit;
}
.work-row .brand { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; font-variation-settings: 'opsz' 100; }
.work-row .dur { font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.work-row .meta { grid-column: 1 / -1; font-size: var(--step-small); }
.work-row:hover, .work-row[aria-pressed="true"] { color: var(--ink); }
.work-row[aria-pressed="true"] .brand { color: var(--accent); }
.player { position: sticky; top: 24px; }
.player-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player-cap { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.player-cap strong { color: var(--ink); font-weight: 500; }
.player-play {
  position: absolute; inset: auto 14px 14px auto; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg); color: var(--ink); display: grid; place-items: center;
  transition: transform .3s var(--ease), opacity .3s;
}
.player-play:hover { transform: scale(1.06); }
.player-play svg { width: 20px; height: 20px; }
.player.is-playing .player-play { opacity: 0; pointer-events: none; }
.work-strip { display: none; }

/* ---------- Brands ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 40px 36px; align-items: center; margin: 0 0 48px; padding: 0; list-style: none; }
.logo-wall li { display: flex; align-items: center; min-height: 54px; }
.logo-wall img { max-height: 44px; width: auto; max-width: 100%; opacity: .92; }
.logo-wall img.tall { max-height: 52px; }
.logo-wall img.small { max-height: 26px; }
.logo-wall img.olay { max-height: 30px; }
.names { columns: 2; column-gap: 32px; font-size: 1.25rem; line-height: 1.6; margin: 0; padding: 0; list-style: none; }
.names li:first-child { color: var(--muted); }

/* ---------- Niches (active list) ---------- */
.niche-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.niche-list li { border-bottom: 1px solid var(--line); }
.niche {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; color: var(--muted);
}
.niche .n-name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1; font-variation-settings: 'opsz' 100; }
.niche .n-tag { font-size: var(--step-small); }
.niche[aria-expanded="true"] { color: var(--ink); }
.niche[aria-expanded="true"] .n-name { color: var(--accent); }
.niche-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.niche-body > div { overflow: hidden; }
.niche-body p { max-width: 44ch; color: var(--muted); padding-bottom: 22px; margin: 0; }
.niche[aria-expanded="true"] + .niche-body { grid-template-rows: 1fr; }

/* ---------- Services (run-in reading text) ---------- */
.runins { columns: 2; column-gap: 44px; }
.runins p { break-inside: avoid; color: var(--muted); margin: 0 0 20px; }
.runins p strong { color: var(--ink); font-weight: 500; }
.note { margin-top: 12px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); font-size: var(--step-small); color: var(--ink); max-width: 60ch; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 8px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--accent); font-variation-settings: 'opsz' 100; }
.steps h3 { font-family: var(--font-body); font-weight: 500; font-size: var(--step-body); margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); max-width: 52ch; }

/* ---------- Letter ---------- */
.letter { max-width: 520px; }
.letter .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; }
.letter p { font-size: var(--step-body); }
.letter mark { background: var(--gold); color: var(--ink); padding: 0 .2em; border-radius: 3px; }
.signoff { margin-top: 28px; }
.signoff .sig { font-family: var(--font-body); font-style: italic; font-size: 1.5rem; display: block; }
.signoff .role { font-size: var(--step-small); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { columns: 2; column-gap: 44px; }
.faq p { break-inside: avoid; margin: 0 0 22px; color: var(--muted); }
.faq p strong { display: inline; color: var(--ink); font-weight: 500; }

/* ---------- Contact field ---------- */
.contact {
  margin: 0 12px; border-radius: var(--radius); overflow: hidden;
  background: var(--bayou); color: var(--bayou-ink);
  padding: 48px 0 clamp(56px, 7vw, 96px);
}
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 8px; width: max-content; animation: drift 70s linear infinite; }
.marquee img { height: 150px; width: auto; border-radius: 8px; object-fit: cover; }
.marquee img.w34 { aspect-ratio: 3/4; } .marquee img.w11 { aspect-ratio: 1/1; } .marquee img.w32 { aspect-ratio: 3/2; }
@keyframes drift { to { transform: translateX(-50%); } }
.contact-inner { padding: 72px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; }
.contact h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.6rem); line-height: .92; font-variation-settings: 'opsz' 100; max-width: 11ch; }
.contact p { color: var(--bayou-muted); max-width: 42ch; }
.contact a:hover { color: var(--gold); }
.contact-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 40px var(--gutter) 0; }
.cell {
  min-height: 96px; border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  background: var(--bayou-2); color: var(--bayou-ink); text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.cell small { font-size: var(--step-small); color: var(--bayou-muted); }
.cell span { font-size: 1.15rem; font-weight: 500; overflow-wrap: anywhere; }
.cell:hover { background: #355343; color: var(--bayou-ink); }
.cell.cell-cta { background: var(--bg); color: var(--ink); }
.cell.cell-cta small { color: var(--muted); }
.cell.cell-cta:hover { background: #fff; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { position: relative; margin: 12px; border-radius: var(--radius); overflow: hidden; min-height: 62svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--bg); }
.footer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,52,43,.86), rgba(32,52,43,.15) 60%, rgba(32,52,43,0)); }
.footer-inner { position: relative; z-index: 2; padding: 0 var(--gutter) 28px; }
.footer-name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(4rem, 15.5vw, 16rem); line-height: .82; letter-spacing: -0.01em; font-variation-settings: 'opsz' 100; margin: 0 0 24px -0.04em; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--step-small); border-top: 1px solid rgba(244,237,227,.3); padding-top: 18px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--gold); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Collab form ---------- */
.form-intro { padding: 4vh 0 32px; }
.form-intro h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.8rem, 1.5rem + 4.6vw, 5.6rem); line-height: .9; font-variation-settings: 'opsz' 100; max-width: 10ch; margin-bottom: 22px; }
.form-intro p { color: var(--muted); max-width: 48ch; }
.progress { display: flex; gap: 8px; margin: 8px 0 30px; padding: 0; list-style: none; font-size: var(--step-small); }
.progress li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); color: var(--muted); transition: border-color .4s var(--ease), color .4s; }
.progress li.is-done, .progress li.is-current { border-color: var(--accent); color: var(--ink); }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-current { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.step legend { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1; font-variation-settings: 'opsz' 100; margin-bottom: 26px; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .group-label { font-size: var(--step-small); font-weight: 500; }
.field label .opt, .group-label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid transparent; border-radius: 10px;
  padding: 14px 16px; min-height: 52px;
  transition: background-color .2s, border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fffaf3; border-color: var(--ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--accent); background: #fbeee8; }
.field .err { font-size: var(--step-small); color: var(--accent); min-height: 0; }
.field .hint { font-size: var(--step-small); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(43,29,23,.28); font-size: var(--step-small); cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip span:hover { border-color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-small); color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; font-size: var(--step-small); color: var(--accent); }
.success { display: none; padding: 8px 0 40px; }
.success.is-shown { display: block; animation: rise .6s var(--ease); }
.success h2 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head); line-height: .95; font-variation-settings: 'opsz' 100; margin-bottom: 20px; }
.success p { color: var(--muted); max-width: 46ch; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .work-grid { grid-template-columns: 1fr; }
  .player { position: static; max-width: 340px; }
  .runins, .faq { columns: 1; }
}
@media (max-width: 1080px) { .contact-cells { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .stage { position: sticky; top: 0; height: 54svh; border-radius: 0; order: -1; z-index: 0; }
  .stage-bar { display: none; }
  .reading { position: relative; z-index: 1; background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; margin-top: -24px; }
  .sheet { padding: 0 20px; }
  .topbar { padding: 18px 0; }
  .nav .nav-link { display: none; }
  .hero { min-height: auto; padding: 28px 0 24px; }
  .hero-title { max-width: 8ch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .m-figure { display: block; }
  .contact { margin: 0; border-radius: 0; }
  .contact-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .contact-cells { grid-template-columns: 1fr; }
  .cell { min-height: 64px; }
  .marquee img { height: 110px; }
  .footer { margin: 0; border-radius: 0; min-height: 56svh; }
  .fields { grid-template-columns: 1fr; }
  .names { font-size: 1.0625rem; column-gap: 20px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stage-collab { height: 34svh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
