/* landing.css — landing page in the house style. Tokens live in theme.css. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--cream); overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; color: var(--felt-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Scroll-snap panels */
.snap-container { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; }
.snap-panel {
  min-height: 100vh; scroll-snap-align: start; position: relative;
  display: flex; align-items: center; justify-content: center; padding: 32px 24px;
}
.panel-light { background: var(--cream); }
.panel-dark { background: var(--felt-deep); }
.panel-dark h2, .panel-dark h3 { color: var(--cream); }
.panel-dark p, .panel-dark li { color: var(--cream); }
.inner { width: 100%; max-width: 1100px; margin: 0 auto; text-align: center; }

/* Suit motif */
.suits { display: inline-flex; gap: 16px; font-family: var(--font-suit); font-variant-emoji: text; font-size: 40px; line-height: 1; margin-bottom: 24px; }
.suits .black { color: var(--suit-black); }
.suits .red { color: var(--suit-red); }

/* Hero and CTA text */
.hero-title { font-size: clamp(40px, 7vw, 72px); line-height: 1.1; margin-bottom: 24px; }
.cta-title { font-size: clamp(32px, 5vw, 56px); margin-bottom: 24px; }
.lede { font-size: clamp(18px, 2.4vw, 24px); color: var(--ink); max-width: 720px; margin: 0 auto 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 32px; }

/* Buttons */
.btn-primary, .btn-secondary {
  font-family: var(--font-sans); font-weight: 600; font-size: 18px; min-height: 48px;
  padding: 8px 32px; border-radius: var(--radius-btn); cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.btn-primary { background: var(--felt-deep); border: 1.5px solid var(--felt-deep); color: var(--cream); }
.btn-primary:hover { background: var(--felt-mid); }
.btn-secondary { background: var(--white); border: 1.5px solid var(--felt-deep); color: var(--felt-deep); }
.btn-secondary:hover { background: var(--cream); }

.scroll-hint { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--felt-deep); margin-top: -8px; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 14px; color: var(--ink-muted); }
.ticks li { list-style: none; }
.ticks li::before { content: "\2713\00a0"; color: var(--ok); font-weight: 700; }

/* Features */
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.section-head p { font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 32px; text-align: left; }
.feature-card { background: var(--white); border: var(--border-gold); border-radius: var(--radius-panel); box-shadow: var(--shadow-soft); padding: 24px; }
.panel-dark .feature-card h3 { color: var(--felt-deep); }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; }
.feature-card ul { padding-left: 20px; }
.panel-dark .feature-card li { color: var(--ink); }
.feature-card li { font-size: 16px; margin-bottom: 4px; }
.quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--cream); }

/* Video walkthrough panels */
.video-panel-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 32px; width: 100%; max-width: 1200px; align-items: center; text-align: left; }
.video-wrap { position: relative; border: var(--border-gold); border-radius: var(--radius-panel); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--felt-deep); }
.video-wrap video { display: block; width: 100%; height: auto; }
.video-play-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(24, 74, 52, 0.55); cursor: pointer; }
.video-play-btn-large { width: 72px; height: 72px; border-radius: 50%; background: var(--cream); color: var(--felt-deep); font-size: 28px; display: flex; align-items: center; justify-content: center; padding-left: 4px; }
.video-play-label { color: var(--cream); font-weight: 600; }
.video-loading-spinner { width: 48px; height: 48px; border: 4px solid rgba(247, 243, 232, 0.35); border-top-color: var(--cream); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.video-controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.play-pause-btn { min-width: 44px; min-height: 44px; border-radius: var(--radius-btn); background: var(--white); border: 1.5px solid var(--felt-deep); color: var(--felt-deep); font-size: 14px; cursor: pointer; }
.panel-dark .play-pause-btn:hover { background: var(--cream); }
.hint { font-size: 13px; color: var(--ink-muted); white-space: nowrap; flex-shrink: 0; }
.panel-dark .hint { color: var(--cream); opacity: 0.8; }
.video-progress { flex: 1; height: 10px; border-radius: var(--radius-pill); background: var(--line); cursor: pointer; overflow: hidden; }
.video-progress-fill { height: 100%; width: 0%; background: var(--gold); }

.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); margin-bottom: 4px; }
.panel-dark .eyebrow { color: var(--gold); }
.video-panel-right h2 { font-size: 28px; margin-bottom: 12px; }
.recipe-quote { font-family: var(--font-serif); font-style: italic; font-size: 17px; background: var(--gold-tint); border: 1px solid var(--gold); border-radius: var(--radius-btn); padding: 12px 16px; color: var(--ink); margin-bottom: 16px; }
.panel-dark .recipe-quote { color: var(--ink); }

.step-tracker { display: flex; flex-direction: column; gap: 8px; }
.step-tracker-item { display: flex; align-items: center; gap: 12px; opacity: 0.75; }
.step-tracker-item.active { opacity: 1; }
.step-tracker-num { flex: 0 0 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--white); border: 1.5px solid var(--felt-deep); color: var(--felt-deep); }
.step-tracker-item.active .step-tracker-num { background: var(--felt-deep); color: var(--cream); }
.step-tracker-label { font-size: 15px; color: var(--ink); }
.step-tracker-item.active .step-tracker-label { font-weight: 700; color: var(--felt-deep); }
.panel-dark .step-tracker-label, .panel-dark .step-tracker-item.active .step-tracker-label { color: var(--cream); }
.panel-dark .step-tracker-num { background: transparent; border-color: var(--cream); color: var(--cream); }
.panel-dark .step-tracker-item.active .step-tracker-num { background: var(--gold); border-color: var(--gold); color: var(--ink-strong); }

/* Progress dots */
.progress-nav { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 20; }
.progress-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--felt-deep); background: transparent; cursor: pointer; transition: background-color var(--transition-fast); }
.progress-dot.active { background: var(--felt-deep); }
.progress-nav.dark-active .progress-dot { border-color: var(--cream); }
.progress-nav.dark-active .progress-dot.active { background: var(--cream); }

.fade-in { animation: fadeIn 200ms ease-out both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .video-panel-wrap { grid-template-columns: 1fr; }
  .snap-panel { padding: 24px 16px; }
  .progress-nav { display: none; }
}
