/* fn.css — the one stylesheet for Festival Networks pages (design B, Oct 2026).
 *
 * Replaces the ~330 lines of CSS each page used to carry inline. A page that
 * uses it links this file and fn.js, and carries no <style> of its own beyond
 * the optional --hero-img on its hero. Shared markup (header, footer, signup,
 * phone concierge bar) lives in templates/partials/ and is written into each
 * page by scripts/fn_build_site.py.
 *
 * Sections, in page order: tokens · base · header · crumbs · hero · ask box ·
 * sections and prose · filters · festival cards · picks · FAQ · related ·
 * signup · footer · phone concierge bar · utilities.
 */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #0A0A0A;
  --surface: #141412;
  --raised: #1C1C1A;
  --line: #2A2A28;
  --line-soft: #1C1C1A;
  --text: #F5F5F5;
  --text-2: #D9D9D6;
  --muted: #A6A6A2;        /* 8:1 on --bg; the old #909090/#454545 failed on cards */
  --green: #00FF88;
  --green-soft: rgba(0, 255, 136, 0.35);
  --green-wash: rgba(0, 255, 136, 0.06);
  --gold: #C9A66B;

  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 60px;
  --radius: 4px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font: 400 18px/1 var(--serif);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.logo em { font-style: normal; color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font: 600 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.site-nav a:hover { color: var(--text); }
.site-nav .nav-ask {
  padding: 9px 16px; border: 1.5px solid var(--green); color: var(--green);
}
.site-nav .nav-ask:hover { background: var(--green); color: var(--bg); }
.nav-burger {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text-2); margin: 5px 0; }
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  padding: 0 var(--gutter); background: #0E0E0E; border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
  font: 500 14px/1 var(--sans); color: var(--text-2); text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-burger { display: block; }
  .logo { font-size: 15px; letter-spacing: 0.15em; }
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.crumbs {
  font: 11px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--muted);
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.crumbs ol { list-style: none; display: flex; gap: 8px; min-width: 0; }
.crumbs li { white-space: nowrap; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* A page may set --hero-img on .hero (an image from site/images/, which we hold
   rights to) and --hero-pos to choose the crop. Desktop: the photo fills the right
   ~60% at full strength and fades into the page behind the headline (17 Oct review:
   "imagery still a bit dark... love the burst of colour"). Phones: full width, with a
   stronger overlay because the text runs across it. */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: ''; position: absolute; inset: 0 0 0 38%;
  background: var(--hero-img, none) var(--hero-pos, center) / cover no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 38%, rgba(10,10,10,0.55) 52%, rgba(10,10,10,0.05) 78%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.hero h1, .lede { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.hero > .wrap {
  position: relative; z-index: 1;
  display: grid; gap: 28px 64px;
  grid-template-columns: minmax(0, 1fr) 220px;
  grid-template-areas:
    'head  stats'
    'acts  acts';
}
.hero-head { grid-area: head; }
.hero-stats { grid-area: stats; }
.hero-actions { grid-area: acts; }

.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 11px/1.4 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--green);
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; flex: none; }
.hero h1 {
  font: 700 clamp(34px, 5.6vw, 76px)/1.03 var(--serif);
  letter-spacing: -0.02em; margin-bottom: 22px; max-width: 16ch;
}
.hero h1 em, h2 em { font-style: italic; color: var(--green); }
.lede { font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 62ch; }
@media (min-width: 901px) { .hero .lede { max-width: 54ch; } }   /* stays on the dark side of the hero photo */

.hero-stats {
  list-style: none; align-self: center;
  display: flex; flex-direction: column; gap: 22px;
  padding: 22px 24px; border-left: 2px solid var(--gold);
  background: rgba(10, 10, 10, 0.62); backdrop-filter: blur(6px);
}
.hero-stats b { display: block; font: 400 30px/1.1 var(--serif); color: var(--gold); }
.hero-stats li > span {   /* the label; a span inside <b> (live counts) keeps the number's style */
  font: 10px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

.hero-actions {
  display: grid; gap: 20px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .hero > .wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'acts' 'stats';
  }
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .hero::before { inset: 0; }
  .hero::after {
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.86) 18%, rgba(10,10,10,0.94) 40%, var(--bg) 100%);
  }
  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px;
    padding: 20px; border-left: 0; border-top: 2px solid var(--gold);
  }
  .hero-stats b { font-size: 24px; }
}

