/* Elevated greyscale cinematic theme with sparse logos */
:root {
  --ink: #f5f7ff;
  --ink-soft: #e3e7ff;
  --muted: #9aa0a6;
  --border: #ffffff14;
  --cardA: #0b0b0e;
  --cardB: #0f0f13;
  --white: #ffffff;

  /* Transition tokens - organic vs mechanical (bridge theme) */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);       /* mechanical, precise */
  --ease-out-smooth: cubic-bezier(0.25, 1, 0.3, 1);    /* organic, natural */
  --ease-out-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* hybrid, slight overshoot */
  --duration-fast: 180ms;
  --duration-moderate: 350ms;
  --duration-slow: 550ms;
  /* Responsive durations (overridden in media queries for snappier mobile) */
  --duration-fast-responsive: 180ms;
  --duration-moderate-responsive: 350ms;
  --duration-slow-responsive: 550ms;

  /* Natural hint: subtle accent for focus/hover only */
  --accent-subtle: rgba(255, 255, 255, 0.06);
  --accent-subtle-strong: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  :root {
    --duration-fast-responsive: 120ms;
    --duration-moderate-responsive: 250ms;
    --duration-slow-responsive: 400ms;
  }
}

@media (min-width: 900px) {
  :root {
    --duration-fast-responsive: 180ms;
    --duration-moderate-responsive: 350ms;
    --duration-slow-responsive: 550ms;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  background: #000;
  color: var(--ink);
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card:not(.card--interview):not(.card--mini):hover,
  .card:not(.card--interview):not(.card--mini):focus-visible {
    animation: none;
  }

  .resources-table tbody tr {
    opacity: 1;
    transform: none;
  }

  .h2.bar.animate-on-scroll.is-visible {
    animation: none;
  }

  .h2.bar.animate-on-scroll::before {
    width: 72px;
    transition: none;
  }

  .h2.bar::after {
    opacity: 0.7;
    transform: scale(1);
  }

  /* Sheen/glint: no animation, keep off-screen */
  .card::before,
  .contact-container .contact-btn::before,
  .campaign-status-wrapper .campaign-cta::before,
  .seed-spark-cta::before {
    transition: none;
    transform: translateX(-100%);
  }
  .card:hover::before,
  .card:focus-visible::before,
  .contact-container .contact-btn:hover::before,
  .contact-container .contact-btn:focus-visible::before,
  .campaign-status-wrapper .campaign-cta:hover::before,
  .campaign-status-wrapper .campaign-cta:focus-visible::before,
  .seed-spark-cta:hover::before,
  .seed-spark-cta:focus-visible::before {
    transform: translateX(-100%);
  }
}

body {
  margin: 0;
  font-family: "Red Rose", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  position: relative;
  overflow-x: hidden;
}


/* Global static splotched background + vignette */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(1200px 800px at 12% 20%, #0e0e10 0%, transparent 60%),
    radial-gradient(1000px 700px at 80% 28%, #0a0a0a 0%, transparent 55%),
    radial-gradient(1000px 800px at 42% 74%, #121214 0%, transparent 62%),
    radial-gradient(800px 600px at 60% 60%, #0c0c0e 0%, transparent 55%),
    linear-gradient(180deg, #000 0%, #0b0b0b 100%);
  filter: blur(2px);
  opacity: 0.98;
}

body::after {
  background:
    radial-gradient(1400px 900px at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.22) 82%),
    radial-gradient(2200px 1400px at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.28) 100%);
  z-index: -1;
}

/* Layout primitives */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 24px);
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spread {
  justify-content: space-between;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  isolation: isolate; /* Create stacking context to prevent overlap */
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Team cards (default card in grid-2) - prevent overlap on hover */
.grid-2 .card {
  position: relative;
  z-index: 1;
  contain: layout style paint;
  backface-visibility: hidden;
  transform: translateZ(0) rotate(0deg);
  transform-style: preserve-3d;
  transition:
    transform var(--duration-moderate) var(--ease-out-smooth),
    opacity var(--duration-moderate) var(--ease-out-smooth);
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .grid-2 .card:hover,
  .grid-2 .card:focus-visible {
    z-index: 10;
    will-change: transform;
    transform: translate3d(0, -4px, 6px) scale(1.005) rotate(0deg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .03);
  }
}

.grid-2 .card:focus-visible {
  z-index: 10;
  transform: translate3d(0, -4px, 6px) scale(1.005) rotate(0deg);
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

.grid-2 .card:active {
  transform: translate3d(0, -1px, 0) scale(0.98);
}

@media (max-width: 768px) {
  .grid-2 .card:hover,
  .grid-2 .card:focus-visible {
    transform: translate3d(0, -2px, 0) scale(1.002) rotate(0deg);
  }
}

.narrow {
  max-width: 780px;
}


.mini-cards-spacing {
  margin-top: 24px;
}

.team-description {
  margin-top: 20px;
}

/* Sections */
.section {
  padding: clamp(72px, 12vw, 128px) 0;
  min-height: 100vh;
}

.section:first-of-type {
  padding-top: 72px;
}

/* Hero */
.hero {
  position: relative;
  background: transparent;
  overflow: visible;
}

.section.hero {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.hero-inner {
  padding: 60vh 0 6vh;
  overflow: visible;
  min-height: 0;
  box-sizing: border-box;
}

.hero .hero-inner {
  margin-left: auto;
  margin-right: auto;
}

/* Tighten hero spacing on mobile */
@media (max-width: 768px) {
  .hero.section {
    min-height: 66vh !important;
    max-height: 100vh !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible !important;
  }

  .hero-inner {
    padding-top: clamp(20px, 5vh, 40px) !important;
    padding-bottom: clamp(20px, 5vh, 40px) !important;
    /* Horizontal padding comes from .container class (24px) */
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    max-width: 100%;
  }
  
  .display {
    margin: 0 0 16px;
    line-height: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(32px, 7vw, 72px) !important;
    letter-spacing: -0.03em;
  }
  
  .display .line {
    display: block;
    overflow: visible;
  }
  
  .lede {
    margin: 8px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(16px, 2vw, 22px) !important;
  }
  
  .hero-lockup {
    overflow: visible;
  }
}

.display {
  font-family: 'Bebas Neue', sans-serif !important;
  font-weight: 400 !important;
  font-style: normal;
  font-optical-sizing: auto;
  font-size: clamp(40px, 8vw, 108px);
  line-height: .9;
  letter-spacing: -0.045em;
  margin: 10px 0 12px;
  text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  overflow: visible;
  max-width: 100%;
}

.display .line {
  display: block;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.kicker {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-family: "Red Rose", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ink-soft);
  max-width: 820px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: visible;
  hyphens: auto;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #0f0f12aa;
  color: var(--ink);
  border: 1px solid var(--border);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.scroll-cue .chevron {
  font-size: 24px;
  line-height: 1;
}

.scroll-cue:hover {
  filter: brightness(1.06);
}

.hero-watermark {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: clamp(56px, 12vw, 120px);
  opacity: .08;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5));
}

/* Typography */
.h2 {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: clamp(26px, 5vw, 54px);
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.h3 {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 8px 0;
}

.p {
  font-family: "Red Rose", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: #e8ebffde;
}

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

.small {
  font-size: 13px;
  color: var(--muted);
}

/* Inline text links inside body copy (e.g., social links in Story) */
.inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition:
    color var(--duration-fast) var(--ease-out-smooth),
    text-decoration-color var(--duration-fast) var(--ease-out-smooth);
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--ink-soft);
  text-decoration-color: rgba(255, 255, 255, 0.6);
  outline: none;
}

/* Accent bar under headings */
.bar {
  position: relative;
  padding-top: 10px;
  padding-left: clamp(20px, 3vw, 28px);
}

.bar::before {
  content: none;
}

/* Section heading triangle icon (geometric, matches logo theme) */
.h2.bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: clamp(4px, 1vw, 6px) 0 clamp(4px, 1vw, 6px) clamp(6px, 1.2vw, 10px);
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.35);
  transform: scale(0.8);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-smooth), transform 0.5s var(--ease-out-smooth);
  pointer-events: none;
}

.h2.bar.animate-on-scroll.is-visible::after {
  opacity: 1;
  transform: scale(1);
}

