/* storytelling.com — site styles */
:root {
  --bg: #0e0c0a;
  --panel: #171310;
  --panel-deep: #0b0908;
  --ink: #f5efe6;
  --soft: #cfc6b8;
  --muted: #a89e90;
  --faint: #6f665a;
  --line: rgba(245, 239, 230, 0.08);
  --line-strong: rgba(245, 239, 230, 0.12);
  --amber: #e8a33d;
  --amber-soft: rgba(232, 163, 61, 0.35);
  --teal: #5BC8C0;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: #f0b95e; }

.container { max-width: 1296px; margin: 0 auto; padding: 0 40px; }
.serif { font-family: var(--serif); }

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(14, 12, 10, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; max-width: 1296px; margin: 0 auto; }
.wordmark { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.wordmark span { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); font-size: 22px; line-height: 1; padding: 8px 12px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--amber); color: #171310 !important; padding: 15px 30px; border-radius: 4px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; font-family: var(--sans); text-align: center; }
.btn:hover { background: #f0b95e; }
.btn-sm { padding: 12px 24px; font-size: 15px; }
.btn-outline { display: inline-block; border: 1px solid rgba(245, 239, 230, 0.25); color: var(--ink) !important; padding: 14px 28px; border-radius: 4px; font-size: 16px; font-weight: 500; text-align: center; }
.btn-outline:hover { border-color: rgba(245, 239, 230, 0.5); }
.btn-teal { display: inline-block; background: var(--teal); color: #0e1414 !important; padding: 15px 30px; border-radius: 4px; font-size: 16px; font-weight: 600; text-align: center; }
.btn-teal:hover { background: #74d6cf; }
.btn-teal-outline { display: inline-block; border: 1px solid rgba(91, 200, 192, 0.55); color: var(--teal) !important; padding: 14px 28px; border-radius: 4px; font-size: 16px; font-weight: 500; text-align: center; }
.btn-teal-outline:hover { border-color: var(--teal); }
.btn[disabled], .btn-teal.is-disabled { cursor: default; opacity: 0.9; }
.btn-teal.is-disabled:hover { background: var(--teal); }
.soon-pill { background: rgba(14, 20, 20, 0.28); color: #0e1414; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 12px; vertical-align: 2px; white-space: nowrap; }

/* ---------- Type ---------- */
.kicker { color: var(--amber); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker.teal { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(30px, 3.4vw, 40px); }
.lead { color: var(--muted); font-size: 19px; line-height: 1.6; }

/* ---------- Layout blocks ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-2 { grid-template-columns: 1fr 1.2fr; align-items: start; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Hero ---------- */
.hero { display: flex; gap: 64px; align-items: center; padding: 80px 0 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; flex: 0 0 46%; }
.hero-media { flex: 1 1 auto; min-width: 0; }
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.video-frame { position: relative; display: block; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: var(--panel); }
.video-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-frame .scrim { position: absolute; inset: 0; background: rgba(14, 12, 10, 0.22); }
.play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(232, 163, 61, 0.95); display: flex; align-items: center; justify-content: center; transition: transform 0.15s ease; }
.video-frame:hover .play-badge { transform: translate(-50%, -50%) scale(1.06); }
.caption { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 40px; color: var(--amber); }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Doors / cards ---------- */
.door { display: flex; flex-direction: column; overflow: hidden; }
.door-img { position: relative; height: 190px; overflow: hidden; }
.door-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 30px 30px; flex-grow: 1; }
.door-body h3 { font-size: 28px; }
.door-body p { color: var(--muted); font-size: 15px; margin: 0; flex-grow: 1; }
.mini-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.mini-kicker.teal { color: var(--teal); }

/* ---------- Quotes ---------- */
.quote-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px; }
.quote-card .qmark { font-family: var(--serif); font-size: 40px; line-height: 0.6; color: var(--amber); }
.quote-card blockquote { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; margin: 0; flex-grow: 1; }
.quote-card cite { color: var(--muted); font-size: 13.5px; font-style: normal; }

/* Carousel */
.carousel { display: flex; align-items: center; justify-content: center; gap: 32px; max-width: 1160px; margin: 0 auto; }
.carousel-stage { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; flex-grow: 1; min-height: 250px; justify-content: center; }
.carousel-stage .bigq { font-family: var(--serif); font-size: 110px; line-height: 0.3; height: 34px; color: var(--amber); }
.carousel-quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; max-width: 880px; text-wrap: balance; margin: 0; }
.carousel-who { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--amber-soft); border-radius: 999px; padding: 9px 20px; color: var(--soft); font-size: 14.5px; font-weight: 500; }
.carousel-who::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.carousel-counter { color: var(--faint); font-size: 13px; letter-spacing: 0.1em; }
.carousel-arrow { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(232, 163, 61, 0.45); background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-arrow:hover { border-color: var(--amber); }

/* Logo strips */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 64px; row-gap: 32px; }
.logo-strip img { opacity: 0.9; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; background: transparent; border: 1px solid rgba(245, 239, 230, 0.15); border-radius: 4px;
  padding: 13px 16px; color: var(--ink); font-size: 15px; font-family: var(--sans);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--amber-soft); }
