/* =========================================================
   Italo Festival · Ujeju-Ọgwu Igala
   Brand palette taken from the official emblem
   ========================================================= */
:root {
  --forest-900: #041a17;
  --forest-800: #06231f;
  --forest-700: #0a3029;
  --green: #006b35;
  --green-600: #00592c;
  --yellow: #ffc800;
  --yellow-300: #ffd84d;
  --cream: #fff4d6;
  --cream-200: #fbecc0;
  --red: #d7191f;
  --blue: #2b33a8;
  --ink: #12201c;
  --muted: #5b6b66;

  --font-display: "Luckiest Guy", "Arial Black", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(4, 26, 23, .45);
  --container: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1rem; }
svg { flex-shrink: 0; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--forest-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.btn:hover svg { transform: translateX(3px); }
.btn--yellow { --bg: var(--yellow); --fg: var(--forest-800); box-shadow: 0 4px 0 #c99a00; }
.btn--yellow:hover { box-shadow: 0 6px 0 #c99a00, 0 14px 30px -10px rgba(255,200,0,.5); }
.btn--green { --bg: var(--green); --fg: #fff; box-shadow: 0 4px 0 #003d1e; }
.btn--ghost { --bg: transparent; --fg: var(--cream); border-color: rgba(255,244,214,.35); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(255,244,214,.06); }
.btn--sm { padding: .65rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255, 200, 0, .1); border: 1px solid rgba(255, 200, 0, .3);
  color: var(--yellow-300); font-size: .85rem; font-weight: 500; letter-spacing: .04em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(215,25,31,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(215,25,31,0); } 100% { box-shadow: 0 0 0 0 rgba(215,25,31,0); } }

.kicker {
  font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: var(--green); display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--yellow)); }
.kicker--light { color: var(--yellow); }

.h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: .01em;
  color: var(--green); margin-bottom: 1.2rem;
  text-shadow: 3px 3px 0 var(--cream-200);
}
.h2--light { color: var(--cream); text-shadow: 3px 3px 0 rgba(0,107,53,.8); }
.hl { color: var(--red); }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section__head .kicker { justify-content: center; }
.section__sub { color: rgba(255,244,214,.75); font-size: 1.08rem; }
.section__sub--dark { color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 16px 0; transition: background .35s, padding .35s, box-shadow .35s;
}
.nav.is-scrolled { background: rgba(6, 35, 31, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav__brand img { width: 40px; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
.nav__word { font-family: var(--font-display); color: var(--yellow); font-size: 1.55rem; line-height: .9; letter-spacing: .02em; display: flex; flex-direction: column; }
.nav__word small { color: var(--cream); font-size: .62rem; letter-spacing: .25em; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) { color: rgba(255,244,214,.85); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--yellow); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--cream); margin: 6px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 70px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(0,107,53,.55), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(215,25,31,.18), transparent 60%),
    linear-gradient(180deg, var(--forest-800), var(--forest-900));
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero__glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -120px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(255,200,0,.28), rgba(255,200,0,0) 65%); filter: blur(10px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero__copy { max-width: 620px; }
.hero__title { text-transform: uppercase; margin: 1.2rem 0 1.1rem; font-family: var(--font-display); font-weight: 400; line-height: .82; }
.hero__italo {
  display: block; font-size: clamp(4.6rem, 12vw, 9rem); color: var(--yellow);
  text-shadow: 6px 6px 0 var(--green), 12px 12px 0 rgba(0,0,0,.25);
  letter-spacing: .01em;
}
.hero__festival {
  display: block; font-size: clamp(2rem, 5vw, 3.6rem); color: var(--cream);
  letter-spacing: .12em; margin-top: .3rem;
}
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,244,214,.82); max-width: 540px; font-weight: 300; }
.hero__lede strong { color: var(--yellow-300); font-weight: 600; }
.hero__meta { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; }
.hero__meta li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.hero__meta svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.countdown { margin-top: 2.2rem; }
.countdown__label { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: rgba(255,244,214,.55); margin-bottom: .7rem; }
.countdown__grid { display: flex; gap: .75rem; }
.countdown__grid div {
  min-width: 78px; padding: .8rem .6rem .6rem; text-align: center;
  background: rgba(255,244,214,.05); border: 1px solid rgba(255,244,214,.12); border-radius: 14px;
}
.countdown__grid span { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.countdown__grid small { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,244,214,.6); }
.countdown.is-live .countdown__label { color: var(--yellow); }

