/* ╔══════════════════════════════════════════════════════════════════╗
   ║  (K)NEED — CINEMATIC DARK EDITION                               ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── DESIGN TOKENS ─────────────────────────────────────────────────── */
:root {
  --ink:       #0e0c0a;
  --ink-90:    rgba(14,12,10,0.90);
  --ink-70:    rgba(14,12,10,0.70);
  --ink-50:    rgba(14,12,10,0.50);
  --ink-30:    rgba(14,12,10,0.30);
  --ink-15:    rgba(14,12,10,0.15);
  --ink-08:    rgba(14,12,10,0.08);

  --parchment: #f2ede6;
  --p-70:      rgba(242,237,230,0.70);
  --p-50:      rgba(242,237,230,0.50);
  --p-35:      rgba(242,237,230,0.35);
  --p-20:      rgba(242,237,230,0.20);
  --p-12:      rgba(242,237,230,0.12);
  --p-07:      rgba(242,237,230,0.07);

  --amber:     #c8833a;
  --amber-lt:  #e8a85a;
  --amber-dk:  #9a5f22;
  --amber-20:  rgba(200,131,58,0.20);
  --amber-10:  rgba(200,131,58,0.10);

  --surface:   #161310;
  --surface-2: #1e1a16;
  --surface-3: #28231d;
  --border:    rgba(242,237,230,0.09);
  --border-md: rgba(242,237,230,0.15);

  --font-display: 'Josefin Sans', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-cond:    'Barlow Condensed', 'Arial Narrow', sans-serif;

  --px:     clamp(1.25rem, 4vw, 2.5rem);
  --max-w:  82rem;

  --r-card: 1.25rem;
  --r-hero: 1.5rem;
  --r-pill: 9999px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BASE ──────────────────────────────────────────────────────────── */
body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ── GRAIN OVERLAY ─────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 128px 128px;
  mix-blend-mode: screen;
}

/* ── PAGE TRANSITIONS ──────────────────────────────────────────────── */
.wf-page { display: none; animation: wfPageIn 0.4s var(--ease-out) both; }
.wf-page.is-active { display: block; }
@keyframes wfPageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── LAYOUT UTILS ──────────────────────────────────────────────────── */
.wf-container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }
.py-page { padding-top: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(2.5rem,5vw,5rem); }
.mt-section { margin-top: clamp(3.5rem,6vw,5.5rem); }

/* ══════════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,12,10,0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0.875rem var(--px);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 0.5rem;
}
.header-left { display: flex; align-items: center; justify-content: flex-start; gap: 0.5rem; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }

.wf-logo {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(1rem,2vw,1.4rem);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--parchment); line-height: 1;
}

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); border: 1px solid var(--border);
  padding: 0.5rem; color: var(--p-70);
  transition: background 0.18s, color 0.18s, border-color 0.18s; line-height: 0;
}
.icon-btn:hover { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
.icon-btn svg { width: 1rem; height: 1rem; }

.submit-btn {
  display: none; border-radius: var(--r-pill);
  background: var(--amber); color: #fff;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: opacity 0.2s;
}
.submit-btn:hover { opacity: 0.85; }
@media (min-width: 768px) { .submit-btn { display: block; } }

/* Header login/join pill */
.header-login-btn {
  border-radius: var(--r-pill); border: 1px solid var(--border);
  background: transparent; padding: 0.45rem 0.875rem;
  transition: background 0.18s, border-color 0.18s;
}
.header-login-btn:hover { background: var(--surface-2); border-color: var(--border-md); }
.header-login-inner {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--p-70);
}
.header-login-btn.is-member .header-login-inner { color: var(--amber-lt); }
.header-login-label { display: none; }
@media (min-width: 480px) { .header-login-label { display: inline; } }
.header-avatar {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--amber); color: #fff; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700; text-transform: uppercase;
}

.site-nav {
  display: none; max-width: var(--max-w); margin: 0 auto;
  padding: 0.625rem var(--px);
  justify-content: center; gap: 3rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .site-nav { display: flex; } }
.nav-link {
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--p-35);
  transition: color 0.18s;
}
.nav-link:hover { color: var(--parchment); }

/* ── THEME TOGGLE BUTTON ───────────────────────────────────────────── */
.dark-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--border); color: var(--p-50);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.dark-toggle:hover { background: var(--p-07); color: var(--parchment); border-color: var(--border-md); }
.dark-toggle svg { width: 0.9rem; height: 0.9rem; }
.mobile-dark-toggle { display: none; }
.dark-icon { display: block; }
.light-icon { display: none; }

/* ── LIGHT MODE ────────────────────────────────────────────────────── */
body.light-mode {
  --parchment: #1a1612;
  --p-70:      rgba(26,22,18,0.70);
  --p-50:      rgba(26,22,18,0.50);
  --p-35:      rgba(26,22,18,0.35);
  --p-20:      rgba(26,22,18,0.20);
  --p-12:      rgba(26,22,18,0.12);
  --p-07:      rgba(26,22,18,0.07);
  --surface:   #ede8e0;
  --surface-2: #e5dfd6;
  --surface-3: #dcd5cb;
  --border:    rgba(26,22,18,0.10);
  --border-md: rgba(26,22,18,0.18);
  background: #f2ede6;
  color: #1a1612;
}

/* grain lighter in light mode */
body.light-mode::after { mix-blend-mode: multiply; opacity: 0.025; }

