/* The Fest @ Tampa Bay — landing page
   Palette derived from the graphic logo: deep NAVY ground with GOLD + TEAL leading,
   CORAL as the one warm pop (periwinkle blue retired — it wasn't in the logo).
   GOLD (#EEA81D) echoes the logo's sun + TBBHF's
   signature gold; TEAL (#17ABC0) is the logo's waves. The hero is a LIGHT section so
   the navy logo pops. Endorsement architecture ties back to TBBHF. */

:root {
  --ink:      #152744;   /* deep navy ground — the logo's world */
  --ink-2:    #1E3556;   /* raised navy surface */
  --ink-3:    #294466;
  --bone:     #F6EFE9;   /* warm bone text (on dark sections) */
  --muted:    #A6C0D6;   /* cool blue-grey */

  --amber:    #EEA81D;   /* GOLD — leads (the logo's sun + TBBHF's signature gold) */
  --berry:    #F26B3C;   /* coral — the logo's brush stroke (minor pop, used sparingly) */
  --green:    #17ABC0;   /* TEAL — the logo's waves (strong secondary) */
  --violet:   var(--green);   /* was periwinkle blue — retired (not in the logo); now teal */
  --accent:   var(--amber);   /* GOLD leads (buttons · kickers · ribbon) */

  --line:        rgba(226,238,250,.16);
  --line-2:      rgba(226,238,250,.09);
  --line-strong: rgba(226,238,250,.34);

  --display: "Anton", "Haettenschweiler", "Impact", sans-serif; /* poster identity */
  --sans:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; /* TBBHF family */
  --mono:    "DM Mono", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.bleed { width: 100%; padding-inline: clamp(24px, 5vw, 64px); }  /* full-bleed gutter — shared left rail for section content */
a { color: inherit; text-decoration: none; }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: .92; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; margin: 0; }
h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--amber); color: #14243F; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--green); }
.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--green); }
.btn-solid { --btn-bg: var(--accent); --btn-fg: #14243F; --btn-bd: var(--accent); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bd: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---------- sticky header: ribbon + nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); }

/* The Invisible String — permanent tie back to TBBHF */
.ribbon { background: var(--accent); color: #14243F; font-size: 13.5px; font-weight: 500; }
.ribbon-inner { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.ribbon strong { font-weight: 800; }
.ribbon a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ribbon a:hover { color: #5a3410; }

.nav { border-bottom: 1px solid var(--line-2); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 66px; }

/* logo lockup */
.wordmark { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1; }
.wm-main { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .01em; text-transform: uppercase; }
.wm-main span { color: var(--accent); }
.wm-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.wm-loc { font-family: var(--sans); font-style: italic; font-weight: 600; font-size: 14px; letter-spacing: -.01em; color: var(--bone); margin-top: 2px; }
.wm-loc .at { color: var(--accent); font-style: normal; }

.nav-links { display: flex; gap: 24px; margin-left: 14px; margin-right: auto; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--bone); }
.nav-cta { flex: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--bone); display: block; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 14px clamp(20px,5vw,56px) 22px; border-bottom: 1px solid var(--line-2); background: var(--ink); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; color: var(--bone); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.mobile-menu a.btn { border: 2px solid var(--accent); justify-content: center; margin-top: 10px; }

.section { scroll-margin-top: 128px; }

/* ---------- hero (full-width, subtle festival key-art background) ---------- */
/* LIGHT hero — a bright field so the navy logo pops (chosen over the dark ground) */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 172px);
  background:
    linear-gradient(180deg, rgba(247,246,250,.93) 0%, rgba(247,246,250,.87) 55%, rgba(247,246,250,.94) 100%),
    url("../assets/hero-festival.webp") center 26% / cover no-repeat;
}
/* Two-column hero: logo left (dominant), details right. Wider than the 1200 wrap so it uses more surface. */
.hero-inner { position: relative; z-index: 1; max-width: 1400px; display: grid; grid-template-columns: 1.28fr 0.82fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero-logo-col { text-align: center; }
.hero-copy { text-align: left; }
/* Dark-on-light text + buttons for the bright hero */
.hero .eyebrow   { color: #0E7A8A; }                 /* deep teal kicker */
.hero .endorse   { color: #47597A; }                 /* quiet slate */
.hero .hero-lede { color: #1B2A44; }                 /* navy body */
.hero .when-date { color: #14243F; }                 /* navy dates */
.hero .when-venue{ color: #5A6B82; }                 /* slate detail */
.hero .btn-ghost { --btn-fg: #14243F; --btn-bd: rgba(20,36,63,.34); }
.hero .btn-ghost:hover { --btn-bd: var(--accent); --btn-fg: #14243F; }
.hero-art { display: none; }  /* superseded by the header background image */
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--accent); margin: 0 0 16px; }

.lockup { margin-bottom: 4px; }
.hero-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(54px, 13.5vw, 224px); line-height: .88; display: flex; justify-content: center; flex-direction: row; flex-wrap: nowrap; gap: .22em; white-space: nowrap; letter-spacing: .01em; }
.hero-title .l1 { color: var(--bone); }
.hero-title .l2 { color: var(--accent); }
/* Graphic logo replaces the type wordmark in the hero — fills the left column */
.hero-logo { display: block; width: 100%; max-width: 920px; height: auto; margin: 0 auto; }
.hero-locale { font-family: var(--sans); font-style: italic; font-weight: 600; font-size: clamp(30px, 7vw, 100px); line-height: 1; color: var(--bone); margin: 10px 0 0; letter-spacing: -.015em; }
.hero-locale .at { color: var(--accent); font-style: normal; }
.endorse { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(11px, 1.3vw, 13px); color: var(--accent); margin: 16px 0 0; }

.hero-lede { font-size: clamp(17px, 2vw, 22px); max-width: 46ch; color: var(--bone); font-weight: 500; margin: 14px 0 0; line-height: 1.32; }

/* Prominent dates — the primary anchor, above the countdown */
.hero-when { margin-top: clamp(12px, 2vw, 22px); }
.when-date { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(40px, 6.2vw, 86px); line-height: .92; color: var(--bone); margin: 0; }
.when-venue { font-family: var(--mono); text-transform: uppercase; letter-spacing: .15em; font-size: clamp(12.5px, 1.3vw, 15px); color: var(--muted); margin: 16px 0 0; }

/* Countdown — demoted to a supporting strip beneath the dates */
.cd-caption { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--accent); margin: clamp(26px, 3.4vw, 40px) 0 14px; }
.countdown { display: flex; justify-content: center; align-items: flex-end; gap: clamp(7px, 1.1vw, 14px); margin: 0; }
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-num { font-family: var(--mono); font-weight: 500; font-size: clamp(28px, 4.2vw, 48px); line-height: 1; color: var(--bone); font-variant-numeric: tabular-nums; }
.cd-lab { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--muted); margin-top: 9px; }
.cd-sep { font-family: var(--mono); font-size: clamp(22px, 3.4vw, 38px); color: var(--green); line-height: 1; padding-bottom: clamp(9px, 1.4vw, 16px); }
.cd-msg { font-family: var(--mono); font-size: 15px; letter-spacing: .04em; color: var(--muted); }

.hero-cta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ---------- marquee (spectrum gradient — echoes the rebrand panels) ---------- */
.marquee { border-block: 2px solid var(--ink); overflow: hidden; white-space: nowrap; color: #14243F;
  /* ticker: gold → teal → blue (gold + teal lead; coral sits out) */
  background: linear-gradient(90deg, var(--amber), var(--green), var(--violet), var(--green), var(--amber)); }
.marquee-track { display: inline-flex; will-change: transform; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; padding-block: 12px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding-block: clamp(60px, 8vw, 110px); }
.section-tint { background: var(--ink-2); }
/* Light sections — cream ground + white cards; spectrum accents deepened for legibility.
   Applied per-section via class="section section-light" (tokens re-scoped to the section). */
.section-light {
  --ink: #F7F6FA; --ink-2: #FFFFFF; --ink-3: #ECEAF3;   /* off-white ground, white cards */
  --bone: #14243F; --muted: #5B6A7D;                    /* dark NAVY text (was plum #2A1B3A) + navy-grey */
  --line: rgba(20,36,63,.16); --line-2: rgba(20,36,63,.09); --line-strong: rgba(20,36,63,.32);
  /* light sections LEAD WITH TEAL (bright gold is illegible on white → would go muddy bronze).
     Accents here = teal · coral · navy (no gold); gold stays bright on all the dark areas. */
  --amber: #14243F; --berry: #C0492A; --green: #0F6E7C; --violet: var(--green); --accent: var(--green);
  background: var(--ink); color: var(--bone);
}
.section-light .btn-solid { --btn-fg: #FFFFFF; }  /* light label on the deepened-amber fill */
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--accent); display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(44px, 7.5vw, 96px); }
.tiny { color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ---------- about ---------- */
.lead { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; max-width: 46ch; color: var(--bone); font-weight: 500; margin: 0; }
.lead-muted { color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); margin-top: 22px; max-width: 54ch; }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.about-copy .lead { max-width: none; }
.about-video { width: 100%; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.pillar:nth-child(1) { --pc: var(--violet); }
.pillar:nth-child(2) { --pc: var(--amber); }
.pillar:nth-child(3) { --pc: var(--berry); }
.pillar:nth-child(4) { --pc: var(--green); }
.pillar-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.32) contrast(1.05); }
.pillar-img::after { content: ""; position: absolute; inset: 0; background: var(--pc); mix-blend-mode: multiply; opacity: .5; }
.pillar-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(50,35,71,.6)); }
.pillar-body { padding: 26px 26px 30px; }
.pillar-tag { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 2.8vw, 58px); line-height: 1; display: block; margin-bottom: 12px; color: var(--pc); }
.pillar p { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); margin: 0; max-width: 34ch; }

