/* ═══════════════════════════════════════════
   Bonderam 2026 — styles
   ═══════════════════════════════════════════ */

:root {
  /* Monsoon palette — petrol-teal night, warm grey-cream paper */
  --paper: #F3F0E4;
  --ink: #10353D;
  --red: #E8503A;
  --orange: #F0872A;
  --yellow: #F5BE45;
  --green: #46A06B;
  --blue: #2E9DB0;
  --violet: #4E7BA6;
  --night: #0C2A32;
  --pole: #9C7A4E;
  /* lit teal hero — brighter than --night, still holds white text at AA */
  --hero-top: #17798A;
  --hero-mid: #126A7B;
  --hero-bot: #0D5464;
  --nav-h: 75px;
  --display: 'Shantell Sans', cursive;
  /* single dial for display thickness — Shantell Sans is variable 300–800 */
  --display-weight: 700;
  --body: 'Outfit', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* the nav is sticky — without this, anchor jumps park section
     headings underneath it. Each section's own top padding then
     supplies the breathing room. */
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--body);
  background:
    radial-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1.5px, transparent 1.5px) 0 0 / 28px 28px,
    var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--yellow); color: var(--ink); }

/* ── Ticker ─────────────────────────────── */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ticker--red { background: var(--red); color: #fff; }
.ticker__track {
  display: inline-block;
  animation: ticker 28s linear infinite;
}
.ticker__track--reverse { animation-direction: reverse; }
.ticker__track span { display: inline-block; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Nav ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.nav__logo {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 26px;
  color: var(--red);
  text-decoration: none;
  line-height: 1;
  padding: 9px 0;
}
.nav__logo span { color: var(--orange); font-size: .75em; margin-left: 2px; }
.nav__links { display: flex; gap: clamp(12px, 3vw, 32px); }
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.nav__links a:hover { color: var(--red); }

.nav__end { display: flex; align-items: center; gap: 10px; }

/* burger — hidden on desktop, shown once the links collapse */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 3px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav__burger, .nav__burger::before, .nav__burger::after {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ''; position: absolute; }
.nav__burger::before { transform: translateY(-7px); }
.nav__burger::after  { transform: translateY(7px); }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after  { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
    border-top: 3px solid var(--ink);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  }
  .nav__links a:last-child { border-bottom: none; }
}

/* keep the header on one row on phones — Follow becomes icon-only.
   .nav stays flex-wrap:wrap so the open menu can take its own row. */
@media (max-width: 520px) {
  .nav { padding-left: 16px; padding-right: 16px; }
  .nav__logo { font-size: 22px; }
  .nav .btn--small .btn__label { display: none; }
  .nav .btn--small { padding: 10px 12px; }
}

/* ── Buttons & chips ────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 12px 26px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--red); color: #fff; }
.btn--ghost { background: transparent; }
.btn--small { padding: 8px 16px; font-size: 14px; }

.chip {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.chip--orange { background: var(--orange); }
.chip--blue { background: var(--blue); }

/* ── Hero ───────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 88px) 20px 0;
  overflow: hidden;
  background: linear-gradient(168deg,
    var(--hero-top) 0%,
    var(--hero-mid) 45%,
    var(--hero-bot) 100%);
  color: #fff;
}
.hero > * { position: relative; z-index: 1; }
.hero::before {
  content: '';
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 34% at 18% 14%, color-mix(in srgb, color-mix(in srgb, var(--blue) 62%, #fff) 40%, transparent), transparent 70%),
    radial-gradient(ellipse 38% 30% at 84% 16%, color-mix(in srgb, var(--yellow) 26%, transparent), transparent 70%),
    radial-gradient(ellipse 34% 28% at 68% 66%, color-mix(in srgb, var(--green) 26%, transparent), transparent 70%),
    radial-gradient(ellipse 32% 26% at 26% 76%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 70%);
  animation: blobs 16s ease-in-out infinite alternate;
}
@keyframes blobs {
  from { transform: rotate(-4deg) scale(1); }
  to   { transform: rotate(5deg) scale(1.18); }
}
.hero__bunting { max-width: 1100px; margin: 0 auto 8px; }
.hero__bunting svg { width: 100%; height: auto; display: block; }
.bunting-flags polygon { transform-origin: center top; animation: sway 4s ease-in-out infinite alternate; }
.bunting-flags polygon:nth-child(odd) { animation-delay: -2s; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }

.hero__pya { display: inline-block; margin-bottom: 18px; }
.hero__pya img {
  display: block;
  width: clamp(84px, 9vw, 108px);
  height: auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
  transition: transform .2s ease;
}
.hero__pya:hover img { transform: scale(1.06); }

.hero__eyebrow { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

.hero__title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(44px, 14.5vw, 164px);
  line-height: 1;
  color: #fff;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, .45);
  margin-bottom: 24px;
}
/* warm/light letters — the cool palette blues collide with the teal hero */
.hero__title i { font-style: normal; }
.hero__title i:nth-of-type(5n+1) { color: var(--yellow); }
.hero__title i:nth-of-type(5n+2) { color: #FFF3DC; }
.hero__title i:nth-of-type(5n+3) { color: var(--orange); }
.hero__title i:nth-of-type(5n+4) { color: color-mix(in srgb, var(--green) 55%, #fff); }
.hero__title i:nth-of-type(5n+5) { color: var(--red); }

.hero__sub {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}

.hero .btn--primary { border-color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
.hero .btn--primary:hover { box-shadow: 7px 7px 0 var(--yellow); }
.hero .btn--ghost { color: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--night); }
.hero .btn--ghost:hover { box-shadow: 7px 7px 0 var(--night); }
.hero .chip { box-shadow: 3px 3px 0 rgba(0, 0, 0, .4); }
/* the blue chip disappears into the teal — deepen it */
.hero .chip--blue { background: var(--night); }

.hero__date {
  display: inline-flex;
  align-items: stretch;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--orange);
  overflow: hidden;
  margin-bottom: 32px;
}
.hero__date-item {
  padding: 14px clamp(13px, 5vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__date-item + .hero__date-item { border-left: 3px solid var(--ink); }
.hero__date-item strong { font-size: 28px; font-weight: 800; line-height: 1.1; }
.hero__date-item span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.hero__date-item--big { background: var(--yellow); }
.hero__date-item--big strong { font-size: 40px; color: var(--ink); }

.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.countdown {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  max-width: 100%;
}
.countdown__cell {
  min-width: 72px;
  background: var(--ink);
  color: #fff;
  border: 3px solid #fff;
  border-radius: 16px;
  padding: 12px 10px 10px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .35);
}
.countdown__cell:nth-child(1) { background: var(--blue); }
.countdown__cell:nth-child(2) { background: var(--green); }
.countdown__cell:nth-child(3) { background: var(--orange); }
.countdown__cell:nth-child(4) { background: var(--violet); }
.countdown__cell strong {
  display: block;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 30px;
  line-height: 1.08;
  color: #fff;
}
.countdown__cell span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }

/* below ~360px the four cells wrap 3+1 and orphan the last — use a tidy 2×2 */
@media (max-width: 360px) {
  .countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero__flags { max-width: 1100px; margin: 24px auto 0; }
.hero__flags svg { width: 100%; height: auto; display: block; }
.flag path { transform-origin: left center; animation: wave 3.2s ease-in-out infinite alternate; }
.flag--2 path { animation-delay: -.6s; }
.flag--3 path { animation-delay: -1.2s; }
.flag--4 path { animation-delay: -1.8s; }
.flag--5 path { animation-delay: -2.4s; }
@keyframes wave { from { transform: skewY(-1.5deg); } to { transform: skewY(2deg); } }

/* ── Sections ───────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px); max-width: 1100px; margin: 0 auto; }
.section__eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.14;
  margin-bottom: 18px;
  color: var(--ink);
}
.section--story .section__title { color: var(--green); }
.section--gallery .section__title { color: var(--blue); }
.section--expect .section__title { color: var(--orange); }
.section--travel .section__title { color: var(--blue); }
.section--faq .section__title { color: var(--violet); }
.section__lead { font-size: clamp(17px, 2vw, 20px); max-width: 640px; margin-bottom: 40px; }
.section__lead em { color: var(--red); font-style: normal; font-weight: 700; }

/* full-bleed tinted bands */
.section--expect,
.section--travel { max-width: none; }
.section--expect > *,
.section--travel > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section--expect {
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--yellow) 18%, var(--paper)),
    color-mix(in srgb, var(--orange) 12%, var(--paper)));
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.section--travel {
  background: linear-gradient(200deg,
    color-mix(in srgb, var(--blue) 16%, var(--paper)),
    color-mix(in srgb, var(--green) 12%, var(--paper)));
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

/* ── Video ──────────────────────────────── */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 880px;
  margin-top: 8px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--green);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Gallery ────────────────────────────── */
.gallery {
  columns: 3 280px;
  column-gap: 26px;
  margin-top: 40px;
}
.polaroid {
  break-inside: avoid;
  margin: 0 0 26px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 6px 6px 0 var(--accent, var(--ink));
  transform: rotate(var(--tilt, 0deg));
  transition: transform .2s ease;
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.polaroid.is-visible { transform: translateY(0) rotate(var(--tilt, 0deg)); }

/* ── Timeline ───────────────────────────── */
.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 36px;
  border-left: 4px dashed color-mix(in srgb, var(--ink) 30%, transparent);
}
.timeline__item { position: relative; padding-bottom: 40px; max-width: 620px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -50px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dot, var(--red));
  border: 3px solid var(--ink);
}
.timeline__item h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.timeline__item p em { color: var(--red); font-style: normal; font-weight: 700; }

/* ── Cards ──────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 6px 6px 0 var(--accent, var(--ink));
  transform: rotate(var(--tilt, 0deg));
  transition: transform .2s ease;
}
.card:hover { transform: rotate(0deg) translateY(-4px); }
.card__emoji { font-size: 38px; display: block; margin-bottom: 12px; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--accent, var(--ink)); }
.card p { font-size: 15.5px; }
.card p em { font-style: normal; font-weight: 700; }

/* ── Schedule ───────────────────────────── */
.section--day {
  max-width: none;
  background: var(--ink);
  color: #fff;
}
.section--day > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section--day .section__title { color: var(--yellow); }
.section--day .section__eyebrow { color: var(--orange); }
.schedule { max-width: 720px !important; margin-top: 48px; }
.schedule__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 2px dashed rgba(255,255,255,.25);
}
.schedule__row:last-child { border-bottom: none; }
.schedule__time {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 20px;
  color: var(--orange);
  padding-top: 2px;
}
.schedule__row:nth-child(1) .schedule__time { color: var(--yellow); }
.schedule__row:nth-child(2) .schedule__time { color: var(--orange); }
.schedule__row:nth-child(3) .schedule__time { color: var(--green); }
.schedule__row:nth-child(4) .schedule__time { color: var(--blue); }
.schedule__what h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.schedule__what p { color: rgba(255,255,255,.8); font-size: 15.5px; }
@media (max-width: 540px) {
  .schedule__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ── FAQ ────────────────────────────────── */
.faq { max-width: 720px; margin-top: 24px; }
.faq details {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}
.faq details:nth-of-type(5n+1) { box-shadow: 4px 4px 0 var(--blue); }
.faq details:nth-of-type(5n+2) { box-shadow: 4px 4px 0 var(--green); }
.faq details:nth-of-type(5n+3) { box-shadow: 4px 4px 0 var(--orange); }
.faq details:nth-of-type(5n+4) { box-shadow: 4px 4px 0 var(--violet); }
.faq details:nth-of-type(5n+5) { box-shadow: 4px 4px 0 var(--yellow); }
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  padding: 18px 22px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 22px;
  color: var(--red);
}
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 18px; font-size: 15.5px; }

/* ── Footer ─────────────────────────────── */
.footer {
  background: var(--night);
  color: #fff;
  text-align: center;
  padding: 0 20px 64px;
  margin-top: clamp(48px, 7vw, 96px);
}
.footer__bunting { max-width: 1100px; margin: 0 auto 40px; }
.footer__bunting svg { width: 100%; height: auto; display: block; }
.footer__big {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(44px, 9vw, 96px);
  line-height: 1.05;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--blue);
  margin-bottom: 20px;
}
.footer__date {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .3em;
  margin-bottom: 32px;
  color: rgba(255,255,255,.85);
}
.footer .btn--primary { border-color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
.footer .btn--primary:hover { box-shadow: 7px 7px 0 var(--yellow); }

.footer__pya { display: block; width: 96px; margin: 40px auto 0; }
.footer__pya img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.9);
}

.footer__credit {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}

/* ── Reveal on scroll ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg)); }

/* ── Reduced motion ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .bunting-flags polygon, .flag path, .hero::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
