:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --ink: #23262b;
  --muted: #5f6672;
  --dark: #2a2c30;
  --teal: #1fa39a;
  --purple: #7b3fe4;
  --orange: #ff8a3d;
  --pink: #ec4899;
  --green: #8bc34a;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  background: var(--dark);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { border-radius: 50%; }
.brand small { color: var(--orange); font-weight: 700; }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a { color: #e6e8eb; text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--orange); }

/* Hero */
.hero {
  text-align: center;
  color: #fff;
  padding: 72px 24px 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(31,163,154,.45), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(236,72,153,.35), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(255,138,61,.35), transparent 45%),
    var(--dark);
}
.hero-logo { width: 140px; height: 140px; margin: 0 auto 20px; border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.2; }
.hero h1 span { color: var(--orange); }
.hero p { margin-top: 10px; font-size: 1.15rem; color: #d7dae0; }
.countdown { margin: 28px auto 0; max-width: 460px; padding: 18px 16px; border-radius: var(--radius); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); }
.countdown p { margin: 0; }
.cd-title { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; color: var(--orange); }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.cd-units div { display: grid; }
.cd-units b { font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-units span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #c9ccd2; }
.cd-note { margin-top: 12px; font-weight: 600; }
.countdown .cd-meta { margin-top: 12px; font-size: .9rem; color: #c9ccd2; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  color: #fff; text-decoration: none; font-weight: 600; border: 2px solid transparent;
}
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }

/* Sections */
.section { padding: 64px 24px; max-width: 1100px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--bg-alt); }
.section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section h2 {
  font-size: 2rem; margin-bottom: 16px; position: relative; padding-bottom: 10px;
}
.section h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--orange));
}
.lead { color: var(--muted); margin-bottom: 24px; }
.about > p { max-width: 760px; font-size: 1.08rem; }
.about > p + p { margin-top: 14px; }
.about .sub { margin-top: 40px; font-size: 1.4rem; }
.about .closing { margin-top: 32px; }
.c-green { border-color: var(--green); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.card {
  padding: 24px; border-radius: var(--radius); background: var(--bg-alt);
  border-top: 5px solid var(--teal);
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); }
.c-teal { border-color: var(--teal); }
.c-purple { border-color: var(--purple); }
.c-orange { border-color: var(--orange); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.year-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.year-tab {
  font: inherit; font-weight: 700; cursor: pointer; padding: 8px 20px; border-radius: 999px;
  border: 2px solid var(--purple); background: transparent; color: var(--purple);
}
.year-tab span { font-weight: 500; opacity: .7; margin-left: 4px; font-size: .85em; }
.year-tab.active { background: var(--purple); color: #fff; }
.year-tab:focus-visible, .tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.gallery { align-items: start; }
.tile {
  display: flex; flex-direction: column; text-align: left; font: inherit;
  border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f1f3f5; }
.tile span { padding: 12px 14px; font-size: .9rem; color: var(--muted); }

/* Instagram */
.insta { display: grid; gap: 18px; justify-items: center; }
.insta-frame { width: 100%; max-width: 540px; height: 640px; border: 0; border-radius: var(--radius); background: var(--bg-alt); }
.insta-btn { display: inline-flex; align-items: center; gap: 8px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-height: 82vh; max-width: 90vw; border-radius: 8px; background: #fff; }
.lightbox figcaption { color: #e6e8eb; text-align: center; max-width: 90vw; }
.lb-close, .lb-nav {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1;
}
.lb-close { top: 16px; right: 24px; font-size: 2.5rem; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3.5rem; padding: 12px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Footer */
.site-footer {
  background: var(--dark); color: #c9ccd2; text-align: center; padding: 28px 24px;
  display: grid; gap: 4px;
}
.site-footer a { color: var(--orange); font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .brand span { font-size: .95rem; }
  .site-header { padding: 10px 14px; }
  .site-header nav { gap: 12px; font-size: .9rem; }
}