/* ---------- when / where / how (essentials) ---------- */
.wwh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wwh { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 5px solid var(--wc); border-radius: var(--radius); background: var(--ink-2); padding: clamp(28px, 3.2vw, 46px); }
.wwh:nth-child(1) { --wc: var(--amber); }
.wwh:nth-child(2) { --wc: var(--berry); }
.wwh:nth-child(3) { --wc: var(--violet); }
.wwh-label { font-family: var(--display); text-transform: uppercase; font-size: clamp(46px, 6vw, 96px); line-height: .92; color: var(--wc); margin-bottom: 18px; }
.wwh-lead { font-size: clamp(22px, 2.2vw, 31px); font-weight: 700; line-height: 1.14; color: var(--bone); margin: 0; }
.wwh-sub { color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; margin: 14px 0 0; max-width: 32ch; }
.wwh-cta { margin-top: 26px; align-self: flex-start; }

/* ---------- info + faq ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(40px, 6vw, 66px); }
.info-card { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 26px; background: var(--ink-2); }
.info-card:nth-child(4n+1) { border-top-color: var(--violet); } .info-card:nth-child(4n+1) h3 { color: var(--violet); }
.info-card:nth-child(4n+2) { border-top-color: var(--amber); }  .info-card:nth-child(4n+2) h3 { color: var(--amber); }
.info-card:nth-child(4n+3) { border-top-color: var(--berry); }  .info-card:nth-child(4n+3) h3 { color: var(--berry); }
.info-card:nth-child(4n)   { border-top-color: var(--green); }  .info-card:nth-child(4n)   h3 { color: var(--green); }
.info-card h3 { font-size: 21px; margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.faq-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--line); }
.faq details[open] summary { color: var(--accent); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--sans); font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--green); font-size: 24px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 18px; max-width: 68ch; }

/* ---------- get involved (vendors & sponsors) ---------- */
.join-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.join-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--ink-2); }
.join-tag { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 2.4vw, 42px); line-height: 1; display: block; margin-bottom: 12px; }
.join-card:nth-child(1) .join-tag { color: var(--berry); }
.join-card:nth-child(2) .join-tag { color: var(--amber); }
.join-card p { color: var(--muted); font-size: 16px; margin: 0; max-width: 42ch; }
.join-note { color: var(--muted); font-size: 15.5px; margin: 26px 0 0; }
.join-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; }
@media (max-width: 640px) { .join-grid { grid-template-columns: 1fr; } }