textarea { resize: vertical; min-height: 110px; }
.pill-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-choices label { border: 1px solid rgba(245, 239, 230, 0.2); color: var(--soft); border-radius: 999px; padding: 9px 20px; font-size: 14.5px; cursor: pointer; user-select: none; }
.pill-choices input { position: absolute; opacity: 0; pointer-events: none; }
.pill-choices label:has(input:checked) { background: rgba(232, 163, 61, 0.14); border-color: var(--amber); color: var(--amber); font-weight: 600; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; max-width: 1296px; margin: 0 auto; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.copyright { color: var(--faint); font-size: 14px; }

/* ---------- Page-specific helpers ---------- */
.poster-card { display: flex; overflow: hidden; }
.poster-card .poster { width: 250px; flex-shrink: 0; background: var(--panel-deep); display: flex; align-items: center; justify-content: center; }
.poster-card .poster img { width: 100%; height: auto; display: block; }
.poster-card .poster-body { display: flex; flex-direction: column; gap: 13px; padding: 28px 32px; }
.poster-card h3 { font-size: 26px; }
.poster-card p { color: var(--muted); font-size: 15px; margin: 0; }
.tick-list { display: flex; flex-direction: column; gap: 6px; color: var(--soft); font-size: 14px; line-height: 1.5; }
.tag-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.tag-pills span { border: 1px solid rgba(245, 239, 230, 0.18); color: var(--soft); padding: 8px 16px; border-radius: 999px; font-size: 13px; }
.masonry { columns: 3; column-gap: 24px; }
.masonry .quote-card { break-inside: avoid; margin-bottom: 24px; }

.score-bar { height: 6px; background: rgba(245, 239, 230, 0.08); border-radius: 3px; }
.score-bar i { display: block; height: 6px; background: var(--teal); border-radius: 3px; }

.full-bleed-cta { position: relative; overflow: hidden; }
.full-bleed-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.full-bleed-cta .cta-copy { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; min-height: 480px; max-width: 620px; padding: 64px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 16px 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--panel); border-bottom: 1px solid var(--line-strong); padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 16px; }
  .hero { flex-direction: column; gap: 40px; padding: 56px 0 48px; }
  .hero-copy { flex-basis: auto; }
  .hero-media { width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry { columns: 2; }
  .carousel-arrow { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .poster-card { flex-direction: column; }
  .poster-card .poster { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat b { font-size: 32px; }
  .logo-strip { gap: 36px; row-gap: 24px; }
  .hero-ctas .btn, .hero-ctas .btn-outline, .hero-ctas .btn-teal-outline { width: 100%; }
}
