/* ===== Meeplecon — board-game themed styles ===== */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/fredoka-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fredoka-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/fredoka-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  --crimson: #8c2f2f;
  --crimson-dark: #6b1f1f;
  --burnt-orange: #d9691e;
  --gold: #e8a93a;
  --cream: #fbf3e6;
  --cream-dark: #f2e4cc;
  --ink: #2b1810;
  --ink-soft: #5a4535;
  --white: #fffdf9;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --shadow-soft: 0 10px 30px rgba(43, 24, 16, 0.12);
  --shadow-lift: 0 20px 45px rgba(43, 24, 16, 0.22);

  --card-border: none;
  --btn-radius: 999px;
  --heading-transform: none;
  --heading-tracking: normal;
  --img-filter: none;
  --img-tint: transparent;
  --img-blend: normal;
  --theme-transition: color .4s ease, background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}

/* Everything themeable transitions smoothly when the theme switches */
body,
.btn,
.feature-card,
.day-card,
.ticket-card,
.testimonial-card,
.sponsor-slot,
.site-header,
.site-footer,
.hero-overlay,
h1,
h2,
h3,
h4,
.kicker,
.eyebrow {
  transition: var(--theme-transition);
}

/* Scroll-linked flipping card — rotates in step with how far down the page you are */
.scroll-card {
  position: fixed; z-index: 999; right: 22px; bottom: 84px;
  width: 40px; height: 56px; perspective: 400px; pointer-events: none;
}
.scroll-card-inner {
  width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.scroll-card-inner img { width: 100%; height: 100%; object-fit: contain; }
@media  (max-width: 600px) { .scroll-card { right: 12px; bottom: 76px; width: 30px; height: 42px; } }

:root[data-theme="editorial"] .hero-bg-img { background-image: url("assets/hero-bg-desktop.jpg"); }
:root[data-theme="editorial"] .hero-bg-mobile-img { background-image: url("assets/hero-bg-mobile.jpg"); }
:root[data-theme="editorial"] .pattern-bg { background-image: url("assets/editorial/pattern-bg.jpg"); }
:root[data-theme="editorial"] .img-tournament { background-image: url("assets/editorial/section-tournament.jpg"); }
:root[data-theme="editorial"] .img-workshop { background-image: url("assets/editorial/section-workshop.jpg"); }
:root[data-theme="editorial"] .img-exhibitor { background-image: url("assets/editorial/section-exhibitor.jpg"); }
:root[data-theme="editorial"] .footer-bg { background-image: url("assets/editorial/footer-bg.jpg"); }
:root[data-theme="editorial"] .icon-games { background-image: url("assets/editorial/icon-games.jpg"); }
:root[data-theme="editorial"] .icon-trophy { background-image: url("assets/editorial/icon-trophy.jpg"); }
:root[data-theme="editorial"] .icon-community { background-image: url("assets/editorial/icon-community.jpg"); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,
h2,
h3,
h4 {
  font-family: var(--font-display); color: var(--crimson-dark); margin: 0 0 .4em; line-height: 1.1;
  text-transform: var(--heading-transform); letter-spacing: var(--heading-tracking);
}
p { line-height: 1.6; color: var(--ink-soft); margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-inner { max-width: 560px; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: .8em 1.6em;
  border-radius: var(--btn-radius);
  border: var(--card-border, 2px solid transparent);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  text-transform: var(--heading-transform); letter-spacing: var(--heading-tracking);
}
.btn-primary {
  background: linear-gradient(135deg, var(--burnt-orange), var(--crimson));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: var(--shadow-lift); }
.btn-ghost { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--crimson-dark); border-style: solid; border-width: 2px; border-color: var(--crimson-dark); }
.btn-outline:hover { background: var(--crimson-dark); color: var(--white); }
.btn-lg { padding: 1em 2em; font-size: 1.1rem; }

/* Loader — hopping meeple + staggered wordmark */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(circle at 50% 40%, var(--loader-bg-center, #6b1f1f), var(--loader-bg-edge, #3a1610) 120%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1), visibility .7s ease;
}
/* Zoom through the open box into the site, instead of a plain fade. */
.loader.hidden { opacity: 0; transform: scale(2.4); visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; }
.loader-shadow {
  width: 46px; height: 12px; border-radius: 50%;
  background: rgba(0,0,0,.4); filter: blur(2px);
  animation: meepleShadow 1s ease-in-out infinite;
  margin-bottom: -6px;
}
.loader-meeple {
  width: 56px; height: 68px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
  animation: meepleHop 1s ease-in-out infinite;
}
@keyframes meepleHop {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  40% { transform: translateY(-26px) rotate(4deg); }
  60% { transform: translateY(-26px) rotate(4deg); }
}
@keyframes meepleShadow {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(.55); opacity: .22; }
}
.loader-word {
  display: flex; margin: 1.4em 0 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  letter-spacing: 4px; color: var(--white);
}
.loader-word span {
  display: inline-block;
  opacity: 0;
  animation: letterUp .6s ease forwards;
  animation-delay: calc(var(--i) * 90ms + 200ms);
  background: linear-gradient(160deg, #ffe1a8, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Rolling dice "O" in MEEPLECON — pre-rendered die PNGs (die-face-1..9),
   swapped by JS each cycle. CSS spins + squash-and-bounce for a lively roll. */
.die-o { display: inline-flex !important; vertical-align: middle; perspective: 260px; }
.die-o .die-img {
  width: 1em; height: 1em; object-fit: contain; vertical-align: middle;
  margin: 0 .04em -0.13em;
  transform-origin: center 60%;
  filter: drop-shadow(0 0.03em 0.03em rgba(43,24,16,.3));
  /* Rests still on a face; JS adds .rolling to throw it (tumble → land → settle). */
  transform-origin: center 65%;
  filter: drop-shadow(0 0.04em 0.03em rgba(43,24,16,.35));
  will-change: transform;
}
/* One realistic throw: leaps up spinning, lands with a squash, small bounce,
   settles flat. JS rapidly swaps faces during this window so it tumbles, then
   holds the final face while at rest — like actually rolling a die. */
.die-o .die-img.rolling { animation: diceThrow .72s cubic-bezier(.28,.7,.35,1) 1; }
@keyframes diceThrow {
  0%   { transform: translateY(0)    rotate(0deg)   scale(1); }
  22%  { transform: translateY(-42%) rotate(150deg) scale(1.04); }  /* leap, spin */
  44%  { transform: translateY(-52%) rotate(300deg) scale(1.05); }  /* apex */
  64%  { transform: translateY(0)    rotate(400deg) scale(1.12,.84); } /* land, squash */
  80%  { transform: translateY(-12%) rotate(420deg) scale(.94,1.08); } /* bounce */
  92%  { transform: translateY(0)    rotate(430deg) scale(1.03,.98); } /* small settle */
  100% { transform: translateY(0)    rotate(432deg) scale(1); }      /* rest */
}
.brand-name .die-o .die-img { width: .8em; height: .8em; margin-bottom: -0.07em; }
@keyframes letterUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(251, 243, 230, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(43,24,16,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: padding .3s ease;
  position: relative;
  max-width: none;
}
.site-header.scrolled .header-inner { padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: .5px; }
.brand-text { display: flex; flex-direction: column; gap: .2em; line-height: 1; }
.brand-edition-badge { font-size: .55rem; padding: .18em .6em; align-self: flex-start; color: var(--white); border-color: var(--white); }
.site-header.scrolled .brand-edition-badge { color: var(--crimson-dark); border-color: var(--crimson-dark); }
.site-header.scrolled .brand { color: var(--crimson-dark); }
.brand-logo { width: 46px; height: 50px; flex-shrink: 0; object-fit: contain; margin-top: 6px; transition: transform .4s ease; }
.brand:hover .brand-logo { transform: rotate(8deg) scale(1.08); }

.main-nav { display: flex; gap: 2em; margin-left: 3em; margin-right: auto; }
.main-nav a {
  font-weight: 600; font-size: .95rem; color: var(--white);
  position: relative; padding: .2em 0;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-cta { display: inline-flex; padding: .55em 1.3em; }
.nav-cta,
.mobile-nav-cta,
.hero-nav-match-cta { font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
.mobile-nav-cta { display: none; }

/* "Get Passes" — solid filled CTA (10px corners, not a full pill). */
#siteHeader .nav-cta,
#hero .hero-nav-match-cta {
  background: var(--gold); border: 2px solid #1E2A2E; color: var(--crimson-dark);
  border-radius: 10px;
}
#siteHeader .nav-cta:hover,
#hero .hero-nav-match-cta:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-lift);
}
.hero-nav-match-cta { padding: .55em 1.3em; }

/* Nav search — icon toggles an inline-expanding input, styled to match the "Get Passes" button
   (gold fill, black border, 10px corners) so the two sit together as a matching pair. */
.nav-search { display: flex; align-items: center; margin-left: 1.2em; margin-right: .6em; }
.nav-search-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 2px solid #1E2A2E; background: var(--gold);
  color: var(--crimson-dark); cursor: pointer; flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-search-toggle svg { width: 18px; height: 18px; }
.nav-search-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.nav-search-form {
  max-width: 0; overflow: hidden; transition: max-width .3s ease, margin-left .3s ease;
}
.nav-search.open .nav-search-form { max-width: 220px; margin-left: .5em; }
.nav-search-form input {
  width: 200px; border: 2px solid #1E2A2E; border-radius: 10px; background: var(--white);
  color: var(--ink); font-family: var(--font-body); font-size: .92rem; padding: .5em .8em;
  outline: none;
}
.nav-search-form input::placeholder { color: var(--ink-soft); }
.nav-search.open .nav-search-toggle { background: #b8543c; color: var(--white); }

.search-hit-flash {
  animation: searchHitFlash 1.6s ease;
}
@keyframes searchHitFlash {
  0%, 100% { box-shadow: none; }
  15%, 55% { box-shadow: 0 0 0 4px var(--gold); }
}
.nav-search-form input.search-no-match { border-bottom-color: var(--crimson); animation: searchShake .4s ease; }
@keyframes searchShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
@media  (max-width: 900px) {
  .nav-search { display: none; }
}
.edition-badge {
  display: inline-flex; align-items: center; font-family: var(--font-body); font-weight: 700;
  font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold);
  border: 1.5px solid var(--gold); border-radius: 999px; padding: .35em .9em;
  white-space: nowrap;
}
.hero-edition-badge { margin-bottom: 1.1em; color: var(--gold); border-color: var(--gold); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: all .3s ease; }
.site-header.scrolled .hamburger span { background: var(--ink); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--crimson-dark);
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
  z-index: -2;
  filter: var(--img-filter);
}
.hero-bg-mobile-img { display: none; }
@media  (max-width: 768px) {
  .hero-bg-img { display: none; }
  .hero-bg-mobile-img {
    display: block; position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-color: var(--crimson-dark);
    width: 100%; height: 100%; z-index: -2;
    filter: var(--img-filter);
  }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,20,14,.78) 0%, rgba(75,29,20,.72) 55%, rgba(43,20,14,.9) 100%);
  z-index: -1;
}
.hero-overlay::after {
  content: ""; position: absolute; inset: 0; background: var(--img-tint); mix-blend-mode: var(--img-blend);
}
.highlight-img,
.pattern-bg { filter: var(--img-filter); }
.hero-content { padding-top: 110px; padding-bottom: 9vh; position: relative; z-index: 2; }
.eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: .85rem;
}
.hero-title { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--white); max-width: 620px; margin-top: 32px; }
.hero-title .accent {
  background: linear-gradient(100deg, var(--gold), #ffd684);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 560px; margin: 28px 0 0; }
.hero-date { display: flex; gap: 1.6em; flex-wrap: wrap; margin: 20px 0 0; }
.hero-date-item {
  display: inline-flex; align-items: center; gap: .5em; color: var(--gold); font-weight: 700;
  font-size: .92rem; letter-spacing: .3px;
}
.hero-date-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.hero-cta { display: flex; gap: 1em; margin: 36px 0 0; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.6em; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--white); }
.stat-label { color: rgba(255,255,255,.75); font-size: .9rem; }

.hero-floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater { position: absolute; width: 42px; height: 42px; color: var(--white); opacity: .5; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); animation: floatY 7s ease-in-out infinite; }
.floater.f2,
.floater.f4 { width: 34px; height: 34px; }
.f1 { top: 18%; left: 6%; animation-delay: 0s; }
.f2 { top: 65%; left: 12%; font-size: 2rem; animation-delay: 1.2s; }
.f3 { top: 22%; right: 9%; animation-delay: .6s; }
.f4 { top: 72%; right: 15%; font-size: 1.8rem; animation-delay: 2s; }
.f5 { top: 45%; right: 4%; font-size: 2.1rem; animation-delay: 1.6s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(12deg); }
}

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold); border-radius: 2px; animation: scrollDown 1.6s ease infinite;
}
@keyframes scrollDown {
  0% { top: 8px; opacity: 1; } 80% { top: 22px; opacity: 0; } 100% { top: 22px; opacity: 0; }
}

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 3.2em; text-align: center; }
#about .section-head { max-width: 1080px; }
#highlights { padding-top: 60px; }
#sponsors { padding-top: 30px; }
.sponsors-head-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 2.4em; }
.sponsors-tile-img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
@media (max-width: 860px) {
  .sponsors-head-row { grid-template-columns: 1fr; }
  .sponsors-tile-img { order: -1; max-width: 420px; margin: 0 auto; }
}
.kicker { color: var(--burnt-orange); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem; margin-bottom: .6em; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-lede { font-size: 1.1rem; }

.pattern-section { position: relative; }
.pattern-bg { position: absolute; inset: 0; background-size: 420px; background-repeat: repeat; opacity: .16; z-index: 0; }
.pattern-section > .wrap { position: relative; z-index: 1; }

/* Feature cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 2.2em 1.8em; text-align: center;
  box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease;
  border: var(--card-border, 1px solid rgba(140,47,47,.08));
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.feature-icon {
  width: 84px; height: 84px; background-size: cover; background-position: center;
  border-radius: 50%; margin: 0 auto 1em; border: 3px solid var(--cream-dark); filter: var(--img-filter);
}
.feature-card h3 { font-size: 1.25rem; }

/* Schedule */
.schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.day-card { background: var(--white); border-radius: var(--radius); padding: 2em; box-shadow: var(--shadow-soft); border: var(--card-border, none); }
.day-card-head { display: flex; align-items: baseline; gap: .8em; margin-bottom: 1.2em; padding-bottom: 1em; border-bottom: 2px dashed var(--cream-dark); }
.day-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--crimson); }
.day-date { color: var(--ink-soft); font-weight: 600; }
.day-list { list-style: none; margin: 0; padding: 0; }
.day-list li { display: flex; gap: 1em; padding: .55em 0; border-bottom: 1px solid var(--cream-dark); color: var(--ink); font-weight: 500; }
.day-list li:last-child { border-bottom: none; }
.day-list li span { font-family: var(--font-display); font-weight: 700; color: var(--burnt-orange); min-width: 3.2em; }

