/* ============================================================
   Verona GAA — theme
   Royal blue + gold from the crest, elevated with an editorial
   serif display face (Fraunces), depth, grain and motion.
   Tweak the three brand variables to re-theme the whole site.
   ============================================================ */
:root {
  --brand:        #1a3fa0;   /* crest royal blue */
  --brand-2:      #2f57c9;   /* brighter blue for gradients */
  --brand-dark:   #0d1f57;   /* deep navy (shadows/gradient) */
  --brand-ink:    #081439;   /* near-black navy */
  --accent:       #f6b40e;   /* crest gold */
  --accent-2:     #ffd45e;   /* light gold highlight */
  --accent-dark:  #d99a00;
  --ink:          #101c47;   /* navy ink for headings */
  --body:         #414b66;   /* body text */
  --muted:        #6b7590;
  --bg:           #ffffff;
  --bg-alt:       #f7f5ec;   /* warm cream from the crest landmarks */
  --bg-cream:     #fbfaf3;
  --line:         #e7e4d6;
  --card:         #ffffff;

  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;
  --shadow-sm:    0 2px 10px rgba(13, 31, 87, .06);
  --shadow:       0 18px 40px -12px rgba(13, 31, 87, .18);
  --shadow-lg:    0 40px 80px -24px rgba(13, 31, 87, .32);
  --ring:         0 0 0 3px rgba(26, 63, 160, .18);

  --maxw:         1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-head:    "Poppins", system-ui, sans-serif;
  --font-body:    "Sen", system-ui, sans-serif;

  --ease:         cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine grain overlay to kill the flat "template" feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { color: var(--ink); line-height: 1.08; margin: 0 0 .5em; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.9rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.accent-word { color: var(--brand); font-style: italic; }

/* ===== Kicker / eyebrow ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 700;
  color: var(--accent-dark); font-family: var(--font-head); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 12px 26px -8px rgba(26, 63, 160, .55);
}
.btn-primary:hover { box-shadow: 0 18px 34px -8px rgba(26, 63, 160, .62); }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-block { width: 100%; padding: 1.05rem; font-size: 1.08rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  padding-top: .55rem; padding-bottom: .55rem;
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.brand-crest { height: 42px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand-crest { height: 34px; }
.brand-name { font-size: 1.2rem; letter-spacing: -.02em; }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a {
  position: relative; text-decoration: none; font-family: var(--font-head);
  font-weight: 600; font-size: .98rem; color: var(--body); padding: .2rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px; transition: right .28s var(--ease);
}
.site-nav a:hover { color: var(--brand); }
.site-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-btn { border: 0; background: transparent; padding: .45rem .85rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; cursor: pointer; color: var(--muted); transition: color .2s, background .2s; }
.lang-btn:hover { color: var(--brand); }
.lang-btn.is-active { background: var(--brand); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background-color: var(--brand-ink);
  background-image:
    radial-gradient(1200px 620px at 78% -8%, rgba(90,130,240,.28), transparent 62%),
    linear-gradient(150deg, rgba(20,50,140,.72) 0%, rgba(8,20,57,.93) 62%, rgba(8,20,57,.97) 100%),
    url("assets/verona-hero.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-blend-mode: screen, multiply, normal;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.2rem, 4vw, 2.5rem) clamp(4rem, 9vh, 6rem);
  text-align: center;
  overflow: hidden;
}
/* animated gold glow */
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  left: 50%; top: 8%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(246,180,14,.18), transparent 65%);
  filter: blur(20px);
  animation: floatGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes floatGlow {
  from { transform: translate(-54%, 0) scale(1); opacity: .8; }
  to   { transform: translate(-46%, 4%) scale(1.12); opacity: 1; }
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-crest {
  height: clamp(96px, 15vw, 156px); width: auto; margin: 0 auto 1.6rem;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.4));
  animation: crestIn 1s var(--ease) both;
}
@keyframes crestIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.hero .eyebrow { color: var(--accent-2); justify-content: center; }
.hero .eyebrow::before { background: linear-gradient(90deg, transparent, var(--accent-2)); }
.hero .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2), transparent); }
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 .accent-word { color: var(--accent-2); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.92);
  max-width: 640px; margin: 1.2rem auto 2.1rem; line-height: 1.6;
}
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-cta--mobile { display: none; }

