/* ============================================================================
   fw.css — EPCOT International Food & Wine Festival 2026 planning guide.
   Brand-register hero (golden hour over the World Showcase lagoon, Spaceship
   Earth and the pavilions in silhouette, festival string lights, a warm bokeh
   drift) over a product-register tool (a sortable, filterable marketplace
   explorer + the Eat to the Beat calendar). Built on v1.css tokens; warm
   festival accents (sunset gold, harvest, wine, vine green, grape) are local to
   this page and scoped to .fw. OKLCH throughout. Mirrors obb.css structure.
   ========================================================================== */

.fw {
  --fw-gold:    oklch(80% 0.140 78);     /* festival string-light gold */
  --fw-sun:     oklch(72% 0.150 55);     /* sunset over the lagoon */
  --fw-sun-glow:oklch(74% 0.150 58 / 0.50);
  --fw-wine:    oklch(58% 0.165 18);     /* deep wine / berry accent */
  --fw-vine:    oklch(80% 0.150 150);    /* fresh herb green = value / veg */
  --fw-grape:   oklch(68% 0.135 318);    /* grape = drinks */
  --fw-water:   oklch(56% 0.085 235);    /* twilight lagoon */
}

/* ----------------------------------------------------------------- the hero */
.fw-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background:
    radial-gradient(125% 90% at 50% 8%, var(--fw-sun-glow), transparent 52%),
    linear-gradient(180deg,
      oklch(34% 0.075 50)  0%,    /* warm dusk at the top */
      oklch(30% 0.070 40)  34%,
      oklch(24% 0.058 300) 72%,   /* settle into the site's indigo night */
      oklch(18% 0.045 290) 100%);
}
.fw-hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 2; pointer-events: none;
}
/* The warm glow rising off the lagoon at the horizon, gently breathing. */
.fw-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(72% 46% at 50% 80%, oklch(74% 0.15 60 / 0.40), transparent 72%);
  opacity: 0.6;
  animation: fw-breathe 10s ease-in-out infinite;
}
@keyframes fw-breathe {
  0%, 100% { opacity: 0.42; }
  50%      { opacity: 0.74; }
}

/* Festival string lights swagged across the top of the hero. */
.fw-lights {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 60px;
  pointer-events: none;
}
.fw-lights svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fw-wire { fill: none; stroke: oklch(100% 0 0 / 0.22); stroke-width: 1.4; }
.fw-bulb { animation: fw-twinkle 4s ease-in-out infinite; }
.fw-bulb:nth-child(3n)   { animation-delay: -1.3s; }
.fw-bulb:nth-child(3n+1) { animation-delay: -2.6s; }
@keyframes fw-twinkle {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* The World Showcase skyline, pinned to the foot of the hero, with a soft
   reflection in the lagoon below it. */
.fw-skyline {
  display: none;   /* option 1: light + type hero, silhouette removed */
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  width: 100%; height: clamp(128px, 27vw, 250px);
  pointer-events: none;
  filter: drop-shadow(0 0 30px oklch(72% 0.15 58 / 0.38));
}
.fw-skyline svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fw-sky-fill { fill: oklch(15% 0.040 290); }
.fw-sky-line { fill: none; stroke: oklch(15% 0.040 290); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.fw-sky-window { fill: var(--fw-gold); opacity: 0.92; }
.fw-sky-water { fill: oklch(28% 0.05 285); opacity: 0.5; }   /* the lagoon reflection band */
.fw-sky-reflect { fill: oklch(15% 0.040 290); opacity: 0.22; } /* mirrored silhouette */
.fw-ssE { fill: oklch(16% 0.040 288); }                       /* Spaceship Earth sphere */
.fw-ssE-facet { fill: none; stroke: oklch(34% 0.055 286); stroke-width: 0.8; opacity: 0.5; }

.fw-hero-in {
  position: relative; z-index: 4;
  padding-block: clamp(92px, 14vw, 160px) clamp(76px, 11vw, 132px);
  text-align: center;
}
.fw-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.10em; text-transform: uppercase; color: oklch(97% 0.02 80);
  background: oklch(100% 0 0 / 0.08); border: 1px solid oklch(100% 0 0 / 0.16);
  padding: 7px 14px; border-radius: var(--r-pill); backdrop-filter: blur(3px);
}
.fw-hero h1 {
  font-size: clamp(33px, 5.8vw, 66px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.03; margin: 18px auto 0; max-width: 18ch; text-wrap: balance;
  color: oklch(98% 0.015 80);
  text-shadow: 0 2px 34px oklch(20% 0.06 40 / 0.7);
}
.fw-hero .fw-standfirst {
  margin: 16px auto 0; max-width: 62ch; font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.55; color: oklch(93% 0.025 80);
}
.fw-hero-meta {
  margin: 22px auto 0; display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.fw-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: oklch(96% 0.02 80);
  background: oklch(100% 0 0 / 0.09); border: 1px solid oklch(100% 0 0 / 0.18);
  padding: 7px 13px; border-radius: var(--r-pill); backdrop-filter: blur(3px);
}
.fw-chip b { color: var(--fw-gold); font-variant-numeric: tabular-nums; }
.fw-hero-cta {
  margin-top: 24px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.fw-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; padding: 12px 20px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
}
.fw-btn-gold { background: var(--brand); color: var(--brand-ink); box-shadow: var(--halo); }
.fw-btn-gold:hover { background: var(--brand-press); text-decoration: none; }
.fw-btn-ghost { background: oklch(100% 0 0 / 0.06); color: oklch(97% 0.02 80); border-color: oklch(100% 0 0 / 0.22); }
.fw-btn-ghost:hover { background: oklch(100% 0 0 / 0.12); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .fw-hero::before { animation: none; opacity: 0.6; }
  .fw-bulb { animation: none; opacity: 0.85; }
}

/* ------------------------------------------------------- on-this-page notice */
.fw-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin: clamp(20px, 4vw, 34px) 0 0;
  padding: 14px 18px; border-radius: var(--r);
  background: oklch(72% 0.15 60 / 0.10); border: 1px solid oklch(72% 0.15 60 / 0.30);
  color: var(--ink); font-size: 14.5px; line-height: 1.5;
}
.fw-note b { color: var(--brand); }
.fw-note .fw-note-ico { flex: none; font-size: 18px; line-height: 1.3; }

/* ----------------------------------------------------------- quick-fact strip */
.fw-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px;
  margin-top: 22px;
}
.fw-fact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 3px;
}
.fw-fact-k {
  font-family: var(--display); font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.fw-fact-v { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2.3vw, 25px); color: var(--ink); line-height: 1.1; }