/* Highlights */
.highlights .wrap { margin-bottom: 0; }
.highlight-row {
  display: flex; align-items: stretch; min-height: 420px; margin-bottom: 40px;
}
.highlight-row.reverse { flex-direction: row-reverse; }
.highlight-img { flex: 1 1 55%; background-size: cover; background-position: center; position: relative; }
.highlight-text { flex: 1 1 45%; display: flex; flex-direction: column; justify-content: center; padding: 3em 2em; background: var(--white); }
.highlight-tag {
  display: inline-block; align-self: flex-start; background: var(--cream-dark); color: var(--crimson);
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px;
  padding: .35em 1em; border-radius: 999px; margin-bottom: .8em;
}
.highlight-text h3 { font-size: 1.9rem; }
.highlight-bullets { list-style: none; margin: 1.2em 0 0; padding: 0; display: flex; flex-direction: column; gap: .5em; }
.highlight-bullets li {
  color: var(--ink); font-weight: 600; font-size: .92rem; padding-left: 1.4em; position: relative;
}
.highlight-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 60px 0 0; }

/* Flip cards — back shows the Meeplecon logo, front (cartoon bg + copy) flips into
   view as each card scrolls in, like a playing card being dealt face-up. */
.flip-card { perspective: 1400px; }
.flip-card-inner {
  position: relative; width: 100%; min-height: 460px; height: 100%;
  transform-style: preserve-3d; transform: rotateY(180deg);
  transition: transform .9s cubic-bezier(.25,.8,.35,1);
}
.flip-card.reveal-flip.in-view .flip-card-inner { transform: rotateY(0deg); }
.flip-card:nth-child(1) .flip-card-inner { transition-delay: 0s; }
.flip-card:nth-child(2) .flip-card-inner { transition-delay: .08s; }
.flip-card:nth-child(3) .flip-card-inner { transition-delay: .16s; }
.flip-card:nth-child(4) .flip-card-inner { transition-delay: .24s; }
.flip-card:nth-child(5) .flip-card-inner { transition-delay: .32s; }
.flip-card:nth-child(6) .flip-card-inner { transition-delay: .1s; }
.flip-card:nth-child(7) .flip-card-inner { transition-delay: .18s; }
.flip-card:nth-child(8) .flip-card-inner { transition-delay: .26s; }

