/* ============================================================
   Day & Knight Media — Locked design system
   ============================================================ */

:root {
  --obsidian: #1a1612;
  --obsidian-alt: #221d18;
  --charcoal: #363029;
  --bone: #f4f1ea;
  --dusk: #c8412a;
  --gold: #e8a85c;
  --ash: #5a5048;
  --ash-readable: #8a7f6e;

  --bone-12: rgba(244, 241, 234, 0.12);
  --bone-08: rgba(244, 241, 234, 0.08);
  --bone-60: rgba(244, 241, 234, 0.60);
  --ash-12: rgba(90, 80, 72, 0.30);

  --max-w: 1280px;
  --pad-x: 64px;
  --pad-y: 100px;
  --pad-y-lg: 156px;

  --r-btn: 7px;
  --r-card: 10px;

  --font-display: "Clash Display", "Inter", -apple-system, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

img, video, svg { max-width: 100%; }

body {
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  width: 100%;
}

section {
  position: relative;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

section.tall {
  padding-top: var(--pad-y-lg);
  padding-bottom: var(--pad-y-lg);
}

.divider {
  border: 0;
  height: 1px;
  background: var(--ash-12);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-head .section-title { margin-bottom: 0; }

.section-subtitle { display: none; }

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(50px, 8vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.subhead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--bone);
  max-width: 620px;
}

.muted { color: var(--ash); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 180ms cubic-bezier(.2,.7,.2,1), background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--dusk);
  color: var(--bone);
}
.btn-primary:hover {
  background: #c2401f;
  transform: scale(1.02);
}

.btn-outline {
  background: var(--dusk);
  color: var(--bone);
  border: 0;
}
.btn-outline:hover {
  background: #b1391f;
  transform: scale(1.02);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--bone);
  border-bottom: 1px solid var(--bone-12);
  padding-bottom: 4px;
  transition: gap 200ms ease, border-color 200ms ease;
}
.text-link:hover {
  gap: 12px;
  border-bottom-color: var(--bone);
}
.text-link .arrow {
  display: inline-block;
  transition: transform 200ms ease;
}
.text-link:hover .arrow { transform: translateX(2px); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 88px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(26, 22, 18, 0.70);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(26, 22, 18, 0.85);
  border-bottom-color: rgba(244, 241, 234, 0.06);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-inner .logo { flex-shrink: 0; }
.nav-inner nav { flex: 0 0 auto; }
.nav-inner .nav-cta { margin-left: auto; }

.logo {
  display: inline-flex;
  align-items: center;
  height: 64px;
}
.logo-mark {
  height: 64px;
  width: auto;
  display: block;
}
.logo-mark-fallback { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--bone);
  opacity: 0.78;
  transition: opacity 180ms ease;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--dusk);
  color: var(--bone);
  border: 0;
  border-radius: 7px;
  transition: background 180ms ease, transform 180ms ease;
}
.nav-cta:hover {
  background: #b1391f;
  transform: scale(1.02);
  color: var(--bone);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 90%;
  height: 110%;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(232, 168, 92, 0.55), transparent 55%),
    radial-gradient(ellipse 90% 80% at 80% 20%, rgba(232, 168, 92, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  z-index: 2;
}
.corner-tr { top: 104px; right: 64px; text-align: right; }
.corner-bl { bottom: 48px; left: 64px; }
.corner-bl::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--ash);
  vertical-align: middle;
  margin-right: 12px;
}

.alt-bg { background: var(--obsidian-alt); }

.hero-h1 {
  font-size: clamp(42px, 8.1vw, 106px);
  margin: 0;
  position: relative;
  z-index: 2;
  text-align: left;
}
.hero-h1 .line {
  display: block;
  white-space: nowrap;
  text-align: left;
}
.hero-h1 .line {
  display: block;
  white-space: nowrap;
}

/* Star field (hero + footer) */
.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);
  animation: twinkle ease-in-out infinite;
  will-change: opacity;
}
.star.lg { width: 3px; height: 3px; }
@keyframes twinkle {
  0%, 100% { opacity: 0.05; }
  50%      { opacity: 0.15; }
}

