:root {
  --fh-ink: #18171a;
  --fh-paper: #f3f0e9;
  --fh-pink: #f08db1;
  --fh-pink-dark: #a52e5e;
  --fh-pink-hover: #f5a8c3;
  --fh-muted: #b9b6ba;
}

.hero h1, .hero h2, .edition-hero h1, .edition-hero h2,
.product-strip h2, .audience-grid h3, .festivals-intro h1 {
  font-family: var(--fh-display), 'Barlow Condensed', Arial, sans-serif;
  font-weight: 800;
}

/* --- Hero (home) --- */
.hero { background: var(--fh-ink); }
.hero .overline { color: var(--fh-pink); text-transform: uppercase; }
.hero h1 em { color: var(--fh-pink); font-style: normal; }
.hero .button.primary,
.edition-hero .button.primary {
  background: var(--fh-pink); color: var(--fh-ink); border: 1px solid var(--fh-pink);
  border-radius: 0; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em;
}
.hero .button.primary:hover,
.edition-hero .button.primary:hover { background: var(--fh-pink-hover); }
.hero .text-link { color: var(--fh-paper); }
.hero .text-link:hover, .edition-hero .text-link:hover { color: var(--fh-pink); }

/* --- Festival calendar: agenda cards --- */
.festival-list { border-top-color: var(--fh-ink); }
.festival-row { position: relative; padding-inline-start: 1.1rem; }
.festival-row::before {
  content: ""; position: absolute; inset-block: .35rem; inset-inline-start: 0;
  width: .22rem; background: var(--fh-pink);
}
.festival-row .date span { color: var(--fh-pink-dark); }
.row-link { color: var(--fh-pink-dark); }
.bid-status {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .65rem; border-radius: 0;
}
.bid-status::before { content: ""; width: .5rem; height: .5rem; flex: none; }
.bid-status.open { background: var(--fh-pink); color: var(--fh-ink); }
.bid-status.open::before { background: var(--fh-ink); }
.bid-status.closed { background: #ece8e0; color: #6b6660; }
.bid-status.closed::before { background: #9b9590; }
.agenda-note { margin: 0 0 1.5rem; padding: .85rem 1.1rem; background: var(--fh-paper); border-left: 3px solid var(--fh-pink); font-size: .9rem; }
.section-heading-links { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: baseline; }

/* --- Search / filter form on the festival calendar --- */
.festival-search {
  display: flex; flex-wrap: wrap; align-items: end; gap: 1.25rem 1.5rem;
  padding: 1.5rem clamp(1.25rem, 3.5vw, 2.25rem); margin-block: 0 2.25rem;
  background: var(--fh-paper); border: 1px solid var(--line);
}
.festival-search label { font-weight: 650; margin: 0; }
.festival-search input[type="search"] {
  display: block; margin-top: .35rem; min-width: 16rem; width: 100%;
  background: white; border: 1px solid #8b8784; padding: .62rem .75rem; font: inherit;
}
.festival-search .checkbox-label { display: flex; align-items: center; gap: .5rem; font-weight: 600; white-space: nowrap; }
.festival-search input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin: 0; }
.festival-search button {
  border: 1px solid var(--fh-pink); border-radius: 0; padding: .7rem 1.5rem; font-weight: 700;
  text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; cursor: pointer;
  background: var(--fh-pink); color: var(--fh-ink);
}
.festival-search button:hover { background: var(--fh-pink-hover); }
.festival-search .text-link { color: var(--fh-pink-dark); font-size: .9rem; }
@media (max-width: 530px) {
  .festival-search { flex-direction: column; align-items: stretch; }
  .festival-search input[type="search"] { min-width: 0; }
}

/* --- Product strip --- */
.product-strip { background: var(--fh-ink); color: var(--fh-paper); }
.product-strip p { color: var(--fh-muted); }
.product-strip .note { color: var(--fh-muted); }
.product-strip .text-link { color: var(--fh-pink); }
.product-strip .text-link:hover { color: var(--fh-pink-hover); }

/* --- Homepage: "who it's for" and "learn more" sections --- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 1.75rem; }
.audience-grid h3 { color: var(--fh-pink-dark); margin-bottom: .6rem; }
.audience-grid p { color: var(--soft); margin-bottom: .75rem; max-width: 36ch; }
.audience-grid .text-link { color: var(--fh-pink-dark); }
.learn-more p { max-width: 62ch; color: var(--soft); }
.learn-more a { color: var(--fh-pink-dark); font-weight: 650; }
@media (max-width: 800px) {
  .audience-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Festival detail: edition intro hero, above the fold on mobile --- */
.edition-hero { background: var(--fh-ink); color: var(--fh-paper); }
.edition-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.edition-hero .kicker { color: var(--fh-gold, #efbd56); text-transform: uppercase; font-size: .8rem; font-weight: 700; letter-spacing: .1em; margin: 1rem 0 0; }
.edition-hero h1 { margin: .3rem 0 1rem; }
.edition-hero .edition-promise { color: var(--fh-muted); max-width: 42ch; margin-bottom: 1.25rem; }
.edition-key-facts { display: flex; gap: 2rem; margin: 0 0 1.5rem; }
.edition-key-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fh-muted); }
.edition-key-facts dd { font-size: 1.4rem; font-weight: 800; margin: .2rem 0 0; }
.edition-hero-image img { width: 100%; height: auto; display: block; }
.edition-hero-image figcaption { padding: .85rem 1rem; background: var(--fh-pink); color: var(--fh-ink); font-size: .85rem; }
@media (max-width: 800px) {
  .edition-hero-grid { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 1.75rem; }
  .edition-hero-copy { min-width: 0; }
  .edition-hero h1 { font-size: clamp(2.7rem, 10vw, 4.5rem); line-height: .99; overflow-wrap: anywhere; margin: .55rem 0 .8rem; }
  .edition-hero-copy > .text-link:first-child { font-size: .86rem; }
  .edition-hero .edition-promise { margin: .65rem 0 1rem; }
  .edition-key-facts { display: grid; grid-template-columns: auto 1fr; gap: 1rem; border-block-start: 1px solid #ffffff45; padding-top: .7rem; margin-bottom: 1rem; }
  .edition-key-facts dd { font-size: 1.12rem; }
  .edition-hero .button.primary { display: flex; width: fit-content; max-width: 100%; padding: .7rem 1rem; text-align: center; }
  .edition-hero-copy > .button + .text-link { display: inline-block; padding-top: .65rem; font-size: .9rem; }
  .edition-hero-image { margin: 0; }
}

/* --- Supporting detail content below the hero --- */
.reach-help { margin: 1rem 0 2rem; color: var(--fh-pink-dark); }
.reach-help summary { cursor: pointer; font-weight: 650; }
.reach-help p { max-width: 65ch; margin-top: .55rem; color: var(--ink); }
.bid-panel { background: var(--fh-paper); color: var(--fh-ink); border: 1px solid var(--line); }
.bid-panel .note { margin: 0; color: var(--fh-ink); }
.bid-panel .note a { color: var(--fh-pink-dark); }