.flip-card-back,
.flip-card-front {
  position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  border: var(--card-border, none); border-top: 3px solid var(--highlight-accent, var(--gold));
  display: flex; flex-direction: column;
}
.flip-card-back {
  transform: rotateY(180deg); background: var(--white);
  align-items: center; justify-content: center;
}
.flip-card-logo { width: 42%; max-width: 76px; opacity: .55; }

.flip-card-front-img {
  flex: 0 0 48%; background-color: var(--cream-dark); background-size: contain; background-repeat: no-repeat;
  background-position: center; display: flex; align-items: flex-end; padding: .7em;
}
.flip-card-front-body {
  flex: 1; min-height: 0; overflow-y: auto; background: var(--white);
  padding: 1.1em 1.2em 1.3em; display: flex; flex-direction: column;
}
.flip-card-front h4 { color: var(--crimson-dark); }
.flip-card-front p { color: var(--ink-soft); }

.highlight-mini:hover .flip-card-inner { transform: translateY(-6px) rotateY(0deg); }
.highlight-mini.accent-gold { --highlight-accent: var(--gold); }
.highlight-mini.accent-coral { --highlight-accent: var(--ink-soft); }
.highlight-mini.accent-teal { --highlight-accent: #7CBDAF; }
.highlight-mini-icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); box-shadow: 0 4px 10px rgba(15,20,23,.28);
  color: var(--highlight-accent, var(--gold));
}
.highlight-mini-icon svg { width: 20px; height: 20px; }
.highlight-mini h4 { font-family: var(--font-display); color: var(--crimson-dark); font-size: 1.05rem; margin: 0 0 .5em; }
.highlight-mini p { font-size: .88rem; margin: 0; }

/* Tickets */
.ticket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ticket-grid:has(> .ticket-card:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ticket-grid:has(> .ticket-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.ticket-card {
  background: var(--white); border-radius: var(--radius); padding: 2.4em 2em; text-align: center;
  box-shadow: var(--shadow-soft); position: relative; border: var(--card-border, 2px solid transparent); transition: transform .3s ease;
}
.ticket-card:hover { transform: translateY(-6px); }
.ticket-card.featured { border-color: var(--gold); background: linear-gradient(180deg, var(--white), #fff6e6); }
.ticket-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--crimson-dark); font-weight: 700; font-size: .78rem;
  padding: .35em 1.2em; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.ticket-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--crimson); margin-bottom: .5em; }
.ticket-price span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.ticket-card ul { list-style: none; padding: 0; margin: 0 0 1.6em; text-align: left; }
.ticket-card li { padding: .5em 0; color: var(--ink-soft); }
.ticket-card li::before { content: "♦"; color: var(--gold); margin-right: .6em; }
.ticket-note { text-align: center; margin-top: 2em; color: var(--ink-soft); font-style: italic; }

/* Passes page */
.passes-tier-banner {
  display: inline-flex; align-items: center; gap: .6em; margin-top: 1.6em;
  background: linear-gradient(135deg, var(--crimson), var(--burnt-orange)); color: var(--white);
  padding: .7em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  box-shadow: var(--shadow-soft);
}
.passes-tier-banner .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white); flex-shrink: 0;
  animation: passesPulse 1.6s ease infinite;
}
@keyframes passesPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.passes-day-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 2.8em;
  position: sticky; top: 78px; z-index: 50; padding: .8em 0 1.2em;
  background: var(--cream);
}
.passes-day-tab {
  padding: .6em 1.3em; border-radius: 999px; border: 2px solid var(--cream-dark); background: var(--white);
  color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; font-size: .88rem; cursor: pointer;
  transition: all .2s ease; box-shadow: var(--shadow-soft);
}
.passes-day-tab:hover { border-color: var(--crimson); color: var(--crimson); }
.passes-day-tab.active { background: var(--crimson); border-color: var(--crimson); color: var(--white); }

.passes-loading,
.passes-empty { text-align: center; color: var(--ink-soft); padding: 3em 0; }

.passes-group { margin-bottom: 3.4em; }
.passes-group-head {
  display: flex; align-items: center; gap: .9em; margin-bottom: 1.4em; padding: .9em 1.2em;
  border-radius: 14px; border-left: 5px solid var(--group-accent, var(--crimson));
  background: color-mix(in srgb, var(--group-accent, var(--crimson)) 8%, var(--white));
}
.passes-group-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--group-accent, var(--crimson)); color: var(--white);
}
.passes-group-icon svg { width: 20px; height: 20px; }
.passes-group-text h3 { margin: 0; font-size: 1.2rem; }
.passes-group-note { color: var(--ink-soft); font-size: .85rem; margin: .1em 0 0; }