/* ── Ask box (concierge, in the hero and at the foot of a page) ─────────── */
.ask {
  padding: 26px 28px;
  background: rgba(20, 20, 18, 0.92);
  border: 1px solid var(--green-soft); border-left: 3px solid var(--green);
}
.ask-kicker {
  font: 10px/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.ask h2 { font: 600 clamp(22px, 2.2vw, 30px)/1.15 var(--serif); margin-bottom: 8px; }
.ask p { font-size: 13px; line-height: 1.65; color: var(--muted); margin-bottom: 16px; }
.ask form { display: flex; }
.ask input {
  flex: 1; min-width: 0; padding: 14px;
  background: var(--bg); border: 1px solid var(--line); border-right: 0;
  font-size: 14px; outline: none;
}
.ask input:focus { border-color: var(--green); }
.ask input::placeholder { color: #7A7A76; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  padding: 8px 12px; min-height: 36px;
  border: 1px solid rgba(0, 255, 136, 0.22); background: transparent;
  font-size: 12px; color: var(--text-2); cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--green); color: var(--green); }

/* Partners page: screenshots of a live Featured slot, side by side (stacked on phones). */
.example-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.example-shots img { display: block; width: 100%; border: 1px solid var(--line); }
.example-shots figcaption { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.example-shots figcaption b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .example-shots { grid-template-columns: 1fr; } }

/* Featured partner teaser: the partner's photo and name in the hero, pointing down to the
   Featured card. 27 Oct 2026: under the hero's opening paragraph on every screen size, so it's on
   the first screen and clear of the cookie banner (in the ask box it fell on the fold); the
   partner's own photo leads it in a gold frame, and it glows once as the page opens: bright enough
   to catch the eye, nothing that keeps moving (Philip). Dark backing because it's over the hero photo. */