/* hero always stays dark — it's a full-bleed photo */
body.light-mode .hero-section { color: #f2ede6; }

/* Cards */
body.light-mode .tile-inner { background: #faf7f3; border-color: rgba(26,22,18,0.10); }
body.light-mode .tile-title { color: #1a1612; }
body.light-mode .tile-desc  { color: rgba(26,22,18,0.55); }
body.light-mode .wf-tile:hover .tile-inner { border-color: rgba(26,22,18,0.22); box-shadow: 0 8px 32px rgba(26,22,18,0.08); }
body.light-mode .film-card { border-color: rgba(26,22,18,0.10); }

/* Section headings */
body.light-mode .wf-section-head { border-color: rgba(26,22,18,0.10); }
body.light-mode .wf-section-head h2 { color: #1a1612; }

/* Header */
body.light-mode .site-header { background: rgba(242,237,230,0.90); border-color: rgba(26,22,18,0.10); }
body.light-mode .wf-logo { color: #1a1612; }
body.light-mode .icon-btn { color: rgba(26,22,18,0.55); border-color: rgba(26,22,18,0.12); }
body.light-mode .icon-btn:hover { background: #1a1612; color: #f2ede6; border-color: #1a1612; }
body.light-mode .header-login-btn { border-color: rgba(26,22,18,0.12); }
body.light-mode .header-login-btn:hover { background: #e5dfd6; }
body.light-mode .header-login-inner { color: rgba(26,22,18,0.60); }
body.light-mode .nav-link { color: rgba(26,22,18,0.40); }
body.light-mode .nav-link:hover { color: #1a1612; }
body.light-mode .site-nav { border-color: rgba(26,22,18,0.10); }

/* Newsletter */
body.light-mode .newsletter-block { background: #1a1612; border-color: rgba(26,22,18,0.15); }
body.light-mode .nl-title { color: #f2ede6; }
body.light-mode .nl-input { background: rgba(242,237,230,0.08); border-color: rgba(242,237,230,0.15); color: #f2ede6; }
body.light-mode .nl-input::placeholder { color: rgba(242,237,230,0.35); }

/* Footer */
body.light-mode .footer-inner { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .footer-brand { color: #1a1612; }
body.light-mode .footer-tagline { color: rgba(26,22,18,0.55); }
body.light-mode .footer-col-head { color: rgba(26,22,18,0.38); }
body.light-mode .footer-link { color: rgba(26,22,18,0.55); }
body.light-mode .footer-link:hover { color: #1a1612; }
body.light-mode .footer-bottom { color: rgba(26,22,18,0.38); border-color: rgba(26,22,18,0.10); }

/* Story page */
body.light-mode .story-video-shell { background: #f2ede6; }
body.light-mode .share-btn, body.light-mode .story-nav-btn { background: #ede8e0; border-color: rgba(26,22,18,0.12); color: rgba(26,22,18,0.55); }
body.light-mode .share-btn:hover, body.light-mode .story-nav-btn:hover { background: #1a1612; color: #f2ede6; border-color: #1a1612; }
body.light-mode .story-aside { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .aside-share-btn { background: #e5dfd6; border-color: rgba(26,22,18,0.10); }
body.light-mode .aside-share-btn:hover { background: #dcd5cb; }
body.light-mode .aside-value { color: rgba(26,22,18,0.70); }
body.light-mode .aside-label { color: rgba(26,22,18,0.38); }
body.light-mode .story-h1 { color: #1a1612; }
body.light-mode .story-body-text { color: rgba(26,22,18,0.70); }
body.light-mode .story-meta-row { color: rgba(26,22,18,0.40); }
body.light-mode .story-quote { color: rgba(26,22,18,0.70); }
body.light-mode .story-note { color: rgba(26,22,18,0.55); border-color: rgba(26,22,18,0.10); }

/* Comments */
body.light-mode .comment-form-wrap, body.light-mode .comment-item { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .comment-name { color: #1a1612; }
body.light-mode .comment-body { color: rgba(26,22,18,0.70); }
body.light-mode .comment-date { color: rgba(26,22,18,0.38); }
body.light-mode .comments-empty { color: rgba(26,22,18,0.38); }
body.light-mode .loading-spinner { border-color: rgba(26,22,18,0.10); border-top-color: var(--amber); }
body.light-mode .rating-avg { color: #1a1612; }
body.light-mode .rating-summary { color: rgba(26,22,18,0.55); }
body.light-mode .star-btn { color: rgba(26,22,18,0.15); }

/* Product */
body.light-mode .product-image-frame { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .product-name, body.light-mode .product-price { color: #1a1612; }
body.light-mode .product-desc, body.light-mode .product-detail { color: rgba(26,22,18,0.55); }
body.light-mode .product-details { border-color: rgba(26,22,18,0.10); }

/* Forms & inputs */
body.light-mode .form-input { background: #faf7f3; border-color: rgba(26,22,18,0.12); color: #1a1612; }
body.light-mode .form-input::placeholder { color: rgba(26,22,18,0.35); }
body.light-mode .form-label { color: rgba(26,22,18,0.55); }
body.light-mode .form-hint, body.light-mode .form-note { color: rgba(26,22,18,0.40); }
body.light-mode .form-check { color: rgba(26,22,18,0.70); }
body.light-mode .form-check-consent { color: rgba(26,22,18,0.55); }
body.light-mode .search-field { background: #faf7f3; border-color: rgba(26,22,18,0.12); color: #1a1612; }
body.light-mode .search-field::placeholder { color: rgba(26,22,18,0.38); }

/* Static pages */
body.light-mode .wf-page-h1 { color: #1a1612; }
body.light-mode .wf-page-intro, body.light-mode .simple-body { color: rgba(26,22,18,0.55); }
body.light-mode .submit-overview { color: rgba(26,22,18,0.55); }
body.light-mode .submit-success-block { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .success-title { color: #1a1612; }
body.light-mode .success-body { color: rgba(26,22,18,0.55); }

/* Pills */
body.light-mode .pill-dark { background: #1a1612; color: #f2ede6; }
body.light-mode .hero-section .pill-dark { background: #f2ede6; color: #0e0c0a; }
body.light-mode .hero-section .pill-light { border-color: rgba(242,237,230,0.22); background: rgba(242,237,230,0.08); color: #f2ede6; }
body.light-mode .pill-dark:hover { background: var(--amber); color: #fff; }
body.light-mode .pill-light { border-color: rgba(26,22,18,0.15); background: rgba(26,22,18,0.05); color: #1a1612; }
body.light-mode .pill-light:hover { background: rgba(26,22,18,0.10); }

/* Back btn */
body.light-mode .back-btn { color: rgba(26,22,18,0.40); }
body.light-mode .back-btn:hover { color: #1a1612; }
body.light-mode .back-btn-ghost { color: rgba(26,22,18,0.65); border-color: rgba(26,22,18,0.15); background: rgba(26,22,18,0.04); }

/* Menu drawer */
body.light-mode .menu-panel { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .menu-panel-header { border-color: rgba(26,22,18,0.10); }
body.light-mode .menu-nav-label { color: rgba(26,22,18,0.38); }
body.light-mode .menu-nav-item { color: #1a1612; border-color: rgba(26,22,18,0.08); }
body.light-mode .menu-nav-item:hover { background: #e5dfd6; color: var(--amber); }
body.light-mode .menu-secondary-item { color: rgba(26,22,18,0.55); }
body.light-mode .menu-secondary-item:hover { color: #1a1612; }
body.light-mode .menu-follow-btn { background: #e5dfd6; border-color: rgba(26,22,18,0.10); color: rgba(26,22,18,0.55); }
body.light-mode .menu-follow-btn:hover { background: #1a1612; color: #f2ede6; border-color: #1a1612; }
body.light-mode .menu-divider { background: rgba(26,22,18,0.08); }
body.light-mode .menu-panel-footer { color: rgba(26,22,18,0.40); border-color: rgba(26,22,18,0.08); }
body.light-mode .menu-member-join-btn:hover { background: #e5dfd6; }
body.light-mode .menu-member-join-icon { background: #e5dfd6; border-color: rgba(26,22,18,0.10); }
body.light-mode .menu-member-join-title { color: #1a1612; }
body.light-mode .menu-member-join-sub { color: rgba(26,22,18,0.40); }
body.light-mode .menu-member-block { border-color: rgba(26,22,18,0.10); }

/* Auth modal */
body.light-mode .auth-backdrop { background: rgba(26,22,18,0.45); }
body.light-mode .auth-panel { background: rgba(242,237,230,0.96); border-color: rgba(26,22,18,0.15); }
body.light-mode .auth-logo, body.light-mode .auth-title { color: #1a1612; }
body.light-mode .auth-subtitle, body.light-mode .auth-terms, body.light-mode .auth-login-link { color: rgba(26,22,18,0.55); }
body.light-mode .auth-social-btn { background: #faf7f3; border-color: rgba(26,22,18,0.12); color: #1a1612; }
body.light-mode .auth-social-btn:hover { background: #ede8e0; }
body.light-mode .auth-divider { color: rgba(26,22,18,0.35); }
body.light-mode .auth-divider::before, body.light-mode .auth-divider::after { background: rgba(26,22,18,0.10); }
body.light-mode .auth-close { background: rgba(26,22,18,0.06); color: rgba(26,22,18,0.50); }
body.light-mode .auth-close:hover { background: #1a1612; color: #f2ede6; }
body.light-mode .auth-signup-btn { background: #1a1612; border-color: #1a1612; color: #f2ede6; }

/* Toggle icon swap */
body.light-mode .dark-toggle { color: rgba(26,22,18,0.50); border-color: rgba(26,22,18,0.12); }
body.light-mode .dark-toggle:hover { background: rgba(26,22,18,0.06); color: #1a1612; }
body.light-mode .dark-icon  { display: none; }
body.light-mode .light-icon { display: block; }

/* ══════════════════════════════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════════════════════════════ */
.wf-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; border-bottom: 1px solid var(--border);
  padding-bottom: 1rem; margin-bottom: 2rem;
}
.wf-eyebrow {
  font-family: var(--font-cond); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 0.5rem;
}
.wf-section-head h2 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(0.9rem,1.8vw,1.35rem);
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
  color: var(--parchment);
}
.see-all-btn {
  display: none; align-items: center; gap: 0.5rem;
  font-family: var(--font-cond); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--p-35);
  white-space: nowrap; transition: color 0.18s;
}
.see-all-btn:hover { color: var(--amber); }
.see-all-btn:hover .arrow-icon { transform: translateX(4px); }
.arrow-icon { transition: transform 0.2s var(--ease-out); }
.arrow-icon svg { width: 0.875rem; height: 0.875rem; }
@media (min-width: 768px) { .see-all-btn { display: flex; } }

/* ══════════════════════════════════════════════════════════════════
   PILL BUTTONS
══════════════════════════════════════════════════════════════════ */
.wf-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--r-pill); padding: 0.75rem 1.5rem;
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; line-height: 1;
  transition: background 0.18s, color 0.18s, opacity 0.18s, transform 0.18s;
}
.wf-pill:hover { transform: translateY(-1px); }
.wf-pill svg { width: 1rem; height: 1rem; }
.pill-dark  { background: var(--parchment); color: var(--ink); }
.pill-dark:hover { background: var(--amber); color: #fff; }
.pill-light { border: 1px solid var(--border-md); background: var(--p-07); color: var(--parchment); }
.pill-light:hover { background: var(--p-12); }
.pill-amber { background: var(--amber); color: #fff; }
.pill-amber:hover { opacity: 0.88; }

/* ══════════════════════════════════════════════════════════════════
   BACK BUTTON
══════════════════════════════════════════════════════════════════ */
.back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-cond); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--p-35); margin-bottom: 2.5rem;
  transition: color 0.18s;
}
.back-btn:hover { color: var(--parchment); }
.back-btn svg { width: 1rem; height: 1rem; }

.back-btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-cond); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--p-70); border-radius: var(--r-pill);
  border: 1px solid var(--border-md);
  background: var(--p-07); backdrop-filter: blur(8px);
  padding: 0.5rem 1rem; transition: background 0.2s, color 0.2s;
}
.back-btn-ghost:hover { background: var(--p-12); color: var(--parchment); }
.back-btn-ghost svg { width: 1rem; height: 1rem; }

/* ══════════════════════════════════════════════════════════════════
   CARDS / TILES
══════════════════════════════════════════════════════════════════ */
.wf-tile {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  transition: transform 0.22s var(--ease-out);
}
.wf-tile:hover { transform: translateY(-5px); }

.tile-inner {
  height: 100%; overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.22s;
}
.wf-tile:hover .tile-inner { border-color: var(--border-md); }

.tile-media { position: relative; overflow: hidden; }
.tile-media.r-4-3   { aspect-ratio: 4/3; }
.tile-media.r-16-10 { aspect-ratio: 16/10; }
.tile-media.r-4-5   { aspect-ratio: 4/5; }
.tile-media.r-1-1   { aspect-ratio: 1/1; }
.tile-media img { height: 100%; transition: transform 0.7s var(--ease-out); filter: brightness(0.88) saturate(0.9); }
.wf-tile:hover .tile-media img { transform: scale(1.05); filter: brightness(0.95) saturate(1); }

.tile-tint {
  position: absolute; inset: 0; background: var(--amber);
  opacity: 0; mix-blend-mode: multiply; transition: opacity 0.3s; pointer-events: none;
}
.wf-tile:hover .tile-tint { opacity: 0.12; }

.tile-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,0.85) 0%, rgba(14,12,10,0.15) 55%, transparent 100%);
  pointer-events: none;
}

.tile-badge {
  position: absolute; border-radius: var(--r-pill);
  font-family: var(--font-cond); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.28rem 0.7rem;
}
.tile-badge-lt  { bottom: 0.875rem; left: 0.875rem; background: rgba(242,237,230,0.92); color: var(--ink); }
.tile-badge-dk  { bottom: 0.875rem; right: 0.875rem; background: rgba(14,12,10,0.8); color: var(--p-70); border: 1px solid var(--border-md); }
.tile-badge-amber { bottom: 0.875rem; left: 0.875rem; background: var(--amber); color: #fff; }

.tile-body { padding: 1.25rem; }
@media (min-width: 768px) { .tile-body { padding: 1.375rem; } }
.tile-eyebrow {
  font-family: var(--font-cond); font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.5rem;
}
.tile-title {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(0.8rem,1.2vw,1rem); letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.3;
  margin-bottom: 0.5rem; color: var(--parchment);
}
.tile-desc { font-size: 0.8rem; line-height: 1.65; color: var(--p-50); font-weight: 300; }

/* ══════════════════════════════════════════════════════════════════
   GRIDS
══════════════════════════════════════════════════════════════════ */
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4,1fr); gap: 1.125rem; } }
.grid-3 { display: grid; gap: 1.125rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid-2 { display: grid; gap: 1.125rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2,1fr); } }

/* ── FILM RAIL NAV ──────────────────────────────────────────────────── */
.film-nav {
  display: flex; align-items: center; gap: 0.5rem;
}
.film-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--p-50); cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease-out);
  flex-shrink: 0;
}
.film-nav-btn:hover { background: var(--parchment); color: var(--ink); border-color: var(--parchment); transform: scale(1.08); }
.film-nav-btn:disabled { opacity: 0.25; pointer-events: none; }
.film-nav-btn svg { width: 0.9rem; height: 0.9rem; }
body.light-mode .film-nav-btn { background: #faf7f3; border-color: rgba(26,22,18,0.12); color: rgba(26,22,18,0.50); }
body.light-mode .film-nav-btn:hover { background: #1a1612; color: #f2ede6; border-color: #1a1612; }

/* ── FILM RAIL ───────────────────────────────────────────────────────── */
.film-rail-wrap {
  position: relative;
}
/* Fade edges */
.film-rail-wrap::before,
.film-rail-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 4rem; pointer-events: none; z-index: 2;
  transition: opacity 0.3s;
}
.film-rail-wrap::before { left: 0;  background: linear-gradient(to right, var(--ink), transparent); }
.film-rail-wrap::after  { right: 0; background: linear-gradient(to left,  var(--ink), transparent); }
body.light-mode .film-rail-wrap::before { background: linear-gradient(to right, #f2ede6, transparent); }
body.light-mode .film-rail-wrap::after  { background: linear-gradient(to left,  #f2ede6, transparent); }

.film-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px; /* prevent clipping box-shadow */
}
.film-rail::-webkit-scrollbar { display: none; }

/* First card — wide hero */
.film-rail .film-card-main {
  flex: 0 0 clamp(320px, 52vw, 680px);
  scroll-snap-align: start;
}
/* Subsequent cards — portrait */
.film-rail .film-card-side {
  flex: 0 0 clamp(200px, 26vw, 320px);
  scroll-snap-align: start;
}

/* ── FILM CARD (shared) ──────────────────────────────────────────────── */

.film-card {
  position: relative; border-radius: var(--r-card);
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease-out);
}
.film-card:hover { border-color: var(--border-md); }

.film-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.82);
  transition: transform 0.85s var(--ease-out), filter 0.4s;
}
.film-card:hover .film-card-img { transform: scale(1.04); filter: brightness(0.82) saturate(0.95); }

.film-card-grade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,0.94) 0%, rgba(14,12,10,0.18) 52%, transparent 100%);
  pointer-events: none;
}
.film-card-grade-side {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,0.97) 0%, rgba(14,12,10,0.28) 45%, transparent 100%);
  pointer-events: none;
}

/* Ghost issue number watermark */
.film-card-num {
  position: absolute; top: -0.1em; left: 0.2em;
  font-family: var(--font-display); font-weight: 100;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1; letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,237,230,0.10);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color 0.3s;
}
.film-card-num-side {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
}
.film-card:hover .film-card-num { -webkit-text-stroke-color: rgba(242,237,230,0.16); }

.film-card-dur {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-family: var(--font-cond); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em;
  background: rgba(14,12,10,0.72); color: var(--p-70);
  padding: 0.22rem 0.55rem; border-radius: var(--r-pill);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.film-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.film-card-body-side { padding: 1rem; }

.film-card-tag {
  font-family: var(--font-cond); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber);
}
.film-card-title {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--parchment); line-height: 1.25;
}
.film-card-title-side {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
}
.film-card-bakery {
  font-family: var(--font-display); font-weight: 100;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--p-35); margin-top: 0.15rem;
}

/* play button reveal on hover */
.film-card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(242,237,230,0.08); border: 1px solid rgba(242,237,230,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s, transform 0.25s var(--ease-out);
  pointer-events: none;
}
.film-card-play svg { width: 1rem; height: 1rem; fill: #fff; margin-left: 0.12em; }
.film-card:hover .film-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }

/* amber accent line on hover */
.film-card-accent {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0; background: var(--amber);
  transition: width 0.5s var(--ease-out);
}
.film-card:hover .film-card-accent { width: 100%; }

/* Scroll rail (kept for other potential uses) */
.rail-wrap { position: relative; }
.rail-arrow { display: none; }
.scroll-rail { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; }
.scroll-rail::-webkit-scrollbar { display: none; }

/* Asymmetric grid */
.story-asym { display: grid; gap: 1.125rem; }
@media (min-width: 768px) { .story-asym { grid-template-columns: repeat(12,1fr); } }
.asym-7 {} @media (min-width: 768px) { .asym-7 { grid-column: span 7; } }
.asym-5 {} @media (min-width: 768px) { .asym-5 { grid-column: span 5; } }

/* ══════════════════════════════════════════════════════════════════
   HERO (HOME) — CINEMATIC FULL-BLEED
══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   PERSISTENT MINI PLAYER (PiP)
══════════════════════════════════════════════════════════════════ */
.pip-player {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400;
  width: clamp(240px, 28vw, 320px);
  background: #000; border-radius: 0.875rem; overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.65), 0 0 0 1px rgba(242,237,230,0.1);
  display: none; flex-direction: column;
  transform: translateY(16px); opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.pip-player.visible { display: flex; }
.pip-player.shown { transform: translateY(0); opacity: 1; pointer-events: all; }
.pip-video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.pip-video-wrap img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }
.pip-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; }
.pip-controls {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 0.875rem; background: #0e0c0a;
  border-top: 1px solid rgba(242,237,230,0.08);
}
.pip-play-btn {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; flex-shrink: 0;
  background: var(--parchment); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.pip-play-btn:hover { background: var(--amber); }
.pip-play-btn svg { width: 0.6rem; height: 0.6rem; fill: var(--ink); }
.pip-info { flex: 1; min-width: 0; }
.pip-title {
  font-family: var(--font-display); font-weight: 200; font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--parchment);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pip-bakery { font-size: 0.6rem; font-weight: 300; color: var(--p-35); margin-top: 0.1rem; }
.pip-go-btn {
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
  background: none; border: none; cursor: pointer; flex-shrink: 0;
  transition: opacity 0.18s;
}
.pip-go-btn:hover { opacity: 0.7; }
.pip-close {
  width: 1.5rem; height: 1.5rem; border-radius: 50%; flex-shrink: 0;
  background: rgba(242,237,230,0.08); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--p-50);
  transition: background 0.18s;
}
.pip-close:hover { background: rgba(242,237,230,0.16); color: var(--parchment); }
.pip-close svg { width: 0.6rem; height: 0.6rem; }
.pip-progress { height: 2px; background: rgba(242,237,230,0.1); position: relative; cursor: pointer; }
.pip-progress-fill { height: 100%; background: var(--amber); width: 0%; transition: width 0.1s linear; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════
   WATCHLIST
══════════════════════════════════════════════════════════════════ */
.watchlist-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-cond); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.55rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--p-50); cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.watchlist-btn:hover { background: var(--surface-2); color: var(--parchment); border-color: var(--border-md); }
.watchlist-btn.saved { border-color: var(--amber); color: var(--amber); background: var(--amber-10); }
.watchlist-btn svg { width: 0.85rem; height: 0.85rem; }

/* Watchlist page */
.watchlist-empty {
  text-align: center; padding: 4rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.watchlist-empty-icon { font-size: 2.5rem; opacity: 0.25; }
.watchlist-empty-title { font-family: var(--font-display); font-weight: 200; font-size: 1.25rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--parchment); }
.watchlist-empty-sub { font-size: 0.875rem; font-weight: 300; color: var(--p-35); max-width: 28rem; line-height: 1.65; }

/* ── BAKERY LIST CARD (replaces storyCard on Bakeries page) ────────── */
.bak-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: border-color 0.22s, transform 0.25s var(--ease-out);
  text-align: left; width: 100%;
}
.bak-card:hover { border-color: var(--border-md); transform: translateY(-4px); }
.bak-card-img-wrap { position: relative; aspect-ratio: 3/2; overflow: hidden; flex-shrink: 0; }
.bak-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.75) saturate(0.85);
  transition: filter 0.4s, transform 0.6s var(--ease-out);
}
.bak-card:hover .bak-card-img { filter: brightness(0.88) saturate(1); transform: scale(1.04); }
.bak-card-grade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,12,10,0.85) 0%, transparent 55%); }
.bak-card-cat {
  position: absolute; bottom: 0.625rem; left: 0.625rem;
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--amber); color: #fff; padding: 0.22rem 0.55rem; border-radius: var(--r-pill);
}
.bak-card-dur {
  position: absolute; bottom: 0.625rem; right: 0.625rem;
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.08em;
  background: rgba(14,12,10,0.72); color: rgba(242,237,230,0.75);
  border: 1px solid var(--border); padding: 0.18rem 0.45rem; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
/* Watch Now button — appears on hover over image */
.bak-card-watch {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.22s; pointer-events: none;
}
.bak-card:hover .bak-card-watch { opacity: 1; }
.bak-watch-pill {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(242,237,230,0.92); color: var(--ink);
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border-radius: var(--r-pill);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.bak-watch-pill svg { width: 0.8rem; height: 0.8rem; fill: var(--ink); }
.bak-card-body { padding: 1.125rem; flex: 1; display: flex; flex-direction: column; }
.bak-card-eyebrow {
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem;
}
.bak-card-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 1rem); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--parchment); line-height: 1.25; margin-bottom: 0.2rem;
}
.bak-card-bakery {
  font-family: var(--font-display); font-weight: 100;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--p-35);
}
body.light-mode .bak-card { background: #faf7f3; border-color: rgba(26,22,18,0.10); }
body.light-mode .bak-card-title { color: #1a1612; }
body.light-mode .bak-watch-pill { background: rgba(26,22,18,0.9); color: #f2ede6; }
body.light-mode .bak-watch-pill svg { fill: #f2ede6; }

/* ══════════════════════════════════════════════════════════════════
   FIND GOOD BREAD — DISCOVERY PAGE
══════════════════════════════════════════════════════════════════ */
.discovery-filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.discovery-filter-btn {
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.5rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: transparent; color: var(--p-50);
  cursor: pointer; transition: all 0.18s;
  white-space: nowrap;
}
.discovery-filter-btn:hover { border-color: var(--border-md); color: var(--parchment); background: var(--p-07); }
.discovery-filter-btn.active { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
body.light-mode .discovery-filter-btn { color: rgba(26,22,18,0.50); border-color: rgba(26,22,18,0.12); }
body.light-mode .discovery-filter-btn:hover { color: #1a1612; border-color: rgba(26,22,18,0.22); background: rgba(26,22,18,0.05); }
body.light-mode .discovery-filter-btn.active { background: #1a1612; color: #f2ede6; border-color: #1a1612; }
.discovery-filter-sep { width: 1px; height: 28px; background: var(--border); align-self: center; flex-shrink: 0; }

.discovery-grid { display: grid; gap: 1.125rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .discovery-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .discovery-grid { grid-template-columns: repeat(3,1fr); } }

/* Featured card — spans full width */
.discovery-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-hero); overflow: hidden; cursor: pointer;
  transition: border-color 0.22s;
}
@media (min-width: 700px) { .discovery-featured { grid-template-columns: 1fr 1.4fr; } }
.discovery-featured:hover { border-color: var(--border-md); }
.disc-feat-img-wrap { position: relative; min-height: 220px; overflow: hidden; }
.disc-feat-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78) saturate(0.85); transition: filter 0.4s, transform 0.6s var(--ease-out); }
.discovery-featured:hover .disc-feat-img { filter: brightness(0.9) saturate(1); transform: scale(1.03); }
.disc-feat-grade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(14,12,10,0.15), transparent 60%), linear-gradient(to top, rgba(14,12,10,0.7) 0%, transparent 50%); }
.disc-feat-bread-badge {
  position: absolute; bottom: 0.875rem; left: 0.875rem;
  font-family: var(--font-cond); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--amber); color: #fff; padding: 0.25rem 0.65rem; border-radius: var(--r-pill);
}
.disc-feat-film-badge {
  position: absolute; top: 0.875rem; right: 0.875rem;
  font-family: var(--font-cond); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em;
  background: rgba(14,12,10,0.72); color: rgba(242,237,230,0.8);
  border: 1px solid var(--border-md); padding: 0.22rem 0.55rem; border-radius: var(--r-pill);
  backdrop-filter: blur(6px); display: flex; align-items: center; gap: 0.35rem;
}
.disc-feat-film-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.disc-feat-body {
  padding: clamp(1.5rem,3vw,2.25rem);
  display: flex; flex-direction: column; justify-content: center;
}
.disc-feat-tag { font-family: var(--font-cond); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.5rem; }
.disc-feat-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.1rem,2.5vw,1.75rem); letter-spacing: 0.1em; text-transform: uppercase; color: var(--parchment); line-height: 1.15; margin-bottom: 0.625rem; }
.disc-feat-desc { font-size: 0.875rem; font-weight: 300; color: var(--p-50); line-height: 1.7; margin-bottom: 1.25rem; }
.disc-feat-details { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.disc-feat-detail { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.78rem; font-weight: 300; color: var(--p-50); text-decoration: none; transition: color 0.18s; }
.disc-feat-detail svg { width: 0.78rem; height: 0.78rem; flex-shrink: 0; margin-top: 0.18rem; color: var(--p-35); }
a.disc-feat-detail:hover { color: var(--amber); }
.disc-feat-actions { display: flex; gap: 0.625rem; flex-wrap: wrap; }
body.light-mode .disc-feat-name { color: #1a1612; }
body.light-mode .discovery-featured { background: #ede8e0; border-color: rgba(26,22,18,0.10); }

/* Standard discovery card */
.disc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  /* Transition only used for hover and FLIP playback */
  will-change: transform;
}
.disc-card:hover { border-color: var(--border-md); }

.disc-card-img-wrap { position: relative; aspect-ratio: 3/2; overflow: hidden; flex-shrink: 0; }
.disc-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78) saturate(0.85); transition: filter 0.4s, transform 0.6s var(--ease-out); }
.disc-card:hover .disc-card-img { filter: brightness(0.9) saturate(1); transform: scale(1.04); }
.disc-card-grade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,12,10,0.75) 0%, transparent 55%); }
.disc-card-bread-badge {
  position: absolute; bottom: 0.625rem; left: 0.625rem;
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  background: var(--amber); color: #fff; padding: 0.22rem 0.55rem; border-radius: var(--r-pill);
}
.disc-card-film-badge {
  position: absolute; top: 0.625rem; right: 0.625rem;
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em;
  background: rgba(14,12,10,0.72); color: rgba(242,237,230,0.7);
  border: 1px solid var(--border); padding: 0.18rem 0.45rem; border-radius: var(--r-pill);
  backdrop-filter: blur(6px); display: flex; align-items: center; gap: 0.3rem;
}
.disc-card-film-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.disc-card-body { padding: 1.125rem; flex: 1; display: flex; flex-direction: column; }
.disc-card-suburb { font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem; }
.disc-card-name { font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--parchment); line-height: 1.25; margin-bottom: 0.35rem; }
.disc-card-desc { font-size: 0.78rem; font-weight: 300; color: var(--p-50); line-height: 1.55; flex: 1; margin-bottom: 0.875rem; }
.disc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.disc-card-hours { font-family: var(--font-cond); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-35); display: flex; align-items: center; gap: 0.3rem; }
.disc-card-hours svg { width: 0.65rem; height: 0.65rem; }
.disc-card-actions { display: flex; gap: 0.4rem; }
.disc-card-btn { font-family: var(--font-cond); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.38rem 0.75rem; border-radius: var(--r-pill); cursor: pointer; transition: all 0.18s; }
.disc-card-btn-watch { background: var(--parchment); color: var(--ink); border: none; }
.disc-card-btn-watch:hover { background: var(--amber); color: #fff; }
.disc-card-btn-map { background: transparent; border: 1px solid var(--border); color: var(--p-50); }
.disc-card-btn-map:hover { border-color: var(--border-md); color: var(--parchment); }
/* Unfiled community card */
.disc-card.community { opacity: 0.72; }
body.light-mode .disc-card { background: #faf7f3; border-color: rgba(26,22,18,0.10); }
body.light-mode .disc-card-name { color: #1a1612; }

/* Suggest CTA card */
.disc-suggest-card {
  grid-column: 1 / -1;
  border: 1px dashed rgba(242,237,230,0.18); border-radius: var(--r-card);
  padding: 1.75rem; display: flex; align-items: center; gap: 1.25rem;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.disc-suggest-card:hover { border-color: var(--amber); background: rgba(200,131,58,0.04); }
.disc-suggest-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; flex-shrink: 0; background: rgba(200,131,58,0.1); border: 1px solid rgba(200,131,58,0.22); display: flex; align-items: center; justify-content: center; color: var(--amber); }
.disc-suggest-icon svg { width: 1.1rem; height: 1.1rem; }
.disc-suggest-title { font-family: var(--font-display); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--parchment); margin-bottom: 0.2rem; }
.disc-suggest-sub { font-size: 0.8rem; font-weight: 300; color: var(--p-35); }
body.light-mode .disc-suggest-card { border-color: rgba(26,22,18,0.15); }
body.light-mode .disc-suggest-title { color: #1a1612; }

/* No results */
.disc-no-results { grid-column: 1/-1; text-align: center; padding: 3rem 1rem; font-size: 0.9rem; font-weight: 300; color: var(--p-35); }

/* ══════════════════════════════════════════════════════════════════
   MAP PAGE
══════════════════════════════════════════════════════════════════ */
.map-page-wrap {
  display: grid;
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(1.5rem,3vw,2.5rem) var(--px) clamp(3rem,5vw,4rem);
  gap: 1.125rem;
}
@media (min-width: 900px) {
  .map-page-wrap { grid-template-columns: 300px 1fr; }
}
.map-sidebar {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); overflow: hidden;
  max-height: clamp(500px, 70vh, 780px);
}
.map-sidebar-head {
  padding: 1.5rem 1.25rem 1rem; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.map-sidebar-list { overflow-y: auto; flex: 1; }
.map-bakery-item {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  cursor: pointer; text-align: left; width: 100%; background: none; border-left: 2px solid transparent;
  transition: background 0.15s, border-left-color 0.2s;
}
.map-bakery-item:hover { background: var(--surface-2); }
.map-bakery-item.active { background: var(--surface-2); border-left-color: var(--amber); padding-left: calc(1.25rem - 2px); }
.map-bakery-num {
  font-family: var(--font-display); font-weight: 100;
  font-size: 1.5rem; line-height: 1; color: var(--p-20);
  flex-shrink: 0; width: 2rem; text-align: right; margin-top: 0.1rem;
}
.map-bakery-item.active .map-bakery-num { color: var(--amber); }
.map-bakery-info { flex: 1; min-width: 0; }
.map-bakery-cat {
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.2rem;
}
.map-bakery-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--parchment); line-height: 1.3; margin-bottom: 0.2rem;
}
.map-bakery-addr { font-size: 0.72rem; font-weight: 300; color: var(--p-35); line-height: 1.4; }
.map-bakery-thumb {
  width: 3.25rem; height: 3.25rem; border-radius: 0.5rem; object-fit: cover;
  flex-shrink: 0; filter: brightness(0.8) saturate(0.85); transition: filter 0.2s;
}
.map-bakery-item:hover .map-bakery-thumb, .map-bakery-item.active .map-bakery-thumb { filter: brightness(0.95) saturate(1); }
.map-canvas-wrap { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); overflow: visible; }
#kneed-map { width: 100%; height: clamp(500px, 70vh, 780px); }

/* popup */
.map-popup {
  position: absolute; z-index: 500;
  width: clamp(260px, 28vw, 310px);
  background: var(--surface); border: 1px solid var(--border-md);
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  transform: scale(0.95);
}
.map-popup.visible {
  opacity: 1; transform: scale(1); pointer-events: all;
}
.map-popup-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(0.85) saturate(0.85); display: block; }
.map-popup-body { padding: 1rem; }
.map-popup-cat {
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem;
}
.map-popup-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--parchment); line-height: 1.2; margin-bottom: 0.5rem;
}
.map-popup-detail {
  font-size: 0.72rem; font-weight: 300; color: var(--p-50); line-height: 1.55;
  display: flex; align-items: flex-start; gap: 0.4rem; margin-bottom: 0.3rem;
}
.map-popup-detail svg { width: 0.72rem; height: 0.72rem; flex-shrink: 0; margin-top: 0.15rem; color: var(--p-35); }
.map-popup-actions { display: flex; gap: 0.5rem; margin-top: 0.875rem; }
.map-popup-btn {
  flex: 1; border-radius: 99px; padding: 0.55rem 0.75rem; cursor: pointer;
  font-family: var(--font-cond); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; text-align: center; transition: opacity 0.18s;
}
.map-popup-btn:hover { opacity: 0.82; }
.map-popup-btn-primary { background: var(--parchment); color: var(--ink); border: none; }
.map-popup-btn-ghost { background: none; border: 1px solid var(--border-md); color: var(--p-70); }
.map-popup-close {
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: rgba(14,12,10,0.65); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: rgba(242,237,230,0.85);
  transition: background 0.18s; z-index: 2;
}
.map-popup-close:hover { background: rgba(14,12,10,0.9); }
.map-popup-close svg { width: 0.75rem; height: 0.75rem; }

/* home teaser */
.map-teaser {
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--surface); overflow: hidden; cursor: pointer;
  transition: border-color 0.25s; display: grid;
  height: clamp(260px, 32vw, 400px);
  isolation: isolate;
  contain: layout;
}
@media (min-width: 768px) { .map-teaser { grid-template-columns: 280px 1fr; } }
.map-teaser:hover { border-color: var(--border-md); }
.map-teaser-info {
  padding: clamp(1.25rem,2vw,2rem); display: flex; flex-direction: column;
  gap: 0; border-right: 1px solid var(--border);
}

/* story page map panel — separate from home teaser */
.story-map-panel {
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--surface); overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .story-map-panel { grid-template-columns: clamp(220px, 30%, 300px) 1fr; }
}
.story-map-info {
  padding: clamp(1.25rem, 3vw, 1.875rem);
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) {
  .story-map-info { border-bottom: none; border-right: 1px solid var(--border); }
}
.story-map-info-top { flex: 1; }
.story-map-info-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--parchment); line-height: 1.2; margin-top: 0.35rem;
}
.story-map-details {
  margin-top: 1.125rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.story-map-detail {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 300; color: var(--p-50); line-height: 1.5;
  text-decoration: none;
}
.story-map-detail svg { width: 0.82rem; height: 0.82rem; flex-shrink: 0; margin-top: 0.18rem; color: var(--p-35); }
a.story-map-detail { transition: color 0.18s; }
a.story-map-detail:hover { color: var(--amber); }
a.story-map-detail:hover svg { color: var(--amber); }
.story-map-info-btn {
  margin-top: clamp(1rem, 2.5vw, 1.5rem); align-self: flex-start;
}
#sv-story-map { height: clamp(280px, 40vw, 520px); }
@media (max-width: 599px) { #sv-story-map { height: 260px; } }
body.light-mode .story-map-panel { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .story-map-info { border-color: rgba(26,22,18,0.10); }
body.light-mode .story-map-info-name { color: #1a1612; }
.map-teaser-locations {
  flex: 1; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; overflow: hidden;
}
.map-teaser-loc-row {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 300; color: var(--p-50);
}
.map-teaser-loc-row::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0;
}
#map-teaser-canvas { width: 100%; height: 100%; isolation: isolate; }
#map-teaser-canvas .leaflet-pane,
#map-teaser-canvas .leaflet-tile-pane,
#map-teaser-canvas .leaflet-marker-pane { pointer-events: none; }
#map-teaser-canvas .leaflet-marker-icon { pointer-events: all; cursor: pointer; }

/* light mode overrides */
body.light-mode .map-sidebar { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .map-sidebar-head { border-color: rgba(26,22,18,0.10); }
body.light-mode .map-bakery-item { border-color: rgba(26,22,18,0.08); }
body.light-mode .map-bakery-item:hover, body.light-mode .map-bakery-item.active { background: #e5dfd6; }
body.light-mode .map-bakery-name { color: #1a1612; }
body.light-mode .map-popup { background: #faf7f3; border-color: rgba(26,22,18,0.15); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
body.light-mode .map-popup-name { color: #1a1612; }
body.light-mode .map-popup-detail { color: rgba(26,22,18,0.55); }
body.light-mode .map-popup-btn-primary { background: #1a1612; color: #f2ede6; }
body.light-mode .map-popup-btn-ghost { border-color: rgba(26,22,18,0.15); color: rgba(26,22,18,0.65); }
body.light-mode .map-teaser { background: #ede8e0; border-color: rgba(26,22,18,0.10); }
body.light-mode .map-teaser-info { border-color: rgba(26,22,18,0.10); }
body.light-mode .map-teaser-loc-row { color: rgba(26,22,18,0.55); }

.hero-section {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 580px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  cursor: pointer;
}
@media (max-width: 640px) { .hero-section { min-height: 400px; } }

.hero-img-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 12s var(--ease-out) forwards;
}
/* Crossfade overlay image — fades in on top, then becomes the bg */
.hero-img-next {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  pointer-events: none;
}
.hero-img-next.fading-in { opacity: 1; }

/* Content crossfade */
.hero-content-inner {
  display: flex; flex-direction: column; align-items: center; width: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.hero-content-inner.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-content-inner.fading {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Bottom-third gradient — heavier at base for text legibility */
.hero-grade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(14,12,10,0.35) 0%,
    rgba(14,12,10,0.05) 30%,
    rgba(14,12,10,0.05) 42%,
    rgba(14,12,10,0.55) 58%,
    rgba(14,12,10,0.88) 75%,
    rgba(14,12,10,0.97) 100%);
}

/* Extra radial scrim behind centred text — softer and more targeted */
.hero-text-scrim {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 100% at 50% 100%,
    rgba(14,12,10,0.75) 0%,
    rgba(14,12,10,0.0) 100%);
  pointer-events: none;
}

.hero-tone { position: absolute; inset: 0; background: rgba(200,131,58,0.05); mix-blend-mode: color; }

/* Subtle vertical grid lines inside the card */
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; justify-content: space-between; padding: 0 var(--px);
}
.hero-grid-lines span { display: block; width: 1px; height: 100%; background: rgba(242,237,230,0.06); }

/* Ghost word — sits behind the photo in the upper half */
.hero-bg-word {
  position: absolute; top: 42%; left: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(12rem,26vw,32rem);
  letter-spacing: -0.02em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgba(242,237,230,0.11);
  line-height: 1; white-space: nowrap; pointer-events: none; user-select: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  animation: bgWordDrift 45s linear 0.3s infinite alternate;
}
.hero-bg-word.bg-visible { opacity: 1; }
.hero-bg-word.bg-fading  { opacity: 0; transition: opacity 0.4s ease; }
@keyframes bgWordDrift {
  0%   { transform: translateY(-50%) translateX(6%); }
  100% { transform: translateY(-50%) translateX(-22%); }
}

/* Ticker band across the middle */
.hero-ticker-wrap {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: 0; right: 0; overflow: hidden; pointer-events: none;
  opacity: 0; animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}
.hero-ticker { display: flex; gap: 0; white-space: nowrap; animation: tickerScroll 32s linear infinite; }
.hero-ticker-item {
  font-family: var(--font-display); font-weight: 100;
  font-size: clamp(0.8rem,1.4vw,1.3rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(242,237,230,0.09); padding-right: 3rem; flex-shrink: 0;
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── CONTENT — centred in bottom third ───────────────────────────── */
.hero-content {
  position: relative; z-index: 10; width: 100%;
  padding: 0 var(--px) clamp(4rem,7vh,6rem);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

.hero-eyebrow-row {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); animation: pulse 2.5s ease-in-out 1.5s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
.eyebrow-tag {
  font-family: var(--font-cond); font-size: 1.16rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber);
}
.eyebrow-rule { width: 32px; height: 1px; background: var(--amber); opacity: 0.4; flex-shrink: 0; }
.eyebrow-meta { font-family: var(--font-cond); font-size: 1.16rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.60); }

.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem,7vw,7rem);
  letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 0.92; color: #ffffff;
  text-shadow: 0 2px 32px rgba(14,12,10,0.7);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.3em;
  overflow: visible;
  max-width: clamp(20rem, 55vw, 44rem);
}
.hero-word {
  display: inline-block;
}


.hero-bakery-line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(0.85rem,1.8vw,1.4rem);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber-lt); margin-top: 0.75rem;
  text-shadow: 0 1px 16px rgba(14,12,10,0.7);
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: clamp(0.85rem,1.3vw,1rem); font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,0.80); max-width: 44ch;
  text-shadow: 0 1px 16px rgba(14,12,10,0.6);
}

.hero-cta-row {
  display: flex; align-items: center; justify-content: center; gap: 0.875rem; margin-top: 1.5rem;
}

/* hide meta stack — centred layout doesn't need it */
.hero-meta-stack { display: none; }

/* Bottom bar sits inside the rounded card */
.hero-bottom-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  border-top: 1px solid rgba(242,237,230,0.08);
  padding: 0.875rem var(--px);
  display: flex; justify-content: center; align-items: center;
  opacity: 0; animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}
.bottom-stat { display: flex; align-items: center; gap: 0.5rem; }
.bottom-stat-num {
  font-family: var(--font-display); font-weight: 200;
  font-size: 1.1rem; letter-spacing: 0.08em; color: #f2ede6; line-height: 1;
}
.bottom-stat-desc {
  font-family: var(--font-cond); font-size: 0.5rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(242,237,230,0.32); line-height: 1.3;
}
.bottom-dots { display: flex; align-items: center; gap: 0; }
.bottom-dot {
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.bottom-dot::after {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(242,237,230,0.30);
  transition: background 0.25s, width 0.3s var(--ease-out), border-radius 0.3s;
}
.bottom-dot.active::after {
  background: var(--amber);
  width: 20px; border-radius: 99px;
}
.bottom-dot:hover::after { background: rgba(242,237,230,0.65); }

/* ══════════════════════════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════════════════════════ */
.newsletter-block {
  overflow: hidden; border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(2rem,4vw,3rem); position: relative;
}
.newsletter-block::before {
  content: ''; position: absolute; top: -5rem; right: -5rem;
  width: 18rem; height: 18rem; border-radius: 50%;
  background: var(--amber); opacity: 0.07; pointer-events: none;
}
.newsletter-grid { display: grid; gap: 2rem; align-items: end; position: relative; }
@media (min-width: 768px) { .newsletter-grid { grid-template-columns: 1.2fr 0.8fr; } }
.nl-eyebrow {
  font-family: var(--font-cond); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.875rem;
}
.nl-title {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(1.1rem,2.5vw,1.75rem); letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.25; color: var(--parchment);
}
.nl-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 600px) { .nl-form { flex-direction: row; } }
.nl-input {
  flex: 1; min-height: 3rem; border-radius: var(--r-pill);
  border: 1px solid var(--border-md); background: var(--p-07);
  padding: 0 1.25rem; font-size: 0.875rem; color: var(--parchment);
  outline: none; transition: border-color 0.2s;
}
.nl-input::placeholder { color: var(--p-35); }
.nl-input:focus { border-color: var(--amber); }
.nl-btn {
  border-radius: var(--r-pill); background: var(--amber); color: #fff;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: opacity 0.2s; white-space: nowrap;
}
.nl-btn:hover { opacity: 0.88; }

/* ══════════════════════════════════════════════════════════════════
   STORY VIEW
══════════════════════════════════════════════════════════════════ */
.story-video-shell {
  width: 100%; background: var(--ink); padding: 1.5rem var(--px);
}
.story-video-inner {
  max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center;
}
.story-share-rail {
  width: clamp(2.5rem,5vw,3.5rem); flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.375rem; padding: 0 0.25rem;
}
.share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--p-50);
  cursor: pointer; transition: background 0.18s, color 0.18s, transform 0.18s; flex-shrink: 0;
}
.share-btn:hover { background: var(--parchment); color: var(--ink); transform: scale(1.08); }
.share-btn svg { width: 0.8125rem; height: 0.8125rem; }

.story-video-block { flex: 1; position: relative; background: #000; min-width: 0; }
.story-video-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000; overflow: hidden;
  box-shadow: 0 12px 60px rgba(0,0,0,0.5);
}
.story-video-wrap video, .story-video-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.story-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; pointer-events: none; }
.story-video-poster.is-hidden { opacity: 0; }
.story-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer; z-index: 2; transition: opacity 0.3s;
}
.story-play-btn.is-hidden { opacity: 0; pointer-events: none; }
.play-btn-inner {
  display: flex; align-items: center; justify-content: center;
  width: clamp(3rem,6vw,5rem); height: clamp(3rem,6vw,5rem); border-radius: 50%;
  background: rgba(242,237,230,0.1); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(242,237,230,0.25); transition: background 0.2s, transform 0.2s;
}
.story-play-btn:hover .play-btn-inner { background: rgba(242,237,230,0.2); transform: scale(1.08); }
.play-btn-inner svg { width: clamp(1rem,2vw,1.75rem); height: clamp(1rem,2vw,1.75rem); fill: #fff; margin-left: 0.15em; }

.story-video-controls {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 0.625rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  display: flex; align-items: center; gap: 0.75rem;
  opacity: 0; transition: opacity 0.25s;
}
.story-video-wrap:hover .story-video-controls { opacity: 1; }
.vc-play { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-play svg { width: 1rem; height: 1rem; fill: #fff; }
.vc-progress {
  flex: 1; height: 2px; background: rgba(242,237,230,0.2);
  border-radius: 9999px; cursor: pointer; position: relative;
}
.vc-progress-fill { height: 100%; background: var(--amber); border-radius: 9999px; width: 0%; transition: width 0.1s linear; pointer-events: none; }
.vc-time { font-size: 0.625rem; font-weight: 500; color: var(--p-70); letter-spacing: 0.04em; white-space: nowrap; flex-shrink: 0; }
.vc-mute, .vc-fullscreen { display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--p-70); transition: color 0.18s; }
.vc-mute:hover, .vc-fullscreen:hover { color: #fff; }
.vc-mute svg, .vc-fullscreen svg { width: 0.875rem; height: 0.875rem; }

.story-nav-rail {
  width: clamp(2.5rem,5vw,3.5rem); flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.375rem; padding: 0 0.25rem;
}
.story-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--p-50);
  cursor: pointer; transition: background 0.18s, color 0.18s, transform 0.18s; flex-shrink: 0;
}
.story-nav-btn:hover { background: var(--parchment); color: var(--ink); transform: scale(1.08); }
.story-nav-btn svg { width: 0.875rem; height: 0.875rem; }
@media (max-width: 640px) { .story-share-rail { display: none; } .story-nav-rail { width: 2rem; padding: 0; } .story-video-block { padding: 0 0.75rem; } }

.story-title-block { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem var(--px) 0; }
@media (min-width: 768px) { .story-title-block { padding: 3.5rem var(--px) 0; } }
.story-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem;
  font-family: var(--font-cond); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--p-35);
  margin-bottom: 1.25rem;
}
.meta-dot { opacity: 0.4; }
.story-h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem,5vw,3rem); line-height: 1.1; letter-spacing: 0.01em; max-width: 28ch; color: var(--parchment); }
.story-h1-bread {
  display: block; font-family: var(--font-display); font-weight: 200;
  font-size: clamp(1.1rem,3vw,2.25rem); line-height: 1.1; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber);
  opacity: 0; transform: translateY(18px); animation: titleLineIn 0.55s 0.05s var(--ease-out) both;
}
.story-h1-bakery {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(0.65rem,1.3vw,0.9rem); line-height: 1.2; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--p-35); margin-top: 0.5rem;
  opacity: 0; transform: translateY(14px); animation: titleLineIn 0.5s 0.18s var(--ease-out) both;
}
@keyframes titleLineIn { to { opacity: 1; transform: translateY(0); } }
.story-h1-sub {
  margin-top: 1.25rem; font-size: clamp(0.875rem,1.5vw,1rem); line-height: 1.75; font-weight: 300;
  color: var(--p-50); max-width: 34rem;
  opacity: 0; transform: translateY(10px); animation: titleLineIn 0.45s 0.3s var(--ease-out) both;
}