.passes-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.passes-card-grid:has(> .pass-card:only-child) { grid-template-columns: minmax(0, 280px); }
.pass-card {
  background: var(--white); border-radius: var(--radius); padding: 1.6em 1.4em; text-align: left;
  box-shadow: var(--shadow-soft); border: var(--card-border, 2px solid transparent);
  display: flex; flex-direction: column; gap: .45em; transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.pass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pass-card.sold-out { opacity: .6; }
.pass-card.featured { border-color: var(--gold); }
.pass-card-ribbon {
  position: absolute; top: -12px; right: 14px; background: var(--gold); color: var(--crimson-dark);
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  padding: .3em .8em; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.pass-card-icon {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--group-accent, var(--crimson)) 14%, var(--white)); color: var(--group-accent, var(--crimson));
  margin-bottom: .2em;
}
.pass-card-icon svg { width: 22px; height: 22px; }
.pass-card-tier { font-size: .72rem; font-weight: 800; color: var(--group-accent, var(--crimson)); text-transform: uppercase; letter-spacing: .4px; }
.pass-card-day { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--burnt-orange); }
.pass-card-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--crimson-dark); margin: 0; }
.pass-card-group-note { font-size: .78rem; color: var(--ink-soft); margin: -.2em 0 0; }
.pass-card-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--crimson); margin: .1em 0; }
.pass-card-price span { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.pass-card-mrp { font-size: 1.1rem; font-weight: 500; color: var(--ink-soft); text-decoration: line-through; }
.pass-card-inventory { display: flex; flex-direction: column; gap: .3em; margin: .2em 0; }
.pass-card-inventory-bar { height: 6px; border-radius: 999px; background: var(--cream-dark); overflow: hidden; }
.pass-card-inventory-fill { height: 100%; border-radius: 999px; background: #1f9c34; transition: width .3s ease; }
.pass-card-inventory-fill.low { background: #a5690a; }
.pass-card-inventory-fill.out { background: #a5271e; }
.pass-card-inventory-text { font-size: .76rem; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: .4em; }
.hot-icon { width: 14px; height: 14px; flex-shrink: 0; }
.pass-card .btn { margin-top: .5em; width: 100%; justify-content: center; }
.pass-card .btn[disabled] { opacity: .5; cursor: not-allowed; }

@media  (max-width: 640px) {
  .passes-day-tabs { gap: 8px; top: 66px; }
  .passes-day-tab { padding: .5em 1em; font-size: .82rem; }
  .passes-card-grid { grid-template-columns: 1fr; }
  .passes-group-head { padding: .8em 1em; }
}

/* Volunteers */
.volunteers-card {
  background: var(--white); border-radius: var(--radius); padding: 2.6em 3em; text-align: center;
  box-shadow: var(--shadow-soft); border: var(--card-border, none); max-width: 640px; margin: 0 auto;
}
.volunteers-card h2 { margin-bottom: .3em; }

/* Sponsors */
.sponsor-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4em; }
.sponsor-slot {
  background: var(--white); border: 1px dashed rgba(140,47,47,.3); border-radius: 12px;
  padding: 1.2em 2em; font-family: var(--font-display); font-weight: 700; color: var(--ink-soft);
}
.sponsor-cta { text-align: center; margin-top: 2em; }
.sponsor-cta a { color: var(--crimson); font-weight: 700; text-decoration: underline; }

/* Logo strip (sponsor/partner logo grids) — reuses .sponsor-row/.sponsor-slot styling */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4em; margin-bottom: 1.6em; }
.logo-strip:last-child { margin-bottom: 0; }
.logo-strip:empty { display: none; }

/* Stats grid (about section) */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.4em; }
.stats-grid:empty { display: none; }
.stat-card { text-align: center; padding: 1.4em 1em; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.stat-card .stat-num,
.stat-card .stat-suffix { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--crimson); }
.stat-card .stat-label { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: .3em; }
@media  (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.sponsor-intro { text-align: center; max-width: 760px; margin: 0 auto 1.2em; color: var(--ink-soft); }

/* Why-list (exhibitors/volunteers bullet lists) */
.why-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: flex; flex-direction: column; gap: 1em; }
.why-list li { padding-left: 1.6em; position: relative; color: var(--ink-soft); line-height: 1.6; }
.why-list li::before { content: "♦"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.why-list li strong { color: var(--ink); }

.opportunities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 0 auto;
}
.opp-card {
  display: flex; align-items: center; gap: .7em;
  padding: 1em 1.2em; border-radius: 12px; border: 1px solid rgba(140,47,47,.14);
  background: var(--white); box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.opp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.opp-card-icon { width: 22px; height: 22px; flex: none; color: var(--gold); }
.opp-card-label { color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.35; }
@media (max-width: 860px) {
  .opportunities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .opportunities-grid { grid-template-columns: 1fr; }
}

/* Two cards side by side (volunteers: Why Volunteer + What You'll Do) */
.two-col-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.two-col-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 2.2em 2em;
}
.two-col-card h2 { font-size: 1.6rem; margin-bottom: .7em; }
.two-col-card .why-list,
.two-col-card .roles-list { margin: 0; max-width: none; }
@media  (max-width: 860px) {
  .two-col-cards { grid-template-columns: 1fr; }
}

/* Standalone page header (exhibitors/volunteers/sponsors/contact) */
.page-hero { padding-top: 140px; }
.page-hero h1 { font-size: 2.4rem; }
.contact-cta { text-align: center; }
.roles-list { max-width: 640px; margin: 0 auto; }

.contact-cards {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 20px; margin: 1.8em auto 0; max-width: 900px;
}
.contact-card {
  flex: 1 1 220px; max-width: 260px;
  display: flex; flex-direction: column; align-items: center; gap: .5em;
  background: var(--white); border: var(--card-border); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 1.8em 1.4em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.contact-avatar {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--crimson), var(--burnt-orange)); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .5px;
}
.contact-avatar-icon svg { width: 22px; height: 22px; }
.contact-name { font-weight: 700; color: var(--ink); }
.contact-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--crimson-dark); text-decoration: none; font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.contact-link:hover { border-color: var(--crimson-dark); }
@media  (max-width: 640px) {
  .contact-cards { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 320px; }
}
:root[data-theme="editorial"] .contact-card { background: #1E2A2E; border-color: rgba(247,245,239,.14); }
:root[data-theme="editorial"] .contact-name { color: #F7F5EF; }
:root[data-theme="editorial"] .contact-link { color: #F7F5EF; }
:root[data-theme="editorial"] .contact-link:hover { border-color: #F7F5EF; }

.page-hero-photo {
  display: block; width: 100%; max-width: 900px; margin: 2.2em auto 0;
  border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.35);
  object-fit: cover; max-height: 460px;
}

.video-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 3em;
  position: relative; border-radius: 20px; padding: 3em; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-soft);
}
.video-feature::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--video-feature-bg, none); background-size: cover; background-position: center;
}
.video-feature::after {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--video-feature-scrim, transparent);
}
.video-feature-text,
.video-feature-media { position: relative; z-index: 1; }
.video-feature-text h2 { margin-bottom: .4em; }
.video-feature-text p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 1em; }
.video-feature-text .btn { margin-top: 2.6em; }
.video-feature-media { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.two-col-card .video-feature-media { margin-top: 1.6em; }
.video-feature-media video {
  width: auto; max-width: 100%; max-height: 640px; border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35); display: block;
}
.video-feature-media .btn { margin-top: 1.6em; }
@media  (max-width: 860px) {
  .video-feature { grid-template-columns: 1fr; }
}

