/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg: #06070d;            /* deep navy-tinted black so green pops */
  --bg-pure: #000000;
  --surface: #0b0c14;
  --surface-2: #0f1018;
  --surface-3: #14151f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-muted: #8a8a95;
  --text-dim: #5a5a65;
  --accent: #00C2FF;        /* electric blue — brand/links/italic */
  --accent-light: #4dd5ff;
  --accent-dark: #0099cc;
  --accent-deep: #0066ff;
  --green: #5EE373;         /* elite electric green — proof/trust/CTA */
  --green-bright: #4ADE80;
  --green-deep: #16A34A;
  --green-glow: rgba(94, 227, 115, 0.35);
  --accent-mint: #7af5b0;
  --gold: #FFD700;
  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Saira Condensed', 'Extenda', -apple-system, sans-serif;
  --script: 'Fraunces', 'Times New Roman', serif;
  --max-w: 1280px;
  --pad-x: clamp(24px, 5vw, 64px);
  --r-sm: 4px;
  --r-md: 4px;
  --r-lg: 6px;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* ========== Keyword color highlights ========== */
.kw {
  color: var(--accent);
  font-weight: 500;
}
.kw-green {
  color: var(--green);
  font-weight: 500;
}

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

/* Editorial serif emphasis */
.serif { font-family: var(--serif); font-weight: 400; }
.it { font-style: italic; font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
em.it, .it em { font-style: italic; }
em.green,
.em-green {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  color: var(--green) !important;
  letter-spacing: -0.02em !important;
  font-variation-settings: "opsz" 144 !important;
}

/* ========== Bold impact (Onen-style chunky sans) ========== */
.impact {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  font-size: clamp(48px, 8vw, 132px);
}
.impact-sm {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: clamp(28px, 4vw, 56px);
}
.label-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

/* ========== Rotating badge ========== */
.rotating-badge {
  width: 110px;
  height: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.2s ease;
}
.rotating-badge:hover { transform: scale(1.06); }
.rotating-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 50%; }
.rotating-badge svg {
  width: 100%; height: 100%;
  animation: badgeRotate 18s linear infinite;
}
.rotating-badge .badge-core {
  position: absolute;
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 0 30px rgba(94, 227, 115, 0.55);
}
.rotating-badge.blue .badge-core {
  background: var(--accent);
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.5);
}
.rotating-badge .badge-core svg {
  width: 16px; height: 16px;
  animation: none;
}
@keyframes badgeRotate {
  to { transform: rotate(360deg); }
}

/* ========== Case page (individual client) ========== */
.case-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: end;
  padding: 200px var(--pad-x) 60px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.case-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #0a0a0e;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}
.case-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 30%, rgba(0,0,0,0.85) 100%);
}
.case-hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.case-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.case-hero-back:hover { color: var(--text); gap: 12px; }
.case-hero-back::before { content: '←'; color: var(--green); }
.case-hero-title {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(56px, 10vw, 144px);
  margin: 16px 0 24px;
}
.case-hero-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* Case stats strip */
.case-stats {
  padding: 40px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.case-stats-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-stat {
  display: flex; flex-direction: column; gap: 4px;
}
.case-stat-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--green);
  line-height: 1;
}
.case-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 700px) {
  .case-stats-row { grid-template-columns: 1fr 1fr; }
}

/* Case body sections */
.case-body-section {
  padding: 100px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.case-body-section .case-body-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.case-body-h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 40px;
}
.case-body-h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--green);
  letter-spacing: -0.02em;
}
.case-body-prose {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.case-body-prose h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.case-body-prose p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-body-prose p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .case-body-prose { grid-template-columns: 1fr; gap: 16px; }
}

/* Deliverables list */
.deliverables {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.deliverables li {
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.deliverables li:hover { border-color: var(--line-strong); background: var(--surface-3); }
.deliverables li::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-glow);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6 11.5L2.5 8 4 6.5l2 2 6-6L13.5 4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6 11.5L2.5 8 4 6.5l2 2 6-6L13.5 4z'/%3E%3C/svg%3E");
  mask-size: contain; -webkit-mask-size: contain;
}
@media (max-width: 700px) {
  .deliverables { grid-template-columns: 1fr 1fr; }
}

/* Gallery — masonry-ish with mixed sizes */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  grid-auto-rows: 220px;
}
.case-gallery-item {
  background-color: #06070d;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.case-gallery-item.placeholder {
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(135deg, #0a0a0e, #050505);
}
/* Discipline strip — small photo row above the module grid on services pages */
.discipline-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 40px;
}
.discipline-strip > div {
  aspect-ratio: 4/5;
  background: #06070d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--r-md);
}
@media (max-width: 700px) {
  .discipline-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Thank-you page (post-form-submit) ========== */
.thanks-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 160px var(--pad-x) 100px;
  overflow: hidden;
}
.thanks-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.45);
  transform: scale(1.02);
}
.thanks-hero-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,7,13,0.55) 0%, rgba(6,7,13,0.45) 40%, rgba(6,7,13,0.95) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(0,194,255,0.08), transparent 60%);
}
.thanks-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.thanks-hero-title {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(64px, 11vw, 168px);
  margin: 16px 0 28px;
  color: var(--text);
}
.thanks-hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.thanks-hero-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 40px;
}
.thanks-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 720px;
}
.thanks-hero-meta span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.thanks-hero-meta strong {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 32px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.thanks-steps {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.thanks-steps-header {
  margin-bottom: 56px;
}
.thanks-steps-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(36px, 5vw, 64px);
  margin-top: 12px;
}
.thanks-steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.thanks-step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 28px 32px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.thanks-step:hover {
  border-color: rgba(0, 194, 255, 0.35);
  transform: translateY(-4px);
}
.thanks-step-num {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 18px;
}
.thanks-step-title {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--text);
}
.thanks-step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.thanks-while {
  padding: 80px var(--pad-x) 100px;
  border-top: 1px solid var(--line);
}
.thanks-while-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.thanks-while-text h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(36px, 4.5vw, 60px);
  margin: 12px 0 20px;
}
.thanks-while-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 460px;
}
.thanks-while-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.thanks-while-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.thanks-while-tile {
  position: relative;
  aspect-ratio: 4/5;
  background: #06070d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.thanks-while-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 7, 13, 0.85) 100%);
  pointer-events: none;
}
.thanks-while-tile span {
  position: absolute;
  bottom: 14px; left: 16px;
  z-index: 2;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.thanks-while-tile:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 194, 255, 0.18);
}

.thanks-quote {
  padding: 80px var(--pad-x) 120px;
  text-align: center;
  border-top: 1px solid var(--line);
  max-width: 760px;
  margin: 0 auto;
}
.thanks-quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(80px, 12vw, 140px);
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.5;
  margin: 0 0 -20px;
}
.thanks-quote-text {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--text);
  margin: 0 0 18px;
}
.thanks-quote-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
}
.thanks-quote-sig {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 32px;
}
.thanks-quote-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .thanks-steps-list { grid-template-columns: 1fr; }
  .thanks-while-inner { grid-template-columns: 1fr; }
  .thanks-hero { min-height: 64vh; }
}
@media (max-width: 600px) {
  .thanks-while-grid { grid-template-columns: 1fr; }
  .thanks-hero-meta { gap: 18px 28px; }
  .thanks-hero-meta strong { font-size: 26px; }
}

/* ========== Testimonials section (homepage) ==========
   Hidden by default in HTML — uncomment in index.html when you have real quotes. */