/* Drifting hero lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-line {
  position: absolute;
  height: 1px;
  background: var(--gold);
  opacity: 0.10;
  will-change: transform;
}
.hero-line.r { animation: drift-r linear infinite; }
.hero-line.l { animation: drift-l linear infinite; }
@keyframes drift-r {
  from { transform: translateX(-40vw); }
  to   { transform: translateX(140vw); }
}
@keyframes drift-l {
  from { transform: translateX(140vw); }
  to   { transform: translateX(-40vw); }
}
.hero-sub, .hero-ctas { position: relative; z-index: 2; }
.hero-h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  margin-right: 0.24em;
}
.hero-h1 .word.show { opacity: 1; transform: translateY(0); }
.hero-h1 .accent { color: var(--dusk); }

.hero-sub {
  margin-top: 36px;
  max-width: 560px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--bone);
  text-align: left;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms ease 600ms, transform 800ms ease 600ms;
}
.hero-sub.show { opacity: 0.92; transform: translateY(0); }

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin-top: 52px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms ease 800ms, transform 800ms ease 800ms;
}
.hero-ctas .btn-primary {
  padding: 18px 30px;
  font-size: 16px;
}
.hero-ctas .text-link {
  font-size: 17px;
}
.hero-ctas.show { opacity: 1; transform: translateY(0); }

/* ============================================================
   Scroll reveal — cascade
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Section eyebrow
   ============================================================ */
.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
  display: block;
}

/* ============================================================
   MARQUEE (strip)
   ============================================================ */

.marquee-section {
  padding-top: 41px;
  padding-bottom: 41px;
}

.marquee-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.marquee-strip-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash-readable);
  white-space: nowrap;
  padding-left: var(--pad-x);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.marquee-strip-label .arrow {
  font-weight: 500;
  color: var(--gold);
  font-size: 14px;
}

.marquee {
  flex: 1 1 auto;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 36px;
  padding-right: 36px;
  align-items: center;
  animation: marquee 48s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.005em;
  color: var(--bone);
  opacity: 0.78;
  white-space: nowrap;
  transition: opacity 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.brand:hover { opacity: 1; }

.brand .diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============================================================
   WORK
   ============================================================ */

#work .section-head { margin-bottom: 32px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  row-gap: 32px;
}

.tile-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tile {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 60vh;
  width: 100%;
  border-radius: var(--r-card);
  background: var(--charcoal);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  border: 1px solid var(--bone-08);
  display: block;
}

.tile-brand {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--bone);
  letter-spacing: -0.005em;
  padding: 0 2px;
}
.tile:hover {
  transform: scale(1.03);
}
.tile:hover .tile-corner { opacity: 1; transform: translate(0, 0); }
.tile:hover .tile-play { opacity: 1; transform: scale(1); }

.tile-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(244,241,234,0.045) 0 1px,
      transparent 1px 28px);
  opacity: 0.6;
}

.tile-meta {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.tile-meta .num { color: var(--bone); opacity: 0.55; }

.tile-title {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.1;
  color: var(--bone);
  max-width: 70%;
  letter-spacing: -0.01em;
}

.tile-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.10);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}
.tile-play svg { width: 18px; height: 18px; fill: var(--bone); margin-left: 3px; }

.tile-corner {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.tile-corner::before,
.tile-corner::after {
  content: "";
  position: absolute;
  background: var(--gold);
}
.tile-corner::before { top: 12px; right: 12px; width: 18px; height: 1.5px; }
.tile-corner::after  { top: 12px; right: 12px; width: 1.5px; height: 18px; }
/* Video tile fill + unmute toggle */
.tile-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--charcoal);
  z-index: 1;
}
.tile.has-video .tile-pattern,
.tile.has-video .tile-play {
  display: none;
}
.tile-unmute {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  border: 0;
  padding: 0;
  color: rgba(244, 241, 234, 0.65);
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}
.tile-unmute:hover {
  background: rgba(14, 12, 10, 0.75);
  transform: scale(1.05);
  color: var(--bone);
}
.tile.is-unmuted .tile-unmute { color: var(--bone); }
.tile-unmute svg {
  width: 16px;
  height: 16px;
  display: block;
}
.tile-unmute .icon-unmuted { display: none; }
.tile.is-unmuted .tile-unmute .icon-muted { display: none; }
.tile.is-unmuted .tile-unmute .icon-unmuted { display: block; }