.hero__art { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 540px; margin-left: auto; }
.hero__logo { position: relative; height: 76%; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 50s linear infinite; }
.hero__ring text { font-family: var(--font-body); font-weight: 600; font-size: 13.5px; letter-spacing: 4.2px; fill: rgba(255,244,214,.38); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,244,214,.35); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); overflow: hidden; border-block: 4px solid var(--green); transform: rotate(-1.2deg); margin: -22px -10px 0; position: relative; z-index: 2; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.marquee__track { display: flex; align-items: center; gap: 2rem; width: max-content; padding: 1rem 0; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--green); text-transform: uppercase; white-space: nowrap; padding-top: .2em; }
.marquee i { font-style: normal; color: var(--red); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; padding: 0 0 70px 0; }
.about__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__photo:hover img { transform: scale(1.04); }
.about__photo--main { aspect-ratio: 4 / 4.4; width: 82%; border: 6px solid #fff; }
.about__photo--side { position: absolute; right: 0; top: 18%; width: 40%; aspect-ratio: 3 / 4; border: 6px solid #fff; transform: rotate(3deg); }
.about__quote {
  position: absolute; left: 6%; bottom: 0; margin: 0; max-width: 330px;
  background: var(--green); color: var(--cream); padding: 1.4rem 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 5px solid var(--yellow);
}
.about__quote p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; margin-bottom: .6rem; letter-spacing: .01em; }
.about__quote cite { font-style: normal; font-size: .82rem; color: rgba(255,244,214,.75); }
.about__copy > p { color: #34433f; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2.2rem 0 0; }
.stats div { background: #fff; padding: 1.2rem 1.3rem; border-radius: var(--radius); border: 1px solid rgba(0,107,53,.1); transition: transform .3s var(--ease), box-shadow .3s; }
.stats div:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(0,107,53,.5); }
.stats dt { font-family: var(--font-display); font-size: 2rem; color: var(--green); line-height: 1; }
.stats dt sup { font-size: .5em; }
.stats dd { margin: .4rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* ---------- Emblem ---------- */
.emblem { background: linear-gradient(180deg, var(--forest-800), var(--forest-700)); color: var(--cream); overflow: hidden; isolation: isolate; }
.emblem__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.emblem__stage { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.emblem__stage img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--forest-800); color: var(--yellow); border: 2px solid var(--yellow);
  font: 400 1.05rem/1 var(--font-display); cursor: pointer; padding-top: 3px;
  box-shadow: 0 0 0 0 rgba(255,200,0,.6); animation: ping 2.4s infinite;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.hotspot:hover, .hotspot.is-active { background: var(--yellow); color: var(--forest-800); transform: translate(-50%, -50%) scale(1.15); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 14px rgba(255,200,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,200,0,0); } }
.symbols { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.symbol {
  display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 1.4rem; border-radius: var(--radius);
  border: 1px solid rgba(255,244,214,.1); background: rgba(255,244,214,.03); cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.symbol:hover { background: rgba(255,244,214,.06); }
.symbol.is-active { background: rgba(255,200,0,.1); border-color: rgba(255,200,0,.5); transform: translateX(6px); }
.symbol__n { font-family: var(--font-display); font-size: 1.6rem; color: rgba(255,244,214,.3); line-height: 1; padding-top: 4px; transition: color .3s; }
.symbol.is-active .symbol__n { color: var(--yellow); }
.symbol h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .3rem; color: var(--cream); }
.symbol p { margin: 0; font-size: .95rem; color: rgba(255,244,214,.68); }

/* ---------- Experience ---------- */
.experience { background: var(--cream); }
.experience::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(0,107,53,.07) 1.5px, transparent 1.5px), linear-gradient(-45deg, rgba(0,107,53,.07) 1.5px, transparent 1.5px); background-size: 36px 36px; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.card {
  background: #fff; padding: 2rem 1.8rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(0,107,53,.08); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--yellow), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(0,107,53,.55); }
.card:hover::after { transform: scaleX(1); }
.card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--yellow); margin-bottom: 1.4rem; box-shadow: 4px 4px 0 var(--green); transition: transform .35s var(--ease); }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.05); }
.card__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--forest-800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.25rem; font-weight: 700; color: var(--forest-800); margin-bottom: .6rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- History ---------- */
.history { background: #fff; }
.history__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.history__head { position: sticky; top: 120px; }
.history__head > p:last-child { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--yellow), var(--green) 60%, var(--red)); }
.timeline li { position: relative; padding: 0 0 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-2.2rem + 1px); top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.timeline li.is-now::before { background: var(--red); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(215,25,31,.15); }
.timeline__year { display: inline-block; font-family: var(--font-display); font-size: 1rem; letter-spacing: .04em; background: var(--forest-800); color: var(--yellow); padding: .35rem .8rem .2rem; border-radius: 8px; margin-bottom: .7rem; }
.timeline h3 { font-size: 1.3rem; color: var(--forest-800); margin-bottom: .4rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Merch ---------- */
.merch { background: radial-gradient(800px 400px at 50% 0%, rgba(0,107,53,.5), transparent 70%), var(--forest-900); color: var(--cream); }
.merch__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
.product { background: rgba(255,244,214,.04); border: 1px solid rgba(255,244,214,.1); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s; }
.product:hover { transform: translateY(-6px); border-color: rgba(255,200,0,.45); }
.product__img { background: #fff; height: 340px; display: grid; place-items: center; overflow: hidden; }
.product__img--dark { background: #0d0d0d; }
.product__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.product__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--yellow); margin-bottom: .2rem; letter-spacing: .02em; }
.product__body p { margin: 0; font-size: .92rem; color: rgba(255,244,214,.65); }

/* ---------- Join ---------- */
.join { background: var(--yellow); overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(6,35,31,.07) 2px, transparent 2px), linear-gradient(-45deg, rgba(6,35,31,.07) 2px, transparent 2px); background-size: 40px 40px; pointer-events: none; }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.join .kicker { color: var(--forest-800); }
.join .h2 { text-shadow: 3px 3px 0 var(--cream); }
.join__copy > p { font-size: 1.08rem; color: var(--forest-700); }
.ways { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ways li { display: flex; gap: .8rem; background: rgba(255,255,255,.55); border-radius: var(--radius); padding: 1rem; backdrop-filter: blur(4px); }
.ways span { font-size: 1.5rem; line-height: 1; }
.ways strong { color: var(--forest-800); }
.ways p { margin: .15rem 0 0; font-size: .88rem; color: var(--forest-700); line-height: 1.4; }
.join__mail { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--forest-800); text-decoration: none; border-bottom: 2px solid var(--forest-800); padding-bottom: 2px; }
.join__mail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: 10px 10px 0 var(--green), 0 30px 60px -30px rgba(0,0,0,.4); }
.form__title { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; color: var(--green); margin-bottom: 1.4rem; letter-spacing: .01em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .85rem; font-weight: 600; color: var(--forest-800); margin-bottom: .35rem; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem 1rem; border-radius: 12px;
  border: 1.5px solid #dfe5e2; background: #f8faf9; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(0,107,53,.12); }
.field.is-invalid input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215,25,31,.1); }
.chips { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-size: .85rem; font-weight: 600; color: var(--forest-800); margin-bottom: .5rem; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid #dfe5e2; font-size: .9rem; font-weight: 500; transition: all .2s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: .9rem 0 0; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form__status.is-ok { color: var(--green); font-weight: 600; }
.form__status.is-err { color: var(--red); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__inner { max-width: 820px; }
.faq__list { display: grid; gap: .9rem; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid rgba(0,107,53,.1); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 18px 40px -26px rgba(0,107,53,.6); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.05rem; color: var(--forest-800); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--forest-800); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq details p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); }
.faq details a { color: var(--green); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-900); color: rgba(255,244,214,.7); position: relative; }
.footer__band { height: 10px; background: repeating-linear-gradient(90deg, var(--green) 0 40px, var(--yellow) 40px 80px, var(--red) 80px 120px, var(--cream) 120px 160px, var(--blue) 160px 200px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 70px 0 50px; }
.footer__brand img { width: 96px; margin-bottom: 1rem; }
.footer__brand p { font-size: .95rem; }
.footer h4 { color: var(--yellow); font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: .05em; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer__legal { border-top: 1px solid rgba(255,244,214,.1); padding: 22px 0 30px; display: flex; justify-content: space-between; font-size: .85rem; }
.footer__legal p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { gap: 1.2rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(4,26,23,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links a:not(.btn) { font-size: 1.5rem; font-family: var(--font-display); letter-spacing: .03em; }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__toggle { position: relative; z-index: 2; }
  .nav__brand { position: relative; z-index: 2; }

  .hero { padding-top: 110px; text-align: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero__copy { margin-inline: auto; order: 2; }
  .hero__art { order: 1; width: min(340px, 78vw); margin-inline: auto; }
  .hero__lede { margin-inline: auto; }
  .hero__meta, .hero__ctas, .countdown__grid { justify-content: center; }
  .hero__scroll { display: none; }

  .about__grid, .emblem__grid, .history__grid, .join__grid, .merch__grid { grid-template-columns: 1fr; }
  .history__head { position: static; }
  .emblem__stage { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .stats, .ways, .form__row { grid-template-columns: 1fr; }
  .countdown__grid div { min-width: 0; flex: 1; }
  .countdown__grid span { font-size: 1.7rem; }
  .about__quote { position: relative; left: auto; max-width: none; margin-top: -40px; margin-inline: 12px; }
  .about__media { padding-bottom: 0; }
  .about__photo--main { width: 88%; }
  .product__body { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Luckiest Guy reads best in caps */
.nav__word, .about__quote p, .form__title, .product__body h3, .footer h4, .timeline__year { text-transform: uppercase; }
.about__quote p { text-transform: none; font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; line-height: 1.4; }
/* subtle dotted texture on dark sections instead of the tiled pattern */
.hero::before, .emblem::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,244,214,.07) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
@media (max-width: 600px) { .product__img { height: 240px; } }