.about-heading-text {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 768px) {
  .h2.bar::after {
    border-width: 0 0 clamp(5px, 1.5vw, 8px) clamp(4px, 1.2vw, 6px);
    opacity: 0.6;
  }
  .h2.bar.animate-on-scroll.is-visible::after {
    opacity: 0.7;
  }
}

/* Bar expansion on scroll reveal */
.h2.bar.animate-on-scroll::before {
  width: 0;
  transition: width 0.6s var(--ease-out-smooth);
}

.h2.bar.animate-on-scroll.is-visible::before {
  width: 72px;
}

/* Subtle heading text glow (digital heartbeat) */
.h2.bar.animate-on-scroll.is-visible {
  animation: headingGlow 4s ease-in-out infinite;
}

@keyframes headingGlow {
  0%, 100% {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .h2.bar.animate-on-scroll::before {
    transition-duration: 0.4s;
  }
}

/* Cards */
.cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Card border glow keyframes (circuit-like pulse) */
@keyframes cardPulseGlow {
  0%, 100% {
    box-shadow: 0 20px 80px rgba(0, 0, 0, .5),
                inset 0 1px 0 rgba(255, 255, 255, .08),
                0 0 30px rgba(255, 255, 255, 0.05),
                0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 20px 80px rgba(0, 0, 0, .5),
                inset 0 1px 0 rgba(255, 255, 255, .08),
                0 0 40px rgba(255, 255, 255, 0.08),
                0 0 0 1px rgba(255, 255, 255, 0.28);
  }
}

/* Base card: switchable via .card--interview, .card--mini */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .03);
  transition:
    transform var(--duration-moderate) var(--ease-out-smooth),
    box-shadow var(--duration-moderate) var(--ease-out-smooth),
    background var(--duration-moderate) var(--ease-out-smooth),
    border-color var(--duration-moderate) var(--ease-out-smooth);
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) rotate(0deg);
  transform-style: preserve-3d;
  touch-action: manipulation;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-100%) rotate(0deg);
  transition: transform var(--duration-slow) var(--ease-out-smooth);
  pointer-events: none;
}

.card:hover::before,
.card:focus-visible::before {
  transform: translateX(100%) rotate(2deg);
}

/* Card corner accent (geometric triangle on hover) */
.card:not(.card--mini)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 clamp(12px, 1.5vw, 18px) clamp(12px, 1.5vw, 18px) 0;
  border-color: transparent rgba(255, 255, 255, 0.08) transparent transparent;
  opacity: 0;
  transition: opacity var(--duration-moderate) var(--ease-out-smooth);
  pointer-events: none;
  z-index: 0;
}

.card:not(.card--mini):hover::after,
.card:not(.card--mini):focus-visible::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .card:not(.card--mini)::after {
    border-width: 0 clamp(10px, 2vw, 14px) clamp(10px, 2vw, 14px) 0;
    opacity: 0.6;
  }
  .card:not(.card--mini):hover::after,
  .card:not(.card--mini):focus-visible::after {
    opacity: 0.7;
  }
}

/* Keep card content above sheen */
.card > * {
  position: relative;
  z-index: 1;
}

/* Default card hover (not interview/mini) - desktop */
@media (hover: hover) and (pointer: fine) {
  .card:not(.card--interview):not(.card--mini):hover,
  .card:not(.card--interview):not(.card--mini):focus-visible {
    transform: translate3d(0, -6px, 8px) scale(1.01) rotate(0deg);
    box-shadow: 0 20px 80px rgba(0, 0, 0, .5),
                inset 0 1px 0 rgba(255, 255, 255, .08),
                0 0 30px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
    will-change: transform;
    animation: cardPulseGlow 2.5s ease-in-out infinite;
  }
}

.card:not(.card--interview):not(.card--mini):focus-visible {
  transform: translate3d(0, -6px, 8px) scale(1.01) rotate(0deg);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .5),
              inset 0 1px 0 rgba(255, 255, 255, .08),
              0 0 30px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

/* Card touch feedback */
.card:not(.card--interview):not(.card--mini):active {
  transform: translate3d(0, -2px, 0) scale(0.98);
}

/* Mobile: reduced card hover intensity */
@media (max-width: 768px) {
  .card:not(.card--interview):not(.card--mini):hover,
  .card:not(.card--interview):not(.card--mini):focus-visible {
    transform: translate3d(0, -2px, 0) scale(1.005) rotate(0deg);
    animation: none;
  }

  .card:not(.card--interview):not(.card--mini):active {
    transform: translate3d(0, 0, 0) scale(0.98);
  }
}

.focusable {
  outline: none;
}

/* Interviews grid */
.cards.interviews {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 16px;
}

@media (min-width: 900px) {
  .cards.interviews {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 20px;
  }
}

/* Card variant: interview (link-style, sleeker) */
.card--interview,
.cards.interviews .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 0 0 0 rgba(255, 255, 255, 0);
  transition:
    transform var(--duration-fast) var(--ease-out-smooth),
    box-shadow var(--duration-fast) var(--ease-out-smooth),
    border-color var(--duration-fast) var(--ease-out-smooth),
    background var(--duration-fast) var(--ease-out-smooth);
  position: relative;
  overflow: hidden;
}

.card--interview::before,
.cards.interviews .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out-smooth);
}

.card--interview:hover,
.card--interview:focus-visible,
.cards.interviews .card:hover,
.cards.interviews .card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .15);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 0 20px rgba(255, 255, 255, .03);
  outline: none;
}

.card--interview:hover::before,
.cards.interviews .card:hover::before {
  opacity: 1;
}

/* Interview and mini card touch feedback */
.card--interview:active,
.cards.interviews .card:active,
.card--mini:active,
.mini-cards .card:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 768px) {
  .card--interview:hover,
  .card--interview:focus-visible,
  .cards.interviews .card:hover,
  .cards.interviews .card:focus-visible {
    transform: translateY(-1px);
  }
}

.card--interview .h3,
.cards.interviews .card .h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card--interview .p,
.cards.interviews .card .p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.9;
}

/* Resources section */
.resources-category {
  margin-top: 56px;
}

.resources-category:first-of-type {
  margin-top: 40px;
}

.resources-category-title {
  margin-bottom: 28px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
}

/* Resources table wrapper */
.resources-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0;
}

/* Resources table styling - cleaner, more minimal */
.resources-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  position: relative;
}

.resources-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  border-left: 2px solid transparent;
  transition:
    background var(--duration-fast) var(--ease-out-smooth),
    border-color var(--duration-fast) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth);
  position: relative;
}

.resources-table tbody tr:last-child {
  border-bottom: none;
}

@media (hover: hover) and (pointer: fine) {
  .resources-table tbody tr:hover,
  .resources-table tbody tr:focus-within {
    background: rgba(255, 255, 255, .015);
    border-bottom-color: rgba(255, 255, 255, .1);
    border-left-color: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
  }
}