/* Tile corner sits above video */
.tile-corner { z-index: 2; }

/* ============================================================
   PROCESS
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step {
  border-bottom: 1px solid var(--ash-12);
  overflow: hidden;
}
.step:last-child { border-bottom: 0; }

.step-head {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  transition: color 180ms ease;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--ash);
  transition: color 200ms ease;
}
.step.open .step-num { color: var(--dusk); }

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bone);
  opacity: 0.85;
  transition: opacity 180ms ease, color 180ms ease;
}
.step.open .step-title { opacity: 1; }

.step-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bone-12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.step-toggle::before,
.step-toggle::after {
  content: "";
  position: absolute;
  background: var(--bone);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.step-toggle::before { width: 12px; height: 1.5px; }
.step-toggle::after  { width: 1.5px; height: 12px; }
.step.open .step-toggle::after { transform: rotate(90deg); opacity: 0; }
.step.open .step-toggle { background: var(--dusk); border-color: var(--dusk); }

.step-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  max-height: 0;
  opacity: 0;
  transition: max-height 480ms cubic-bezier(.2,.7,.2,1), opacity 320ms ease, padding 320ms ease;
}
.step.open .step-body {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 36px;
}
.step-body::before {
  /* eats first column to align body copy under the title */
  content: "";
}

.step-head:hover .step-title { color: var(--bone); }
.step-head:hover .step-num { color: var(--gold); }

.step-body-spacer { display: none; }

.step-copy {
  color: var(--bone);
  opacity: 0.78;
  font-size: 16px;
  line-height: 1.6;
  max-width: 760px;
}

.step-visual,
.step-body-spacer,
.step-stat-num,
.step-stat-label { display: none; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */

/* ============================================================
   TESTIMONIALS
   ============================================================ */

#testimonials {
  padding-top: 36px;
  padding-bottom: 44px;
}
#testimonials .section-title {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 16px;
}
#testimonials .section-head { margin-bottom: 20px; }

.testi {
  position: relative;
}

.testi-stage {
  position: relative;
  min-height: 180px;
}

.testi-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  visibility: hidden;
  will-change: transform, opacity;
}
.testi-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.testi-slide.leaving {
  opacity: 0;
  transform: translateX(-24px);
  visibility: visible;
}

.testi-quote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  max-width: 880px;
  color: var(--bone);
}
.testi-quote .open-q {
  color: var(--dusk);
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-block;
  font-size: 2.2em;
  line-height: 0;
  vertical-align: -0.42em;
}
.testi-quote .open-q:first-child { margin-right: 0.18em; }
.testi-quote .open-q:last-child  { margin-left: 0.18em; }
.testi-quote .open-q { color: var(--dusk); }

.testi-cite {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
}
.testi-cite-name-row {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
}
.testi-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--bone);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.testi-title {
  color: var(--ash-readable);
  font-size: 14px;
  margin: 0;
  white-space: nowrap;
}
.testi-logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 9px;
  border: 1px solid rgba(90, 80, 72, 0.45);
  background: transparent;
  border-radius: 4px;
  color: var(--bone);
  text-transform: uppercase;
  margin-left: 6px;
  position: relative;
  top: -1px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .testi-cite { flex-wrap: wrap; white-space: normal; }
}

.testi-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--bone-12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.testi-arrow:hover { background: var(--bone-08); border-color: var(--bone-60); }
.testi-arrow:focus { outline: none; }
.testi-arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--dusk);
}
.testi-arrow svg { width: 14px; height: 14px; stroke: var(--bone); fill: none; stroke-width: 1.8; }

