/* Speaking Academy Tallinn 2026 — State A prototype
   Tokens from Speaker Nation "Spotlight Logic" design system.
   Deviations per build brief: gradient on Stage Effect section,
   glass cards over photography. Flat everywhere else. */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@400;500;600&family=Inter:wght@400;500&display=swap');

:root {
  --site-primary: #141824;
  --site-secondary: #1C2128;
  --site-background: #F8F5F0;
  --site-surface: #FFFFFF;
  --site-surface-sunken: #F1ECE4;
  --site-text: #1C2128;
  --site-text-muted: #5C6470;
  --site-text-on-dark: #F4F1EA;
  --site-muted-on-dark: #9AA0AC;
  --site-accent: #E9A13B;
  --site-accent-hover: #DB9127;
  --site-accent-soft: rgba(233,161,59,0.14);
  --site-hairline: rgba(92,100,112,0.16);
  --site-hairline-on-dark: rgba(244,241,234,0.14);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-heading: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 12px 32px -12px rgba(20,24,36,0.18);
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.025em;
  color: var(--site-text);
  background: var(--site-background);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--site-text-muted);
  margin-bottom: 20px;
}
.dark .eyebrow, .hero .eyebrow { color: var(--site-accent); }
h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-wrap: balance;
}
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}
.lead { font-size: 1.1875rem; }
.muted { color: var(--site-text-muted); }
.dark .muted { color: var(--site-muted-on-dark); }
.display-num {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- layout ---------- */
.sec { padding: clamp(40px, 5.5vw, 68px) 24px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 1.35em; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.dark { background: var(--site-primary); color: var(--site-text-on-dark); }
.sunken { background: var(--site-surface-sunken); }
.center { text-align: center; }
.center .prose p { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 240ms var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-amber { background: var(--site-accent); color: var(--site-secondary); }
.btn-amber:hover { background: var(--site-accent-hover); }
.btn-ghost { border-color: var(--site-hairline-on-dark); color: var(--site-text-on-dark); }
.btn-ghost:hover { background: rgba(244,241,234,0.08); }
.btn-ghost-light { border-color: rgba(28,33,40,0.25); color: var(--site-text); }
.btn-ghost-light:hover { background: rgba(28,33,40,0.05); }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 0.875rem; color: var(--site-muted-on-dark); margin-top: 14px; }
.cta-block { margin-top: 44px; }

/* ---------- sticky nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,245,240,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--site-hairline);
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 12px 24px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 22px; flex: 1; overflow-x: auto; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  color: var(--site-text-muted);
  transition: color 160ms var(--ease);
}
.nav-links a:hover { color: var(--site-text); }
.nav .btn { padding: 10px 24px; font-size: 0.875rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--site-text-on-dark);
  background: var(--site-primary);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('img/hero.jpg');
  background-size: cover; background-position: center 62%;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,36,0.55) 0%, rgba(20,24,36,0.72) 55%, rgba(20,24,36,0.94) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) 24px clamp(32px, 4vw, 48px);
}
.program-mark { margin-bottom: 16px; width: fit-content; }
.program-mark .eyebrow { margin-bottom: 5px; }
.program-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--site-text-on-dark);
}
.byline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--site-accent);
  margin-top: 2px;
  text-align: right;
}
.hero h1 { max-width: 22ch; margin-bottom: 20px; font-size: clamp(1.75rem, 2.9vw, 2.5rem); }
.hero .sub { font-size: 1.125rem; max-width: 58ch; color: rgba(244,241,234,0.92); margin-bottom: 24px; }
.event-block {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.0625rem; letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.value-stack {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 40px;
  border-top: 1px solid var(--site-hairline-on-dark);
  padding-top: 24px;
}
.vs-item .vs-lead { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; margin-bottom: 4px; }
.vs-item .vs-sub { font-size: 0.8125rem; color: var(--site-muted-on-dark); }
.assure { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; margin-bottom: 18px; }

/* ---------- ladder strip ---------- */
.strip { background: var(--site-secondary); color: var(--site-text-on-dark); padding: 40px 24px; border-top: 1px solid var(--site-hairline-on-dark); }
.strip-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.strip-copy { max-width: 54ch; font-size: 0.9375rem; color: rgba(244,241,234,0.85); }
.strip-copy strong { color: var(--site-text-on-dark); }
.strip-cta { text-align: center; }

/* ---------- countdown ---------- */
.countdown { display: flex; gap: 18px; margin: 18px 0 6px; }
.count-cell { text-align: center; min-width: 64px; }
.count-cell .display-num { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; }
.count-cell .count-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--site-muted-on-dark); margin-top: 6px; }
.count-caption { font-size: 0.875rem; color: var(--site-muted-on-dark); }