.story-body-section { display: grid; gap: 2.5rem; max-width: var(--max-w); margin: 0 auto; padding: 3.5rem var(--px) 5rem; }
@media (min-width: 768px) { .story-body-section { grid-template-columns: 250px 1fr; gap: 4rem; padding: 5rem var(--px) 7rem; } }

.story-aside {
  position: sticky; top: 9rem; align-self: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 1.25rem; padding: 1.25rem;
  font-size: 0.8125rem; color: var(--p-50);
  display: flex; flex-direction: column; gap: 1rem;
}
.aside-label { display: block; font-family: var(--font-cond); font-size: 0.54rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--p-35); margin-bottom: 0.25rem; }
.aside-value { font-weight: 300; color: var(--p-70); }
.aside-link { display: inline-block; font-size: 0.8125rem; font-weight: 300; color: var(--amber); word-break: break-all; transition: opacity 0.18s; }
.aside-link:hover { opacity: 0.75; }
.aside-instagram::before { content: '@'; }
.aside-share-btn {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem;
  width: 100%; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface-2);
  padding: 0.75rem 1rem;
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--p-70);
  cursor: pointer; transition: background 0.18s, border-color 0.18s;
  justify-content: center;
}
.aside-share-btn:hover { background: var(--surface-3); border-color: var(--border-md); }
.aside-share-btn svg { width: 1rem; height: 1rem; }