.testimonials {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.testimonials-header {
  margin-bottom: 48px;
}
.testimonials-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  max-width: 720px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.testimonial-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  opacity: 0.7;
}
.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.testimonial-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ========== About — merged story + founder section ========== */
.about-story {
  padding: 80px var(--pad-x) 100px;
}
.about-story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.about-story-photos {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1.1;
  position: sticky;
  top: 110px;
}
.about-story-photo {
  position: absolute;
  background-color: #06070d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 14px;
  overflow: hidden;
}
.about-story-photo.a {
  top: 0;
  left: 0;
  width: 74%;
  height: 80%;
  z-index: 1;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.about-story-photo.a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, transparent 55%, rgba(6,7,13,0.45) 100%),
              linear-gradient(180deg, transparent 60%, rgba(6,7,13,0.5) 100%);
}
.about-story-photo.b {
  bottom: 0;
  right: 0;
  width: 58%;
  height: 62%;
  z-index: 2;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 0 8px #06070d;
}
.about-story-photos-cap {
  position: absolute;
  bottom: -36px;
  left: 0;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 3;
}
.about-story-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
}
.about-story-content p { margin-bottom: 16px; }
.about-story-content p strong { color: var(--text); font-weight: 600; }
.about-story-content .about-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--text);
  margin: 18px 0 24px;
}
.about-story-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .about-story-inner { grid-template-columns: 1fr; }
  .about-story-photos { position: relative; top: auto; margin: 0 auto 56px; max-width: 460px; }
}

/* About — "What we capture" 3x3 grid + label on each tile */
.about-stills-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: clamp(240px, 26vw, 320px) !important;
}
.still .still-label {
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
  z-index: 2;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
@media (max-width: 900px) {
  .about-stills-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .about-stills-grid { grid-template-columns: 1fr !important; }
}

/* Stills section — selected-photos grid sitting between showreel and founder */
.stills {
  padding: 80px var(--pad-x) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stills-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.stills-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}
.stills-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
}
.stills-header p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 540px;
  justify-self: end;
}
.stills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: clamp(240px, 26vw, 360px);
  gap: 14px;
}
.still {
  background: #06070d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.still::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 13, 0.55) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.still:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.still:hover::after { opacity: 0.4; }
.stills-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (max-width: 1100px) {
  .stills-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .stills-header { grid-template-columns: 1fr; gap: 16px; }
  .stills-header p { justify-self: start; }
  .stills-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 32vw, 260px); }
}
@media (max-width: 600px) {
  .stills-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(180px, 42vw, 260px); }
}

/* Masonry collage — every client photo in one Pinterest-style column flow */
.case-collage {
  column-count: 3;
  column-gap: 14px;
}
.case-collage img {
  width: 100%;
  margin: 0 0 14px;
  display: block;
  border-radius: var(--r-md);
  break-inside: avoid;
  background: #06070d;
}
@media (max-width: 900px) { .case-collage { column-count: 2; } }
@media (max-width: 540px) { .case-collage { column-count: 1; } }

.gi-2x2 { grid-column: span 2; grid-row: span 2; }
.gi-2x1 { grid-column: span 2; grid-row: span 1; }
.gi-3x2 { grid-column: span 3; grid-row: span 2; }
.gi-3x1 { grid-column: span 3; grid-row: span 1; }
.gi-4x2 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 900px) {
  .case-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gi-2x2, .gi-2x1, .gi-3x2, .gi-3x1, .gi-4x2 { grid-column: span 2; grid-row: span 1; }
  .gi-3x2, .gi-4x2 { grid-row: span 2; }
}

/* Video slot */
.video-slot {
  background-color: #050505;
  border-radius: var(--r-md);
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(94, 227, 115, 0.08), transparent 60%),
    linear-gradient(135deg, #0a0a0e, #050505);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.video-slot:hover { transform: scale(1.01); }
.video-slot video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-slot-placeholder {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.video-slot-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px var(--green-glow);
}
.video-slot-play svg { width: 24px; height: 24px; margin-left: 4px; }

/* Case prev/next nav */
.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.case-nav a {
  padding: 60px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  transition: background 0.2s ease;
}
.case-nav a:hover { background: var(--surface-2); }
.case-nav a:first-child { border-right: 1px solid var(--line); align-items: flex-start; }
.case-nav a:last-child { align-items: flex-end; text-align: right; }
.case-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.case-nav-name {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.05;
}
@media (max-width: 700px) {
  .case-nav { grid-template-columns: 1fr; }
  .case-nav a:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Work index grid (replaces work.html main content) */
.work-index {
  padding: 60px var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.work-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-index-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: #06070d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  cursor: pointer;
}
.work-index-card:hover { transform: translateY(-6px); }
.work-index-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.work-index-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  border: 1px solid rgba(94, 227, 115, 0.25);
}
.work-index-card-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}
.work-index-card-name {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 2;
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.05;
}
.work-index-card-meta {
  position: absolute;
  bottom: 20px; right: 20px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.work-index-card.placeholder {
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(135deg, #0a0a0e, #050505);
}
@media (max-width: 900px) {
  .work-index-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .work-index-grid { grid-template-columns: 1fr; }
}

/* ========== Eyebrow flourish — Fraunces italic, NOT script ========== */
.flourish {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.02em;
  font-size: 1.1em;
  line-height: 0.95;
}
.flourish-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--accent);
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 4px;
  line-height: 1;
}

/* ========== Hero video ========== */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
.hero-video-poster {
  position: absolute;
  inset: 0;
  background-color: #0a0a0e;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}

/* ========== Splash screen — homepage entry, smooth blend into the site ========== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg); /* match site bg so the dissolve feels like part of the same world */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 1.2s;
}
/* Match the site's film-grain overlay for a continuous texture between splash and page */
.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* Subtle radial vignette behind the centred content */
.splash::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(0, 194, 255, 0.05) 0%, transparent 55%);
}
.splash-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  gap: 28px;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), filter 1.2s ease, opacity 0.9s ease;
  will-change: transform, filter, opacity;
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash.is-hidden .splash-inner {
  transform: scale(1.05);
  filter: blur(3px);
  opacity: 0.7;
}
.splash-logo {
  width: clamp(200px, 32vw, 420px);
  height: auto;
  margin: 0;
  display: block;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  animation: splashLogoIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
             splashLogoPulse 2.6s ease-in-out 1.2s infinite;
}
@keyframes splashLogoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.025);
    filter: drop-shadow(0 0 18px rgba(0, 194, 255, 0.4));
  }
}
.splash-tagline {
  font-family: var(--body);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  animation: splashItemIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}
.splash-tagline-accent {
  color: var(--accent);
  font-weight: 600;
}
.splash-bar {
  width: clamp(220px, 28vw, 360px);
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  animation: splashItemIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s forwards;
}
.splash-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  border-radius: 2px;
  animation: splashLoad 1.8s cubic-bezier(0.6, 0.04, 0.4, 0.96) 0.65s forwards;
  box-shadow: 0 0 16px var(--green-glow);
}
@keyframes splashLogoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes splashItemIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splashLoad {
  0% { width: 0%; }
  60% { width: 72%; }
  100% { width: 100%; }
}
.splash-loading {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  opacity: 0;
  transform: translateY(4px);
  animation: splashItemIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.75s forwards;
}
.splash-loading .dot {
  display: inline-block;
  opacity: 0.2;
  animation: loadingDot 1.4s ease-in-out infinite;
}
.splash-loading .dot:nth-child(1) { animation-delay: 0s; }
.splash-loading .dot:nth-child(2) { animation-delay: 0.18s; }
.splash-loading .dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes loadingDot {
  0%, 60%, 100% { opacity: 0.2; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-1px); }
}
/* Lock body scroll while splash is visible */
body.splash-active { overflow: hidden; }
/* Reduced motion — skip the entrance animations */
@media (prefers-reduced-motion: reduce) {
  .splash-logo, .splash-tagline, .splash-bar, .splash-loading { animation: none !important; opacity: 1; transform: none; }
  .splash-bar-fill { animation: splashLoad 0.6s linear forwards; }
  .splash-loading .dot { animation: none !important; opacity: 0.6; }
}

/* ========== Showreel carousel — vertical 9:16 cards, horizontal scroll ========== */
.showreel {
  padding: 40px 0 100px;
  position: relative;
  overflow: visible;
}
/* ========== Horizontal stack carousel — wheel + drag navigation ========== */
.showreel-track {
  position: relative;
  width: 100%;
  max-width: 1680px;
  height: clamp(520px, 64vh, 680px);
  margin: 0 auto;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  touch-action: pan-y; /* lets vertical page scroll pass through */
  user-select: none;
  -webkit-user-select: none;
}