/* ---------- cards ---------- */
.card {
  background: var(--site-surface);
  border: 1px solid var(--site-hairline);
  border-radius: var(--r-md);
  padding: 30px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9375rem; color: var(--site-text-muted); }

/* glass cards, dark sections over photography */
.glass {
  background: rgba(20,24,36,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--site-hairline-on-dark);
  border-radius: var(--r-md);
  padding: 30px;
}
.glass p { color: rgba(244,241,234,0.85); }

/* outcome cards (dark section) */
.outcome { border: 1px solid var(--site-hairline-on-dark); border-radius: var(--r-md); padding: 28px; }
.outcome h3 { margin-bottom: 8px; }
.outcome .how { font-size: 0.9375rem; color: rgba(244,241,234,0.8); margin-bottom: 16px; }
.proof-line {
  font-size: 0.8125rem; color: var(--site-accent);
  border-top: 1px solid var(--site-hairline-on-dark);
  padding-top: 12px; letter-spacing: 0.02em;
}

/* ---------- stage effect ---------- */
.stage-effect {
  background: radial-gradient(120% 120% at 50% 0%, #232B45 0%, #141824 62%);
  color: var(--site-text-on-dark);
}
.formula {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.875rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  max-width: 20ch;
  margin: 56px auto;
}
.formula .x { color: inherit; transition: color 200ms var(--ease); }
.formula .x:hover { color: var(--site-accent); }

/* ---------- five days ---------- */
.day-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; overflow: hidden; }
.day-card .day-img { background-size: cover; background-position: center; min-height: 180px; }
.day-card .day-body { padding: 28px 30px; }
.day-kicker { font-family: var(--font-display); font-size: 0.9375rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--site-accent); margin-bottom: 6px; }
.day-stack { display: grid; gap: 20px; }

/* ---------- SAI ---------- */
.sai {
  position: relative; color: var(--site-text-on-dark);
  background: var(--site-primary); overflow: hidden;
}
.sai-bg { position: absolute; inset: 0; background-image: url('img/sai-crowd.jpg'); background-size: cover; background-position: center; }
.sai-bg::after { content: ''; position: absolute; inset: 0; background: rgba(20,24,36,0.82); }
.sai .wrap { position: relative; }
.prize {
  border-left: 3px solid var(--site-accent);
  padding: 6px 0 6px 26px;
  margin: 40px 0;
}
.prize h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }

/* ---------- testimonials ---------- */
blockquote { margin: 0; }
.quote {
  border-left: 3px solid var(--site-accent);
  padding-left: 26px;
  margin-top: 48px;
  max-width: 62ch;
}
.quote p { font-size: 1.0625rem; font-style: italic; }
.quote cite { display: block; font-style: normal; font-size: 0.875rem; font-weight: 600; font-family: var(--font-heading); margin-top: 12px; }
.quote cite span { font-weight: 400; color: var(--site-text-muted); }
.dark .quote cite span { color: var(--site-muted-on-dark); }
.quote-card { padding: 28px; }
.quote-card p { font-style: italic; font-size: 0.9375rem; color: var(--site-text); }
.dark .quote-card p { color: rgba(244,241,234,0.9); }
.quote-card cite { display: block; font-style: normal; font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; margin-top: 14px; }
.quote-card cite span { display: block; font-weight: 400; color: var(--site-muted-on-dark); }

/* ---------- lists ---------- */
.check-list, .x-list { list-style: none; display: grid; gap: 14px; margin: 24px 0; }
.check-list li, .x-list li { padding-left: 34px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--site-accent); font-weight: 700; }
.x-list li::before { content: '✕'; position: absolute; left: 0; top: 0; color: var(--site-text-muted); font-weight: 700; }

/* ---------- price ladder ---------- */
.ladder { display: grid; gap: 14px; margin: 44px auto 28px; max-width: 720px; }
.rung {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 28px;
  text-align: left;
  border: 1px solid var(--site-hairline-on-dark);
  border-radius: var(--r-md);
  padding: 20px 28px;
}
.rung .window { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; grid-row: 1 / 3; }
.rung .price { text-align: right; line-height: 1.1; }
.rung .plan { grid-column: 2; text-align: right; }
.rung .price { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: 0.01em; }
.rung .plan { font-size: 0.875rem; color: var(--site-muted-on-dark); }
.rung.active { border-color: var(--site-accent); background: rgba(233,161,59,0.08); }
.rung.passed { opacity: 0.45; }
.rung.passed .price { text-decoration: line-through; }