.fw-fact-v b { color: var(--brand); }
.fw-fact-note { color: var(--ink-2); font-size: 13px; }

/* ----------------------------------------------------------------- controls */
.fw-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--r); background: oklch(26% 0.05 285 / 0.7);
  position: sticky; top: 64px; z-index: 6; backdrop-filter: blur(8px);
}
.fw-ctl-group { display: flex; align-items: center; gap: 8px; }
.fw-ctl-cap { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.fw-select {
  appearance: none; font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 9px 30px 9px 12px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.fw-select:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }

/* filter chips — one row of pill toggles */
.fw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-fchip {
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 7px 13px; display: inline-flex; align-items: center; gap: 6px;
}
.fw-fchip:hover { color: var(--ink); border-color: var(--ink-3); }
.fw-fchip[aria-pressed="true"] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
.fw-fchip:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.fw-fchip .fw-fchip-dot { width: 8px; height: 8px; border-radius: 50%; }
.fw-fchip[data-fw-filter="savory"] .fw-fchip-dot { background: var(--fw-sun); }
.fw-fchip[data-fw-filter="sweet"]  .fw-fchip-dot { background: var(--fw-wine); }
.fw-fchip[data-fw-filter="drinks"] .fw-fchip-dot { background: var(--fw-grape); }
.fw-fchip[data-fw-filter="veg"]    .fw-fchip-dot { background: var(--fw-vine); }
.fw-fchip[data-fw-filter="confirmed"] .fw-fchip-dot { background: var(--brand); }

.fw-count { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.fw-count b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------- marketplace card grid */
.fw-grid {
  margin-top: 18px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.fw-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 16px 14px; overflow: hidden;
}
.fw-card.is-hidden { display: none; }
.fw-card::before {                      /* a thin top edge tinted by category */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--fw-sun);
}
.fw-card[data-cat="sweet"]::before  { background: var(--fw-wine); }
.fw-card[data-cat="drinks"]::before { background: var(--fw-grape); }
.fw-card-head { display: flex; align-items: flex-start; gap: 11px; }
.fw-flag {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-size: 20px; background: oklch(74% 0.14 60 / 0.14); border: 1px solid var(--line-2);
}
.fw-card[data-cat="sweet"]  .fw-flag { background: oklch(58% 0.165 18 / 0.16); }
.fw-card[data-cat="drinks"] .fw-flag { background: oklch(68% 0.135 318 / 0.16); }
.fw-card-title { flex: 1; min-width: 0; }
.fw-card-title h3 { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.15; color: var(--ink); margin: 0; }
.fw-card-region { font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.fw-tier {
  flex: none; font-weight: 800; font-size: 13px; color: var(--brand);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.fw-tier .fw-tier-off { color: var(--ink-3); opacity: 0.5; }

.fw-dishes { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fw-dish { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.4; }
.fw-dish-name { color: var(--ink-2); flex: 1; }
.fw-dish.is-star .fw-dish-name { color: var(--ink); font-weight: 700; }
.fw-dish.is-star .fw-dish-name::before { content: "★ "; color: var(--fw-gold); font-size: 12px; }
.fw-dish-price { color: var(--ink-3); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.fw-card-foot { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.fw-dishes { margin-bottom: 13px; }   /* breathing room above the pinned foot on short cards */
.fw-badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-pill); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.fw-badge.b-star { background: var(--brand-tint); color: var(--brand); }
.fw-badge.b-veg  { background: oklch(80% 0.15 150 / 0.16); color: var(--fw-vine); }
.fw-badge.b-2026 { background: oklch(72% 0.15 60 / 0.18); color: var(--fw-sun); }
.fw-badge.b-value{ background: oklch(80% 0.15 150 / 0.14); color: var(--fw-vine); }

.fw-empty { text-align: center; color: var(--ink-3); padding: 34px 0; font-size: 15px; }
.fw-empty.is-hidden { display: none; }

/* ------------------------------------------------ Eat to the Beat concerts */
.fw-concerts { margin-top: 16px; display: grid; gap: 10px; }
.fw-act-rail {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px;
}
.fw-act {
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 14px; display: inline-flex; align-items: center; gap: 7px;
}
.fw-act.is-new { border-color: oklch(68% 0.135 318 / 0.5); }
.fw-act.is-new::before { content: "NEW"; font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--fw-grape); background: oklch(68% 0.135 318 / 0.16); padding: 2px 6px; border-radius: var(--r-pill); }

/* full nightly schedule, tucked into a details disclosure */
.fw-sched-wrap { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 2px 16px; }
.fw-sched-wrap summary {
  cursor: pointer; list-style: none; padding: 13px 0; font-family: var(--display);
  font-weight: 800; font-size: 15px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.fw-sched-wrap summary::-webkit-details-marker { display: none; }
.fw-sched-wrap summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 700; flex: none; }
.fw-sched-wrap[open] summary::after { content: "–"; }
.fw-sched {
  margin: 0 0 12px; padding: 8px 0 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px 24px;
  border-top: 1px solid var(--line);
}
.fw-sched li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid oklch(40% 0.05 280 / 0.4); }
.fw-sched-date { flex: none; width: 96px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fw-sched-act { font-size: 14px; color: var(--ink-2); }
.fw-sched-new { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fw-grape); background: oklch(68% 0.135 318 / 0.16); padding: 1px 6px; border-radius: var(--r-pill); margin-left: 4px; vertical-align: 1px; }

/* -------------------------------------------- prose / inclusions / steps */
.fw-prose { max-width: 700px; }
.fw-prose h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.fw-prose h3 { font-size: 18px; font-weight: 800; margin-top: 22px; text-wrap: balance; }
.fw-prose p { color: var(--ink-2); font-size: 16px; line-height: 1.62; margin-top: 12px; text-wrap: pretty; }
.fw-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.fw-prose ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.fw-incl li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.fw-incl li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--fw-sun); font-size: 14px; line-height: 1.55; }
.fw-incl li b { color: var(--ink); }

.fw-steps { counter-reset: fw-step; display: grid; gap: 12px; margin-top: 14px; }
.fw-step {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px;
}
.fw-step::before {
  counter-increment: fw-step; content: counter(fw-step);
  font-family: var(--display); font-weight: 800; font-size: 15px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand);
}
.fw-step h3 { margin: 0; font-size: 16px; }
.fw-step p { margin-top: 4px; font-size: 14.5px; }