.testi-dots {
  display: flex;
  gap: 10px;
  margin-left: 0;
  align-items: center;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bone-12);
  transition: background 200ms ease, width 240ms ease;
  border: 0;
  padding: 0;
}
.testi-dot:focus { outline: none; }
.testi-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--dusk);
}
.testi-dot.active {
  background: var(--dusk);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   PRICING
   ============================================================ */

#pricing .section-head { margin-bottom: 36px; }
#pricing .section-title { margin-bottom: 0; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, #14110e, #100e0c);
  border: 1px solid var(--bone-08);
  border-radius: var(--r-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.price-card.featured {
  border-color: rgba(232, 168, 92, 0.30);
  background:
    radial-gradient(circle at top right, rgba(232,168,92,0.08), transparent 60%),
    linear-gradient(180deg, #16120f, #100e0c);
}

.price-pill {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gold);
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 99px;
}

.price-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--ash-12);
  padding-bottom: 24px;
}
.price-tier {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount .mo {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--ash);
  letter-spacing: 0;
}

.price-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.price-feats li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--bone);
  opacity: 0.92;
}
.price-feats li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--dusk);
  margin-top: 9px;
  border-radius: 1px;
}
.price-card.featured .price-feats li::before { background: var(--gold); }

.price-fine {
  margin: 36px auto 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ash-readable);
  max-width: 760px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  row-gap: 10px;
}
.price-fine > li {
  display: flex;
  align-items: center;
  padding: 0 22px;
}
.price-fine > li:nth-child(odd) {
  justify-content: flex-end;
  text-align: right;
  border-right: 1px solid rgba(90, 80, 72, 0.40);
}
.price-fine > li:nth-child(even) {
  justify-content: flex-start;
  text-align: left;
}
.price-fine .sep { display: none; }

@media (max-width: 640px) {
  .price-fine { grid-template-columns: 1fr; }
  .price-fine > li {
    justify-content: center !important;
    text-align: center !important;
    border-right: 0 !important;
  }
}

/* ============================================================
   FOUNDERS
   ============================================================ */

.founders-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
  margin: 0;
}

.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 800px;
}

.founder-portrait {
  position: relative;
  aspect-ratio: 5 / 6;
  width: 280px;
  max-width: 280px;
  border-radius: 8px;
  background: var(--charcoal);
  border: 0;
  overflow: hidden;
}
.founder-portrait img.founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 2;
}
.founder-portrait-label { display: none; }
.founder-portrait-tag { display: none; }
.founder-portrait::after { display: none; content: none; }
.founder-portrait-tag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

.founder-info { display: flex; flex-direction: column; gap: 6px; max-width: 460px; padding-top: 4px; }
.founder-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.founder-bio {
  color: var(--bone);
  opacity: 0.78;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 460px;
  margin-top: 6px;
}

/* ============================================================
   FAQ
   ============================================================ */

#faq {
  padding-bottom: 60px;
}
#faq .section-title {
  font-size: clamp(22px, 3vw, 38px);
}

.faq-list {
  border-top: 1px solid var(--ash-12);
}

.faq-row {
  border-bottom: 1px solid var(--ash-12);
  transition: background 220ms ease;
  cursor: pointer;
}
.faq-row:hover { background: rgba(244, 241, 234, 0.025); }

.faq-q {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 24px;
  align-items: center;
  padding: 16px 24px;
}

.faq-q-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--bone);
}

.faq-toggle {
  width: 28px; height: 28px;
  position: relative;
  justify-self: end;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--bone);
  top: 50%; left: 50%;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.faq-toggle::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq-row.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-row.open .faq-toggle::before { background: var(--dusk); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(.2,.7,.2,1);
}
.faq-row.open .faq-a { max-height: 800px; }