.story-article { max-width: 48rem; }
.story-quote {
  border-left: 3px solid var(--amber); padding-left: 1.75rem; margin-bottom: 3rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.05rem,2vw,1.45rem); line-height: 1.55; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--p-70);
}
.story-body-text {
  display: flex; flex-direction: column; gap: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.175rem);
  line-height: 1.95; font-weight: 400; color: var(--p-70);
}
.story-body-text p { margin-bottom: 1.875rem; }
.story-body-text p:last-child { margin-bottom: 0; }

/* Inline photo block */
.story-inline-photo {
  margin: 2.5rem 0; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border);
}
.story-inline-photo img {
  width: 100%; display: block; object-fit: cover;
  filter: brightness(0.9) saturate(0.9);
  transition: filter 0.4s;
}
.story-inline-photo:hover img { filter: brightness(1) saturate(1); }
.story-inline-photo figcaption {
  padding: 0.75rem 1rem;
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--p-35); border-top: 1px solid var(--border);
}
/* Wide photo — bleeds to article edges */
.story-inline-photo.wide { margin-left: -2rem; margin-right: -2rem; border-radius: 0; border-left: none; border-right: none; }
/* Two-up photo pair */
.story-photo-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2.5rem 0;
}
.story-photo-pair .story-inline-photo { margin: 0; }