.showreel-card {
  --w: clamp(260px, 25vw, 360px);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--w);
  aspect-ratio: 9/16;
  margin-left: calc(var(--w) / -2);
  margin-top: calc((var(--w) * 16 / 9) / -2);
  border-radius: 16px;
  overflow: hidden;
  background-color: #06070d;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;

  --sx: 0px;
  --sz: 0px;
  --ss: 1;
  --so: 0;
  --sry: 0deg;
  --szi: 0;
  transform: translate3d(var(--sx), 0, var(--sz)) scale(var(--ss)) rotateY(var(--sry));
  opacity: var(--so);
  z-index: var(--szi);

  pointer-events: none;
  will-change: transform, opacity;
  /* Motion handled by JS rAF (lerped) so transition would just lag the response.
     Box-shadow still fades smoothly for the current/active state swap. */
  transition: box-shadow 0.45s ease;
}
.showreel-card.is-current {
  pointer-events: auto;
  cursor: grab;
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.65),
              0 0 0 1px rgba(255, 255, 255, 0.22);
}
.showreel-card.is-current:active { cursor: grabbing; }
.showreel-card.is-adjacent { pointer-events: auto; cursor: pointer; }

/* Counter — bottom-left corner of the section, vertically stacked */
.stack-counter {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
  font-family: var(--display);
}
.stack-counter-current {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stack-counter-divider {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.stack-counter-total {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Dots + hint — both centred under the cards, hint sitting just below the dots */
.stack-dots {
  position: absolute;
  bottom: clamp(56px, 7vw, 86px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.stack-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease;
}
.stack-dots button:hover { background: rgba(255, 255, 255, 0.5); }
.stack-dots button.is-active {
  width: 26px;
  background: var(--text);
}

.stack-hint {
  position: absolute;
  bottom: clamp(22px, 3.5vw, 38px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.stack-hint svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}
.stack-hint svg:first-child { animation: stackHintSlideLeft  1.8s ease-in-out infinite; }
.stack-hint svg:last-child  { animation: stackHintSlideRight 1.8s ease-in-out infinite; }
@keyframes stackHintSlideLeft  { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes stackHintSlideRight { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px);  } }

@media (max-width: 700px) {
  .stack-counter { left: 16px; }
  .showreel-card { --w: clamp(180px, 60vw, 240px); }
}
.showreel-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 35%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.showreel-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--green);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(94, 227, 115, 0.25);
}
.showreel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: #000;
  box-shadow: 0 0 32px rgba(94, 227, 115, 0.45);
  transition: transform 0.3s ease;
}
.showreel-card:hover .showreel-play { transform: translate(-50%, -50%) scale(1.08); }
.showreel-play svg {
  width: 40%;
  height: 40%;
  margin-left: 4px;
}
.showreel-caption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
}
.showreel-name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 4px;
}
.showreel-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Playing-card placeholder mode — suit + initials, dropped in until a real reel is wired up */
.showreel-card.is-playcard {
  background: linear-gradient(168deg, #0e1219 0%, #060810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.showreel-card.is-playcard::before { display: none; }
.playcard-corner {
  position: absolute;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.94);
}
.playcard-corner.tl { top: 18px; left: 18px; }
.playcard-corner.br { bottom: 18px; right: 18px; transform: rotate(180deg); }
.playcard-corner .suit { font-size: 1.2em; line-height: 1; }
.suit-blue, .suit-white { color: rgba(255, 255, 255, 0.94); }

/* Edge peek effect — only visible when the track is in horizontal-scroll mode */
@media (max-width: 820px) {
  .showreel { overflow: hidden; }
  .showreel::before, .showreel::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: clamp(40px, 6vw, 96px);
    z-index: 5;
    pointer-events: none;
  }
  .showreel::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
  .showreel::after { right: 0; background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%); }
}

/* ========== Fanned card deck — held like playing cards (kept, currently unused on home) ==========
   Bottom-centered fan: 3 cards anchored at bottom, rotated -18° / 0° / +18°.
   transform-origin: bottom center is what makes the fan effect work — do not change.
*/
.fanned-deck-wrap {
  padding: 80px var(--pad-x) 120px;
  display: flex;
  justify-content: center;
}
.fanned-deck {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: clamp(440px, 56vw, 620px);
  margin: 0 auto;
}
.fanned-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: clamp(180px, 24vw, 280px);
  aspect-ratio: 5/7;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--surface-3);
  background-size: cover;
  background-position: center;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(135deg, #0a0a0e, #050505);
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.fanned-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
/* Fan positions — three cards, bottom-anchored, rotation-origin bottom center */
.fanned-card:nth-child(1) {
  transform: translateX(-50%) rotate(-18deg);
  z-index: 1;
}
.fanned-card:nth-child(2) {
  transform: translateX(-50%) rotate(0deg);
  z-index: 2;
}
.fanned-card:nth-child(3) {
  transform: translateX(-50%) rotate(18deg);
  z-index: 3;
}
.fanned-card-name {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 3;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.05;
  color: var(--text);
}
.fanned-card-meta {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0,0,0,0.55);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Hover: card lifts straight up (still bottom-anchored), no rotation, brought forward */
.fanned-card:hover {
  transform: translateX(-50%) translateY(-32px) rotate(0deg);
  z-index: 10;
  box-shadow: 0 50px 120px rgba(0, 194, 255, 0.18), 0 0 0 1px rgba(0, 194, 255, 0.25);
}
/* Responsive — keep rotations + transform-origin, narrow the cards on small viewports */
@media (max-width: 700px) {
  .fanned-deck { max-width: 480px; height: clamp(380px, 80vw, 500px); }
  .fanned-card { width: clamp(150px, 30vw, 200px); }
}
@media (max-width: 480px) {
  .fanned-card { width: 130px; }
}

/* ========== Roman numeral pillar marker ========== */
.pillar-numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(80px, 12vw, 144px);
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  display: block;
}

/* ========== Hero showcase strip — under pills ========== */
.hero-showcase {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.hero-showcase a {
  display: block;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-3);
  transition: transform 0.4s ease;
}
.hero-showcase a:hover { transform: translateY(-4px); }
.hero-showcase-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: brightness(0.85);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.hero-showcase a:hover .hero-showcase-img {
  filter: brightness(1);
  transform: scale(1.04);
}
.hero-showcase a:nth-child(2) .hero-showcase-img { aspect-ratio: 4/5; }
.hero-showcase-caption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  pointer-events: none;
}
.hero-showcase-caption .name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.15;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
.hero-showcase-caption .tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .hero-showcase {
    grid-template-columns: 1fr 1fr;
    margin-top: 36px;
  }
  .hero-showcase a:nth-child(3) { display: none; }
}