.resources-table tbody tr:focus-within {
  background: rgba(255, 255, 255, .015);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.resources-table tbody tr:active {
  background: rgba(255, 255, 255, .02);
}

.resources-table td {
  padding: 22px 0;
  vertical-align: middle;
}

.resources-td-publication {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.65;
  padding-right: 32px;
  width: 28%;
  min-width: 140px;
  vertical-align: top;
  padding-top: 24px;
  transition: opacity var(--duration-fast) var(--ease-out-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .resources-table tbody tr:hover .resources-td-publication,
  .resources-table tbody tr:focus-within .resources-td-publication {
    opacity: 0.85;
  }
}

.resources-publication {
  display: block;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 11px;
}

.resources-td-title {
  font-size: 17px;
  line-height: 1.65;
  width: 72%;
  padding-top: 24px;
}

.resources-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  font-family: "Red Rose", serif;
  transition:
    color var(--duration-fast) var(--ease-out-smooth),
    opacity var(--duration-fast) var(--ease-out-smooth);
  display: inline;
  position: relative;
  opacity: 1;
  touch-action: manipulation;
}

.resources-link:hover,
.resources-link:focus-visible {
  color: var(--ink-soft);
  opacity: 0.9;
  outline: none;
}

.resources-link::after {
  content: '↗';
  display: inline-block;
  margin-left: 8px;
  opacity: 0.35;
  font-size: 12px;
  font-weight: 300;
  transition:
    opacity var(--duration-fast) var(--ease-out-smooth),
    transform var(--duration-fast) var(--ease-out-smooth);
  transform: translate(0, -1px) rotate(0deg);
  vertical-align: baseline;
}

.resources-link:hover::after,
.resources-link:focus-visible::after {
  opacity: 0.55;
  transform: translate(1px, -2px) rotate(15deg);
}

/* Staggered row reveal when table is in view */
.resources-table.rows-visible tbody tr {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.resources-table tbody tr {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--ease-out-smooth),
    transform 0.4s var(--ease-out-smooth),
    background var(--duration-fast) var(--ease-out-smooth),
    border-color var(--duration-fast) var(--ease-out-smooth);
}

.resources-table.rows-visible tbody tr:nth-child(1) { transition-delay: 0ms; }
.resources-table.rows-visible tbody tr:nth-child(2) { transition-delay: 40ms; }
.resources-table.rows-visible tbody tr:nth-child(3) { transition-delay: 80ms; }
.resources-table.rows-visible tbody tr:nth-child(4) { transition-delay: 120ms; }
.resources-table.rows-visible tbody tr:nth-child(5) { transition-delay: 160ms; }
.resources-table.rows-visible tbody tr:nth-child(6) { transition-delay: 200ms; }
.resources-table.rows-visible tbody tr:nth-child(7) { transition-delay: 240ms; }
.resources-table.rows-visible tbody tr:nth-child(8) { transition-delay: 280ms; }
.resources-table.rows-visible tbody tr:nth-child(9) { transition-delay: 320ms; }
.resources-table.rows-visible tbody tr:nth-child(10) { transition-delay: 360ms; }
.resources-table.rows-visible tbody tr:nth-child(n+11) { transition-delay: 400ms; }

/* Resources section background */
#resources .section-bg {
  opacity: 0.20;
  filter: blur(1.5px);
}

@media (max-width: 768px) {
  .resources-table tbody tr:hover,
  .resources-table tbody tr:focus-within {
    transform: translateX(2px);
  }

  .resources-link:hover::after,
  .resources-link:focus-visible::after {
    transform: translate(1px, -2px) rotate(10deg);
  }
}

@media (max-width: 768px) {
  #resources .section-bg {
    opacity: 0.30;
    filter: blur(2px);
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
  }
  
  .resources-category {
    margin-top: 36px;
  }
  
  .resources-category:first-of-type {
    margin-top: 24px;
  }
  
  .resources-category-title {
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 0.06em;
  }
  
  .resources-table td {
    padding: 18px 0;
    display: block;
  }
  
  .resources-td-publication {
    width: 100%;
    padding-right: 0;
    padding-top: 18px;
    padding-bottom: 8px;
    min-width: auto;
  }
  
  .resources-publication {
    font-size: 10px;
    letter-spacing: 0.03em;
  }
  
  .resources-td-title {
    width: 100%;
    padding-top: 0;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .resources-link {
    font-size: 16px;
  }
  
  .resources-link::after {
    display: none;
  }
}

/* Lists + CTA */
.list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.list.tight li {
  margin: 6px 0;
}

.list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, .16);
}

.actions {
  margin-top: 16px;
}

/* Base button: switchable via .btn-ghost, .btn-glow, .btn-outline */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--white);
  color: #000;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 700;
  box-shadow: 0 1px 0 #000 inset, 0 10px 24px rgba(0, 0, 0, .3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    background var(--duration-moderate) var(--ease-out-smooth),
    border-color var(--duration-moderate) var(--ease-out-smooth),
    box-shadow var(--duration-moderate) var(--ease-out-smooth),
    filter var(--duration-fast) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth);
  touch-action: manipulation;
}

.btn.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: none;
}

.btn.btn-ghost:hover,
.btn.btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 1px var(--accent-subtle);
  outline: none;
}

.btn.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ink);
  box-shadow: none;
}

.btn.btn-outline:hover,
.btn.btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--accent-subtle);
  outline: none;
}

.btn:hover {
  filter: brightness(0.97);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

/* Mobile: larger touch targets for base buttons */
@media (max-width: 768px) {
  .btn:not(.btn-glow):not(.glow):not(.contact-btn):not(.campaign-cta) {
    min-height: 44px;
    padding: 14px 20px;
  }
}

/* Footer */
.site-footer {
  padding: 28px 0;
}

/* === Side Navigation === */
.side-nav {
  position: fixed;
  top: 25vh;
  right: clamp(20px, 3vw, 40px);
  z-index: 10000;
  opacity: 0.3;
  transition: opacity var(--duration-moderate) var(--ease-out-smooth);
  pointer-events: auto;
  visibility: visible;
  display: block;
  padding-left: 12px;
  margin-right: -12px;
}

.side-nav.visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  padding-right: 0;
  overflow: visible;
}

.side-nav-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: "Bitcount", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 4px 0;
  background: transparent;
  border: none;
  white-space: nowrap;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: inline-block;
  user-select: none;
  opacity: 0;
  transform: translateX(0) scale(0.95);
  transition:
    opacity var(--duration-moderate) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth),
    color var(--duration-fast) var(--ease-out-smooth),
    text-shadow var(--duration-fast) var(--ease-out-smooth);
  pointer-events: none;
  will-change: transform, opacity;
}

.side-nav-link.show {
  opacity: 0.85;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

/* Staggered reveal for nav links */
.side-nav-link.side-nav-contact.show { transition-delay: 0ms; }
.side-nav-link.side-nav-newsletter.show { transition-delay: 40ms; }
.side-nav-inner .side-nav-link[data-section]:nth-child(3).show { transition-delay: 80ms; }
.side-nav-inner .side-nav-link[data-section]:nth-child(4).show { transition-delay: 120ms; }
.side-nav-inner .side-nav-link[data-section]:nth-child(5).show { transition-delay: 160ms; }
.side-nav-inner .side-nav-link[data-section]:nth-child(6).show { transition-delay: 200ms; }
.side-nav-inner .side-nav-link[data-section]:nth-child(7).show { transition-delay: 240ms; }
.side-nav-inner .side-nav-link[data-section]:nth-child(8).show { transition-delay: 280ms; }

.side-nav-link[data-section].visible {
  opacity: 1;
  transform: translateX(-6px) scale(1);
  pointer-events: auto;
}

.side-nav-contact.show,
.side-nav-newsletter.show {
  opacity: 0.85;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .side-nav-link:hover,
  .side-nav-link:focus-visible {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    transform: translateX(-2px) scale(1);
  }

  .side-nav-link[data-section].visible:hover,
  .side-nav-link[data-section].visible:focus-visible {
    transform: translateX(-8px) scale(1);
  }
}

.side-nav-link:focus-visible {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
}

.side-nav-link.active {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  transition: color var(--duration-moderate) var(--ease-out-smooth),
    text-shadow var(--duration-moderate) var(--ease-out-smooth);
}

.side-nav.scrolling .side-nav-link {
  pointer-events: none;
}

.side-nav-contact {
  margin-bottom: 2px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.side-nav-newsletter {
  margin-top: 2px;
  margin-bottom: 20px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Shared social icon chip styles */
.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition:
    border-color var(--duration-fast) var(--ease-out-smooth),
    background var(--duration-fast) var(--ease-out-smooth),
    color var(--duration-fast) var(--ease-out-smooth),
    box-shadow var(--duration-fast) var(--ease-out-smooth),
    transform var(--duration-fast) var(--ease-out-smooth);
}

.social-chip:hover,
.social-chip:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
  outline: none;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.story-social {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.story-social-label {
  margin: 0;
}

/* About section social icon links */
.about-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.about-social-link {
  /* inherits from .social-chip */
}



/* Mobile: hide side nav on small screens */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* Text hover pop */
:where(.h2, .h3, .btn):hover {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.20), 0 0 2px rgba(255, 255, 255, 0.60);
  transition: text-shadow 140ms ease;
}

/* Minimal text highlight: subtle and performant */
.p {
  position: relative;
  z-index: 1;
  transition: text-shadow 200ms ease;
}

.text-highlight {
  position: fixed;
  width: 280px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(245, 247, 255, 0.04) 0%,
    rgba(227, 231, 255, 0.02) 30%,
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
  filter: blur(16px);
  visibility: hidden;
  transition: opacity 200ms ease;
  will-change: transform;
}

.text-highlight.show {
  opacity: 1;
  visibility: visible;
}

.p.highlight-active {
  text-shadow: 
    0 0 12px rgba(245, 247, 255, 0.3),
    0 0 24px rgba(227, 231, 255, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Visually hidden text (for SVG-only social buttons) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breathing highlight animation for hero text - more visible and noticeable */
.hero .display,
.hero .lede {
  animation: breathingHighlight 4s ease-in-out infinite;
}

/* Less intense breathing animation on mobile for display text */
@media (max-width: 768px) {
  .hero .display {
    animation: breathingHighlightMobile 4s ease-in-out infinite;
  }
}

@keyframes breathingHighlight {
  0%, 100% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12);
  }
  25% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12), 0 0 20px rgba(255, 255, 255, 0.35), 0 0 30px rgba(255, 255, 255, 0.25), 0 0 4px rgba(255, 255, 255, 0.70);
  }
  50% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12), 0 0 24px rgba(255, 255, 255, 0.45), 0 0 40px rgba(255, 255, 255, 0.30), 0 0 6px rgba(255, 255, 255, 0.85);
  }
  75% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12), 0 0 20px rgba(255, 255, 255, 0.35), 0 0 30px rgba(255, 255, 255, 0.25), 0 0 4px rgba(255, 255, 255, 0.70);
  }
}