.story-note { margin-top: 2rem; font-size: 1rem; line-height: 1.88; font-weight: 300; color: var(--p-50); padding-top: 1.5rem; border-top: 1px solid var(--border); }

body.light-mode .story-inline-photo { border-color: rgba(26,22,18,0.10); }
body.light-mode .story-inline-photo figcaption { border-color: rgba(26,22,18,0.10); color: rgba(26,22,18,0.40); }
body.light-mode .story-body-text { color: rgba(26,22,18,0.75); }

/* ══════════════════════════════════════════════════════════════════
   PRODUCT VIEW
══════════════════════════════════════════════════════════════════ */
.product-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-image-frame { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--surface); }
.product-info { display: flex; flex-direction: column; gap: 0; }
@media (min-width: 768px) { .product-info { position: sticky; top: 7rem; } }
.product-store-tag { display: inline-block; font-family: var(--font-cond); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.product-name { font-family: var(--font-display); font-weight: 200; text-transform: uppercase; font-size: clamp(1.25rem,2.5vw,2rem); letter-spacing: 0.1em; line-height: 1.1; color: var(--parchment); }
.product-price { margin-top: 1rem; font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; letter-spacing: 0.02em; color: var(--parchment); }
.product-desc { margin-top: 1.375rem; font-size: 1rem; line-height: 1.8; font-weight: 300; color: var(--p-50); }
.product-details { margin-top: 1.75rem; border-top: 1px solid var(--border); padding-top: 1.375rem; display: flex; flex-direction: column; gap: 0.625rem; }
.product-detail { display: flex; gap: 0.625rem; align-items: baseline; font-size: 0.875rem; line-height: 1.6; font-weight: 300; color: var(--p-50); }
.product-detail::before { content: '—'; color: var(--amber); font-weight: 700; flex-shrink: 0; }
.product-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ══════════════════════════════════════════════════════════════════
   PAGE HEADERS
══════════════════════════════════════════════════════════════════ */
.wf-page-head { max-width: 46rem; margin-bottom: 2.5rem; }
.wf-page-head .wf-eyebrow { margin-bottom: 0.625rem; }
.wf-page-h1 {
  font-family: var(--font-display); font-weight: 200; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: clamp(1.25rem,3vw,2rem); line-height: 1.2; color: var(--parchment);
}
.wf-page-intro { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.8; font-weight: 300; color: var(--p-50); }

.search-field {
  width: 100%; margin-top: 1.75rem; border-radius: var(--r-pill);
  border: 1px solid var(--border-md); background: var(--surface);
  padding: 1rem 1.5rem; font-size: 1rem; font-weight: 300;
  color: var(--parchment); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-10); }