.faq-a-inner {
  padding: 4px 24px 18px 56px;
  margin-left: 0;
  max-width: 80%;
  color: #9a8f80;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  border-left: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-gradient {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 110%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232, 168, 92, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 70% at 50% 5%, rgba(232, 168, 92, 0.09), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .section-title {
  margin-bottom: 20px;
}
.final-cta .subhead {
  margin: 0 auto 28px;
  text-align: center;
  opacity: 0.88;
}
.final-cta .tag {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash-readable);
}

/* ============================================================
   Custom cursor dot
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dusk);
  border: 0 solid var(--dusk);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: width 200ms ease, height 200ms ease, background 200ms ease, border-width 200ms ease, opacity 200ms ease;
  will-change: transform, width, height;
}
.cursor-dot.ready {
  opacity: 0.65;
}
.cursor-dot.hover {
  width: 32px;
  height: 32px;
  background: transparent;
  border-width: 1.5px;
  opacity: 1;
  mix-blend-mode: normal;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ============================================================
   FOOTER (rebuilt)
   ============================================================ */

.footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-top: 0;
}
.footer-gradient {
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 90%;
  height: 130%;
  background:
    radial-gradient(ellipse 70% 60% at 15% 92%, rgba(232, 168, 92, 0.55), transparent 55%),
    radial-gradient(ellipse 90% 80% at 18% 88%, rgba(232, 168, 92, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.footer .container { position: relative; z-index: 1; }

.footer-cta {
  text-align: center;
  padding-top: 95px;
  padding-bottom: 0;
}
.footer-cta .btn-primary {
  padding: 20px 34px;
  font-size: 16px;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.footer-cta-title-removed { display: none; }

.footer-hr { display: none; }

.footer-cta-subhead { display: none; }

/* Horizontal action row */
.footer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 88px;
  padding: 95px 0 36px;
  flex-wrap: wrap;
}
.footer-actions .email {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--bone);
  transition: color 180ms ease;
}
.footer-actions .email:hover { color: var(--gold); }
.footer-actions .calendly {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 180ms ease, gap 180ms ease;
}
.footer-actions .calendly:hover { color: var(--gold); gap: 12px; }
.footer-actions .footer-socials {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-cols { display: none; }

.footer-brand { display: none; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: color 180ms ease, transform 180ms ease;
}
.footer-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.footer-social.solid svg { fill: currentColor; stroke: none; }
.footer-social:hover { color: var(--dusk); transform: translateY(-1px); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 15px;
  color: var(--bone);
  opacity: 0.86;
  transition: opacity 180ms ease, color 180ms ease;
}
.footer-col a:hover { opacity: 1; color: var(--gold); }

.footer-contact-row {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-contact-row .email {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--bone);
  line-height: 1.4;
}
.footer-contact-row .calendly {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  color: var(--bone);
  opacity: 0.78;
}
.footer-contact-row .calendly:hover { opacity: 1; color: var(--gold); }

.footer-mark { display: none; }

.footer-wordmark { display: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash-readable);
  border-top: 0;
}
.footer-bottom-left {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.footer-privacy {
  color: var(--ash);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: var(--font-mono);
  transition: color 180ms ease;
}
.footer-privacy:hover { color: var(--bone); }
.footer-bottom-mark {
  height: 85px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --pad-x: 24px; --pad-y: 80px; --pad-y-lg: 120px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 220px 1fr; gap: 24px; max-width: 100%; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { padding-top: 0; }
  .nav-links { display: none; }
  .nav-inner nav { display: none; }
  .step-head { grid-template-columns: 64px 1fr auto; gap: 16px; }
  .step-body { grid-template-columns: 64px 1fr; gap: 16px; }
  .step-visual { display: none; }
  /* Marquee on tablet: keep mask clipping */
  .marquee { min-width: 0; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; --pad-y: 64px; --pad-y-lg: 88px; }

  /* HERO — allow line wrap, smaller H1, lighter padding */
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 56px; }
  .hero-h1 { font-size: clamp(34px, 9.5vw, 56px); }
  .hero-h1 .line { white-space: normal; }
  .hero-sub { max-width: 100%; }
  .hero-sub > span { font-size: 16px !important; }
  .hero-ctas { gap: 16px; margin-top: 32px; }
  .hero-ctas .btn-primary { padding: 14px 22px; font-size: 14px; }
  .hero-ctas .text-link { font-size: 14px; }
  .hero-line { max-width: 65vw; }

  /* NAV */
  .nav { height: 68px; }
  .logo, .logo-mark { height: 44px; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .nav-inner { gap: 12px; padding: 0 var(--pad-x); }

  /* MARQUEE strip — stack label above scrolling track */
  .marquee-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee-strip-label { padding-left: var(--pad-x); font-size: 18px; }
  .marquee { width: 100%; min-width: 0; flex: 1 1 0%; }

  /* SECTION HEADS */
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 32px; }
  .section-title { font-size: clamp(26px, 7vw, 36px); margin-bottom: 0; }
  #testimonials .section-title { font-size: clamp(22px, 5.6vw, 30px); }
  #faq .section-title { font-size: clamp(22px, 5.6vw, 30px); }
  .footer-cta-title { font-size: clamp(28px, 7vw, 40px); }
  .eyebrow-tag { margin-bottom: 12px; }

  /* WORK grid — stack to 1 col */
  .work-grid { grid-template-columns: 1fr; gap: 18px; }
  .tile { max-height: none; }
  .tile-wrap { max-width: 320px; }

  /* PROCESS — compact rail */
  .step-head { grid-template-columns: 36px 1fr 28px; gap: 10px; padding: 18px 0; }
  .step-body { grid-template-columns: 36px 1fr; gap: 10px; }
  .step-title { font-size: clamp(20px, 5.2vw, 26px); }
  .step-num { font-size: 14px; }
  .step-toggle { width: 28px; height: 28px; }
  .step-copy { font-size: 14.5px; }

  /* TESTIMONIALS */
  .testi-stage { min-height: 280px; }
  .testi-quote { font-size: 17px; }
  .testi-cite { flex-wrap: wrap; white-space: normal; gap: 8px; }
  .testi-logo { margin-left: 0; top: 0; }
  .testi-controls { margin-top: 16px; gap: 12px; }
  .testi-arrow { width: 38px; height: 38px; }

  /* PRICING — single column, fine print stacks */
  .price-card { padding: 28px 22px; gap: 22px; }
  .price-amount { font-size: 42px; }
  .price-fine { grid-template-columns: 1fr; max-width: 100%; row-gap: 6px; }
  .price-fine > li {
    justify-content: center !important;
    text-align: center !important;
    border-right: 0 !important;
    padding: 0 8px !important;
  }

  /* FOUNDERS — stack photo above text, full width */
  .founders-grid { gap: 44px; }
  .founder-card { grid-template-columns: 1fr !important; gap: 18px; max-width: 100%; }
  .founder-portrait { width: 220px; max-width: 220px; }
  .founder-info { max-width: 100%; padding-top: 0; }
  .founder-bio { max-width: 100%; font-size: 14.5px; }

  /* FAQ — full-width answers */
  .faq-q { padding: 14px 14px; }
  .faq-q-text { font-size: 16px; }
  .faq-a-inner { padding: 4px 14px 16px 30px; max-width: 100%; font-size: 14.5px; }

  /* FOOTER — stack action row */
  .footer-cta { padding-top: 56px; padding-bottom: 0; }
  .footer-cta .btn-primary { padding: 16px 26px; font-size: 15px; }
  .footer-cta-title { margin-bottom: 28px; }
  .footer-actions { padding: 56px 0 28px; gap: 24px; flex-direction: column; }
  .footer-actions .email,
  .footer-actions .calendly { font-size: 15px; }
  .footer-socials { gap: 20px; }
  .footer-cols { padding: 0; }
  .footer-bottom { padding: 16px 0 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom-left { gap: 16px; }
  .footer-bottom-mark { height: 56px; }
  .footer-privacy { font-size: 10px; letter-spacing: 0.18em; }
}