/* Less intense breathing animation for mobile */
@keyframes breathingHighlightMobile {
  0%, 100% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12);
  }
  25% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12), 0 0 18px rgba(255, 255, 255, 0.25), 0 0 24px rgba(255, 255, 255, 0.18), 0 0 3px rgba(255, 255, 255, 0.50);
  }
  50% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12), 0 0 20px rgba(255, 255, 255, 0.30), 0 0 32px rgba(255, 255, 255, 0.22), 0 0 4px rgba(255, 255, 255, 0.60);
  }
  75% {
    text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 255, 255, .12), 0 0 18px rgba(255, 255, 255, 0.25), 0 0 24px rgba(255, 255, 255, 0.18), 0 0 3px rgba(255, 255, 255, 0.50);
  }
}

/* Accessibility focus */
:focus-visible {
  outline: 2px solid #ffffff66;
  outline-offset: 3px;
}


/* === Hero lockup: headline + right-aligned square logo === */
.hero-lockup {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: left;
  overflow: visible;
  box-sizing: border-box;
}

.hero-logo {
  width: clamp(96px, 16vw, 160px);
  height: auto;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeUp 600ms ease-out 200ms forwards;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5));
}

@keyframes fadeUp {
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .hero-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo {
    width: clamp(96px, 28vw, 140px);
    opacity: 0.9;
  }
}


/* === Full-viewport Intro (first frame) === */
.intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
}

.intro-inner {
  width: 100%;
  display: grid;
  place-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.intro-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  transform: translateY(-4vh);
  position: relative;
  transform-origin: center center;
  z-index: 2;
  opacity: 1;
  overflow: visible;
  width: 100%;
}

/* Motion blur entry animations - logos appear from nowhere with enhanced blur effect */
@keyframes logoEntryLeft {
  0% {
    opacity: 0;
    transform: translateX(-24px) scale(0.98);
    filter: blur(24px) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
  }
}

@keyframes logoEntryRight {
  0% {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    filter: blur(24px) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
  }
}

.animate-logo-entry-left,
.animate-logo-entry-right {
  will-change: transform, opacity, filter;
  animation-fill-mode: both;
  opacity: 0; /* Ensure initial state is hidden */
}

.animate-logo-entry-left {
  animation: logoEntryLeft 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s forwards;
}

.animate-logo-entry-right {
  animation: logoEntryRight 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s forwards;
}

/* Mobile optimizations - reduced blur for performance */
@media (max-width: 768px) {
  @keyframes logoEntryLeft {
    0% {
      opacity: 0;
      transform: translateX(-20px) scale(0.98);
      filter: blur(18px) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
    }
    100% {
      opacity: 1;
      transform: translateX(0) scale(1);
      filter: blur(0) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
    }
  }

  @keyframes logoEntryRight {
    0% {
      opacity: 0;
      transform: translateX(20px) scale(0.98);
      filter: blur(18px) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
    }
    100% {
      opacity: 1;
      transform: translateX(0) scale(1);
      filter: blur(0) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
    }
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-logo-entry-left,
  .animate-logo-entry-right {
    animation: none;
    opacity: 1;
    transform: translateX(0);
    filter: none;
  }
}

.intro-triangle,
.intro-wordmark {
  height: clamp(120px, 22vw, 220px);
  width: auto;
  opacity: 0; /* Start hidden to prevent flash */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1), 
              filter 0.4s ease;
  /* Ensure logos are positioned relative for animation */
  position: relative;
  /* Allow logos to start offscreen */
  will-change: transform, opacity, filter;
}

/* Drop-shadow applied after animation via keyframes, not here to prevent conflicts */

.intro-triangle:hover,
.intro-wordmark:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2)) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
}

.intro-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 700px) {
  .intro-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .intro-lockup {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 48px);
    transform: translateY(-4vh);
    width: 100%;
    margin: 0 auto;
  }

  .intro-triangle,
  .intro-wordmark {
    height: clamp(120px, 36vw, 200px);
    width: auto;
    margin: 0 auto;
    display: block;
  }
}


/* === Linked interview cards === */
a.card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

a.card:hover,
a.card:focus-visible {
  text-decoration: none;
}

/* Interview / link cards: text hover state */
.cards.interviews a.card,
a.card.card--interview {
  text-decoration: none;
  color: inherit;
}

.cards.interviews a.card:hover .h3,
.cards.interviews a.card:focus-visible .h3,
a.card.card--interview:hover .h3,
a.card.card--interview:focus-visible .h3 {
  color: var(--ink);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
}

.cards.interviews a.card:hover .p,
.cards.interviews a.card:focus-visible .p,
a.card.card--interview:hover .p,
a.card.card--interview:focus-visible .p {
  opacity: 1;
  color: var(--ink-soft);
}



/* === Avatar images (Cam & Milo) === */
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%);
  transition: filter 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* Team portraits (rectangular, consistent height; tone-normalized) - Optimized */
.card .avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  filter: grayscale(18%) brightness(1.05) contrast(1.15) saturate(0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  /* GPU-accelerated transitions only - removed filter and box-shadow from transition */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  margin-bottom: 12px;
  backface-visibility: hidden; /* GPU acceleration */
  transform: translateZ(0); /* Force GPU layer */
  will-change: auto; /* Reset when not hovering */
}

.card:hover .avatar,
.card:focus-visible .avatar {
  /* Filter changes are instant (no transition) for performance */
  filter: grayscale(0%) brightness(1.06) contrast(1.12) saturate(1.0);
  transform: translate3d(0, -2px, 0) scale(1.02); /* GPU-accelerated 3D transform + subtle zoom */
  will-change: transform; /* Hint browser to optimize */
  /* Box-shadow changes are instant (no transition) for performance */
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}

@media (max-width: 768px) {
  .card:hover .avatar,
  .card:focus-visible .avatar {
    transform: translate3d(0, -1px, 0) scale(1.01);
  }
}

/* Lock scroll briefly on page load (body class toggled by JS) */
body.lock-scroll {
  overflow: hidden;
}


/* === v18: Cinematic hero background behind text === */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 600ms ease-out;
  pointer-events: none;
  user-select: none;
  /* Blur fade at top and bottom */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Visual treatment without touching the GIF frames */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  backdrop-filter: none;
  /* Darken and add soft vignette - reduced opacity for web to show more of the GIF */
  background:
    radial-gradient(1600px 800px at 70% -10%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.70) 100%);
}