.search-field::placeholder { color: var(--p-35); }

.simple-body { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1.5rem; font-size: 1.0625rem; line-height: 1.88; font-weight: 300; color: var(--p-50); }

/* ══════════════════════════════════════════════════════════════════
   RATING + COMMENTS
══════════════════════════════════════════════════════════════════ */
.rating-block { padding: 1.5rem 0 2rem; }
.star-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

/* ── INLINE RATING (under story heading) ─────────────────────────── */
.story-inline-rating {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(8px);
  animation: titleLineIn 0.45s 0.45s var(--ease-out) both;
}
.inline-star-row { display: flex; gap: 0.25rem; }
.inline-star-btn {
  background: none; border: none; cursor: pointer; padding: 0.1rem;
  color: var(--p-20); transition: color 0.15s, transform 0.15s;
  line-height: 0;
}
.inline-star-btn:hover { transform: scale(1.2); }
.inline-star-btn.active { color: var(--amber); }
.inline-star-btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; stroke: none; }
.inline-rating-summary {
  font-family: var(--font-cond); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--p-35); min-height: 1rem;
}
.inline-rating-avg { color: var(--amber); font-weight: 600; margin-right: 0.25rem; }
body.light-mode .inline-star-btn { color: rgba(26,22,18,0.12); }
body.light-mode .story-inline-rating { border-color: rgba(26,22,18,0.10); }
.star-btn { background: none; border: none; cursor: pointer; padding: 0.25rem; color: var(--p-20); transition: color 0.15s, transform 0.15s; }
.star-btn:hover { transform: scale(1.15); }
.star-btn.active { color: var(--amber); }
.star-btn svg { width: 2rem; height: 2rem; fill: currentColor; stroke: none; }
.rating-summary { font-size: 0.875rem; font-weight: 300; color: var(--p-50); min-height: 1.5rem; }
.rating-avg { font-family: var(--font-display); font-weight: 300; font-size: 1.125rem; color: var(--parchment); letter-spacing: 0.08em; margin-right: 0.375rem; }