/* ========== Cinematic banner (full-bleed photo + huge text) ========== */
.banner-cinematic {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  isolation: isolate;
}
.banner-cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0, 194, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(40, 30, 30, 0.6), transparent 60%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #050505 100%);
  /* Replace with: background-image: url('banner.jpg'); background-size: cover; background-position: center; */
}
.banner-cinematic-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.5;
}
.banner-cinematic-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 30%, transparent 70%, rgba(0,0,0,0.5));
}
.banner-cinematic h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(48px, 9vw, 160px);
  text-align: center;
  color: var(--text);
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}
.banner-cinematic h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.02em;
}
.banner-cinematic-meta {
  position: absolute;
  bottom: 24px; left: var(--pad-x);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.banner-cinematic-meta.right { left: auto; right: var(--pad-x); }

/* ========== Asymmetric photo-first work feature ========== */
.work-feature {
  padding: 60px 0 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.work-feature-header {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px;
  padding: 0 var(--pad-x);
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.work-feature-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(36px, 5vw, 72px);
}
.work-feature-actions { display: flex; gap: 24px; }
.work-feature-actions a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.work-feature-actions a:hover { color: var(--text); }
.work-feature-actions a::before {
  content: '';
  width: 14px; height: 14px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  display: inline-block;
}

.work-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 var(--pad-x);
  align-items: start;
}
.work-tile {
  display: block;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.4s ease;
  aspect-ratio: 3/4;
}
.work-tile:hover { transform: translateY(-8px); }

/* Asymmetric staggered heights */
.work-tile.medium { aspect-ratio: 4/5; margin-top: 0; }
.work-tile.tall { aspect-ratio: 3/4.4; margin-top: 64px; }
.work-tile.short { aspect-ratio: 5/5.4; margin-top: 180px; }

.work-tile-photo {
  position: absolute;
  inset: 0;
  background-color: #050505;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(135deg, #0a0a0e 0%, #050505 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.work-tile:hover .work-tile-photo { transform: scale(1.04); }
.work-tile-photo::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.7;
}
.work-tile-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.work-tile.athletic .work-tile-photo {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 180, 80, 0.15), transparent 60%),
    linear-gradient(135deg, #1a1206 0%, #0a0a0a 50%, #050505 100%);
}
.work-tile.artist .work-tile-photo {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(180, 80, 200, 0.15), transparent 60%),
    linear-gradient(135deg, #0d0617 0%, #060406 50%, #050505 100%);
}
.work-tile-label {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.work-tile-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}
.work-tile-title {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.work-tile-meta {
  position: absolute;
  bottom: 24px; right: 24px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .work-feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work-tile.short { margin-top: 80px; }
  .work-tile.tall { margin-top: 32px; }
}
@media (max-width: 600px) {
  .work-feature-grid { grid-template-columns: 1fr; }
  .work-tile.short, .work-tile.tall, .work-tile.medium { margin-top: 0; aspect-ratio: 4/5; }
}

/* ========== Color-block split CTA ========== */
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 380px;
}
.cta-split-block {
  padding: 60px var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.cta-split-block.blue {
  background: linear-gradient(135deg, #4dd5ff 0%, var(--accent) 50%, #0066ff 100%);
  color: #000;
}
.cta-split-block.blue::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
}
.cta-split-block.dark {
  background: var(--surface);
  color: var(--text);
}
.cta-split-block > * { position: relative; z-index: 1; }
.cta-split-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
}
.cta-split-headline {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(28px, 3.5vw, 48px);
  max-width: 460px;
}
.cta-split-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 32px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  align-self: flex-start;
  transition: gap 0.2s ease;
}
.cta-split-link:hover { gap: 16px; }
.cta-split-link::after { content: '→'; }

@media (max-width: 800px) {
  .cta-split { grid-template-columns: 1fr; }
}

/* ========== Green elite-accent components ========== */
.pill-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(94, 227, 115, 0.08);
  border: 1px solid rgba(94, 227, 115, 0.32);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.pill-trust:hover {
  background: rgba(94, 227, 115, 0.14);
  border-color: rgba(94, 227, 115, 0.5);
}
.pill-trust .check {
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pill-trust .check::after {
  content: '';
  width: 6px; height: 3px;
  border-left: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(-45deg) translate(1px, -1px);
}
.pill-trust .star {
  width: 12px; height: 12px;
  fill: var(--green);
  flex-shrink: 0;
}
.pill-trust.dot::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Stats row — Befueled-style three-up */
.stats-row {
  display: flex;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--green);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num .plus { color: var(--green); font-size: 0.7em; opacity: 0.9; }
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Metric callout — big +X% style number block */
.metric-callout {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.metric-callout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(94, 227, 115, 0.04), transparent 60%), var(--surface-2);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.metric-callout-grid::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.metric-num-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--green);
  position: relative;
  z-index: 1;
}
.metric-num-big::after {
  content: '+';
  font-size: 0.5em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--green-bright);
}
.metric-callout-text { position: relative; z-index: 1; }
.metric-callout-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 16px;
}
.metric-callout-title {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  margin-bottom: 16px;
}
.metric-callout-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--green);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
}
.metric-callout-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 460px;
}
@media (max-width: 800px) {
  .metric-callout-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 32px; }
}

/* Reviews / proof row */
.reviews-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.reviews-stars {
  display: inline-flex;
  gap: 2px;
}
.reviews-stars svg {
  width: 16px; height: 16px;
  fill: var(--green);
}
.reviews-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.reviews-text strong { color: var(--text); font-weight: 600; }

/* Override: green variants */
.btn-green {
  display: inline-block;
  padding: 16px 28px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: -0.01em;
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(94, 227, 115, 0.35);
}

/* CTA split block — green variant */
.cta-split-block.green {
  background: linear-gradient(135deg, #7df096 0%, var(--green) 50%, var(--green-deep) 100%);
  color: #000;
}
.cta-split-block.green::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.05) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
}

/* Live indicator */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.live-dot::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* Update work tile dot to be green for "Live" */
.work-tile-label.live::before {
  background: var(--green) !important;
  box-shadow: 0 0 8px var(--green) !important;
}

/* ========== Marquee — infinite scrolling brand strip ========== */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 0;
  align-items: center;
  width: max-content;
  animation: marqueeRoll 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px 0 0;
  transition: color 0.2s ease;
}
.marquee-item:hover { color: var(--text); }
.marquee-item::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-glow);
  flex-shrink: 0;
}
@keyframes marqueeRoll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--green); color: #000; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

section { position: relative; }

/* ========== Scroll progress ========== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--accent) 100%);
  box-shadow: 0 0 12px rgba(94, 227, 115, 0.5);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* ========== Cursor glow (desktop only) ========== */
.cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.10) 0%, rgba(0, 194, 255, 0) 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease, background 0.3s ease;
  opacity: 0;
}
.cursor-glow.is-on-media {
  background: radial-gradient(circle, rgba(94, 227, 115, 0.18) 0%, rgba(94, 227, 115, 0) 55%);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* Precision cursor — small accent dot + lag ring with hover/click reactions */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 9998;
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.7);
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(0, 194, 255, 0.45);
  border-radius: 50%;
  z-index: 9997;
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              opacity 0.2s ease;
  opacity: 0;
}
.cursor-ring.is-hovering {
  width: 64px; height: 64px;
  border-color: var(--accent);
  background: rgba(0, 194, 255, 0.07);
}
.cursor-ring.is-clicking {
  width: 16px; height: 16px;
  border-color: var(--green);
  background: rgba(94, 227, 115, 0.18);
}
.cursor-dot.is-hovering {
  background: var(--green);
  box-shadow: 0 0 12px rgba(94, 227, 115, 0.8);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { opacity: 1; }
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}
.is-magnetic { transition: transform 0.18s ease-out; }

/* Cursor label — small chip that follows cursor on hover over media */
.cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  background: var(--green);
  color: #000;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: translate(20px, 20px) scale(0.7);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(94, 227, 115, 0.35);
}
.cursor-label.is-visible {
  opacity: 1;
  transform: translate(20px, 20px) scale(1);
}
.cursor-label.is-video::before {
  content: '▶ ';
  margin-right: 2px;
}
@media (hover: none) {
  .cursor-label { display: none; }
}

/* ========== TALENTMADE LOGO (CSS) ==========
   Recreates the brand mark: cyan→blue gradient bar above,
   green→cyan→blue gradient bar below, wordmark in between.
*/
.tm-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  text-align: center;
  line-height: 1;
}
.tm-logo-img {
  display: inline-block;
  height: clamp(80px, 7vw, 110px);
  width: auto;
  transition: height 0.3s ease;
}
.header.scrolled .tm-logo-img { height: clamp(64px, 5.5vw, 84px); }
.tm-logo-img.lg { height: clamp(80px, 8vw, 112px); } /* footer logo */
.tm-logo-img.xl { height: clamp(96px, 14vw, 180px); }
@media (max-width: 600px) {
  .tm-logo-img { height: 64px; }
}
.tm-logo-bar {
  height: 3px;
  border-radius: 2px;
}
.tm-logo-bar.top {
  background: linear-gradient(90deg, #4dd5ff 0%, #00C2FF 30%, #0066ff 100%);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.4);
}
.tm-logo-bar.bottom {
  background: linear-gradient(90deg, #7af5b0 0%, #4dd5ff 35%, #80c0ff 70%, #4d7eff 100%);
  box-shadow: 0 0 10px rgba(122, 245, 176, 0.25);
}
.tm-logo-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 6px 8px;
  white-space: nowrap;
  line-height: 1;
}
.tm-logo-sub {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0;
}
.tm-logo--lg .tm-logo-text { font-size: 56px; letter-spacing: 0.03em; }
.tm-logo--lg .tm-logo-sub { font-size: 14px; letter-spacing: 0.32em; }
.tm-logo--lg .tm-logo-bar { height: 5px; }
.tm-logo--xl .tm-logo-text { font-size: clamp(48px, 9vw, 132px); letter-spacing: 0.02em; }
.tm-logo--xl .tm-logo-sub { font-size: clamp(11px, 1.4vw, 18px); letter-spacing: 0.32em; }
.tm-logo--xl .tm-logo-bar { height: clamp(4px, 0.6vw, 8px); }

/* ========== Header ========== */
/* Floating pill header — BeNoted-style. Sits centred at the top, content-sized (not edge-to-edge). */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  max-width: calc(100% - 32px);
  padding: 4px 14px;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  background: rgba(15, 16, 22, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: top 0.3s ease, padding 0.3s ease, background 0.3s ease;
}
.header.scrolled {
  top: 12px;
  padding-top: 3px;
  padding-bottom: 3px;
  background: rgba(15, 16, 22, 0.92);
}
/* Slide up out of view when scrolling down — comes back when user scrolls up */
.header {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              top 0.3s ease,
              padding 0.3s ease,
              background 0.3s ease;
}
.header.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 24px));
  pointer-events: none;
}
/* Logo sits directly in the pill — no inner box wrapper */
.header > a[aria-label="Talentmade home"] {
  display: inline-flex;
  align-items: center;
}