.hero-scroll {
  position: absolute; z-index: 1; left: 50%; bottom: clamp(1.2rem, 4vh, 2.2rem);
  transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 999px;
  display: flex; justify-content: center;
}
.hero-scroll-dot {
  width: 4px; height: 8px; margin-top: 7px; border-radius: 999px; background: #fff;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(10px); } }

/* ===== Sections ===== */
.section { position: relative; padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1.2rem, 4vw, 2.5rem); }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-narrow { max-width: 700px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 60ch; color: var(--body); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; margin-top: 2.6rem; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 1.7rem; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 16px; margin-bottom: 1.1rem;
  background: linear-gradient(140deg, rgba(26,63,160,.10), rgba(246,180,14,.14));
}

/* About: mobile-only editorial variant (hidden on desktop) */
.about-mobile { display: none; }
.about-points { list-style: none; margin: 1.7rem 0 0; padding: 0; }
.about-points li {
  position: relative; padding: 1.15rem 0 1.15rem 1.4rem;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .25rem;
}
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: 16px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}
.ap-t { font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink); letter-spacing: -.01em; }
.ap-d { color: var(--body); font-size: .95rem; line-height: 1.5; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--body); }

/* ===== Affiliation: Gaelic Games Europe ===== */
.affiliation {
  position: relative;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(26,63,160,.06), transparent 70%),
    var(--bg-cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 2.5rem);
}
.affiliation-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 2.8rem);
}
.gge-crest {
  height: clamp(96px, 12vw, 128px); width: auto; flex: none;
  filter: drop-shadow(0 12px 24px rgba(13,31,87,.14));
}
.affiliation-kicker {
  text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 700;
  font-family: var(--font-head); color: var(--accent-dark); margin: 0 0 .35rem;
}
.affiliation-title { margin: 0 0 .55rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.affiliation-body { margin: 0 0 .7rem; max-width: 62ch; color: var(--body); }
.affiliation-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 700; color: var(--brand); text-decoration: none;
}
.affiliation-link:hover { gap: .7rem; color: var(--brand-dark); }

/* ===== Tocatì festival ===== */
#tocati {
  background:
    radial-gradient(680px 340px at 90% 8%, rgba(200,68,47,.06), transparent 70%),
    var(--bg);
}
.tocati-inner { display: flex; align-items: center; gap: clamp(1.8rem, 5vw, 3.4rem); flex-wrap: wrap; }
.tocati-logo { width: clamp(160px, 26vw, 240px); height: auto; flex: none; filter: drop-shadow(0 14px 30px rgba(200,68,47,.20)); }
.tocati-text { flex: 1; min-width: 260px; }
.tocati-text .btn { margin-top: .6rem; }

/* ===== Sports ===== */
.sports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; margin-top: 2.6rem; }
.sport {
  position: relative; padding: 2rem 1.7rem 1.7rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  counter-increment: sport;
}
.sport::after {
  content: counter(sport, decimal-leading-zero);
  position: absolute; top: .8rem; right: 1.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: 2.6rem;
  color: var(--brand); opacity: .10; line-height: 1;
}
.sport::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}
.sport:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sports-grid { counter-reset: sport; }
.sport h3 { margin-bottom: .5rem; }
.sport p { margin: 0; color: var(--body); }