/* highlighted callout (best-days / pro tip) */
.fw-callout {
  margin-top: 16px; padding: 16px 18px; border-radius: var(--r);
  background: oklch(80% 0.15 150 / 0.08); border: 1px solid oklch(80% 0.15 150 / 0.28);
}
.fw-callout h3 { margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.fw-callout p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }

/* --------------------------------------------------------------------- FAQ */
/* Constrain the FAQ section's wrap to the prose column width so its heading and
   accordion align exactly with the prose sections above (same .wrap centering + padding
   as .wrap.fw-prose, instead of left-aligning inside the full-width .wrap). */
.wrap:has(> .fw-faq) { max-width: 700px; }
.fw-faq { max-width: 760px; display: grid; gap: 10px; margin-top: 16px; }
.fw-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px; }
.fw-faq summary {
  cursor: pointer; list-style: none; padding: 13px 0; font-family: var(--display);
  font-weight: 800; font-size: 16px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.fw-faq summary::-webkit-details-marker { display: none; }
.fw-faq summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 700; flex: none; }
.fw-faq details[open] summary::after { content: "–"; }
.fw-faq details p { color: var(--ink-2); font-size: 15px; line-height: 1.6; padding: 0 0 14px; margin: 0; }

/* ------------------------------------------------------ responsive (mobile) */
@media (max-width: 680px) {
  .fw-controls { top: 56px; gap: 10px 12px; }
  .fw-count { width: 100%; margin-left: 0; }
  .fw-grid { grid-template-columns: 1fr; }
}