.nav {
  display: flex; align-items: center; gap: 36px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links > a, .nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  line-height: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active {
  color: var(--text);
  animation: navShine 3.6s ease-in-out infinite;
}
@keyframes navShine {
  0%, 100% {
    text-shadow: 0 0 0 transparent;
    color: var(--text);
  }
  50% {
    text-shadow: 0 0 18px rgba(0, 194, 255, 0.5), 0 0 4px rgba(0, 194, 255, 0.3);
    color: var(--accent);
  }
}
@keyframes logoShine {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 12px rgba(0, 194, 255, 0.55)); }
}
.header > a.is-active .tm-logo-img {
  animation: logoShine 3.6s ease-in-out infinite;
}

/* Work dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover > a::after { transform: rotate(225deg); }
.nav-dropdown::after {
  /* Invisible bridge between the Work link and the menu so cursor doesn't lose hover */
  content: '';
  position: absolute;
  top: 100%;
  left: -10px; right: -10px;
  height: 22px;
  display: none;
}
.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after { display: block; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(8, 8, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 460px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.15s ease;
}
.dropdown-menu a:hover { background: var(--surface-3); }
.dropdown-menu a .meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.dropdown-menu a.is-section-header {
  grid-column: 1 / -1;
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  pointer-events: none;
}
.dropdown-menu a.is-section-header:hover { background: transparent; }
.dropdown-menu hr {
  grid-column: 1 / -1;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 4px 0;
}
@media (max-width: 800px) {
  .dropdown-menu { display: none; }
}

.nav-cta {
  padding: 10px 18px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--r-md);
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(94, 227, 115, 0.45);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    padding: 24px var(--pad-x);
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
}

/* ========== Buttons ========== */
.btn-primary {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 194, 255, 0.22),
              0 1px 0 rgba(255, 255, 255, 0.08) inset;
  background: #1ccfff;
}
.btn-secondary {
  display: inline-block;
  padding: 14px 26px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.4s ease,
              background 0.4s ease,
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* ========== Eyebrow ========== */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--text-muted);
}
.eyebrow.green { color: var(--green); font-weight: 600; }
.eyebrow.green::before { background: var(--green); }
.eyebrow.blue { color: var(--accent); font-weight: 600; }
.eyebrow.blue::before { background: var(--accent); }

/* ========== HERO (home) — cinematic full-bleed ========== */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0, 194, 255, 0.15), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(40, 30, 20, 0.55), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #0e0e0e 50%, #050505 100%);
  /* Replace with: background-image: url('hero.jpg'); background-size: cover; background-position: center; */
}
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.85) 100%);
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 140px var(--pad-x) 60px;
  min-height: 100vh;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tagline-overlay {
  align-self: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.hero-quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: -40px;
  opacity: 0.7;
}
.hero-tagline-overlay h1 {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
}
.hero-tagline-overlay h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-transform: none;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-sub {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.4;
}
.hero-marquee {
  margin-top: 36px;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hero-marquee .marquee-track {
  animation-duration: 32s;
  gap: 0;
}
.hero-marquee .marquee-item {
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  gap: 24px;
  padding: 0 12px 0 0;
  color: var(--text-muted);
}
.hero-marquee .marquee-item::after {
  width: 4px; height: 4px;
  box-shadow: 0 0 6px var(--green-glow);
}
.hero-cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-meta-block { max-width: 280px; line-height: 1.6; }
.hero-meta-block.right { text-align: right; }

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-cue::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--green), transparent);
  display: inline-block;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-4px); opacity: 0.4; }
  50% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@media (max-width: 760px) {
  .hero-inner { padding: 120px var(--pad-x) 48px; }
  .hero-bottom-row { flex-direction: column; align-items: start; gap: 16px; }
  .hero-meta-block.right { text-align: left; }
}

/* ========== Page Hero (sub-pages) ========== */
.page-hero {
  padding: 200px var(--pad-x) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.page-hero h1 .accent,
.page-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.02em;
}
.page-hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
}
@media (max-width: 800px) {
  .page-hero { padding-top: 140px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== TAGLINE w/ blobs ========== */
.tagline-section {
  padding: 160px var(--pad-x) 120px;
  position: relative;
  overflow: hidden;
}
.tagline-headline {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(44px, 7.5vw, 108px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text);
  position: relative;
  z-index: 2;
}
/* Italic serif emphasis (replaces playful pill) */
.pill-highlight,
.tagline-headline em,
.it-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-size: 1.05em;
  padding: 0 0.05em;
  display: inline;
  background: none;
  box-shadow: none;
  transform: none;
  border-radius: 0;
  animation: none;
}

/* Blobs — kept but heavily subdued for raw editorial feel.
   Pages can still drop them in if needed; otherwise omitted. */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  opacity: 0.5;
  filter: blur(40px);
}
.blob-1 { width: 320px; height: 320px; top: 30%; left: -120px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.18), transparent 70%); }
.blob-2 { width: 220px; height: 220px; top: 55%; right: 10%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.10), transparent 70%); }
.blob-3 { width: 460px; height: 460px; top: 10%; right: -200px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.10), transparent 70%); }
.blob-4 { display: none; }
.blob-icon { display: none; }
.dot-blue,
.dot-gold { display: none; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -15px); }
}