.comment-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.5rem; margin-bottom: 2rem; }
.comment-form-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .comment-form-row { flex-direction: row; } }
.comments-list { display: flex; flex-direction: column; gap: 1rem; }
.comment-item { background: var(--surface); border: 1px solid var(--border); border-radius: 1.125rem; padding: 1.25rem 1.5rem; animation: commentIn 0.3s var(--ease-out) both; }
@keyframes commentIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.comment-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.625rem; gap: 0.5rem; }
.comment-name { font-family: var(--font-display); font-weight: 300; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--parchment); }
.comment-date { font-size: 0.625rem; font-weight: 400; color: var(--p-35); letter-spacing: 0.06em; white-space: nowrap; }
.comment-stars { color: var(--amber); font-size: 0.75rem; margin-bottom: 0.375rem; }
.comment-body { font-size: 0.9375rem; line-height: 1.75; font-weight: 300; color: var(--p-70); }
.comments-empty { font-size: 0.9375rem; font-weight: 300; color: var(--p-35); padding: 1.5rem 0; }
.comments-loading { display: flex; justify-content: center; padding: 2rem; }
.loading-spinner { width: 1.5rem; height: 1.5rem; border: 2px solid var(--border); border-top-color: var(--amber); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════
   CREDITS
══════════════════════════════════════════════════════════════════ */
.credits-grid { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.5rem 0 0; }
.credit-card { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; background: none; border: none; border-radius: 0; padding: 0; }
.credit-role { font-size: 0.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em; color: var(--p-35); flex-shrink: 0; white-space: nowrap; }
.credit-name { font-size: 0.75rem; font-weight: 300; color: var(--p-50); text-align: right; }
.credit-company { display: none; }

/* ══════════════════════════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════════════════════════ */
.auth-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; pointer-events: none; padding: var(--px); }
.auth-modal.is-open { pointer-events: all; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(14,12,10,0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity 0.3s var(--ease-out); }
.auth-modal.is-open .auth-backdrop { opacity: 1; }
.auth-panel {
  position: relative; z-index: 1;
  background: var(--surface); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border-md); border-radius: 1.5rem;
  padding: 2.5rem 2rem; width: 100%; max-width: 26rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(20px) scale(0.97);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.auth-modal.is-open .auth-panel { opacity: 1; transform: translateY(0) scale(1); }
.auth-close { position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface-2); color: var(--p-50); transition: background 0.18s, color 0.18s; }
.auth-close:hover { background: var(--parchment); color: var(--ink); }
.auth-close svg { width: 0.875rem; height: 0.875rem; }
.auth-logo { font-family: var(--font-display); font-weight: 200; font-size: 1.125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--parchment); margin-bottom: 1.25rem; }
.auth-title { font-family: var(--font-display); font-weight: 200; font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--parchment); margin-bottom: 0.5rem; }
.auth-subtitle { font-size: 0.875rem; font-weight: 300; line-height: 1.65; color: var(--p-50); margin-bottom: 1.75rem; }
.auth-socials { display: flex; flex-direction: column; gap: 0.625rem; }
.auth-social-btn { display: flex; align-items: center; gap: 0.875rem; width: 100%; padding: 0.75rem 1.125rem; border-radius: var(--r-pill); border: 1px solid var(--border-md); background: var(--surface-2); font-size: 0.875rem; font-weight: 400; color: var(--parchment); transition: background 0.18s, border-color 0.18s, transform 0.18s; }
.auth-social-btn:hover { background: var(--surface-3); border-color: var(--border-md); transform: translateY(-1px); }
.auth-divider { display: flex; align-items: center; gap: 0.875rem; margin: 1.25rem 0; color: var(--p-35); font-size: 0.75rem; font-weight: 300; letter-spacing: 0.08em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-signup-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0.875rem 1.125rem; border-radius: var(--r-pill); border: 1px solid var(--parchment); background: var(--parchment); color: var(--ink); font-size: 0.875rem; font-weight: 500; transition: opacity 0.18s, transform 0.18s; }
.auth-signup-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.auth-terms { margin-top: 1rem; font-size: 0.6875rem; font-weight: 300; line-height: 1.6; color: var(--p-35); text-align: center; }
.auth-login-link { margin-top: 0.75rem; font-size: 0.8125rem; font-weight: 300; color: var(--p-50); text-align: center; }