.about-photo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 2.4em 0;
}
.about-photo-grid img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
  border: 3px solid #F2C43C;
}
@media  (max-width: 720px) {
  .about-photo-grid { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonials { background: var(--cream-dark); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-grid .testimonial-card:nth-child(4),
.testimonial-grid .testimonial-card:nth-child(5) { grid-column: span 1; }
@media  (min-width: 901px) {
  .testimonial-grid { grid-template-columns: repeat(6, 1fr); }
  .testimonial-grid .testimonial-card:nth-child(1) { grid-column: 1 / 3; }
  .testimonial-grid .testimonial-card:nth-child(2) { grid-column: 3 / 5; }
  .testimonial-grid .testimonial-card:nth-child(3) { grid-column: 5 / 7; }
  .testimonial-grid .testimonial-card:nth-child(4) { grid-column: 2 / 4; }
  .testimonial-grid .testimonial-card:nth-child(5) { grid-column: 4 / 6; }
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 2em; margin: 0; box-shadow: var(--shadow-soft);
  border: var(--card-border, none);
}
.testimonial-card p { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.testimonial-card cite { color: var(--burnt-orange); font-weight: 700; font-style: normal; font-size: .9rem; }

/* Footer */
.site-footer { position: relative; background: var(--crimson-dark); color: rgba(255,255,255,.85); padding-top: 70px; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; z-index: 0; }
.footer-inner { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.4em; padding-bottom: 3em; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-brand { display: flex; flex-direction: column; gap: .4em; }
.footer-brand .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--white); }
.footer-brand .brand-logo { width: 36px; height: 40px; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-col h4 { color: var(--gold); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1em; }
.footer-col { display: flex; flex-direction: column; gap: .7em; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.social-icons { display: flex; gap: 1em; margin-top: .3em; }
.social-icons a { color: rgba(255,255,255,.78); display: inline-flex; transition: color .2s ease, transform .2s ease; }
.social-icons a:hover { color: var(--gold); transform: translateY(-2px); }
.newsletter-form { display: flex; gap: .6em; }
.newsletter-form input {
  flex: 1; padding: .7em 1em; border-radius: 999px; border: none; font-family: var(--font-body);
  background: rgba(255,255,255,.12); color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-note { font-size: .85rem; color: var(--gold); min-height: 1.2em; }
.footer-bottom { text-align: center; padding: 1.6em 0; color: rgba(255,255,255,.55); font-size: .85rem; }

/* Checkout modal (Razorpay) */
.checkout-modal {
  display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center;
  background: rgba(20,14,10,.6); backdrop-filter: blur(4px); padding: 1.5em;
}
.checkout-modal.open { display: flex; }
.checkout-modal-inner {
  background: var(--white); border-radius: var(--radius); padding: 2.2em; max-width: 380px; width: 100%;
  position: relative; box-shadow: var(--shadow-lift);
}
.checkout-modal-close {
  position: absolute; top: .8em; right: 1em; background: none; border: none; font-size: 1.4rem;
  cursor: pointer; color: var(--ink-soft); line-height: 1;
}
.checkout-amount { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--crimson); margin-bottom: 1em; }
#checkoutForm { display: flex; flex-direction: column; gap: .8em; }
#checkoutForm input {
  padding: .7em 1em; border-radius: 10px; border: 1px solid var(--cream-dark); font-family: var(--font-body);
}
#checkoutQty { display: none; }
#checkoutQty.show { display: block; }
.checkout-attendees { display: flex; flex-direction: column; gap: .8em; }
.checkout-terms { display: flex; align-items: flex-start; gap: .6em; font-size: .82rem; color: var(--ink-soft); text-align: left; }
.checkout-terms input { width: auto; flex: none; margin-top: .2em; }
.checkout-terms a { color: var(--crimson); text-decoration: underline; }
.checkout-note { font-size: .85rem; color: var(--ink-soft); min-height: 1.2em; }

/* Contact form */
.contact-grid { display: block; padding: 2.4em 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: .8em; text-align: center; }
.contact-form h4 { color: var(--gold); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4em; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: .75em 1.1em; border-radius: 14px; border: none; font-family: var(--font-body);
  background: rgba(255,255,255,.12); color: var(--white); resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.contact-form select { appearance: none; }
.contact-form select option { color: var(--ink); }
.contact-form .btn { align-self: center; margin-top: .3em; }

/* Exhibitor / Volunteer application forms */
.form-card {
  max-width: 640px; margin: 2em auto 0; background: var(--white); border-radius: var(--radius);
  padding: 2.2em 2.4em; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 1.1em;
}
.form-card label {
  display: flex; flex-direction: column; gap: .4em; font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  text-align: left;
}
.form-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; }
.form-card input,
.form-card select,
.form-card textarea {
  font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--ink);
  padding: .7em .9em; border-radius: 10px; border: 1px solid var(--cream-dark); resize: vertical;
}
.form-card .btn { align-self: center; margin-top: .4em; }
.form-card .form-note { text-align: center; font-size: .85rem; color: var(--crimson); min-height: 1.2em; }
@media  (max-width: 640px) { .form-card .field-row { grid-template-columns: 1fr; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.icon-label-form label { position: relative; display: block; }
.icon-label-form .field-icon {
  position: absolute; left: .85em; top: 1em; width: 18px; height: 18px;
  color: var(--ink-soft); pointer-events: none;
}
.icon-label-form input,
.icon-label-form textarea { padding-left: 2.6em; width: 100%; box-sizing: border-box; }

/* Sponsor tiers/contacts (CMS-driven) */
.sponsor-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 2em; text-align: left; }
.sponsor-tiers:empty { display: none; }
.sponsor-tier { background: var(--white); border-radius: var(--radius); padding: 1.6em; box-shadow: var(--shadow-soft); }
.sponsor-tier h4 { font-size: 1rem; color: var(--crimson-dark); margin: 0 0 .8em; }
.sponsor-tier ul { list-style: none; margin: 0; padding: 0; }
.sponsor-tier li { padding: .35em 0; color: var(--ink-soft); font-size: .92rem; }
.sponsor-tier li::before { content: "♦"; color: var(--gold); margin-right: .6em; }
.sponsor-contacts:empty { display: none; }
.sponsor-contacts { margin-top: 1.4em; }
.sponsor-slot.sponsor-logo { padding: .8em 1.4em; border-style: solid; display: flex; align-items: center; justify-content: center; }
.sponsor-slot.sponsor-logo img { max-width: 168px; max-height: 72px; object-fit: contain; display: block; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media  (max-width: 900px) {
  .card-grid,
.schedule-grid,
.ticket-grid,
.testimonial-grid { grid-template-columns: 1fr; }
  /* The 2-card-only override (line ~550) has higher specificity than the 1fr rule above
     and would otherwise keep exhibitor/sponsor package pairs side-by-side on mobile. */
  .ticket-grid:has(> .ticket-card:only-child),
.ticket-grid:has(> .ticket-card:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .highlight-row,
.highlight-row.reverse { flex-direction: column; min-height: 0; }
  .highlight-img { min-height: 280px; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media  (max-width: 560px) {
  .highlight-grid { grid-template-columns: 1fr; }
}
@media  (max-width: 1000px) {
  .main-nav,
.nav-cta { display: none; }
  .hamburger { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 8px 28px 28px; gap: 0;
    box-shadow: 0 16px 32px rgba(0,0,0,.18); overflow-y: auto; max-height: 80vh;
    animation: mobileNavIn .3s cubic-bezier(.2,.8,.3,1);
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .main-nav.open a {
    color: var(--ink) !important; font-size: 1.15rem; font-weight: 700;
    padding: 1.05em 4px; border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .main-nav.open a::after { display: none; }
  .mobile-nav-cta {
    display: flex !important; justify-content: center; margin-top: 1.6em;
    border-bottom: none !important; color: var(--white) !important;
  }
}
@media  (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6em; }
  .hero { align-items: center; }
  .hero-content { padding-top: 90px; padding-bottom: 24px; }
  .hero-title { margin-top: 16px; font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-sub { margin-top: 16px; font-size: 1rem; }
  .hero-date { margin-top: 14px; gap: 1em; }
  .hero-cta { margin-top: 20px; }
}

/* =========================================================
   THEME: Riso Zine — bold 3-colour print-poster look
   ========================================================= */

/* =========================================================
   THEME: Night Arcade — dark, neon-glow
   ========================================================= */

/* Header/nav chrome — same hardcoded-editorial-border issue as tagcon; wire to arcade's
   neon palette so the menu/buttons don't show a mismatched dark-navy border. */

/* .main-nav.open a {color:var(--ink) !important} outranks the rule above on specificity
   (it's also !important) — needs an equally-important, more specific selector to win. */

/* Text-legibility fixes — arcade repurposes --white as a dark card-surface color (like
   editorial does), but several base rules use var(--white) to mean "light text on a dark
   photo/section", which breaks (near-invisible dark-on-dark) once --white itself goes dark. */

/* =========================================================
   THEME: Rulebook — monochrome instruction-manual
   ========================================================= */

/* =========================================================
   Per-theme reveal / hover animation languages
   ========================================================= */

/* Zine — hard "rubber stamp" slam-down */

/* Night Arcade — glitch flicker-in + pulse glow */

/* Rulebook — typewriter clip-reveal, no easing, mechanical */

/* ===== Theme-specific loader icons ===== */
.loader-stamp,
.loader-ring,
.loader-quill,
.loader-dot,
.loader-logo-wrap { display: none; }
:root[data-theme="editorial"] .loader-shadow { display: none; }

@keyframes stampPress {
  0%, 100% { transform: translateY(-18px) scale(1); }
  45% { transform: translateY(0) scale(1.1,.85); }
  55% { transform: translateY(0) scale(1.1,.85); }
}

@keyframes ringSpin { to { transform: rotate(360deg); } }

@keyframes quillBar { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* =========================================================
   THEME: Editorial — custom brand tokens
   base-dark / section-teal / cta-coral / highlight-gold / surface-light
   ========================================================= */
:root[data-theme="editorial"] {
  --crimson: #F2C43C;        /* gold accent: kicker, eyebrow, links */
  --crimson-dark: #1E2A2E;   /* default heading colour (dark, for headings inside light cards) */
  --burnt-orange: #F2C43C;   /* gold: day-list times, testimonial cite, decorative accents (never buttons) */
  --gold: #F2C43C;
  --cream: #2A353C;          /* base-dark: page background */
  --cream-dark: #E4E1D8;     /* light divider tone for dashed rules on light cards */
  --ink: #1E2A2E;
  --ink-soft: #4a5a5f;
  --white: #FAFAF8;          /* surface-light: card backgrounds */

  --font-display: "Fredoka", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 10px;
  --btn-radius: 8px;
  --card-border: none;
  --heading-transform: none;
  --heading-tracking: normal;
  --shadow-soft: 0 10px 28px rgba(15,20,23,.22);
  --shadow-lift: 0 18px 44px rgba(15,20,23,.3);

  --img-filter: none;
  --img-tint: transparent;
  --img-blend: normal;
  --loader-bg-center: #34424a;
  --loader-bg-edge: #1F282E;
}
:root[data-theme="editorial"] body { color: #F7F5EF; }

/* CTA coral — the one and only use of coral, on every buy/action button */
:root[data-theme="editorial"] .btn-primary {
  background: #CD5E43; color: #F7F5EF; box-shadow: 0 10px 24px rgba(205,94,67,.35);
}
:root[data-theme="editorial"] .btn-primary:hover { background: #b8543c; box-shadow: 0 14px 30px rgba(205,94,67,.45); }
:root[data-theme="editorial"] .btn-ghost { background: rgba(247,245,239,.1); border-color: rgba(247,245,239,.5); }
:root[data-theme="editorial"] .ticket-card .btn-outline { color: #1E2A2E; border-color: #1E2A2E; }
:root[data-theme="editorial"] .ticket-card .btn-outline:hover { background: #1E2A2E; color: #F7F5EF; }

/* Hero — deepened dark overlay instead of the warm crimson tint, image brightened to compensate */
:root[data-theme="editorial"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.7) 40%, rgba(0,0,0,.4) 60%, rgba(0,0,0,0) 78%),
    linear-gradient(180deg, rgba(42,53,60,.28) 0%, rgba(42,53,60,.15) 55%, rgba(31,40,46,.5) 100%);
}
@media  (max-width: 768px) {
  :root[data-theme="editorial"] .hero-overlay { background: rgba(0,0,0,.35); }
}
:root[data-theme="editorial"] .hero-content { margin-left: 0; max-width: none; }
:root[data-theme="editorial"] .hero .wrap { max-width: none; padding-left: 24px; padding-right: 24px; }
:root[data-theme="editorial"] .hero-bg-img { filter: brightness(1.05) saturate(1.08) contrast(1.05); }
:root[data-theme="editorial"] .stat-num { color: #F2C43C; }
:root[data-theme="editorial"] .main-nav.open { background: #1F282E; }
:root[data-theme="editorial"] .main-nav.open a { color: #F7F5EF !important; border-bottom-color: rgba(247,245,239,.15) !important; }
:root[data-theme="editorial"] .stat-label { color: #8FA0A5; }

/* Dark bands (About, Tickets) inherit body's base-dark bg; fix headings/lede for light legibility */
:root[data-theme="editorial"] #about .section-head h2,
:root[data-theme="editorial"] #tickets .section-head h2 { color: #F7F5EF; }
:root[data-theme="editorial"] #about .section-lede,
:root[data-theme="editorial"] #tickets .section-lede,
:root[data-theme="editorial"] #tickets .ticket-note { color: #8FA0A5; }
:root[data-theme="editorial"] .two-col-card h2 { color: #F7F5EF; }
:root[data-theme="editorial"] .highlight-text h3 { color: #1E2A2E; }

/* Highlight-card flip fronts — cartoon illustration per category */
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="social-deduction"] { background-image: url("assets/editorial/highlight-cards/social-deduction-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="championship"] { background-image: url("assets/editorial/highlight-cards/championship-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="strategy"] { background-image: url("assets/editorial/highlight-cards/strategy-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="party"] { background-image: url("assets/editorial/highlight-cards/party-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="corporate"] { background-image: url("assets/editorial/highlight-cards/corporate-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="children"] { background-image: url("assets/editorial/highlight-cards/children-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="painting"] { background-image: url("assets/editorial/highlight-cards/painting-wide.jpg"); }
:root[data-theme="editorial"] .flip-card-front-img[data-card-key="generic"] { background-image: url("assets/editorial/highlight-cards/generic-wide.jpg"); }

/* Video-feature panels (Social Deduction on home, Meet the Exhibitors on exhibitors) —
   plain dark panel, no illustration: the real video is the visual, an illustrated backdrop
   next to it just competed with the photo/video content. */
:root[data-theme="editorial"] .video-feature { background: #1E2A2E; }
:root[data-theme="editorial"] .video-feature-text h2 { color: #F7F5EF; }
:root[data-theme="editorial"] .video-feature-text p { color: #8FA0A5; }
:root[data-theme="editorial"] .video-feature-text .highlight-bullets li { color: #F7F5EF; }
:root[data-theme="editorial"] .video-feature-text .btn-outline,
:root[data-theme="editorial"] .video-feature-media .btn-outline { color: #F7F5EF; border-color: #F7F5EF; }
:root[data-theme="editorial"] .video-feature-text .btn-outline:hover,
:root[data-theme="editorial"] .video-feature-media .btn-outline:hover { background: #F7F5EF; color: #1E2A2E; }

/* Standalone pages (exhibitors/volunteers/sponsors/contact) — plain sections sit directly
   on the dark base background (no white card), same dark-band fix as About/Highlights/Tickets. */
:root[data-theme="editorial"] .page-hero .section-head h1,
:root[data-theme="editorial"] .page-hero .section-head h2,
:root[data-theme="editorial"] body[data-page="exhibitors"] .section-head h2,
:root[data-theme="editorial"] body[data-page="volunteers"] .section-head h2,
:root[data-theme="editorial"] .contact-cta h2,
:root[data-theme="editorial"] #volunteer-form h2 { color: #F7F5EF; }
#volunteer-form h2 { font-size: 2em; }
:root[data-theme="editorial"] .page-hero .section-lede,
:root[data-theme="editorial"] .contact-cta .section-lede,
:root[data-theme="editorial"] body[data-page="exhibitors"] .why-list li,
:root[data-theme="editorial"] body[data-page="volunteers"] .why-list li,
:root[data-theme="editorial"] body[data-page="volunteers"] .roles-list li { color: #8FA0A5; }
:root[data-theme="editorial"] body[data-page="exhibitors"] .why-list li strong,
:root[data-theme="editorial"] body[data-page="volunteers"] .why-list li strong { color: #F7F5EF; }
body[data-page="volunteers"] .page-hero { padding-top: 100px; }
body[data-page="exhibitors"] .page-hero { padding-top: 100px; }
body[data-page="contact"] .page-hero { padding-top: 100px; }
:root[data-theme="editorial"] body[data-page="volunteers"] .page-hero-photo { border: 3px solid #F7F5EF; box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(247,245,239,.35); }
:root[data-theme="editorial"] body[data-page="volunteers"] .form-card { border: 3px solid #F2C43C; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(242,196,60,.35); }
:root[data-theme="editorial"] body[data-page="contact"] .form-card { border: 3px solid #F2C43C; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(242,196,60,.35); }
:root[data-theme="editorial"] body[data-page="exhibitors"] #exhibitors .btn-primary { background: transparent; color: #F7F5EF; border: 2px solid #F7F5EF; box-shadow: none; }
:root[data-theme="editorial"] body[data-page="exhibitors"] #exhibitors .btn-primary:hover { background: rgba(247,245,239,.12); }
body[data-page="exhibitors"] #exhibitors .two-col-cards .two-col-card:has(.btn-primary) { display: flex; flex-direction: column; }
body[data-page="exhibitors"] #exhibitors .two-col-cards .two-col-card .btn-primary { align-self: center; margin-bottom: auto; }
body[data-page="exhibitors"] #exhibitors .two-col-cards .two-col-card p:has(+ .btn-primary) { margin-top: auto; margin-bottom: .8em; color: #F2C43C; align-self: center; text-align: center; }
:root[data-theme="editorial"] body[data-page="volunteers"] .two-col-card { border: 3px solid #F7F5EF; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(247,245,239,.35); }

/* Exhibitors page */
body[data-page="exhibitors"] .contact-cta h2 { font-size: 2em; }
:root[data-theme="editorial"] body[data-page="exhibitors"] .page-hero-photo { border: 3px solid #F2C43C; box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(242,196,60,.35); }
:root[data-theme="editorial"] body[data-page="sponsors"] .page-hero-photo { border: 3px solid #F2C43C; box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(242,196,60,.35); }
:root[data-theme="editorial"] body[data-page="exhibitors"] .ticket-card { border: 3px solid #F2C43C; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(242,196,60,.35); }
:root[data-theme="editorial"] body[data-page="exhibitors"] .form-card { border: 3px solid #F2C43C; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(242,196,60,.35); }
:root[data-theme="editorial"] body[data-page="exhibitors"] .two-col-card { border: 3px solid #F7F5EF; box-shadow: var(--shadow-soft), 0 0 0 1px rgba(247,245,239,.35); }

/* Breakout sections — section-teal, cards-on-color */
:root[data-theme="editorial"] #schedule { background: #7CBDAF; }
:root[data-theme="editorial"] #highlights { background: #7CBDAF; }
:root[data-theme="editorial"] .testimonials { background: #7CBDAF; }
:root[data-theme="editorial"] #schedule .section-head h2,
:root[data-theme="editorial"] #schedule .kicker,
:root[data-theme="editorial"] #schedule .section-lede,
:root[data-theme="editorial"] #highlights .section-head h2,
:root[data-theme="editorial"] #highlights .kicker,
:root[data-theme="editorial"] .testimonials .section-head h2,
:root[data-theme="editorial"] .testimonials .kicker { color: #1E2A2E; }

/* Sponsor logo strip (home page) — surface-light */
:root[data-theme="editorial"] .sponsor-logos-section { background: #FAFAF8; }
:root[data-theme="editorial"] .sponsor-logos-section .section-head h2,
:root[data-theme="editorial"] .sponsor-logos-section .kicker,
:root[data-theme="editorial"] .sponsor-logos-section .section-lede { color: #1E2A2E; }
:root[data-theme="editorial"] .sponsor-slot { background: #fff; border: 1px solid rgba(30,42,46,.16); color: #1E2A2E; }

/* Sponsor with us (sponsors page) — dark band matching other pages */
:root[data-theme="editorial"] .sponsors .section-head h2 { color: #F7F5EF; }
:root[data-theme="editorial"] .sponsors .section-lede { color: #F7F5EF; }
:root[data-theme="editorial"] .sponsors .sponsor-intro,
:root[data-theme="editorial"] .sponsors .sponsor-cta { color: #8FA0A5; }
:root[data-theme="editorial"] .sponsors .sponsor-cta a { color: #F7F5EF; text-decoration: underline; }
:root[data-theme="editorial"] .sponsors .opp-card { background: #1E2A2E; border-color: rgba(247,245,239,.16); }
:root[data-theme="editorial"] .sponsors .opp-card-label { color: #F7F5EF; }

/* Footer — deepen further than base-dark */
:root[data-theme="editorial"] .site-footer { background: #1F282E; }
:root[data-theme="editorial"] .ticket-badge { color: #1E2A2E; }

/* Reveal — card-flip: elements flip over like a playing card as they scroll into view */
:root[data-theme="editorial"] .reveal {
  transition: opacity .7s cubic-bezier(.25,.8,.35,1), transform .7s cubic-bezier(.25,.8,.35,1);
  transform: perspective(1000px) rotateY(-78deg);
  transform-origin: left center;
  backface-visibility: hidden;
}
:root[data-theme="editorial"] .reveal.in-view { transform: perspective(1000px) rotateY(0deg); }
:root[data-theme="editorial"] .card-grid.reveal,
:root[data-theme="editorial"] .schedule-grid,
:root[data-theme="editorial"] .ticket-grid.reveal,
:root[data-theme="editorial"] .testimonial-grid.reveal,
:root[data-theme="editorial"] .highlight-grid.reveal { transform: none; transition: none; }
:root[data-theme="editorial"] .card-grid.reveal .feature-card,
:root[data-theme="editorial"] .schedule-grid .day-card,
:root[data-theme="editorial"] .ticket-grid.reveal .ticket-card,
:root[data-theme="editorial"] .testimonial-grid.reveal .testimonial-card,
:root[data-theme="editorial"] .highlight-grid.reveal .highlight-mini {
  opacity: 0; transform: perspective(1000px) rotateY(-78deg); transform-origin: left center;
  transition: opacity .6s cubic-bezier(.25,.8,.35,1), transform .6s cubic-bezier(.25,.8,.35,1);
}
:root[data-theme="editorial"] .card-grid.reveal.in-view .feature-card,
:root[data-theme="editorial"] .schedule-grid.reveal .day-card,
:root[data-theme="editorial"] .ticket-grid.reveal.in-view .ticket-card,
:root[data-theme="editorial"] .testimonial-grid.reveal.in-view .testimonial-card,
:root[data-theme="editorial"] .highlight-grid.reveal.in-view .highlight-mini {
  opacity: 1; transform: perspective(1000px) rotateY(0deg);
}
:root[data-theme="editorial"] .card-grid.reveal.in-view .feature-card:nth-child(2),
:root[data-theme="editorial"] .ticket-grid.reveal.in-view .ticket-card:nth-child(2),
:root[data-theme="editorial"] .testimonial-grid.reveal.in-view .testimonial-card:nth-child(2),
:root[data-theme="editorial"] .highlight-grid.reveal.in-view .highlight-mini:nth-child(2) { transition-delay: .08s; }
:root[data-theme="editorial"] .card-grid.reveal.in-view .feature-card:nth-child(3),
:root[data-theme="editorial"] .ticket-grid.reveal.in-view .ticket-card:nth-child(3),
:root[data-theme="editorial"] .testimonial-grid.reveal.in-view .testimonial-card:nth-child(3),
:root[data-theme="editorial"] .highlight-grid.reveal.in-view .highlight-mini:nth-child(3) { transition-delay: .16s; }
:root[data-theme="editorial"] .highlight-grid.reveal.in-view .highlight-mini:nth-child(4) { transition-delay: .24s; }
:root[data-theme="editorial"] .highlight-grid.reveal.in-view .highlight-mini:nth-child(5) { transition-delay: .32s; }
:root[data-theme="editorial"] .feature-card,
:root[data-theme="editorial"] .ticket-card,
:root[data-theme="editorial"] .day-card {
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
:root[data-theme="editorial"] .feature-card:hover,
:root[data-theme="editorial"] .ticket-card:hover,
:root[data-theme="editorial"] .day-card:hover {
  transform: translateY(-6px);
}
:root[data-theme="editorial"] .hero-bg-img { animation: editorialDrift 22s ease-in-out infinite alternate; }
@keyframes editorialDrift {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.12) translateX(-1.5%); }
}

/* Loader — real illustrated puzzle pieces falling into place, forming the scene */
:root[data-theme="editorial"] .loader-meeple { display: none; }
:root[data-theme="editorial"] .loader-dot { display: none; }
:root[data-theme="editorial"] .loader-box { display: none; }
:root[data-theme="editorial"] .loader-logo-wrap { display: none; }

.puzzle-grid { display: none; }
:root[data-theme="editorial"] .puzzle-grid {
  display: block; position: relative;
  /* Real intrinsic size (not a transform: scale()) so the flex-centered .loader-inner
     actually reserves and centers this space — a transform-only scale grows the paint
     without the layout knowing, which pushed the top off-screen on shorter viewports. */
  width: clamp(220px, 40vmin, 480px); height: clamp(220px, 40vmin, 480px);
}

.puzzle-piece {
  position: absolute; width: 33.334%; height: 33.334%;
  background-image: url("/assets/puzzle-scene.jpg"); background-size: 300% 300%;
  box-shadow: 0 10px 18px rgba(0,0,0,.35); opacity: 0;
  animation: pieceFall .85s cubic-bezier(.34,1.15,.4,1) both;
}
.p-0-0 { left: 0;       top: 0;       background-position: 0% 0%;     --r: -14deg; animation-delay: .05s; }
.p-0-1 { left: 33.334%; top: 0;       background-position: 50% 0%;    --r: 10deg;  animation-delay: .15s; }
.p-0-2 { left: 66.667%; top: 0;       background-position: 100% 0%;   --r: -8deg;  animation-delay: .1s; }
.p-1-0 { left: 0;       top: 33.334%; background-position: 0% 50%;    --r: 10deg;  animation-delay: .3s; }
.p-1-1 { left: 33.334%; top: 33.334%; background-position: 50% 50%;   --r: -14deg; animation-delay: .45s; }
.p-1-2 { left: 66.667%; top: 33.334%; background-position: 100% 50%;  --r: -8deg;  animation-delay: .25s; }
.p-2-0 { left: 0;       top: 66.667%; background-position: 0% 100%;   --r: -8deg;  animation-delay: .5s; }
.p-2-1 { left: 33.334%; top: 66.667%; background-position: 50% 100%;  --r: 10deg;  animation-delay: .65s; }
.p-2-2 { left: 66.667%; top: 66.667%; background-position: 100% 100%; --r: -14deg; animation-delay: .55s; }

@keyframes pieceFall {
  0% { transform: translateY(-220%) rotate(var(--r, -12deg)) scale(.7); opacity: 0; }
  55% { transform: translateY(12%) rotate(calc(var(--r, -12deg) * -0.3)) scale(1.03); opacity: 1; }
  75% { transform: translateY(-4%) rotate(calc(var(--r, -12deg) * 0.15)); }
  100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
}

/* =========================================================
   THEME: Tagcon Compare — warm/playful, cream+coral+teal
   Built to benchmark against tagcon.in's visual direction:
   cream base, brown ink, coral CTA, teal/mustard accent bands,
   rounded Fredoka display + Nunito body. NOT a clone — kept our
   own accent mix, just matched the overall warmth/roundness.
   Preview any page with ?theme=tagcon (see head.html override).
   ========================================================= */

/* Header/nav chrome — several base rules hardcode editorial's dark-ink border color
   instead of using var(--ink), so they need an explicit tagcon fix or the "Get Passes"
   button/search box show a clashing dark-navy border against the warm palette. */

/* Mobile dropdown CTA was falling back to the base gradient (teal->coral) instead of
   matching the solid coral pill used everywhere else — make it consistent. */

/* Hamburger — bare white lines looked unfinished next to the pill-heavy chrome;
   give it its own rounded coral button like the search toggle. */

:root[data-theme="editorial"] .loader-word { margin-top: 1.8em; }