/* ========== AUDIENCES (Who we work with) ========== */
.audiences {
  padding: 120px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.audiences-header {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.audiences-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.audiences-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
}
.audiences-sub {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
}
.audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.audience-card {
  position: relative;
  padding: 36px 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 360px;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.audience-card .audience-name em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.audience-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.audience-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 0%, rgba(94, 227, 115, 0.10), transparent 60%);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
.audience-card:hover::before { opacity: 0.7; }
.audience-card:hover::before { opacity: 1; }
.audience-card > * { position: relative; z-index: 1; }
.audience-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.audience-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.audience-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.audience-link {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}
.audience-link:hover { gap: 12px; }
.audience-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
@media (max-width: 800px) {
  .audiences-header { grid-template-columns: 1fr; }
  .audiences-grid { grid-template-columns: 1fr; }
}

/* ========== ENTRY POINTS / OFFERING ========== */
.offering {
  padding: 140px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.offering-header { text-align: center; margin-bottom: 80px; }
.offering-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 880px;
  margin: 0 auto 16px;
}
.offering-title .accent,
.offering-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.offering-sub {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.entry {
  padding: 48px 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.entry:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.entry.featured {
  border-color: rgba(94, 227, 115, 0.4);
  background: linear-gradient(180deg, rgba(94, 227, 115, 0.05), var(--surface-2));
}
.entry.featured::after {
  content: 'Most popular';
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  background: var(--green);
  padding: 4px 10px;
  border-radius: 999px;
}
.entry-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 96px;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.entry-num::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 12px;
  align-self: end;
  box-shadow: 0 0 12px var(--green-glow);
}
.entry-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.entry-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.entry-meta {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .offering-grid { grid-template-columns: 1fr; }
}

/* ========== PROCESS ========== */
.process {
  padding: 140px var(--pad-x);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-header {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px; margin-bottom: 80px; flex-wrap: wrap;
}
.process-title {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.process-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.process-sub { color: var(--text-muted); max-width: 420px; line-height: 1.6; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.step {
  padding: 28px 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--surface-3);
}
.step-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.step:hover .step-num { color: var(--green); }
.step.is-signature {
  background: linear-gradient(180deg, rgba(94, 227, 115, 0.06), var(--surface-2));
  border-color: rgba(94, 227, 115, 0.3);
}
.step.is-signature .step-num { color: var(--green); }
.step.is-signature::before {
  content: 'SIGNATURE';
  position: absolute;
  top: -1px; right: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #000;
  background: var(--green);
  padding: 3px 8px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 12px var(--green-glow);
}

/* ========== Vertical landing page (services/djs etc.) ========== */
.vertical-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: 200px var(--pad-x) 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.vertical-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #0a0a0e;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}
.vertical-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 35%, rgba(0,0,0,0.85) 100%);
}
.vertical-hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.vertical-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.9;
  font-size: clamp(56px, 10vw, 144px);
  margin: 16px 0 24px;
}
.vertical-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.vertical-hero-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.3;
  max-width: 780px;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.vertical-hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Three-up "what we deliver" grid */
.three-up {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.three-up-header { margin-bottom: 60px; }
.three-up-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}
.three-up-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
}
.three-up-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.three-up-card {
  padding: 32px 28px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.three-up-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.three-up-card-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.three-up-card-from {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.three-up-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .three-up-grid { grid-template-columns: 1fr; }
}

/* Sticky bottom CTA on mobile (vertical landing pages) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-md);
}
@media (max-width: 800px) {
  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 80px; }
}

/* FAQ rows for vertical pages — leverages existing .faq styling */

/* Track timeline */
.track-timeline {
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.track-timeline-header {
  margin-bottom: 60px;
}
.track-timeline-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4vw, 56px);
}
.track-timeline-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
}
.track-timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.track-timeline-grid::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--accent));
  opacity: 0.5;
}
.track-month {
  position: relative;
  padding-top: 40px;
}
.track-month::before {
  content: '';
  position: absolute;
  top: 12px; left: 0;
  width: 14px; height: 14px;
  background: var(--surface-2);
  border: 2px solid var(--green);
  border-radius: 50%;
  z-index: 1;
}
.track-month-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 4px;
}
.track-month-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.track-month-deliverable {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
@media (max-width: 800px) {
  .track-timeline-grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .track-timeline-grid::before { display: none; }
}
@media (max-width: 500px) {
  .track-timeline-grid { grid-template-columns: 1fr 1fr; }
}

/* Founder strip */
.founder-strip {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.founder-photo {
  aspect-ratio: 4/5;
  background-color: #06070d;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
/* Founder photos — layered editorial composition.
   Primary photo is large and dominant; secondary photo overlaps from the bottom-right
   with a thin page-color frame, so they read as one composition not two thumbnails. */
.founder-photos-pair {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1.08;
}
.founder-photo-card {
  position: absolute;
  background-color: #0a0c14;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 14px;
  overflow: hidden;
}
.founder-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, transparent 55%, rgba(6, 7, 13, 0.45) 100%),
    linear-gradient(180deg, transparent 60%, rgba(6, 7, 13, 0.5) 100%);
  pointer-events: none;
}
.founder-photos-pair .founder-photo-card:nth-child(1) {
  top: 0;
  left: 0;
  width: 76%;
  height: 82%;
  z-index: 1;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.founder-photos-pair .founder-photo-card:nth-child(2) {
  bottom: 0;
  right: 0;
  width: 58%;
  height: 62%;
  z-index: 2;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 0 8px #06070d;
}
@media (max-width: 800px) {
  .founder-photos-pair { max-width: 460px; margin: 0 auto; }
}

/* Founder intro line — italic Fraunces lead-in instead of a big H2 */
.founder-intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4;
  color: var(--text);
  margin: 18px 0 22px;
}
.founder-content h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.98;
  margin-bottom: 24px;
}
.founder-content h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--accent);
}
.founder-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.founder-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
}
.founder-content a:hover { gap: 12px; }
.founder-content a::after { content: '→'; }
@media (max-width: 800px) { .founder-strip { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing teaser strip */
.pricing-teaser {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.pricing-teaser-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-teaser-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.98;
}
.pricing-teaser-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--green);
}
.pricing-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pricing-teaser-item {
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease;
}
.pricing-teaser-item:hover { border-color: var(--line-strong); }
.pricing-teaser-item .module {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.pricing-teaser-item .price {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-teaser-item .price-from {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
@media (max-width: 800px) { .pricing-teaser-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .pricing-teaser-grid { grid-template-columns: 1fr; } }
.step-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ========== TRUST / VALUE PROPS ========== */
.trust {
  padding: 140px var(--pad-x);
  max-width: var(--max-w); margin: 0 auto;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(94, 227, 115, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.trust-card:hover::before { opacity: 1; }
.trust-card:hover { border-color: var(--line-strong); }
.trust-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(94, 227, 115, 0.10);
  border: 1px solid rgba(94, 227, 115, 0.32);
  border-radius: var(--r-md);
  margin-bottom: 24px;
  color: var(--green);
}
.trust-card.blue .trust-icon {
  background: rgba(0, 194, 255, 0.12);
  border-color: rgba(0, 194, 255, 0.3);
  color: var(--accent);
}
.trust-card.blue::before {
  background: radial-gradient(circle at 50% -20%, rgba(0,194,255,0.12), transparent 60%);
}
.trust-card.blue:hover { border-color: rgba(0, 194, 255, 0.3); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.trust-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ========== WORK CARDS ========== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.work-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.work-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,194,255,0.25), transparent 60%),
    linear-gradient(135deg, #0a1822, #050a10);
}
.work-cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.7;
}
.work-cover-label {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.work-cover-title {
  position: absolute;
  bottom: 20px; left: 24px; right: 24px;
  z-index: 1;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.work-meta {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.work-tag-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.work-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.work-tag.accent { color: var(--green); border-color: rgba(94, 227, 115, 0.32); background: rgba(94, 227, 115, 0.06); font-weight: 700; }
.work-blurb {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 800px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ========== WATCH (giant text) ========== */
.watch {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.watch-prompt {
  max-width: 480px;
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.watch-prompt a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.watch-giant {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(140px, 36vw, 600px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  text-stroke: 1px var(--accent);
  text-align: center;
  white-space: nowrap;
  position: relative;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.watch-giant::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 80%; height: 40%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.watch-keep {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: -40px;
  padding-bottom: 60px;
}

/* ========== CTA ========== */
.cta {
  padding: 120px var(--pad-x);
  max-width: var(--max-w); margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-headline {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.cta-headline .accent,
.cta-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== Footer ========== */
.footer {
  padding: 80px var(--pad-x) 40px;
  border-top: 1px solid var(--line);
  max-width: var(--max-w); margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-block .tm-logo { margin-bottom: 16px; }
.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand-block { grid-column: 1 / -1; }
}

/* ========== Reveal animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== SERVICES PAGE ========== */
.discipline {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.discipline-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.discipline-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.discipline-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.discipline-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.discipline-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* Helper line that sits above each module grid */
.module-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 22px;
}
.module-hint-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  flex-shrink: 0;
}
.module-hint-mark::after {
  content: '';
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(45deg);
  margin-top: -2px;
}

.module {
  padding: 24px 52px 24px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.3s ease,
              border-color 0.3s ease,
              background 0.3s ease;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  cursor: pointer;
  user-select: none;
}
.module:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--surface-3);
}
.module::after {
  content: '';
  position: absolute;
  top: 18px; right: 18px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  transition: all 0.3s ease;
}
.module.is-selected {
  border-color: var(--green);
  background: rgba(94, 227, 115, 0.06);
}
.module.is-selected::after {
  background: transparent;
  border-color: var(--green);
}
.module.is-selected::before {
  content: '';
  position: absolute;
  top: 22px; right: 26px;
  width: 5px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Floating selection bar — slides in from bottom when count > 0 */
.selection-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, calc(100% + 40px));
  z-index: 80;
  background: rgba(15, 16, 22, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
  opacity: 0;
}
.selection-bar.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.selection-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.selection-count {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}
.selection-count strong {
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  margin-right: 2px;
}
.selection-clear {
  background: transparent;
  border: 0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.selection-clear:hover { color: var(--text); }
.selection-bar .btn-primary {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 10px;
}
@media (max-width: 600px) {
  .selection-bar { left: 16px; right: 16px; transform: translateY(calc(100% + 40px)); }
  .selection-bar.is-visible { transform: translateY(0); }
  .selection-bar-inner { gap: 10px; padding-right: 4px; }
  .selection-bar .btn-primary { padding: 10px 14px; font-size: 12px; }
}

/* Contact page — selected services chip block */
.contact-selections {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  border-radius: 12px;
  background: rgba(0, 194, 255, 0.04);
}
.contact-selections-label {
  display: block;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-selections .selection-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.selection-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.module-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.module-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 800px) {
  .discipline-header { grid-template-columns: 1fr; gap: 24px; }
  .module-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .module-grid { grid-template-columns: 1fr; }
}

/* ========== TRACKS ========== */
.tracks {
  padding: 140px var(--pad-x);
  max-width: var(--max-w); margin: 0 auto;
}
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.track-card {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.track-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.track-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--accent-mint), var(--accent));
}
.track-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 4px;
  margin-bottom: 8px;
}
.track-target {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}
.track-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.track-includes {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.track-includes li {
  font-size: 13px;
  color: var(--text);
  display: flex; align-items: start; gap: 10px;
  line-height: 1.5;
}
.track-includes li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 8px var(--green-glow);
}
@media (max-width: 900px) {
  .tracks-grid { grid-template-columns: 1fr; }
}

/* ========== ABOUT PAGE ========== */
.story {
  padding: 100px var(--pad-x);
  max-width: 920px;
  margin: 0 auto;
}
.story-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.story-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 48px;
}
.story-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.story-body p:first-of-type::first-line {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.story-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.story-body p strong { color: var(--text); font-weight: 600; }

.values {
  padding: 100px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.value-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 16px;
}
.value-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }

.roadmap {
  padding: 100px var(--pad-x) 140px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.roadmap-col {
  padding: 32px 28px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
}
.roadmap-quarter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 6px;
}
.roadmap-phase {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.roadmap-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.roadmap-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex; align-items: start; gap: 10px;
  line-height: 1.5;
}
.roadmap-list li::before {
  content: '→';
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
}
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
  padding: 60px var(--pad-x) 140px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px;
}
.form-row {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.form-row label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-row input,
.form-row textarea,
.form-row select {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea {
  min-height: 140px;
  resize: vertical;
}
.form-actions {
  margin-top: 8px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.form-note {
  font-size: 12px;
  color: var(--text-dim);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-side h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact-side p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 15px;
}
.contact-channels {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-channel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex; align-items: center; gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-channel:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.contact-channel-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(94, 227, 115, 0.10);
  border: 1px solid rgba(94, 227, 115, 0.32);
  border-radius: var(--r-md);
  color: var(--green);
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 20px; height: 20px; }
.contact-channel-label { font-size: 11px; color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; }
.contact-channel-value { font-size: 14px; color: var(--text); font-weight: 500; }
@media (max-width: 900px) {
  .contact-form-wrap { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ========== FAQ ========== */
.faq {
  padding: 120px var(--pad-x);
  max-width: 920px;
  margin: 0 auto;
}
.faq-header { margin-bottom: 60px; }
.faq-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.faq-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--text-muted); }
.faq-q-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease, border-color 0.2s ease;
  color: var(--text-muted);
}
.faq-item.is-open .faq-q-icon {
  transform: rotate(45deg);
  border-color: var(--green);
  color: var(--green);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.is-open .faq-a {
  max-height: 400px;
  padding: 0 0 24px;
}

/* ============================================================================
   RESPONSIVE ENHANCEMENTS — smartphone → 4K
   ============================================================================
   Layered breakpoints that fine-tune type, container width and padding for
   every common viewport class. Goes at the end of the stylesheet so it
   overrides anything earlier where needed.
   ========================================================================= */

/* Prevent horizontal scroll on any element overshooting the viewport.
   Use max-width on body (not overflow-x: hidden on html) so that
   position: sticky on .about-story-photos keeps working. */
body { max-width: 100vw; overflow-x: clip; }

/* iPhone notch / home-indicator safe area */
body { padding-bottom: env(safe-area-inset-bottom, 0); }

/* ──────────────────────────────────────────────────────────────────────────
   TINY PHONES (iPhone SE, 320–380px)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 380px) {
  :root { --pad-x: 16px; }
  body { font-size: 16px; }
  .hero-tagline-overlay h1 { font-size: clamp(32px, 12vw, 42px); }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 14px; }
  .case-hero-title { font-size: clamp(40px, 12vw, 56px) !important; }
}

/* ──────────────────────────────────────────────────────────────────────────
   STANDARD PHONES (≤480px)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .stats-row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .stack-counter, .stack-hint { display: none !important; }
  .selection-bar { left: 12px; right: 12px; bottom: 12px; padding: 6px 6px 6px 16px; }
  .selection-bar .btn-primary { padding: 8px 12px; font-size: 11px; }
  /* Touch targets — make sure buttons/links are at least 44px tall on phones */
  .nav-cta { padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-actions .btn-primary { width: 100%; text-align: center; }
}

/* ──────────────────────────────────────────────────────────────────────────
   SMALL TABLET / LARGE PHONE (481–767px)
   Most existing 600/700px breakpoints cover this — defensive tweaks only.
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 481px) and (max-width: 767px) {
  .thanks-hero-meta { gap: 18px 28px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   iPAD / LARGE TABLET (768–1024px)
   In-between zone. Mobile nav still on (cuts at 800px), some grids
   benefit from 2-col layout, content padding eases up.
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --pad-x: clamp(28px, 3.5vw, 56px); }
  /* iPad in landscape gets a 2-column feel where 3-col is too cramped */
  .audiences-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────────────────────────────────────
   13" LAPTOP (1280–1440px) — uses default --max-w: 1280px
   15-16" LAPTOP (1440–1680px) — same
   No tweaks needed; defaults work.
   ────────────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────────────
   LARGE DESKTOP MONITOR (1680–1920px)
   Bump container width so the design uses the extra space.
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 1680px) {
  :root { --max-w: 1440px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   FULL HD+ / 2K (1920–2559px)
   Scale up containers + base type. Hero gets noticeably bigger.
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 1920px) {
  :root {
    --max-w: 1560px;
    --pad-x: clamp(48px, 4vw, 80px);
  }
  body { font-size: 19px; }
  .hero-tagline-overlay h1 { font-size: clamp(72px, 9vw, 168px); }
  .case-hero-title { font-size: clamp(80px, 10vw, 168px); }
}

/* ──────────────────────────────────────────────────────────────────────────
   2.5K / WIDE DESKTOP (2560–3439px)
   Including most ultrawides. Cap content so it doesn't stretch endlessly.
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 2560px) {
  :root {
    --max-w: 1760px;
    --pad-x: clamp(64px, 3.5vw, 120px);
  }
  body { font-size: 20px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   ULTRAWIDE / 3.5K (3440–3839px)
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 3440px) {
  :root { --max-w: 2000px; }
  body { font-size: 21px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   4K MONITOR / TV (3840px+)
   ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 3840px) {
  :root { --max-w: 2240px; }
  body { font-size: 22px; }
}

/* ============================================================================
   MOBILE HOMEPAGE HERO FIXES
   Specifically targeting the "Your talent. Our mission." h1 visibility issue.
   ============================================================================ */

/* Modern viewport units — 100svh respects mobile URL bar, 100dvh follows scroll.
   Falls back to 100vh on older browsers. */
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
  .hero-inner { min-height: 100svh; }
}

/* Mobile-specific homepage hero re-layout */
@media (max-width: 760px) {
  .hero { min-height: 92svh; min-height: 92vh; }
  .hero-inner {
    padding: 96px var(--pad-x) 40px;
    min-height: 92svh; min-height: 92vh;
    grid-template-rows: auto 1fr;
    gap: 24px;
  }
  /* Pull rotating badge to top-right, smaller scale */
  .hero-brand { align-self: end; }
  .rotating-badge { width: 84px; height: 84px; }
  .rotating-badge .badge-core { width: 28px; height: 28px; }
  .rotating-badge .badge-core svg { width: 12px; height: 12px; }

  /* Hero tagline: more breathing room, headline a touch tighter */
  .hero-tagline-overlay {
    padding: 16px 0 0;
    text-align: left;
    align-self: center;
  }
  .hero-tagline-overlay h1 {
    font-size: clamp(44px, 11vw, 64px);
    line-height: 0.95;
  }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary { text-align: center; width: 100%; }
  .hero-marquee { margin-top: 24px; }
}

/* Tiny phones (≤380px) — give the h1 even more room */
@media (max-width: 380px) {
  .hero-inner { padding-top: 84px; gap: 18px; }
  .rotating-badge { width: 72px; height: 72px; }
  .hero-tagline-overlay h1 { font-size: clamp(40px, 12vw, 54px); }
}

/* Make sure the splash never sticks on mobile if a script glitch keeps it.
   After 7s on any device, force-hide. (Belt-and-braces beyond the 6s JS fail-safe.) */
.splash { animation: splashKill 0.01s linear 7s forwards; }
@keyframes splashKill {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Reveal: shorter distance on mobile so the animation lands faster and the
   user actually sees the h1 settle into place, not stuck mid-fade. */
@media (max-width: 760px) {
  .reveal { transform: translateY(10px); transition-duration: 0.5s; }
}

/* ============================================================================
   TOUCH-DEVICE FALLBACKS for animations that originally needed hover.
   ============================================================================ */

/* On phones the parallax-tilt + cursor effects are off (correct), but we DO
   want the badge spin and reveal fade-ins to feel alive. Force re-enable
   for transform-based keyframe animations even if @media (hover: none). */
@media (hover: none) {
  .rotating-badge svg { animation: badgeRotate 18s linear infinite !important; }
  .splash-logo { animation: splashLogoIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
                            splashLogoPulse 2.6s ease-in-out 1.2s infinite !important; }
  .reveal { transition: opacity 0.5s ease, transform 0.5s ease !important; }
}

/* ============================================================================
   MOBILE HERO — FULL REWRITE
   Replaces the desktop grid layout with a clean flex column so the h1,
   CTAs and marquee always sit perfectly inside the viewport.
   ============================================================================ */

@media (max-width: 760px) {
  /* ---- Hero shell ---- */
  .hero {
    min-height: 100svh;
    min-height: 100vh; /* fallback */
    overflow: hidden;
  }

  /* Override the grid layout from desktop with a simple flex column */
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-rows: none !important;
    min-height: 100svh;
    min-height: 100vh;
    padding: 88px 20px 32px !important;
    gap: 28px !important;
  }

  /* Rotating badge — top, centered (override inline style with !important) */
  .hero-brand {
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0 auto !important;
    flex-shrink: 0;
  }
  .rotating-badge {
    width: 96px !important;
    height: 96px !important;
  }
  .rotating-badge .badge-core {
    width: 32px !important;
    height: 32px !important;
  }

  /* Tagline overlay — centered, fills remaining vertical space */
  .hero-tagline-overlay {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* h1 sized to fit the viewport with comfortable line-height */
  .hero-tagline-overlay h1 {
    font-size: clamp(42px, 11vw, 60px) !important;
    line-height: 1.0 !important;
    margin: 0 0 24px !important;
    text-align: center !important;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .hero-tagline-overlay h1 em {
    display: inline;
  }

  /* CTAs stacked, full-width tap targets */
  .hero-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: 320px;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    font-size: 15px;
  }

  /* Marquee — compact, full-width */
  .hero-marquee {
    margin-top: 28px !important;
    width: 100%;
  }

  /* Hide the bottom-row meta on phones (Personal Branding / Scroll / Amsterdam) */
  .hero-bottom-row {
    display: none !important;
  }
}

/* Tiny phones (≤380px) — one more notch tighter */
@media (max-width: 380px) {
  .hero-inner { padding-top: 78px !important; gap: 22px !important; }
  .rotating-badge { width: 82px !important; height: 82px !important; }
  .hero-tagline-overlay h1 { font-size: clamp(36px, 11.5vw, 52px) !important; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary { font-size: 14px; padding: 13px 18px; }
}

/* Small tablet (481-767px) — show the bottom-row compact horizontal */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-bottom-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: end !important;
    gap: 16px;
    font-size: 10px;
    margin-top: 24px;
  }
  .hero-meta-block { font-size: 10px; line-height: 1.5; }
  .hero-meta-block.right { text-align: right !important; }
  .hero-scroll-cue { font-size: 9px; }
}

/* ============================================================================
   TABLET + MEDIUM DEVICE FIX
   The mobile flex-column hero now covers everything up to 1100px so iPad Mini,
   iPad Air, iPad Pro portrait, Surface Pro 7, Zenbook Fold, Nest Hub all get
   the clean centred layout. The desktop grid only kicks in at 1101px+.
   ============================================================================ */

@media (max-width: 1100px) {
  /* ---- Hero shell ---- */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    overflow: hidden;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-rows: none !important;
    min-height: 100svh;
    min-height: 100vh;
    padding: 96px var(--pad-x) 40px !important;
    gap: 32px !important;
  }

  /* Rotating badge — centered top */
  .hero-brand {
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0 auto !important;
    flex-shrink: 0;
  }
  .rotating-badge {
    width: clamp(84px, 10vw, 120px) !important;
    height: clamp(84px, 10vw, 120px) !important;
  }
  .rotating-badge .badge-core {
    width: clamp(28px, 3.4vw, 40px) !important;
    height: clamp(28px, 3.4vw, 40px) !important;
  }

  /* Tagline overlay — centered, full width */
  .hero-tagline-overlay {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* h1 — fluid from 42 → 86 across all medium devices */
  .hero-tagline-overlay h1 {
    font-size: clamp(42px, 8vw, 86px) !important;
    line-height: 1.0 !important;
    margin: 0 0 28px !important;
    text-align: center !important;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .hero-tagline-overlay h1 em { display: inline; }

  /* CTAs — full-width stacked on phones, horizontal on tablets */
  .hero-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: 320px;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    font-size: 15px;
  }

  /* Marquee */
  .hero-marquee {
    margin-top: 28px !important;
    width: 100%;
  }

  /* Bottom row hidden on small screens (Personal Branding / Scroll / Amsterdam) */
  .hero-bottom-row { display: none !important; }
}

/* On tablet 600-1100px, allow CTAs to stay horizontal — more screen space */
@media (min-width: 600px) and (max-width: 1100px) {
  .hero-cta-row {
    flex-direction: row !important;
    align-items: center !important;
    max-width: 100%;
    justify-content: center;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: auto;
  }
}

/* ============================================================================
   LANGUAGE SWITCHER — circular flag button + dropdown
   ============================================================================ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
  position: relative;
}
.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}
.lang-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.lang-flag {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Dropdown menu */
.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 168px;
  background: rgba(15, 16, 22, 0.96);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-switcher.is-open .lang-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.lang-menu button {
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background 0.15s ease;
}
.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.lang-menu button.is-active {
  color: var(--accent);
}
.lang-menu button.is-active::after {
  content: '✓';
  margin-left: auto;
  color: var(--green);
  font-weight: 700;
}
.lang-menu .lang-flag {
  width: 22px;
  height: 22px;
}

/* Mobile — sit before the burger toggle, keep it compact */
@media (max-width: 800px) {
  .lang-toggle { width: 30px; height: 30px; }
  .lang-flag { width: 28px; height: 28px; }
  .lang-menu { right: -8px; min-width: 160px; }
}