/* ===== Form ===== */
#join { background: var(--bg-alt); }
.join-form {
  margin-top: 2.4rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label, .field-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder { color: #a6adbf; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--ring);
}
.checks { display: flex; flex-wrap: wrap; gap: .6rem .8rem; }
.check {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 400; cursor: pointer;
  padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.check:hover { border-color: var(--brand); }
.check:has(input:checked) { border-color: var(--brand); background: rgba(26,63,160,.06); }
.check input { width: auto; accent-color: var(--brand); }
.consent, .parent-toggle { display: flex; border: 0; padding: 0; }
.consent { margin: .4rem 0 1.4rem; align-items: flex-start; }
.parent-toggle { margin: -.1rem 0 1.2rem; align-items: flex-start; }

.u18-block {
  margin: 0 0 1.2rem; padding: 1.2rem 1.3rem 1.4rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.u18-block legend {
  padding: 0 .5rem; font-family: var(--font-head); font-weight: 700;
  font-size: .92rem; color: var(--ink);
}
.u18-block .field:last-child { margin-bottom: 0; }
.section-hint { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); margin: 0 0 .8rem; }
[hidden] { display: none !important; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.hp-field { position: absolute; left: -9999px; }

.form-success {
  text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  color: var(--brand-dark); padding: 2.8rem 1rem;
  animation: crestIn .6s var(--ease) both;
}
.form-error {
  background: #fdeceb; border: 1px solid #f3b4ad; color: #a3271a;
  border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; margin: 0 0 1rem;
}

/* ===== Footer ===== */
.site-footer {
  position: relative; text-align: center; padding: 3.2rem 1.2rem 2.6rem;
  color: #fff;
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(26,63,160,.5), transparent 70%),
    var(--brand-ink);
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}
.site-footer .muted { opacity: .7; font-size: .9rem; margin: .3rem 0 0; }
.footer-gge {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem;
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; opacity: .92;
  transition: opacity .2s;
}
.footer-gge img { height: 58px; width: auto; }
.footer-gge:hover { opacity: 1; }
.site-footer strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.site-footer .credit { font-size: .72rem; opacity: .5; margin: 1.3rem auto 0; max-width: 42ch; }
.site-footer .credit a { color: inherit; }
.footer-login {
  display: inline-block; margin-top: 1.1rem; padding: .4rem .9rem;
  font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .04em;
  color: rgba(255,255,255,.6); text-decoration: none;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.footer-login:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }

/* ===== Brought to you by Tocatì (festival band) ===== */
:root { --tocati-pink: #ec008c; --tocati-green: #16d98a; }
.festival {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 4vw, 2.5rem);
  color: #fff;
  background:
    radial-gradient(760px 440px at 12% -12%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(620px 420px at 100% 120%, rgba(22,217,138,.14), transparent 62%),
    linear-gradient(135deg, #c14d8b 0%, #b23a7a 55%, #98285f 100%);
  overflow: hidden;
}
.festival::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tocati-green), #8ef2c9, var(--tocati-green));
  opacity: .85;
}
.festival-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 2.6rem);
}
.festival-cta { flex: none; }
.festival-cta .btn { white-space: nowrap; }
.festival-logo-wrap { flex: none; }
.festival-logo {
  width: clamp(96px, 13vw, 130px); height: auto; display: block;
  background: #fff; padding: 9px; border-radius: 50%;
  box-shadow: 0 16px 40px rgba(120, 0, 70, .45), 0 0 0 1px rgba(255,255,255,.4);
  animation: floatLogo 6s var(--ease) infinite alternate;
}
@keyframes floatLogo { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.festival-text { flex: 1; min-width: 240px; }
.festival-text h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); text-shadow: 0 2px 20px rgba(120,0,70,.3); }
.festival-body { color: rgba(255,255,255,.95); margin: 0 0 1rem; max-width: 62ch; font-size: 1rem; }
.festival .eyebrow.festival-kicker { margin-bottom: .5rem; }
.festival-text .btn { margin-top: .2rem; }
.festival .eyebrow { color: #ffe487; }
.festival .eyebrow::before { background: linear-gradient(90deg, #ffe487, rgba(255,228,135,.2)); }
.festival .btn-primary {
  background: #fff; color: #c1006f;
  box-shadow: 0 14px 30px rgba(120,0,70,.38);
}
.festival .btn-primary:hover { background: #fff4fa; box-shadow: 0 18px 38px rgba(120,0,70,.48); }
.festival-unesco {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  font-size: .92rem; color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 0 1.4rem;
}
.unesco-badge {
  flex: none; font-family: var(--font-head); font-weight: 700; font-size: .68rem;
  letter-spacing: .16em; color: #fff;
  padding: .3rem .7rem; border: 1.5px solid rgba(255,255,255,.75); border-radius: 6px;
}

/* ===== The Games — photo scroller ===== */
@keyframes fadeDetail { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.games-rail-wrap { position: relative; margin-top: 2.4rem; }
.games-rail {
  list-style: none; margin: 0;
  padding: .6rem clamp(1.2rem, 4vw, 2.5rem) 1.4rem;
  display: flex; gap: 1.3rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: clamp(1.2rem, 4vw, 2.5rem);
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.games-rail > * { scroll-snap-align: start; }
.games-rail::-webkit-scrollbar { height: 8px; }
.games-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.game-tile { flex: 0 0 clamp(240px, 74vw, 300px); }
.tile-btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left;
  cursor: pointer; padding: 0; border: 1px solid var(--line); background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  font: inherit; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile-btn:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.tile-thumb {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, #444, #222);
}
.tile-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile-thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.34)); }
.tile-thumb[data-thumb="football"]    { background: linear-gradient(135deg,#1f7a3d,#0e4a24); }
.tile-thumb[data-thumb="hurling"]     { background: linear-gradient(135deg,#0f7d8c,#0a3f6b); }
.tile-thumb[data-thumb="roadbowling"] { background: linear-gradient(135deg,#5a6b7a,#2f3b47); }
.tile-thumb[data-thumb="stonelifting"]{ background: linear-gradient(135deg,#9a6b2f,#5c3a12); }
.tile-thumb[data-thumb="bataireacht"] { background: linear-gradient(135deg,#5b3f9a,#2e2260); }
.tile-thumb[data-thumb="handball"]    { background: linear-gradient(135deg,#e06a1f,#a3300f); }
.tile-thumb[data-thumb="camogie"]     { background: linear-gradient(135deg,#c14d8b,#7a1f55); }
.tile-thumb[data-thumb="pocfada"]     { background: linear-gradient(135deg,#2f86c9,#12457e); }
.tile-thumb[data-thumb="rounders"]    { background: linear-gradient(135deg,#c99a2f,#8a6410); }
.tile-num {
  position: absolute; z-index: 2; top: .55rem; left: .9rem;
  font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.tile-play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.30);
  transition: transform .25s var(--ease);
}
.tile-play::before {
  content: ""; margin-left: 4px;
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--brand);
}
.tile-btn:hover .tile-play { transform: translate(-50%,-50%) scale(1.1); }
.tile-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.tile-title { font-family: var(--font-head); font-weight: 700; font-size: 1.14rem; color: var(--ink); line-height: 1.2; }
.tile-sum { color: var(--body); font-size: .93rem; line-height: 1.5; flex: 1; }
.tile-cta { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--brand); margin-top: .2rem; }

/* Rail arrows */
.rail-nav {
  position: absolute; top: min(28%, 120px); transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.96); color: var(--ink); cursor: pointer;
  font-size: 1.7rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), background .2s;
}
.rail-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.rail-prev { left: max(.4rem, calc(clamp(1.2rem, 4vw, 2.5rem) - 23px)); }
.rail-next { right: max(.4rem, calc(clamp(1.2rem, 4vw, 2.5rem) - 23px)); }
@media (hover: none), (max-width: 720px) { .rail-nav { display: none; } }

/* Lightbox modal */
.game-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem; }
.game-modal-backdrop { position: absolute; inset: 0; background: rgba(8,20,57,.55); backdrop-filter: blur(4px); animation: fadeDetail .25s ease both; }
.game-modal-card {
  position: relative; z-index: 1; width: min(640px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--card); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow-lg);
  animation: modalIn .3s var(--ease) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.game-modal-close {
  position: absolute; top: .8rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--bg-alt); color: var(--ink); font-size: 1.5rem; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.game-modal-close:hover { background: var(--line); }
.game-modal-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 2.6rem .9rem 0; color: var(--ink); }

/* Video + description (shared by the modal) */
.game-desc { margin: 0; color: var(--body); }
.game-video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 12px; overflow: hidden; margin: 0 0 1.1rem; background: #000;
}
.game-video iframe, .game-video video, .game-video img {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.game-video--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; background: var(--bg-alt); border: 1.5px dashed var(--line);
  color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .84rem;
}
.game-video--empty::before {
  content: "►"; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--brand); font-size: .95rem; padding-left: 3px;
  box-shadow: var(--shadow-sm);
}



/* ===== Page-transition curtain (hero CTAs) ===== */
[id] { scroll-margin-top: 72px; }   /* keep anchored sections clear of the sticky header */
.page-curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: linear-gradient(160deg, var(--brand-2) 0%, var(--brand) 45%, var(--brand-ink) 100%);
  transform: translateY(100%); will-change: transform;
}
.page-curtain::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}
.page-curtain.cover  { transform: translateY(0);     transition: transform .35s cubic-bezier(.65,0,.35,1); pointer-events: auto; }
.page-curtain.reveal { transform: translateY(-100%); transition: transform .5s  cubic-bezier(.65,0,.35,1); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .page-curtain { display: none !important; } }

/* ===== Scroll reveal (progressive enhancement) ===== */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .hero::after, .hero-crest, .hero-scroll-dot, .crest-in { animation: none !important; }
  .festival-logo, .game-modal-card, .game-modal-backdrop { animation: none !important; }
  .games-rail { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .4rem clamp(1rem, 4vw, 2.5rem) .8rem;
    background: rgba(255,255,255,.98); backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .site-header.nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: .85rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }

  .field-row { grid-template-columns: 1fr; }
  .affiliation-inner { flex-direction: column; text-align: center; }
  .affiliation-body { margin-left: auto; margin-right: auto; }
  /* Festival: one compact row — small logo left, heading + button on the right */
  .festival-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo text" "logo cta";
    align-items: center; gap: .8rem 1.1rem; text-align: left;
  }
  .festival-logo-wrap { grid-area: logo; align-self: center; }
  .festival-logo { width: 74px; padding: 6px; }
  .festival-text { grid-area: text; min-width: 0; }
  .festival-cta { grid-area: cta; }
  .festival .eyebrow { justify-content: flex-start; margin-bottom: .3rem; }
  .festival-body { display: none; }
  .festival-text h2 { margin-bottom: 0; font-size: clamp(1.2rem, 5.5vw, 1.55rem); line-height: 1.12; }
  .festival-cta .btn { padding: .7rem 1.3rem; font-size: .95rem; }

  /* About: swap the boxy cards for the concise editorial block */
  .about-desktop { display: none; }
  .about-mobile { display: block; }
  .hero { min-height: 92svh; }

  /* ---- Mobile-only header + hero treatment ---- */
  /* Inverted (dark) header with white text + larger crest */
  .site-header { background: rgba(8,20,57,.85); border-bottom-color: rgba(255,255,255,.14); }
  .site-header.is-stuck { background: rgba(8,20,57,.94); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
  .brand-name { color: #fff; }
  .brand-crest { height: 56px; }
  .site-header.is-stuck .brand-crest { height: 46px; }
  .nav-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
  .nav-toggle span { background: #fff; }
  .lang-switch { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.30); }
  .lang-btn { color: rgba(255,255,255,.8); }
  .lang-btn:hover { color: #fff; }

  /* Trim hero: restrained headline so the PHOTO is the hero, not the text */
  .hero h1 { font-size: clamp(1.35rem, 5.4vw, 1.8rem); line-height: 1.14; text-align: left; margin-bottom: 1.3rem; }
  .hero-sub { display: none; }
  .hero-cta--desktop { display: none; }

  /* Mobile hero: content pinned to the TOP, photo appreciated below.
     Scrim darkens BOTH the top (for the text) and the bottom (to frame it). */
  .hero {
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    text-align: left;
    padding-top: 1.75rem; padding-bottom: 3rem;
    background-image:
      linear-gradient(to bottom,
        rgba(6,16,46,.92) 0%,
        rgba(6,16,46,.66) 20%,
        rgba(6,16,46,.22) 40%,
        rgba(6,16,46,0)   58%,
        rgba(6,16,46,.34) 82%,
        rgba(6,16,46,.80) 100%),
      url("assets/verona-hero.jpg");
    background-blend-mode: normal;
    background-position: center 40%;
  }
  .hero::after { display: none; }          /* drop the centred gold glow */
  .hero-crest { display: none; }           /* the crest already lives in the header */
  .hero-scroll { display: none; }          /* declutter */
  /* Fill the hero height so we can pin content top and bottom */
  .hero-inner { margin: 0; max-width: 100%; display: flex; flex-direction: column; flex: 1 1 auto; }
  .hero .eyebrow { justify-content: flex-start; margin-bottom: 1rem; }   /* pinned to the top */
  .hero .eyebrow::after { display: none; } /* one leading accent when left-aligned */
  .hero h1 { margin-bottom: 0; }           /* headline sits directly under the eyebrow */

  /* Buttons: side by side (not stacked), pushed to the bottom, premium finish */
  .hero-cta--mobile { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: .55rem; margin-top: auto; }
  .hero-cta--mobile .btn {
    flex: 1 1 0; min-width: 0; white-space: nowrap;
    border-radius: 13px; padding: 1rem .5rem .95rem;
    font-size: clamp(.74rem, 3.3vw, .9rem); font-weight: 600; letter-spacing: .015em;
    position: relative; overflow: hidden;
  }
  .hero-cta--mobile .btn-primary {
    background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
    box-shadow: 0 12px 26px -10px rgba(26,63,160,.7), inset 0 1px 0 rgba(255,255,255,.28);
  }
  .hero-cta--mobile .btn-ghost {
    background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  /* gold keyline along the base */
  .hero-cta--mobile .btn::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
  }
  .hero-cta--mobile .btn-ghost::after { background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.3)); }
  .hero-cta--mobile .btn:active { transform: translateY(1px) scale(.99); }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.05rem; }
  .btn { padding: .85rem 1.4rem; }
}