/* Hero logo overlays - positioned on headphones */
.hero-logo-triangle,
.hero-logo-wordmark {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.hero-logo-triangle {
  top: 6%;
  left: 4%;
  height: clamp(280px, 35vw, 450px);
  transform: rotate(-45deg);
  opacity: 0.01;
}

.hero-logo-wordmark {
  top: 18%;
  right: 12%;
  height: clamp(80px, 12vw, 140px);
  transform: rotate(30deg);
  opacity: 0.02;
}

@media (max-width: 768px) {
  .hero-logo-triangle {
    top: 5%;
    left: 2%;
    height: clamp(220px, 38vw, 350px);
  }
  
  .hero-logo-wordmark {
    top: 16%;
    right: 8%;
    height: clamp(60px, 15vw, 100px);
  }
}

/* Ensure all hero content sits above */
.hero>*:not(.hero-bg):not(.hero-logo-triangle):not(.hero-logo-wordmark) {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  /* Visual treatment without touching the GIF frames - mobile variant */
  .hero-bg::after {
    background:
      radial-gradient(1600px 800px at 70% -10%, rgba(255, 255, 255, 0.06), transparent 60%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72) 40%, rgba(0, 0, 0, 0.85) 100%);
  }
}

/* Fine-tune Milo crop slightly lower within the fixed-height frame */
.avatar-milo {
  object-position: 50% 60%;
}

/* y>50 moves the content down a touch */


/* CTA styles */
.cta-card {
  margin: 40px auto;
  max-width: 820px;
  text-align: center;
  padding: clamp(20px, 4vw, 36px);
  background: radial-gradient(120% 120% at 70% -10%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02) 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cta-title {
  font-size: clamp(22px, 3.2vw, 28px);
  margin: 0 0 6px 0;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 18px 0;
}

.cta-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.cta-actions.dual {
  grid-auto-flow: column;
  gap: 14px;
  justify-content: center;
}

@media (max-width: 720px) {
  .cta-actions.dual {
    grid-auto-flow: row;
  }
}

.btn.lg {
  font-size: clamp(18px, 2.2vw, 20px);
  padding: 14px 22px;
  border-radius: 10px;
}

.btn.lg.alt {
  background: transparent;
  color: var(--fg, #fff);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn.xl {
  font-size: clamp(18px, 2.4vw, 22px);
  padding: 16px 26px;
  border-radius: 12px;
}

.cta-alt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-alt a {
  color: inherit;
  text-decoration: underline;
}

/* Section background layers (always visible, subtle overlay) */
.section {
  position: relative;
  overflow: hidden;
}

.section .section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.30;
  transition:
    opacity var(--duration-slow) var(--ease-out-smooth),
    transform var(--duration-slow) var(--ease-out-smooth);
  z-index: 0;
  will-change: transform;
  /* Smooth out transitions between sections */
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.section .section-bg.parallax {
  transform: translateY(0);
}

/* Intro section background - matches other section backgrounds */
#intro {
  overflow: hidden;
}

#intro .section-bg {
  opacity: 0.08;
}

/* Stronger background specifically for the interviews section */
#interviews .section-bg {
  opacity: 0.2 !important;
  /* Subtle blur to separate text from the background */
  filter: blur(2px);
  transform: scale(1.03);
}

/* Increased background opacity for Why Now section (web/desktop) */
#why .section-bg {
  opacity: 0.40 !important;
}

/* Ensure intro content is above background */
#intro .intro-inner {
  position: relative;
  z-index: 2;
}

/* Tiny black segment between intro, hero, seed&spark for realistic blur boundary */
#intro::after,
#hero::after,
#seed-spark-launch::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
  z-index: 2;
  pointer-events: none;
}

/* Shift team section background to the right on mobile */
@media (max-width: 768px) {
  #team .section-bg {
    background-position: right center;
  }
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.48) 100%);
  z-index: 1;
  pointer-events: none;
}

.section .container,
.section .cards,
.section .content {
  position: relative;
  z-index: 2;
}

/* === Hero Reveal Animation (smooth, non-jumpy) === */
.hero.scroll-reveal {
  /* Longer fade-in / fade-out for a cinematic feel */
  --hero-fade-in-duration: 1.8s;
  --hero-fade-out-duration: 1.2s;
}

/* Background GIF: starts soft and slowly resolves */
.hero.scroll-reveal .hero-bg-img {
  opacity: 0;
  filter: blur(3px);
  will-change: opacity, filter;
  transition:
    opacity var(--hero-fade-out-duration) cubic-bezier(0.33, 0, 0.2, 1),
    filter var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1);
  /* Blur fade at top and bottom */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero.scroll-reveal.hero-visible .hero-bg-img {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1),
    filter var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1);
}

/* === Hero Text Fade Animation (sync with background) === */
.hero.scroll-reveal .hero-lockup,
.hero.scroll-reveal .lede,
.hero.scroll-reveal .hero-logo-triangle,
.hero.scroll-reveal .hero-logo-wordmark {
  opacity: 0;
  will-change: opacity;
  transition: opacity var(--hero-fade-out-duration) cubic-bezier(0.33, 0, 0.2, 1);
  pointer-events: none;
}

.hero.scroll-reveal.hero-visible .hero-lockup,
.hero.scroll-reveal.hero-visible .lede {
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1);
}

.hero.scroll-reveal.hero-visible .hero-logo-triangle {
  opacity: 0.01;
  pointer-events: auto;
  transition: opacity var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1);
}

.hero.scroll-reveal.hero-visible .hero-logo-wordmark {
  opacity: 0.02;
  pointer-events: auto;
  transition: opacity var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1);
}

/* Ensure lazy-hero works with our custom JS reveal - only fade in when both loaded and visible */
.hero.scroll-reveal .hero-bg-img.lazy-hero {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(3px);
  /* Fast fade-out transition (base state) */
  transition:
    opacity var(--hero-fade-out-duration) cubic-bezier(0.33, 0, 0.2, 1),
    transform var(--hero-fade-out-duration) cubic-bezier(0.33, 0, 0.2, 1),
    filter var(--hero-fade-out-duration) cubic-bezier(0.33, 0, 0.2, 1);
  /* Blur fade at top and bottom */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero.scroll-reveal.hero-visible .hero-bg-img.lazy-hero.is-loaded {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  /* Slow, subtle fade-in transition (when visible) */
  transition:
    opacity var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1),
    transform var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1),
    filter var(--hero-fade-in-duration) cubic-bezier(0.33, 0, 0.2, 1);
}

/* Mobile: boost background visibility */
@media (max-width: 768px) {
  .section .section-bg {
    opacity: 0.45;
    /* Increased from 0.28 */
    background-position: 50% 40%;
  }
  
  /* Interviews section: same opacity as desktop */
  #interviews .section-bg {
    opacity: 0.2 !important;
  }
  
  /* Why Now section: increased opacity on mobile to match desktop */
  #why .section-bg {
    opacity: 0.40 !important;
  }
}

/* === Seed&Spark launch section === */
#seed-spark-launch {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
}

#seed-spark-launch .section-bg {
  opacity: 0.42 !important;
  filter: contrast(0.98) saturate(0.74) blur(2px);
  transform: scale(1.06);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

#seed-spark-launch::before {
  background:
    radial-gradient(140% 120% at 50% 45%, rgba(10, 12, 16, 0.26) 0%, rgba(7, 8, 11, 0.78) 72%, rgba(5, 6, 9, 0.92) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.48) 12%, rgba(0, 0, 0, 0.68) 100%);
}

/* Seed & Spark: always visible, no scroll-to-reveal */
#seed-spark-launch .seed-spark-shell,
#seed-spark-launch .seed-spark-shell[data-animate="block"] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
#seed-spark-launch .seed-spark-video-panel {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  min-height: 200px !important;
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  overflow: visible !important;
  grid-row: 1 !important;
}
#seed-spark-launch .seed-spark-video-panel iframe {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
  min-height: 200px !important;
  height: 315px !important;
  aspect-ratio: 16 / 9 !important;
  border: 0 !important;
  pointer-events: auto !important;
  background: #0a0a0a !important;
}
@media (min-width: 560px) {
  #seed-spark-launch .seed-spark-video-panel iframe {
    height: auto !important;
    min-height: 315px !important;
  }
}
#seed-spark-launch .animate-on-scroll {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.seed-spark-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 20px) 0;
  transform: translateZ(0);
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.seed-spark-kicker {
  margin: 0 0 12px;
  font-family: "Bitcount", system-ui, sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.seed-spark-main {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.seed-spark-lower {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-content: start;
}

.seed-spark-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 28px rgba(0, 0, 0, 0.24);
  border-radius: 16px;
  min-width: 0;
}

.seed-spark-video-panel {
  position: relative;
  z-index: 3;
  padding: 0;
  max-width: 920px;
  width: min(100%, 920px);
  margin: 0 auto;
}

.seed-spark-video-panel iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 10px;
}