/* ══════════════════════════════════════════════════════════════════
   MENU DRAWER
══════════════════════════════════════════════════════════════════ */
.menu-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.menu-drawer.is-open { pointer-events: all; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(14,12,10,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s var(--ease-out); }
.menu-drawer.is-open .menu-backdrop { opacity: 1; }
.menu-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(22rem,85vw); background: var(--surface); border-right: 1px solid var(--border); box-shadow: 12px 0 60px rgba(0,0,0,0.4); display: flex; flex-direction: column; overflow-y: auto; transform: translateX(-100%); transition: transform 0.35s var(--ease-out); }
.menu-drawer.is-open .menu-panel { transform: translateX(0); }
.menu-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.menu-nav-label { font-family: var(--font-cond); font-size: 0.54rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.38em; color: var(--p-35); padding: 1.25rem 1.25rem 0.625rem; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav-item { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; font-family: var(--font-display); font-weight: 200; font-size: 0.9375rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--parchment); border-bottom: 1px solid var(--border); transition: background 0.15s, color 0.15s; text-align: left; }
.menu-nav-item:hover { background: var(--surface-2); color: var(--amber); }
.menu-nav-item svg { width: 0.875rem; height: 0.875rem; opacity: 0.25; flex-shrink: 0; transition: opacity 0.15s, transform 0.15s; }
.menu-nav-item:hover svg { opacity: 1; transform: translateX(3px); }
.menu-divider { height: 1px; background: var(--border); margin: 0.5rem 0; flex-shrink: 0; }
.menu-secondary { display: flex; flex-direction: column; }
.menu-secondary-item { display: flex; align-items: center; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 300; color: var(--p-50); text-align: left; transition: color 0.15s; }
.menu-secondary-item:hover { color: var(--parchment); }
.menu-follow { padding: 0 0 0.5rem; }
.menu-follow-links { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 1.25rem 1rem; }
.menu-follow-btn { border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface-2); padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 300; color: var(--p-50); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.menu-follow-btn:hover { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
.menu-panel-footer { margin-top: auto; padding: 1.25rem; border-top: 1px solid var(--border); font-size: 0.75rem; font-weight: 300; line-height: 1.65; color: var(--p-35); flex-shrink: 0; }
.menu-member-block { border-top: 1px solid var(--border); }
.menu-member-join-btn { display: flex; align-items: center; gap: 0.875rem; width: 100%; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border); text-align: left; transition: background 0.15s; }
.menu-member-join-btn:hover { background: var(--surface-2); }
.menu-member-join-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--p-50); }
.menu-member-join-icon svg { width: 0.875rem; height: 0.875rem; }
.menu-member-join-title { font-family: var(--font-display); font-weight: 300; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--parchment); line-height: 1.2; }
.menu-member-join-sub { font-size: 0.6875rem; font-weight: 300; color: var(--p-35); margin-top: 0.125rem; }
.menu-member-card { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border); }
.menu-member-avatar { width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 50%; background: var(--amber); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.menu-member-name { font-family: var(--font-display); font-weight: 300; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--parchment); }
.menu-member-email { font-size: 0.6875rem; font-weight: 300; color: var(--p-35); margin-top: 0.125rem; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.site-footer { max-width: var(--max-w); margin: 5rem auto 0; padding: 0 var(--px) 2.5rem; }
.footer-inner { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--surface); padding: clamp(1.75rem,3vw,2.5rem); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr auto auto auto; align-items: start; } }
.footer-brand { font-family: var(--font-display); font-weight: 200; font-size: 1.125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--parchment); }
.footer-tagline { margin-top: 0.625rem; max-width: 26rem; font-size: 0.8125rem; line-height: 1.65; font-weight: 300; color: var(--p-50); }
.footer-amber-bar { display: block; width: 2rem; height: 2px; background: var(--amber); margin-top: 1rem; }
.footer-col-head { font-family: var(--font-cond); font-size: 0.54rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.38em; color: var(--p-35); margin-bottom: 0.875rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-size: 0.875rem; font-weight: 300; color: var(--p-50); transition: color 0.18s; text-align: left; }
.footer-link:hover { color: var(--parchment); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.6875rem; font-weight: 400; color: var(--p-35); letter-spacing: 0.04em; }

/* ══════════════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════════════ */
.form-input { width: 100%; border-radius: 0.75rem; border: 1px solid var(--border-md); background: var(--surface); padding: 0.875rem 1rem; font-size: 0.9375rem; font-weight: 300; color: var(--parchment); font-family: var(--font-body); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-10); }
.form-input::placeholder { color: var(--p-35); }
.form-textarea { min-height: 9rem; resize: vertical; line-height: 1.7; }
.form-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23f2ede6' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; cursor: pointer; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-family: var(--font-cond); font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--p-50); display: flex; flex-direction: column; gap: 0.25rem; }
.form-label-note { font-size: 0.65rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--p-35); }
.form-hint { font-size: 0.6875rem; font-weight: 300; color: var(--p-35); margin-top: 0.25rem; display: block; }
.form-required { color: var(--amber); }
.form-actions { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.form-note { font-size: 0.8125rem; font-weight: 300; color: var(--p-35); line-height: 1.6; }
.form-checkboxes { display: grid; gap: 0.625rem; grid-template-columns: repeat(2,1fr); margin-top: 0.5rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 300; color: var(--p-70); cursor: pointer; letter-spacing: 0; text-transform: none; }
.form-check input[type="checkbox"] { width: 1rem; height: 1rem; border: 1px solid var(--border-md); border-radius: 0.25rem; accent-color: var(--amber); flex-shrink: 0; cursor: pointer; }
.form-check-consent { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.8125rem; font-weight: 300; line-height: 1.65; color: var(--p-50); cursor: pointer; letter-spacing: 0; text-transform: none; }
.form-check-consent input { margin-top: 0.2rem; flex-shrink: 0; }

.submit-form { display: flex; flex-direction: column; gap: 1.5rem; }
.submit-overview { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; font-size: 1.0625rem; line-height: 1.88; font-weight: 300; color: var(--p-50); max-width: 44rem; }
.submit-success-block { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 3rem 2rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--surface); }
.success-icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--amber-10); color: var(--amber); }
.success-icon svg { width: 1.5rem; height: 1.5rem; }
.success-title { font-family: var(--font-display); font-weight: 200; font-size: 1.375rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--parchment); }
.success-body { font-size: 1rem; line-height: 1.8; font-weight: 300; color: var(--p-50); max-width: 36rem; }

.member-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

/* ── STORY ASIDE CARD (aside-card in story-view) */
.story-aside-card { background: var(--surface); }

/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════════════
   MOBILE — max-width: 767px
══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Root adjustments ── */
  :root { --px: 1rem; --r-card: 0.875rem; --r-hero: 1rem; }

  /* Hide search and join on mobile, keep burger and dark toggle */
  .header-right .icon-btn { display: none !important; }
  .header-right .header-login-btn { display: none !important; }
  .header-right .submit-btn { display: none !important; }
  .header-right { display: flex !important; }
  .header-bar { padding: 0.65rem var(--px); gap: 0.5rem; }
  .wf-logo svg { height: 1.6em !important; }
  .site-nav { display: none !important; }
  .mobile-dark-toggle { display: none !important; }

  /* ── Hero ── */
  /* hero handled in second mobile block below */
  .hero-content { padding: 1.25rem; }
  .hero-eyebrow { font-size: 0.6rem; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; line-height: 1.15; }
  .hero-desc { font-size: 0.82rem; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions { gap: 0.5rem; flex-wrap: wrap; }

  /* ── Grids → single column ── */
  .grid-4 { grid-template-columns: 1fr !important; gap: 0.875rem !important; }
  .grid-3 { grid-template-columns: 1fr !important; gap: 0.875rem !important; }
  .grid-2 { grid-template-columns: 1fr !important; gap: 0.875rem !important; }

  /* ── Asymmetric story layout ── */
  .story-asym { grid-template-columns: 1fr !important; }
  .asym-7, .asym-5 { grid-column: span 1 !important; }

  /* ── Tiles ── */
  .tile-body { padding: 0.875rem; }
  .tile-title { font-size: 1rem; }
  .tile-meta { font-size: 0.65rem; }

  /* ── Section headings ── */
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .section-title { font-size: clamp(1.1rem, 5vw, 1.5rem); }

  /* ── Story page ── */
  .story-layout { grid-template-columns: 1fr !important; }
  .story-nav-rail { display: none; }
  .story-share-rail { display: none; }
  .story-video-block { padding: 0 !important; border-radius: var(--r-card); overflow: hidden; }
  .story-headline { font-size: clamp(1.4rem, 6vw, 2rem); }
  .story-body { font-size: 0.92rem; }
  .story-meta-bar { flex-wrap: wrap; gap: 0.5rem; }

  /* ── Map page ── */
  .map-teaser { grid-template-columns: 1fr !important; }
  #sv-story-map { height: 240px !important; }
  .map-card-list { max-height: 300px; }
  /* Centre bakery info card on mobile */
  .story-map-info { align-items: center; text-align: center; }
  .story-map-details { align-items: center; }
  .story-map-detail { justify-content: center; }
  .story-map-info-btn { align-self: center; }
  .story-map-info-name { text-align: center; }

  /* ── Discovery grid ── */
  .discovery-grid { grid-template-columns: 1fr !important; }
  .discovery-featured { grid-template-columns: 1fr !important; }

  /* ── Newsletter ── */
  .newsletter-grid { grid-template-columns: 1fr !important; }
  .nl-form { flex-direction: column !important; }
  .nl-input { width: 100%; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 2rem 1rem; }
  .footer-brand svg { height: 1.4rem !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* ── Auth modal ── */
  .auth-panel { padding: 1.5rem 1.25rem; width: calc(100vw - 2rem); max-width: 100%; border-radius: var(--r-card); }
  .auth-logo svg { height: 1.4rem !important; }

  /* ── General spacing ── */
  .py-page { padding-top: 2rem; padding-bottom: 3rem; }
  .mt-section { margin-top: 2.5rem; }

  /* ── Scrollable rows ── */
  .scroll-row { gap: 0.75rem; }
  .scroll-row .wf-tile { min-width: 80vw; }

  /* ── Burger menu ── */
  .menu-panel { width: 100vw; max-width: 100vw; }
}

@media (max-width: 767px) {
  .hero-section {
    width: calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    margin: 0.75rem auto 0 !important;
    border-radius: 1rem !important;
    height: 78vh !important;
    min-height: 400px !important;
    left: 0 !important;
    right: 0 !important;
  }
  /* Push content up so dots have room at bottom */
  .hero-content { padding-bottom: 3.5rem !important; }
  /* Ensure bottom bar sits above content */
  .hero-bottom-bar {
    background: linear-gradient(to top, rgba(14,12,10,0.6) 0%, transparent 100%);
    padding: 1rem var(--px) 0.875rem !important;
    border-top: none !important;
  }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.4rem !important; }
  .scroll-row .wf-tile { min-width: 90vw; }
}
/* ── HOME HERO ANIMATIONS ───────────────────────────────────── */
.hero-anim-1 { opacity: 0; animation: heroLineIn 0.5s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-anim-2 { opacity: 0; animation: heroLineIn 0.55s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-anim-3 { opacity: 0; animation: heroLineIn 0.5s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-anim-4 { opacity: 0; animation: heroLineIn 0.5s 0.48s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-scroll-hint { opacity: 0; animation: heroLineIn 0.5s 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes heroLineIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
/* ── CARD ENTRANCE ANIMATIONS ───────────────────────────────── */
.card-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.card-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card-animate:nth-child(2) { transition-delay: 0.08s; }
.card-animate:nth-child(3) { transition-delay: 0.16s; }
.card-animate:nth-child(4) { transition-delay: 0.24s; }
.card-animate:nth-child(5) { transition-delay: 0.32s; }
.card-animate:nth-child(6) { transition-delay: 0.40s; }