/* ---------- newsletter band ---------- */
.cta-band { background: var(--accent); color: #14243F; padding-block: clamp(60px, 8vw, 100px); }
.cta-band-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { font-size: clamp(42px, 7vw, 92px); }
.cta-band p { font-size: 18px; font-weight: 600; margin: 16px 0 0; max-width: 44ch; }
.cta-band .cta-join { margin-top: 32px; --btn-bg: #14243F; --btn-fg: #F6EFE9; --btn-bd: #14243F; background: #14243F; color: #F6EFE9; }
.cta-band .cta-join:hover { box-shadow: 4px 4px 0 var(--green); }

/* ---------- footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line-2); padding-block: 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .wm-main { font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: .01em; }
.footer-brand .wm-main span { color: var(--accent); }
.endorse-sm { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; max-width: 42ch; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: var(--bone); }
.footer-fine { color: var(--muted); font-family: var(--mono); font-size: 12.5px; width: 100%; margin: 8px 0 0; line-height: 1.5; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero-lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-logo { max-width: 560px; }
  .hero-art { max-width: 460px; margin: 8px auto 0; width: 100%; }
  .pillars, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .wwh-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .section { scroll-margin-top: 150px; }
}
@media (min-width: 861px) { .mobile-menu { display: none !important; } }
@media (max-width: 520px) {
  .ribbon-inner { font-size: 12px; }
  .countdown { gap: 6px; }
  .cd-sep { padding-bottom: 10px; }
  .pillars, .info-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