.seed-spark-note-panel {
  padding: 16px 18px;
}

.seed-spark-note-panel h3 {
  margin: 0 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 0.95;
  letter-spacing: 0.035em;
  color: #fff;
}

.seed-spark-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.seed-spark-points li {
  margin: 0;
  font-family: "Red Rose", serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 14px;
  position: relative;
}

.seed-spark-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.seed-spark-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif !important;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.008em;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  animation: breathingHighlight 4s ease-in-out infinite;
}

.seed-spark-title em {
  font-style: oblique 5deg;
  color: rgba(255, 255, 255, 0.96);
}

.seed-spark-prefix {
  display: inline-block;
  font-size: 0.78em;
  letter-spacing: 0.012em;
}

.seed-spark-logo {
  display: inline-block;
  height: 0.54em;
  width: auto;
  max-width: 7.2em;
  margin-left: 0.07em;
  vertical-align: -0.03em;
  filter: brightness(0) invert(1);
  animation: seedSparkLogoGlow 4s ease-in-out infinite;
}

@keyframes seedSparkLogoGlow {
  0%, 100% {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.12));
  }
  25% {
    filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.2));
  }
  50% {
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 32px rgba(255, 255, 255, 0.28));
  }
  75% {
    filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.2));
  }
}

.seed-spark-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.01em;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.seed-spark-amp {
  font-family: "Cormorant Garamond", "DM Serif Display", "Times New Roman", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 0.93em;
  line-height: 1;
  transform: translateY(-0.05em);
  margin: 0 0.02em;
  color: rgba(255, 255, 255, 0.99);
  -webkit-text-stroke: 1.35px rgba(7, 9, 13, 0.96);
  text-stroke: 1.35px rgba(7, 9, 13, 0.96);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 0 2px rgba(0, 0, 0, 0.24);
}

.seed-spark-copy {
  margin: clamp(14px, 1.7vw, 20px) 0 0;
  max-width: min(100%, 840px);
  font-family: "Red Rose", serif;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.93);
  margin-left: auto;
  margin-right: auto;
}

.seed-spark-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(18px, 2.3vw, 28px);
  margin-left: auto;
  margin-right: auto;
  padding: 18px clamp(22px, 3.8vw, 40px);
  min-height: 76px;
  width: min(100%, 960px);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: 0.05em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(10, 14, 20, 0.82), rgba(6, 9, 14, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    inset 0 10px 22px rgba(255, 255, 255, 0.04),
    0 10px 26px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition:
    transform var(--duration-fast) var(--ease-out-smooth),
    box-shadow var(--duration-moderate) var(--ease-out-smooth),
    border-color var(--duration-moderate) var(--ease-out-smooth),
    background var(--duration-moderate) var(--ease-out-smooth);
}

.seed-spark-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-subtle-strong), transparent);
  transform: translateX(-100%) rotate(0deg);
  transition: transform var(--duration-slow) var(--ease-out-smooth);
  pointer-events: none;
}

.seed-spark-cta:hover::before,
.seed-spark-cta:focus-visible::before {
  transform: translateX(100%) rotate(2deg);
}

.seed-spark-cta:hover,
.seed-spark-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    inset 0 10px 24px rgba(255, 255, 255, 0.05),
    0 12px 30px rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(12, 16, 22, 0.85), rgba(8, 11, 16, 0.9));
  outline: none;
}

.seed-spark-cta:active {
  transform: translateY(0);
}

@media (min-width: 980px) {
  .seed-spark-lower {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
}

@media (max-width: 768px) {
  #seed-spark-launch .section-bg {
    opacity: 0.5 !important;
    background-position: center center;
  }

  .seed-spark-shell {
    padding: 10px 0 16px;
  }

  .seed-spark-kicker {
    letter-spacing: 0.08em;
  }

  .seed-spark-title {
    font-size: clamp(36px, 11.5vw, 64px);
    line-height: 0.9;
    animation: breathingHighlightMobile 4s ease-in-out infinite;
  }

  .seed-spark-copy {
    font-size: clamp(17px, 4.8vw, 22px);
    line-height: 1.36;
  }

  .seed-spark-cta {
    width: 100%;
    margin-top: 16px;
    font-size: clamp(34px, 9vw, 52px);
    padding-inline: 14px;
    min-height: 70px;
  }

  .seed-spark-lower {
    margin-top: 10px;
    gap: 0;
  }

  .seed-spark-video-panel {
    padding: 8px;
    width: 100%;
    max-width: 100%;
  }

  .seed-spark-note-panel {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seed-spark-cta {
    transition: none !important;
  }
  .seed-spark-title {
    animation: none;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  }
  .seed-spark-logo {
    animation: none;
    filter: brightness(0) invert(1);
  }
}


/* Mobile hotfix: remove Briefings from top nav regardless of markup variant */
nav a[href="#briefings"],
nav a[data-target="#briefings"],
nav a[href*="#briefings"] {
  display: none !important;
}

/* Prevent horizontal scroll on mobile due to nav width */
html,
body {
  overflow-x: hidden;
}

.site-nav,
nav,
.menu {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 840px) {

  .menu,
  .nav-list {
    flex-wrap: wrap;
  }

  .menu>li,
  .nav-list>li {
    margin-right: clamp(8px, 2vw, 12px);
  }
}

/* Scroll arrow positioning */
.scroll-arrow,
.scroll-indicator,
.hero .scroll {
  position: absolute !important;
  bottom: 9vh !important;
  transform: translateY(0) !important;
  z-index: 3 !important;
}

@media (max-width: 820px),
(max-aspect-ratio: 10/16) {
  .scroll-arrow,
  .scroll-indicator,
  .hero .scroll {
    bottom: 11vh !important;
  }
}

/* Mailto link styling */
a[href^="mailto:amifilm@outlook.com"] {
  color: #fff !important;
  transition: color 0.2s ease;
}

a[href^="mailto:amifilm@outlook.com"]:hover,
a[href^="mailto:amifilm@outlook.com"]:focus-visible {
  color: var(--muted) !important;
}

/* Mini card trio for producers */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

/* Mobile: keep producer mini-cards side by side */
@media (max-width: 699px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card variant: mini (producer trio) */
.card--mini,
.mini-cards .card {
  padding: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, .008));
  border-radius: 14px;
}

.mini-cards .h3,
.card--mini .h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.mini-cards .p,
.card--mini .p {
  font-size: 14px;
  color: var(--muted);
}

/* === Immersive CTA refinement === */
.actions.interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 60px;
  text-align: center;
  animation: fadeInCTA 1.2s ease-out 0.3s both;
}

@keyframes fadeInCTA {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Glow button variant: embossed, transparent (switchable) === */
.btn.btn-glow,
.btn.glow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-size: 5.2rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 3.6rem 8rem;
  min-height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.05),
    inset 0 -3px 8px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.35);
  transition:
    border-color var(--duration-moderate) var(--ease-out-smooth),
    box-shadow var(--duration-moderate) var(--ease-out-smooth),
    background var(--duration-moderate) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth);
  transform: translateY(0);
  backdrop-filter: blur(3px);
}

@media (max-width: 768px) {
  .btn.btn-glow,
  .btn.glow {
    min-height: 120px;
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
    padding-left: 4rem;
    padding-right: 4rem;
    width: 100%;
    max-width: 100%;
  }
}

.btn.btn-glow:hover,
.btn.btn-glow:focus-visible,
.btn.glow:hover,
.btn.glow:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.12),
    inset 0 -4px 10px rgba(0, 0, 0, 0.7),
    0 6px 14px rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  background: var(--accent-subtle);
  outline: none;
}

.btn.btn-glow:active,
.btn.glow:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .btn.btn-glow:hover,
  .btn.glow:hover,
  .btn.btn-glow:focus-visible,
  .btn.glow:focus-visible {
    transform: translateY(-1px);
  }
  .btn.btn-glow:active,
  .btn.glow:active {
    transform: translateY(0) scale(0.95);
  }
}