.featured-teaser {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 54ch; padding: 10px 16px 10px 10px;
  border: 1px solid var(--gold); border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(201, 166, 107, 0.22), rgba(10, 10, 10, 0.78) 70%);
  box-shadow: 0 10px 34px rgba(201, 166, 107, 0.22);
  font-size: 14px; line-height: 1.45; color: var(--text-2); text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
  animation: ft-glow 1.6s ease-out 0.6s 1;
}
.featured-teaser:hover { transform: translateY(-1px); box-shadow: 0 12px 40px rgba(201, 166, 107, 0.34); }
.featured-teaser img { flex: none; width: 120px; height: 80px; object-fit: cover; display: block; }
.featured-teaser .ft-text { flex: 1; min-width: 0; }
.featured-teaser .ft-label {
  display: block; margin-bottom: 3px;
  font: 10px/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.featured-teaser b { color: var(--text); font-weight: 600; font-size: 17px; }
.featured-teaser .ft-when { white-space: nowrap; }
.featured-teaser .ft-arrow { flex: none; font-size: 20px; color: var(--gold); }
@keyframes ft-glow {
  0%, 100% { box-shadow: 0 10px 34px rgba(201, 166, 107, 0.22); }
  35% { box-shadow: 0 0 0 6px rgba(201, 166, 107, 0.35), 0 0 40px rgba(201, 166, 107, 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .featured-teaser { animation: none; }
}
/* Same width as the ask box below it, so the two line up (Philip, 27 Oct). The hero is two
   columns (head | 220px stats, 64px gap) over two boxes (1.4fr | 1fr, 20px gap): the ask box is
   7/12 of (hero width - 20px), and the hero width is this column + 284px. */
@media (min-width: 901px) {
  .hero-head .featured-teaser { width: calc((100% + 264px) * 7 / 12); max-width: none; }
}
@media (max-width: 900px) {
  .hero-head .featured-teaser { max-width: none; }
}
@media (max-width: 760px) {
  .featured-teaser img { width: 88px; height: 66px; }
}
/* A guide's Featured partner leads the page in its own short section under the hero. */
.section--featured { padding: clamp(28px, 4vw, 48px) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--green); color: var(--bg); text-decoration: none;
  font: 700 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.15s;
}
.btn:hover { background: #4DFFAB; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn--ghost {
  background: transparent; color: var(--green); border: 1.5px solid var(--green);
  padding: 11px 16px;
}
.btn--ghost:hover { background: var(--green-wash); }
.link-out {
  font: 600 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.link-out:hover { color: var(--green); border-color: var(--green); }
/* A card's link to the festival's own FN page (26 Oct 2026): same weight as Official site, in green. */
.link-guide {
  font: 600 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); text-decoration: none; border-bottom: 1px solid var(--green-soft);
  padding-bottom: 3px;
}
.link-guide:hover { border-color: var(--green); }

/* ── Sections and prose ─────────────────────────────────────────────────── */
.section { padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-soft); }
.section--alt { background: var(--surface); }
.section-kicker {
  font: 10px/1.4 var(--mono); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.section h2 {
  font: 600 clamp(28px, 3.2vw, 40px)/1.15 var(--serif);
  margin-bottom: 18px; max-width: 26ch;
}
.section-intro { color: var(--muted); max-width: 68ch; margin-bottom: 32px; }
.prose { max-width: 70ch; color: var(--text-2); }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose h3 { font: 500 22px/1.25 var(--serif); color: var(--text); margin: 28px 0 10px; }
.prose a { text-decoration-color: var(--green-soft); text-underline-offset: 3px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.columns .prose { max-width: none; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; } }

/* A key-facts list (sale timeline, what a ticket covers) */
.facts-list { list-style: none; border-top: 1px solid var(--line); }
.facts-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-list li > strong {
  display: block; margin-bottom: 2px;
  font: 700 12px/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.facts-list span { font-size: 14px; color: var(--muted); }
.facts-list span strong { font-weight: 600; color: var(--text); }   /* emphasis inside a value stays inline */

.callout {
  margin-top: 32px; padding: 20px 24px; max-width: 70ch;
  border: 1px solid var(--gold); background: rgba(201, 166, 107, 0.06);
}
.callout strong {
  display: block; margin-bottom: 6px;
  font: 10px/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.callout p { font-size: 14px; color: var(--text-2); }

/* Numbered tips ("what regulars say") */
.tips { list-style: none; counter-reset: tip; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tips li { counter-increment: tip; padding: 24px; background: var(--raised); }
.tips li::before {
  content: counter(tip, decimal-leading-zero); display: block; margin-bottom: 12px;
  font: 400 32px/1 var(--serif); color: var(--green);
}
.tips h3 { font: 500 20px/1.25 var(--serif); margin-bottom: 8px; }
.tips p { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; } }

/* ── Filters ────────────────────────────────────────────────────────────── */
/* Wraps on wide screens; on phones it is one row that scrolls sideways instead
   of four rows of buttons. */
.filters {
  position: sticky; top: var(--header-h); z-index: 90;
  background: rgba(10, 10, 10, 0.96); border-block: 1px solid var(--line-soft);
}
.filters .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-block: 12px;
}
@media (max-width: 760px) {
  .filters .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
.filters .wrap::-webkit-scrollbar { display: none; }
.filter-label {
  flex: none; margin: 0 4px 0 14px;
  font: 10px/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.filter-label:first-child { margin-left: 0; }
.filter {
  flex: none; padding: 8px 14px; min-height: 36px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter[aria-pressed='true'] { color: var(--green); border-color: var(--green); background: var(--green-wash); }
.results-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; font: 11px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted);
}
.show-all { text-align: center; padding: 32px 0 8px; }
.show-all[hidden] { display: none; }
.no-results { display: none; padding: 48px 0; text-align: center; color: var(--muted); }
.no-results.show { display: block; }

/* ── Festival cards ─────────────────────────────────────────────────────── */
.fcards {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.fcard {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-top: 2px solid var(--line); transition: border-color 0.2s;
}
.fcard:hover { border-color: var(--line); border-top-color: var(--green); }
.fcard[hidden] { display: none; }
.fcard-img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.fcard-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }

/* The date is the first thing read: big, high-contrast, with its status. */
.fcard-when {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.fcard-date { font: 700 14px/1.3 var(--mono); letter-spacing: 0.02em; color: var(--text); }
.fcard-date small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.status {
  flex: none; padding: 4px 8px;
  font: 600 9px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted);
}
.status--confirmed { border-color: var(--green-soft); color: var(--green); }
.status--onsale { background: var(--green); border-color: var(--green); color: var(--bg); }
.status--soldout { border-color: var(--gold); color: var(--gold); }
.status--pick { border-color: var(--gold); color: var(--gold); }

.fcard-name { font: 500 clamp(24px, 2.2vw, 28px)/1.1 var(--serif); margin-bottom: 4px; }
.fcard-place {
  font: 600 11px/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.fcard-blurb {
  font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 4px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.fcard.open .fcard-blurb { display: block; }
.fcard-more {
  align-self: flex-start; margin-bottom: 16px; padding: 4px 0;
  background: none; border: 0; cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: 0.06em; color: var(--text-2);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);
}
.fcard-lineup { font-size: 13px; line-height: 1.6; color: var(--text-2); margin-bottom: 16px; }
.fcard-lineup span {
  display: block; font: 9px/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
/* Ranked guides: place and headline figure, with what it counts and its source underneath. */
.fcard-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.fcard-figure b { font: 400 26px/1.1 var(--serif); color: var(--gold); }
.fcard-figure small { flex-basis: 100%; margin-top: 4px; font: 11px/1.5 var(--mono); letter-spacing: 0.02em; }
.fcard-rank {
  align-self: center; min-width: 30px; padding: 4px 6px; text-align: center;
  border: 1px solid var(--gold); font: 700 12px/1 var(--mono); color: var(--gold);
}
.fcard-facts {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin: auto 0 20px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.fcard-facts dt {
  font: 9px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.fcard-facts dd { font: 600 13px/1.4 var(--sans); color: var(--text); }
.fcard-facts div { min-width: 0; }
.fcard-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fcard-actions .btn { padding: 12px 16px; }
.fcard-when .status { margin-left: auto; }
.follow {
  flex: none; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); cursor: pointer;
  font-size: 16px; color: var(--muted);
}
.follow:hover, .follow[aria-pressed='true'] { color: var(--gold); border-color: var(--gold); }
.follow-form { margin-top: 14px; }
/* Phones (26 Oct 2026): cards were ~600px each and half of every guide's height
   (scripts/fn_phone_sections.js); even compact they stacked ~440px. On a phone each card
   is a row: square photo, date, name and place. "Read more" opens the blurb, facts and
   buttons in place. The Featured partner card keeps its full size.
   :not([hidden]) matters: this rule is as specific as .fcard[hidden] and comes later, so
   without it every card past "Show all" showed on phones (26-27 Oct: camping 51 of 51). */
@media (max-width: 760px) {
  .fcard:not(.fcard--featured):not([hidden]) { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
  .fcard:not(.fcard--featured) .fcard-img { width: 92px; height: 100%; min-height: 118px; max-height: 150px; aspect-ratio: auto; }
  .fcard:not(.fcard--featured) .fcard-body { padding: 12px 14px; }
  .fcard:not(.fcard--featured) .fcard-when { margin-bottom: 6px; flex-wrap: wrap; }
  .fcard:not(.fcard--featured) .fcard-date { white-space: nowrap; }   /* an opened row's status label had squeezed it onto three lines */
  .fcard:not(.fcard--featured) .follow { width: 30px; height: 30px; }
  .fcard:not(.fcard--featured) .fcard-name { font-size: 20px; }
  .fcard:not(.fcard--featured) .fcard-place { margin-bottom: 4px; font-size: 10px; }
  /* Compact cards (event-page alternatives, artists) have no "Read more" and are short already:
     they keep their line and Official site link (27 Oct: these were unreachable on phones). */
  .fcard:not(.fcard--featured):not(.fcard--compact):not(.open) :is(.status, .fcard-blurb, .fcard-lineup, .fcard-figure, .fcard-facts, .fcard-actions .link-out) { display: none; }
  /* The concierge stays one tap away on a closed row (26 Oct: it's the product, and opens are the weak point). */
  .fcard:not(.fcard--featured):not(.open) .fcard-actions { margin-top: 8px; }
  .fcard:not(.fcard--featured):not(.open) .fcard-actions .btn { padding: 7px 12px; font-size: 10px; }
  .fcard--compact .fcard-blurb { font-size: 13px; margin: 6px 0 4px; }
  .fcard:not(.fcard--featured) .fcard-more[hidden] { display: inline-block; }   /* always there: it opens the details */
  .fcard:not(.fcard--featured) .fcard-more { margin: 2px 0 0; }
  .fcard.open:not(.fcard--featured) .fcard-blurb { margin-top: 8px; }
  .fcard.open:not(.fcard--featured) .fcard-facts { margin-bottom: 12px; }
}

.follow-form .row { display: flex; }
.follow-form input {
  flex: 1; min-width: 0; padding: 10px 12px; background: var(--bg);
  border: 1px solid var(--line); border-right: 0; font-size: 13px; outline: none;
}
.follow-form input:focus { border-color: var(--green); }
.follow-form .btn { padding: 10px 14px; }

/* Featured partner slot: full width, first in the grid, partner's own photo. The
   label is required (ASA/CAP: paid placement must be identifiable at a glance). */
.fcard--featured {
  grid-column: 1 / -1; position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 2px solid var(--gold); border-top-width: 2px;
  box-shadow: 0 0 0 1px rgba(201, 166, 107, 0.3), 0 18px 60px rgba(201, 166, 107, 0.18);
}
.fcard--featured:hover { border-color: var(--gold); border-top-color: var(--gold); }
.fcard--featured { min-height: 380px; }
.fcard--featured .fcard-img { aspect-ratio: auto; height: 0; min-height: 100%; }   /* row height comes from the text */
.fcard--featured .fcard-body { padding: 32px; }
.fcard--featured .fcard-name { font-size: clamp(30px, 3vw, 40px); }
.fcard--featured .fcard-place { color: var(--gold); }
.fcard--featured .fcard-blurb { -webkit-line-clamp: unset; display: block; color: var(--text-2); margin-bottom: 0; }
.featured-label {
  position: absolute; top: 0; left: 0; z-index: 1; padding: 8px 14px;
  background: var(--gold); color: var(--bg);
  font: 700 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.btn--gold { background: var(--gold); }
.btn--gold:hover { background: #DDBE85; }
@media (max-width: 760px) {
  .fcard--featured { grid-template-columns: 1fr; }
  .fcard--featured { min-height: 0; }
  .fcard--featured .fcard-img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .fcard--featured .fcard-body { padding: 24px 20px; }
}

/* Compact cards (alternatives on event pages): no facts row, smaller name. */
.fcard--compact .fcard-name { font-size: 24px; }
.fcard--compact .fcard-blurb { -webkit-line-clamp: unset; display: block; margin-bottom: 16px; }

/* ── Tiles (options that aren't festivals: ways to get there, ticket types) ─ */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tile { padding: 24px; background: var(--raised); border-top: 2px solid var(--line); }
.tile .status { display: inline-block; margin-bottom: 14px; }
.tile h3 { font: 500 21px/1.2 var(--serif); margin-bottom: 4px; }
.tile-sub { font: 11px/1.5 var(--mono); letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 12px; }
.tile p { font-size: 14px; color: var(--muted); }

/* ── Cost table (what a trip costs) ─────────────────────────────────────── */
.costs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; max-width: 980px; }
.costs h3 { font: 500 20px/1.25 var(--serif); margin-bottom: 12px; }
.cost-row, .cost-total {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.cost-row span:first-child { color: var(--muted); }
.cost-row span:last-child { font: 700 13px/1.5 var(--mono); color: var(--text); white-space: nowrap; }
.cost-total { border-bottom: 0; border-top: 2px solid var(--gold); margin-top: 4px; }
.cost-total span:first-child { font: 10px/1.6 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.cost-total span:last-child { font: 400 22px/1.2 var(--serif); color: var(--gold); white-space: nowrap; }
.costs-note { margin-top: 28px; max-width: 70ch; color: var(--text-2); }
@media (max-width: 760px) { .costs { grid-template-columns: 1fr; } }

/* ── Comparison table ───────────────────────────────────────────────────── */
/* Scrolls sideways on phones rather than squeezing columns. */
.cmp { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line-soft); }
.cmp table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.cmp th {
  text-align: left; padding: 12px 16px; background: var(--raised);
  font: 10px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cmp td { padding: 12px 16px; border-top: 1px solid var(--line-soft); color: var(--text-2); }
.cmp td:first-child { color: var(--text); font-weight: 600; }

/* ── Guide cards (the guides hub) ───────────────────────────────────────── */
.gcards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gcard {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft); border-top: 2px solid var(--line);
  transition: border-color 0.2s;
}
.gcard:hover { border-top-color: var(--green); }
.gcard-img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; transition: transform 0.4s; }
.gcard:hover .gcard-img { transform: scale(1.03); }
.gcard-body { padding: 20px 22px 24px; }
.gcard-tag {
  font: 600 10px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
  margin-bottom: 8px;
}
.gcard h3 { font: 500 21px/1.2 var(--serif); color: var(--text); margin-bottom: 8px; }
.gcard p { font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Phones: a stack of guide cards ran 800-1,200px; a sideways swipe row shows the
   first one and the edge of the next, so it reads as more to swipe. */
@media (max-width: 760px) {
  .gcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-right: calc(-1 * var(--gutter));
  }
  .gcard { scroll-snap-align: start; }
}

/* ── Picks ("if you only go to one") ────────────────────────────────────── */
.picks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pick { padding: 24px; background: var(--raised); border-top: 2px solid var(--gold); }
.pick-label {
  font: 9px/1.4 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.pick h3 { font: 500 23px/1.15 var(--serif); margin-bottom: 4px; }
.pick-meta { font: 11px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 10px; }
.pick p { font-size: 13px; line-height: 1.65; color: var(--muted); }
/* Phones: picks repeat festivals from the list, so a swipe row rather than a ~1,600px stack. */
@media (max-width: 760px) {
  .picks {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-right: calc(-1 * var(--gutter));
  }
  .pick { scroll-snap-align: start; }
}

/* ── FAQ (visible, so it matches the FAQPage markup) ────────────────────── */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 500 19px/1.35 var(--serif); color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 16px;
  font: 400 24px/1 var(--sans); color: var(--green);
}
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ── Related guides ─────────────────────────────────────────────────────── */
.related { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.related a {
  display: block; padding: 24px; text-decoration: none;
  background: var(--surface); border-top: 2px solid var(--line); transition: border-color 0.2s, background 0.2s;
}
.related a:hover { background: var(--raised); border-top-color: var(--green); }
.related-type {
  font: 9px/1.4 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--green);
  margin-bottom: 8px;
}
.related h3 { font: 500 20px/1.2 var(--serif); color: var(--text); margin-bottom: 6px; }
.related p { font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Phones: the same sideways swipe row as .gcards (the stack ran 750-1,200px). */
@media (max-width: 760px) {
  .related {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-right: calc(-1 * var(--gutter));
  }
  .related a { scroll-snap-align: start; }
}

/* ── Signup ─────────────────────────────────────────────────────────────── */
/* .signup is the panel next to the hero ask box; .signup--band is the full-width
   version near the foot of a page. Same markup, same handler (fn.js). */
.signup {
  padding: 26px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(20, 20, 18, 0.85);
}
.signup-kicker {
  font: 10px/1.4 var(--mono); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.signup h2, .signup .signup-title { font: 500 22px/1.25 var(--serif); color: var(--text); margin-bottom: 8px; }
.signup p { font-size: 13px; color: var(--muted); }
.signup form { display: flex; margin: 16px 0 10px; }
.signup input {
  flex: 1; min-width: 0; padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-right: 0;
  font-size: 14px; outline: none;
}
.signup input:focus { border-color: var(--green); }
.signup .consent { font-size: 11px; line-height: 1.7; color: var(--muted); }
.signup .consent a { color: var(--text-2); }
.form-msg { font-size: 13px; margin-top: 10px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #FF8A7A; }
.signup--band { border: 0; background: none; padding: 0; text-align: center; }
.signup--band .wrap { max-width: 600px; }
.signup--band form { max-width: 460px; margin-inline: auto; }
.signup--band .signup-title { font-size: clamp(24px, 2.6vw, 32px); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--line-soft); }
.site-footer .wrap {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 48px; padding-block: 48px;
}
.site-footer .logo { display: inline-block; margin-bottom: 12px; }
.site-footer p { font-size: 13px; color: var(--muted); max-width: 30ch; }
.site-footer h4 {
  font: 600 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { font-size: 13px; color: var(--text-2); text-decoration: none; }
.site-footer li a:hover { color: var(--green); }
.site-footer li .link-btn { font-size: 13px; color: var(--text-2); }
.site-footer li .link-btn:hover { color: var(--green); }
.footer-base {
  border-top: 1px solid var(--line-soft);
  font-size: 11px; letter-spacing: 0.04em; color: var(--muted);
}
.footer-base .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 16px; }
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}

/* ── Phone concierge bar ────────────────────────────────────────────────── */
/* Phones only. fn.js hides it while the hero ask box, a signup form or the footer
   is on screen. Pages with this bar set <body data-fn-bubble="off"> so widget.js
   doesn't also show its floating bubble. */
.ask-bar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  padding: 0 6px 0 16px; height: 52px;
  align-items: center; gap: 12px;
  background: var(--raised); border: 1px solid var(--green-soft); border-left: 3px solid var(--green);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  transform: translateY(0); transition: transform 0.25s, opacity 0.25s;
}
.ask-bar[data-hidden] { transform: translateY(140%); opacity: 0; pointer-events: none; }
.ask-bar span { flex: 1; font-size: 13px; color: var(--text-2); }
.ask-bar .btn { padding: 11px 14px; }
@media (max-width: 760px) {
  .signup .btn, .ask form .btn { padding-inline: 14px; }
  .ask-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ── Utilities ──────────────────────────────────────────────────────────── */
.stack-lg > * + * { margin-top: 48px; }
.center { text-align: center; }

/* ── Forms (submit-festival.html, 21 Oct 2026) ──────────────────────────────
   A form panel beside its explanation: fieldsets with a mono legend, labelled
   fields, two-up rows that stack on phones, an error line and a success state. */
.columns--form { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 860px) { .columns--form { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: step; margin: 24px 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 16px 40px; color: var(--muted); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px;
  border: 1px solid var(--green-soft); border-radius: 50%; color: var(--green);
  font: 11px/24px var(--mono); text-align: center;
}
.steps li b { color: var(--text); font-weight: 600; }
.form-aside { color: var(--muted); font-size: 14px; }
.form-panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 4vw, 36px); }
.form-panel fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.form-panel legend {
  display: block; width: 100%; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font: 10px/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 6px; font: 600 12px/1.4 var(--sans); color: var(--text-2); }
.field .req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 0; font: 15px/1.4 var(--sans);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #7A7A76; }
.field .is-invalid, .field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #E0705A; }
.field-hint { margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 400; }
label .field-hint { margin: 0 0 0 6px; }
.field-hint.is-over { color: #E0705A; }
.form-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #E0705A; color: #F2A999; font-size: 14px; }
.btn--block { width: 100%; }
.form-note { margin-top: 12px; text-align: center; font: 10px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-success { text-align: center; padding: 32px 0; }
.form-success-mark { font: 40px/1 var(--serif); color: var(--green); margin-bottom: 12px; }
.form-success h3 { font: 500 28px/1.2 var(--serif); margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 16px; }
.form-success a { color: var(--green); }
.featured-credit { margin-top: 14px; font: 10px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); }

/* ── Cookie banner (every page, from the footer partial; moved from home.css 22 Oct 2026) ── */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  max-width: 720px; margin-inline: auto; padding: 14px 16px;
  display: flex; align-items: center; gap: 16px;
  background: var(--raised); border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1; font-size: 12px; line-height: 1.6; color: var(--text-2); }
.cookie-banner a { color: var(--text); }
.cookie-banner .btns { display: flex; gap: 8px; flex: none; }
.cookie-banner .btn { padding: 11px 14px; }

@media (max-width: 760px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 10px; } }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; text-align: left; }
.link-btn:hover { color: var(--text); }

/* ── Legal pages (privacy, cookies, terms; 22 Oct 2026) ─────────────────── */
.legal h1 { font: 500 clamp(36px, 6vw, 56px)/1.05 var(--serif); margin-bottom: 10px; }
.legal-meta { font: 11px/1.6 var(--mono); letter-spacing: 0.08em; color: var(--muted); margin-bottom: 40px; }
.legal .prose h2 { font: 500 26px/1.25 var(--serif); color: var(--text); margin: 40px 0 14px; }
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose ul { margin: 0 0 16px 1.2em; }
.legal .prose li { margin-bottom: 8px; }
.legal .prose .cmp { margin: 8px 0 24px; }