/* ---------- photo bands ---------- */
.photo-band { position: relative; min-height: 200px; background-size: cover; background-position: center; }
.photo-band .credit { position: absolute; right: 14px; bottom: 10px; font-size: 0.6875rem; color: rgba(244,241,234,0.6); }

/* ---------- eric ---------- */
.eric-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.eric-photo { border-radius: var(--r-md); overflow: hidden; }
.dark .eric-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 72% center; }
.inst-bar {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--site-hairline-on-dark);
  font-family: var(--font-heading); font-weight: 500;
  font-size: 0.875rem; letter-spacing: 0.03em;
  color: var(--site-muted-on-dark);
}

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 40px; }
details {
  background: var(--site-surface);
  border: 1px solid var(--site-hairline);
  border-radius: var(--r-md);
  padding: 0 26px;
}
details summary {
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding: 20px 30px 20px 0; cursor: pointer; list-style: none; position: relative;
}
details summary::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.375rem; font-weight: 400; color: var(--site-text-muted);
  transition: transform 240ms var(--ease);
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .answer { padding-bottom: 22px; font-size: 0.9375rem; color: var(--site-text-muted); max-width: 65ch; }

/* ---------- final cta ---------- */
.final {
  position: relative; color: var(--site-text-on-dark);
  background: var(--site-primary); overflow: hidden; text-align: center;
}
.final-bg { position: absolute; inset: 0; background-image: url('img/final.jpg'); background-size: cover; background-position: center; }
.final-bg::after { content: ''; position: absolute; inset: 0; background: rgba(20,24,36,0.86); }
.final .wrap { position: relative; }
.final .countdown { justify-content: center; }

/* ---------- waitlist form ---------- */
.waitlist { background: var(--site-secondary); color: var(--site-text-on-dark); }
.wl-form { display: grid; gap: 14px; max-width: 440px; margin: 36px auto 0; }
.wl-form input {
  font-family: var(--font-body); font-size: 1rem;
  padding: 15px 20px; border-radius: var(--r-sm);
  border: 1px solid var(--site-hairline-on-dark);
  background: rgba(244,241,234,0.06); color: var(--site-text-on-dark);
}
.wl-form input::placeholder { color: var(--site-muted-on-dark); }
.wl-form input:focus { outline: none; box-shadow: 0 0 0 3px var(--site-accent-soft); border-color: var(--site-accent); }
.wl-form .btn { width: 100%; }
.wl-fine { font-size: 0.8125rem; color: var(--site-muted-on-dark); margin-top: 18px; }

/* ---------- footer ---------- */
.footer { background: var(--site-primary); color: var(--site-muted-on-dark); padding: 40px 24px; font-size: 0.8125rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer img { height: 22px; width: auto; opacity: 0.8; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step .num { font-family: var(--font-display); font-size: 2.25rem; color: var(--site-accent); line-height: 1; margin-bottom: 14px; }

/* ---------- state switching ---------- */
.stateB-only { display: none; }
body[data-state="onsale"] .stateA-only { display: none; }
body[data-state="onsale"] .stateB-only { display: block; }
#talk-to-team { display: none; }
body[data-discovery="on"] #talk-to-team { display: block; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .eric-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .value-stack { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .day-card { grid-template-columns: 1fr; }
  .day-card .day-img { min-height: 200px; }
  .nav-links { display: none; }
  .rung { padding: 20px; }
  .hero-inner { padding-top: 64px; }
}

/* ---------- review round 1 additions ---------- */
.hl { color: var(--site-accent); }
.persona { padding: 0; overflow: hidden; }
.persona .p-img { height: 160px; background-size: cover; background-position: center; }
.persona .p-body { padding: 22px 26px 26px; }
.ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(233,161,59,0.2); color: var(--site-accent);
  font: 600 14px/44px Manrope, sans-serif; text-align: center;
  margin-bottom: 12px;
}
.tier {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--site-accent); margin-bottom: 4px;
}
.rung { background: rgba(248,245,240,0.06); border-color: rgba(244,241,234,0.22); }
.mo-w { transition: color 160ms var(--ease); }
.mo-w:hover { color: var(--site-accent); }
.ava-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; display: block; margin-bottom: 12px;
  border: 1px solid var(--site-hairline-on-dark);
}
.quote-card .ava-img { width: 176px; height: 176px; margin: 0 auto 18px; }
.tallinn-bg { position: relative; overflow: hidden; }
.tallinn-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('img/tallinn-skyline.png') center 30% / cover no-repeat;
  opacity: 0.07; pointer-events: none;
}
.tallinn-bg > * { position: relative; }