/* Cover the viewport without letterboxing, keep proper stacking */

/* Lazy-play: hero GIF fades in when loaded */
.lazy-hero {
  opacity: 0;
}

.lazy-hero.is-loaded {
  opacity: 1;
  transition: opacity 600ms ease-out;
}



/* === Cinematic Scroll Animations === */
.animate-on-scroll {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 1.1s var(--ease-out-expo),
    filter 1.4s var(--ease-out-expo),
    transform 1.1s var(--ease-out-expo);
  will-change: opacity, filter, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* Anime.js scroll reveal: initial state before animation runs */
[data-animate].anime-reveal-pending[data-animate="block"] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
}

[data-animate="card"].anime-reveal-pending .card {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(10px);
}

[data-animate].anime-reveal-done .card,
[data-animate].anime-reveal-done {
  opacity: 1;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate].anime-reveal-pending[data-animate="block"],
  [data-animate="card"].anime-reveal-pending .card {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Headings: subtle letter-spacing expansion */
h2.animate-on-scroll {
  transform: translateY(20px);
  letter-spacing: -0.06em;
  transition:
    opacity 1.1s var(--ease-out-expo),
    filter 1.4s var(--ease-out-expo),
    transform 1.1s var(--ease-out-expo),
    letter-spacing 1.5s var(--ease-out-smooth);
}

h2.animate-on-scroll.is-visible {
  letter-spacing: -0.035em;
  /* Matches original .h2 style */
}

/* Stagger delays */
.delay-100 {
  transition-delay: 150ms;
}

.delay-200 {
  transition-delay: 300ms;
}

.delay-300 {
  transition-delay: 450ms;
}

.delay-400 {
  transition-delay: 600ms;
}

/* === Line-by-line text reveal === */
.line-reveal {
  overflow: visible; /* Allow lines to overflow for reveal effect */
}

.line-reveal .line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.78s var(--ease-out-smooth),
    transform 0.78s var(--ease-out-smooth);
  transition-delay: calc(var(--line-index, 0) * 65ms);
  will-change: opacity, transform;
  min-height: 1.4em; /* Prevent layout shift */
}

