/* =========================================================
   Storyteller Media Team — landing page
   Brand: red #ED1C24 · ink #141414 · cream #F2EDE4
   ========================================================= */

:root {
  /* brand */
  --red: #ED1C24;          /* logo red: display type, accents, borders */
  --red-ink: #B3121A;      /* red for small text on cream (AA 5.9:1) */
  --red-hover: #B3121A;
  --red-btn: #E01B22;      /* button red: white text 4.8:1 (AA) */

  /* neutrals */
  --ink: #141414;
  --ink-2: #1E1E1E;
  --cream: #F2EDE4;
  --cream-2: #E9E2D6;
  --paper: #FBF8F3;
  --text: #141414;
  --text-muted: #5C564E;   /* 6.3:1 on cream */
  --line: #D8D0C3;
  --on-dark: #F5F1EA;
  --on-dark-muted: #B9B2A7;

  /* type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-lg: 0 40px 80px -24px rgba(20, 20, 20, .45), 0 12px 24px -12px rgba(20, 20, 20, .25);
  --shadow-md: 0 18px 40px -20px rgba(20, 20, 20, .35);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--red-ink);
  margin-bottom: var(--s3);
}
.eyebrow-light { color: #FF6B70; } /* 5.6:1 on ink */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.display .accent { color: var(--red); }
.display-sm { font-size: clamp(36px, 5vw, 64px); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lede { font-size: 19px; color: var(--text-muted); max-width: 34ch; margin-top: var(--s3); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--h); padding: 0 28px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn-lg { --h: 64px; padding: 0 40px; font-size: 15px; }

.btn-primary { background: var(--red-btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(224, 27, 34, .7); }
.btn-primary:hover { background: var(--red-hover); }
.btn-sm { --h: 46px; padding: 0 22px; font-size: 13px; }

.btn-outline { --h: 46px; color: #fff; border-color: var(--red); padding: 0 22px; font-size: 13px; }
.btn-outline:hover { background: var(--red-hover); border-color: var(--red-hover); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.brand img { width: 172px; height: auto; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid {
  display: grid; gap: var(--s5);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
}
.hero-copy .btn { margin-top: var(--s5); }

.stats {
  display: grid; grid-template-columns: repeat(3, max-content); gap: var(--s3) clamp(28px, 4vw, 56px);
  margin-top: var(--s6); padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.stat dt {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat dd {
  margin-top: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); line-height: 1.7;
  max-width: 17ch;
}


.hero-media figcaption,
.video-grid figcaption {
  margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}

/* ---------- video cards ---------- */
.video-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.video-wide { aspect-ratio: 16 / 9; }
.video-tall { aspect-ratio: 9 / 16; box-shadow: var(--shadow-md); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  width: 100%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35));
  transition: background-color .2s var(--ease-out);
}
.video-card .play svg {
  width: 76px; height: 76px; padding: 22px 20px 22px 24px;
  border-radius: 50%;
  background: var(--red); fill: #fff;
  box-shadow: 0 10px 30px rgba(237, 28, 36, .45);
  transition: transform .25s var(--ease-out);
}
.video-wide .play { place-items: end start; padding: 20px; }
.video-wide .play::after {
  content: "Watch the story"; position: absolute; left: 92px; bottom: 44px;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.video-wide .play svg { width: 60px; height: 60px; padding: 17px 15px 17px 19px; }
.video-tall .play svg { width: 60px; height: 60px; padding: 17px 15px 17px 19px; }
.video-card .play:hover svg { transform: scale(1.08); }
.video-card.is-playing .play { display: none; }

/* ---------- team ---------- */
.team { padding-top: clamp(64px, 8vw, 104px); text-align: center; }
.team-line { font-size: 17px; color: var(--text-muted); letter-spacing: -.01em; }
.team-row {
  display: flex; justify-content: center; align-items: flex-end;
  margin-top: var(--s4);
  padding-inline: 4%;
}
.headshot {
  width: clamp(170px, 21vw, 280px); aspect-ratio: 600 / 423; height: auto;
  object-fit: contain; object-position: bottom center;
  margin-inline: calc(clamp(170px, 21vw, 280px) * -0.2);
  position: relative;
}
.headshot:nth-child(1), .headshot:nth-child(6) { z-index: 1; }
.headshot:nth-child(2), .headshot:nth-child(5) { z-index: 2; }
.headshot-lead { z-index: 3; width: clamp(200px, 25vw, 320px) !important; }
/* placeholder until real headshots are added */
.headshot.is-placeholder {
  background:
    radial-gradient(circle at 50% 36%, #D3CABB 0 21%, transparent 21.5%),
    radial-gradient(ellipse 46% 40% at 50% 100%, #D3CABB 0 99%, transparent 100%);
}
.follow {
  display: inline-flex; align-items: center; gap: var(--s1);
  margin: var(--s4) 0 0;
  padding-bottom: var(--s7);
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted);
}
.follow span { margin-right: var(--s1); }
.follow a, .footer-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); border: 1.5px solid var(--line);
  transition: color .2s, border-color .2s, background-color .2s;
}
.follow a:hover { border-color: var(--red); color: var(--red-ink); }
.follow svg, .footer-social svg, .footer-contact svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
svg .fill { fill: currentColor; stroke: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 10vw, var(--s8)); }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark .section-sub, .section-dark figcaption { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-sub { margin-top: var(--s2); color: var(--text-muted); font-size: 18px; }

/* ---------- results ---------- */
#results { border-top: 1px solid var(--line); }
.results-grid {
  display: grid; gap: var(--s3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.result {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3);
  overflow: hidden;
}
.result:nth-child(1), .result:nth-child(2) { grid-column: span 2; }
.result-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.result-num small { font-size: .45em; letter-spacing: -.01em; font-weight: 800; color: var(--text-muted); }
.result-num .arrow { color: var(--red); }
.result p { margin-top: 10px; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.result p strong { color: var(--text); }
.result img {
  margin-top: var(--s3);
  border-radius: var(--radius-sm);
  width: 100%;
  margin-top: auto;
  padding-top: var(--s3);
}
.result-tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s5); padding: var(--s4) var(--s4);
  border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.inline-cta p { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.15; }

/* ---------- booking ---------- */
.booking { background: var(--ink); color: var(--on-dark); position: relative; }
.booking::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red);
}
.booking-grid {
  display: grid; gap: var(--s6);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
}
.booking-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.checklist { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2); }
.checklist li { position: relative; padding-left: 36px; color: var(--on-dark); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 9px;
  width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.booking-alt { margin-top: var(--s5); color: var(--on-dark-muted); font-size: 15px; }
.booking-alt a { color: var(--on-dark); text-underline-offset: 3px; }
.booking-embed {
  background: #fff; color: var(--text);
  border-radius: var(--radius);
  padding: var(--s1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.booking-embed iframe { display: block; width: 100%; min-height: 720px; border: 0; overflow: hidden; border-radius: var(--radius-sm); }
.embed-fallback { padding: 12px 16px 8px; font-size: 14px; color: var(--text-muted); text-align: center; }
.embed-fallback a { color: var(--red-ink); font-weight: 600; }

/* ---------- video grids ---------- */
.video-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid figcaption span {
  display: block; margin-top: 4px; font-size: 12px; letter-spacing: .14em; color: var(--red-ink);
}
.section-dark .video-grid figcaption { color: var(--on-dark); }
.section-dark .video-grid figcaption span { color: #FF6B70; }
#testimonials .video-grid { max-width: 960px; }

/* ---------- reviews ---------- */
.reviews { columns: 3 300px; column-gap: var(--s3); }
.review {
  break-inside: avoid; margin: 0 0 var(--s3);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4);
}
.stars { color: var(--red); letter-spacing: 3px; font-size: 18px; }
.review p { margin-top: var(--s2); font-size: 16px; line-height: 1.65; }
.review footer { margin-top: var(--s3); font-weight: 700; font-size: 15px; }
.review footer span { display: block; font-weight: 500; color: var(--text-muted); font-size: 14px; }

/* ---------- DMs ---------- */
.dm-grid { columns: 3 260px; column-gap: var(--s3); }
.dm { break-inside: avoid; margin-bottom: var(--s4); }
.dm img { width: 100%; border-radius: 14px; background: #000; box-shadow: var(--shadow-md); }
.dm figcaption { margin-top: 12px; font-size: 15px; color: var(--text-muted); }
.dm figcaption strong { color: var(--text); }

/* ---------- field strip ---------- */
.field .section-head { margin-bottom: var(--s5); }
.field-strip {
  display: flex; gap: var(--s2);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0 24px var(--s2); scroll-padding-inline: 24px;
  scrollbar-width: thin;
}
@media (min-width: 1248px) { .field-strip { padding-left: calc((100vw - var(--container)) / 2 + 24px); scroll-padding-left: calc((100vw - var(--container)) / 2 + 24px); } }
.field-strip img {
  height: clamp(280px, 34vw, 420px); width: auto; flex: none;
  border-radius: var(--radius); object-fit: cover; scroll-snap-align: start;
}

/* ---------- final CTA ---------- */
.final-cta { text-align: center; border-top: 1px solid var(--line); }
.final-cta .display { max-width: 16ch; margin-inline: auto; }
.final-cta .btn { margin-top: var(--s5); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: var(--s6); }
.footer-grid {
  display: grid; gap: var(--s4); align-items: start;
  grid-template-columns: 1.4fr 1fr auto;
  padding-bottom: var(--s5);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { width: 200px; }
.footer-tag { margin-top: var(--s2); font-size: 15px; max-width: 32ch; }
.footer-contact { display: grid; gap: var(--s1); }
.footer-contact a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  color: var(--on-dark); text-decoration: none; font-size: 15px;
}
.footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; gap: var(--s1); }
.footer-social a { color: var(--on-dark); border-color: rgba(255,255,255,.2); }
.footer-social a:hover { background: var(--red-hover); border-color: var(--red-hover); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2);
  padding-block: var(--s3); font-size: 14px;
}
.footer-book { color: var(--on-dark); font-weight: 600; text-decoration: none; }
.footer-book:hover { color: #fff; text-decoration: underline; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-media { max-width: 760px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .booking-copy { position: static; }
  .video-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  :root { --header-h: 64px; }
  .brand img { width: 140px; }
  .btn-sm { --h: 44px; padding: 0 16px; font-size: 12px; letter-spacing: .14em; }
  .btn-lg { --h: 58px; width: 100%; }
  .lede { font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); margin-top: var(--s5); }
  .stat:last-child { grid-column: 1 / -1; }
  .team-row { padding-inline: 0; }
  .headshot { width: 28% !important; margin-inline: -6%; }
  .headshot-lead { width: 33% !important; }
  .results-grid { grid-template-columns: 1fr; }
  .result:nth-child(1), .result:nth-child(2) { grid-column: auto; }
  .inline-cta { padding: var(--s3); }
  .inline-cta .btn { width: 100%; }
  .booking-embed { padding: 4px; margin-inline: -8px; }
  .video-grid, .video-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .video-grid figcaption { font-size: 11px; letter-spacing: .08em; }
  .field-strip { padding-inline: 16px; scroll-padding-inline: 16px; }
  .dm-grid { columns: 2; column-gap: 12px; }
  .dm { margin-bottom: var(--s3); }
  .dm figcaption { font-size: 13px; }
  .reviews { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