.line-reveal.is-visible .line {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Override default animate-on-scroll for line-reveal paragraphs */
.line-reveal.animate-on-scroll {
  opacity: 1; /* Parent stays visible, lines animate individually */
  filter: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .line-reveal .line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .line-reveal .line {
    transition-delay: calc(var(--line-index, 0) * 45ms);
    min-height: 1.3em;
  }
}

/* === Clock-flip / domino card reveal === */
/* Perspective container for 3D flips */
[data-reveal="flip"].cards {
  perspective: 1200px;
  perspective-origin: center top;
  transform-style: preserve-3d;
}

/* Card initial state: flipped up (hidden) - override anime.js pending state */
[data-reveal="flip"] .card {
  transform-origin: top center;
  opacity: 0 !important;
  transform: rotateX(-88deg) !important;
  filter: none !important;
  transition:
    opacity var(--duration-slow-responsive) var(--ease-out-expo),
    transform var(--duration-slow-responsive) var(--ease-out-expo);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Card revealed state: flipped down (visible) */
[data-reveal="flip"].cards-flip-visible .card {
  opacity: 1 !important;
  transform: rotateX(0deg) !important;
  filter: none !important;
  will-change: auto;
}

/* Staggered delays for domino effect (desktop: 78ms per card) */
[data-reveal="flip"].cards-flip-visible .card:nth-child(1) { transition-delay: 0ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(2) { transition-delay: 78ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(3) { transition-delay: 156ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(4) { transition-delay: 234ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(5) { transition-delay: 312ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(6) { transition-delay: 390ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(7) { transition-delay: 468ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(8) { transition-delay: 546ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(9) { transition-delay: 624ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(10) { transition-delay: 702ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(11) { transition-delay: 780ms; }
[data-reveal="flip"].cards-flip-visible .card:nth-child(n+12) { transition-delay: 858ms; }

/* Reduced motion: instant reveal */
@media (prefers-reduced-motion: reduce) {
  [data-reveal="flip"] .card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile: 50ms stagger, lower perspective */
@media (max-width: 768px) {
  [data-reveal="flip"].cards {
    perspective: 800px;
  }

  [data-reveal="flip"].cards-flip-visible .card:nth-child(1) { transition-delay: 0ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(2) { transition-delay: 50ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(3) { transition-delay: 100ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(4) { transition-delay: 150ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(5) { transition-delay: 200ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(6) { transition-delay: 250ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(7) { transition-delay: 300ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(8) { transition-delay: 350ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(9) { transition-delay: 400ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(10) { transition-delay: 450ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(11) { transition-delay: 500ms; }
  [data-reveal="flip"].cards-flip-visible .card:nth-child(n+12) { transition-delay: 550ms; }
}

/* Ensure hover states work with flip (additive transforms) */
@media (hover: hover) and (pointer: fine) {
  [data-reveal="flip"].cards-flip-visible .card:hover,
  [data-reveal="flip"].cards-flip-visible .card:focus-visible {
    transform: rotateX(0deg) translate3d(0, -6px, 8px) scale(1.01);
  }

  [data-reveal="flip"].cards-flip-visible .grid-2 .card:hover,
  [data-reveal="flip"].cards-flip-visible .grid-2 .card:focus-visible {
    transform: rotateX(0deg) translate3d(0, -4px, 6px) scale(1.005);
  }

  [data-reveal="flip"].cards-flip-visible .card--interview:hover,
  [data-reveal="flip"].cards-flip-visible .card--interview:focus-visible {
    transform: rotateX(0deg) translateY(-2px);
  }
}

/* Mobile hero spacing */
@media (max-width: 768px) {
  .hero.section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: 66vh !important;
    max-height: 100vh !important;
    /* Allow content to expand if needed, but cap at viewport height */
  }
}

/* Contact button: shares .btn-glow style, token-based transitions */
.contact-container .contact-btn:hover,
.contact-container .contact-btn:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.15),
    inset 0 -4px 10px rgba(0, 0, 0, 0.7),
    0 8px 20px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(255, 255, 255, 0.05);
  transform: translateY(-3px) scale(1.02);
  background: var(--accent-subtle-strong);
  outline: none;
  letter-spacing: 0.06em;
}

.contact-container .contact-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.6),
    0 4px 12px rgba(255, 255, 255, 0.08);
}

/* Mobile adjustments for large buttons */
@media (max-width: 768px) {
  .btn.lg {
    font-size: 16px !important;
    padding: 12px 18px !important;
    width: auto;
    max-width: 90%;
  }
}

/* Contact Container Layout - centered button with email below */
.contact-container {
  margin-top: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.contact-container .contact-btn {
  text-align: center;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: clamp(2.3rem, 4.2vw, 3.2rem) clamp(0.8rem, 2vw, 1.6rem);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0;
  background: transparent;
  border: 2px solid var(--border);
  color: #fff;
  text-decoration: none;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.05),
    inset 0 -3px 8px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.35);
  transition:
    border-color var(--duration-moderate) var(--ease-out-smooth),
    box-shadow var(--duration-moderate) var(--ease-out-smooth),
    background var(--duration-moderate) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth);
  backdrop-filter: blur(3px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-container .contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-subtle-strong), transparent);
  transform: translateX(-100%) rotate(0deg);
  transition: transform var(--duration-slow) var(--ease-out-smooth);
  pointer-events: none;
}

.contact-container .contact-btn:hover::before,
.contact-container .contact-btn:focus-visible::before {
  transform: translateX(100%) rotate(2deg);
}

.contact-container .email-line {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 0;
  padding: 0;
  display: block;
  white-space: normal;
  border: none;
  background: transparent;
  color: var(--ink-soft);
}

.contact-container .email-line a {
  text-decoration: underline;
  color: inherit;
}

.contact-container .email-link {
  font-size: inherit;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-container .email-link:hover,
.contact-container .email-link:focus-visible {
  color: var(--muted);
}

@media (max-width: 768px) {
  .contact-container {
    gap: 12px;
  }

  .contact-container .contact-btn {
    padding: clamp(2.3rem, 8vw, 3rem) clamp(0.9rem, 4vw, 1.6rem) !important;
    min-height: 126px !important;
    font-size: clamp(1.45rem, 5.2vw, 2.2rem) !important;
    white-space: normal;
    line-height: 1.1;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
  }

  .contact-container .email-line {
    padding: 0 !important;
    min-height: auto !important;
    font-size: clamp(16px, 4vw, 20px) !important;
    white-space: normal;
  }
  
  .contact-container .email-link {
    font-size: inherit;
  }
}

/* Campaign status badge overlay */
.campaign-status-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.campaign-status-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  background: #6f2cff;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 5vw, 32px);
  letter-spacing: 0.1em;
  padding: 8px 24px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #6f2cff, 0 10px 20px rgba(0, 0, 0, 0.5);
  transform: translate(4%, -46%) rotate(8deg);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.campaign-status-wrapper .campaign-cta {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.16em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(2.3rem, 4.2vw, 3.2rem) clamp(0.8rem, 2vw, 1.6rem);
  min-height: 150px;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 2px solid var(--border);
  color: #fff;
  text-decoration: none;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.05),
    inset 0 -3px 8px rgba(0, 0, 0, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.35);
  transition:
    border-color var(--duration-moderate) var(--ease-out-smooth),
    box-shadow var(--duration-moderate) var(--ease-out-smooth),
    background var(--duration-moderate) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.campaign-status-wrapper .campaign-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-subtle-strong), transparent);
  transform: translateX(-100%) rotate(0deg);
  transition: transform var(--duration-slow) var(--ease-out-smooth);
  pointer-events: none;
}

.campaign-status-wrapper .campaign-cta:hover::before,
.campaign-status-wrapper .campaign-cta:focus-visible::before {
  transform: translateX(100%) rotate(2deg);
}

.campaign-status-wrapper .campaign-copy {
  display: inline-block;
  line-height: 1;
}

.campaign-status-wrapper .campaign-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 1;
}

.campaign-logo-inline {
  display: inline-block;
  height: 0.88em;
  width: auto;
  max-width: min(12em, 100%);
  vertical-align: middle;
  filter: brightness(0) invert(1);
  object-fit: contain;
  flex-shrink: 1;
  min-width: 0;
}

/* Campaign CTA: same glow interaction as contact, token-based */
.campaign-status-wrapper .campaign-cta:hover,
.campaign-status-wrapper .campaign-cta:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.15),
    inset 0 -4px 10px rgba(0, 0, 0, 0.7),
    0 8px 20px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(255, 255, 255, 0.05);
  transform: translateY(-3px) scale(1.02);
  background: var(--accent-subtle-strong);
  outline: none;
  letter-spacing: 0.06em;
}

.campaign-status-wrapper .campaign-cta:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.6),
    0 4px 12px rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .campaign-status-wrapper .campaign-cta {
    padding: clamp(2.3rem, 8vw, 3rem) clamp(0.9rem, 4vw, 1.6rem) !important;
    min-height: 126px !important;
    font-size: clamp(1.45rem, 5.2vw, 2.2rem) !important;
    gap: 0.14em;
  }

  .campaign-logo-inline {
    max-width: 7em;
  }

  .campaign-status-badge {
    font-size: clamp(18px, 5vw, 24px);
    padding: 6px 14px;
    border-width: 2px;
    box-shadow: 0 0 0 2px #6f2cff, 0 8px 16px rgba(0, 0, 0, 0.45);
    transform: translate(-4%, -38%) rotate(8deg);
  }
}

/* === Newsletter marquee === */
.newsletter-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
  padding: 32px 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  margin-bottom: 0;
  backdrop-filter: blur(2px);
  box-shadow: 
    0 0 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* Fade overlays on left and right edges - dark theme gradient fade */
.newsletter-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 75%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.newsletter-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 75%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.newsletter-marquee {
  display: flex;
  width: max-content;
  animation: newsletterScroll 6s linear infinite;
  will-change: transform;
  transition: animation-play-state 0.3s ease;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
}

.newsletter-bar:hover .newsletter-marquee {
  animation-play-state: paused;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.12));
}

.newsletter-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 8vw, 80px);
  padding: 0 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  width: max-content;
}

.newsletter-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transition: filter 0.3s ease;
}

.newsletter-bar:hover .newsletter-logos {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}

.newsletter-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

.newsletter-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: color var(--duration-moderate) var(--ease-out-smooth),
              border-color var(--duration-moderate) var(--ease-out-smooth),
              text-shadow var(--duration-moderate) var(--ease-out-smooth),
              transform var(--duration-moderate) var(--ease-out-smooth);
  position: relative;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.newsletter-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: width var(--duration-moderate) var(--ease-out-smooth);
}

.newsletter-link:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.4);
  text-shadow: 
    0 0 12px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.newsletter-link:hover::after {
  width: 100%;
}

.newsletter-divider {
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  flex-shrink: 0;
  transition:
    opacity var(--duration-moderate) var(--ease-out-smooth),
    filter var(--duration-moderate) var(--ease-out-smooth),
    transform var(--duration-moderate) var(--ease-out-smooth);
}

.newsletter-bar:hover .newsletter-divider {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  transform: scale(1.05);
}

.newsletter-divider-triangle {
  width: 32px;
  height: 32px;
}

.newsletter-divider-wordmark {
  height: 40px;
  width: auto;
  max-width: 220px;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile: More compact newsletter bar with improved marquee - same orientation as desktop */
@media (max-width: 768px) {
  .newsletter-bar {
    padding: 28px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 0;
  }

  /* Fade overlays on mobile - dark theme gradient fade */
  .newsletter-bar::before {
    width: 100px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
    display: block;
  }
  
  .newsletter-bar::after {
    width: 100px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
    display: block;
  }

  .newsletter-marquee {
    animation: newsletterScrollMobile 12s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
  }

  .newsletter-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    width: max-content;
    flex-shrink: 0;
  }

  .newsletter-logos {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .newsletter-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
  }

  .newsletter-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.3, 1);
    position: relative;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    font-size: inherit;
    border-radius: 0;
    background: transparent;
  }

  .newsletter-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.3, 1);
  }

  .newsletter-link:active,
  .newsletter-link:hover {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 
      0 0 12px rgba(255, 255, 255, 0.3),
      0 0 20px rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    background: transparent;
  }

  .newsletter-link:hover::after {
    width: 100%;
  }

  .newsletter-divider {
    margin: 0;
    opacity: 0.85;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  }

  .newsletter-bar:hover .newsletter-divider {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
  }

  .newsletter-divider-triangle {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
  }

  .newsletter-divider-wordmark {
    height: 32px;
    width: auto;
    max-width: 180px;
    display: inline-block;
    vertical-align: middle;
  }
}

/* Slower, smoother marquee animation for mobile */
@keyframes newsletterScrollMobile {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-14.28%);
  }
}

@keyframes newsletterScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-14.28%);
  }
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6));
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Button ripple (base .btn only, not .btn-glow) - organic easing */
.btn:not(.btn-glow):not(.glow)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--accent-subtle-strong);
  transform: translate(-50%, -50%);
  transition: width var(--duration-slow) cubic-bezier(0.25, 1, 0.3, 1),
              height var(--duration-slow) cubic-bezier(0.25, 1, 0.3, 1);
  pointer-events: none;
}

.btn:not(.btn-glow):not(.glow):hover::after {
  width: 300px;
  height: 300px;
}

/* Smooth reveal for sections */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Interactive text selection highlight */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

::-moz-selection {
  background: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

/* Smooth focus transitions */
*:focus-visible {
  transition: outline 0.2s ease;
}

/* Enhanced avatar interactions - Optimized (only applies if not overridden by .card .avatar) */
.avatar:not(.card .avatar) {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.card:hover .avatar:not(.card .avatar) {
  transform: translate3d(0, -3px, 0) scale(1.02);
  will-change: transform;
}

/* Parallax container */
.parallax-container {
  will-change: transform;
}

/* Smooth scroll snap (optional, can be disabled) */
@media (min-width: 1024px) {
  html {
    scroll-snap-type: y proximity;
  }
  
  .section {
    scroll-snap-align: start;
  }
}