/* Layout: a saffron poster band opens the page (ripples on water, like the festival posters),
   then a quiet paper body; plum is the ink, the logo's leaf, teal and saffron mark the details. */
:root {
  --paper: #FBF7FA;
  --surface: #FFFFFF;
  --ink: #2A1428;
  --muted: #6E5A6B;
  --line: #EADFE7;
  --plum: #A8287F;
  --plum-soft: #F6E6F0;
  --leaf: #4CB35F;
  --teal: #5FBFB0;
  --saffron: #F7AE1F;
  --hero-bg: #EFAE38;
  --hero-ink: #B3331F;
  --hero-paper: #FFFFFF;
  --on-plum: #FFFFFF;
  --shadow: 0 1px 2px rgb(42 20 40 / .06), 0 8px 24px rgb(42 20 40 / .08);

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-script: "Kaushan Script", "Brush Script MT", cursive;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-poem: "Newsreader", "Georgia", serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171019; --surface: #221827; --ink: #F6ECF3; --muted: #BBA8B8; --line: #3A2B3F;
    --plum: #E070BC; --plum-soft: #3A1E35; --leaf: #6CCB7D; --teal: #79D3C5; --saffron: #F9BB45;
    --hero-bg: #D8961F; --hero-ink: #7A1D10; --hero-paper: #FFF8EC; --on-plum: #1A0E18;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171019; --surface: #221827; --ink: #F6ECF3; --muted: #BBA8B8; --line: #3A2B3F;
  --plum: #E070BC; --plum-soft: #3A1E35; --leaf: #6CCB7D; --teal: #79D3C5; --saffron: #F9BB45;
  --hero-bg: #D8961F; --hero-ink: #7A1D10; --hero-paper: #FFF8EC; --on-plum: #1A0E18;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow {
  font: 600 .78rem/1.2 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-title {
  font: 400 clamp(2.4rem, 6vw, 4.2rem)/.98 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-title em { font: 400 1.05em/1 var(--f-script); text-transform: none; color: var(--plum); letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font: 600 1rem/1 var(--f-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-plum { background: var(--plum); color: var(--on-plum); }
.btn-ghost { border-color: currentColor; color: var(--hero-ink); background: transparent; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 44px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand span { font: 400 1.05rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.brand small { display: block; font: 600 .66rem/1.2 var(--f-body); letter-spacing: .2em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--plum-soft); color: var(--plum); }
.nav a.active { color: var(--plum); }
.nav .nav-cta { background: var(--plum); color: var(--on-plum); margin-left: 6px; }
.nav .nav-cta.active { color: var(--on-plum); }
.nav .nav-cta:hover { background: var(--plum); color: var(--on-plum); filter: brightness(1.08); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav.open { display: flex; animation: drop .3s var(--ease); }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-ink); overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px);
}
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.edition-tag {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .8rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--hero-ink); background: rgb(255 255 255 / .35); padding: 9px 14px; border-radius: 999px;
}
.edition-tag b { font: 400 1.05rem/1 var(--f-display); letter-spacing: .04em; }
.title { display: grid; justify-items: start; line-height: .86; }
.title .t-intl, .title .t-fest {
  font: 400 clamp(3rem, 10.5vw, 8.6rem)/.86 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.title .t-haiku {
  position: relative; z-index: 2;
  font: 400 clamp(4rem, 15vw, 11.5rem)/.7 var(--f-script);
  color: var(--hero-paper);
  margin: -.2em 0 -.24em .5em;
  transform: rotate(-8deg);
  text-shadow: 0 4px 24px rgb(120 40 0 / .18);
}
.title .t-hague {
  font: 400 clamp(1.4rem, 4.1vw, 3.3rem)/1 var(--f-display);
  letter-spacing: .62em; margin-top: .3em; text-transform: uppercase;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; font-size: 1.05rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--hero-paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-plum { background: var(--hero-ink); color: var(--hero-paper); }
.hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.hero-mark img { width: 74%; filter: drop-shadow(0 18px 30px rgb(120 40 0 / .25)); }

/* hero entrance */
.anim .t-intl, .anim .t-fest, .anim .t-hague, .anim .edition-tag, .anim .hero-meta, .anim .hero-actions {
  animation: rise .9s var(--ease) both;
}
.anim .edition-tag { animation-delay: .05s; }
.anim .t-intl { animation-delay: .12s; }
.anim .t-fest { animation-delay: .24s; }
.anim .t-hague { animation-delay: .36s; }
.anim .hero-meta { animation-delay: .9s; }
.anim .hero-actions { animation-delay: 1s; }
.anim .t-haiku { animation: brush 1.1s .5s var(--ease) both; }
.anim .hero-mark img { animation: bloom 1.4s .2s var(--ease) both, floaty 7s 1.6s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes brush {
  from { clip-path: inset(0 100% 0 0); transform: rotate(-8deg) translateX(-12px); }
  to { clip-path: inset(-20% -10% -20% 0); transform: rotate(-8deg); }
}
@keyframes bloom { from { opacity: 0; transform: scale(.6) rotate(-35deg); } }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(2deg); } }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-mark { order: -1; max-width: 220px; }
}

/* ---------- Haiku band ---------- */
.haiku-band { background: var(--plum); color: var(--on-plum); overflow: hidden; }
.ticker { display: flex; width: max-content; animation: tick 60s linear infinite; padding-block: 18px; }
.ticker span { font: italic 400 1.35rem/1 var(--f-poem); white-space: nowrap; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 10px; height: 10px; transform: rotate(45deg); background: var(--saffron); }
@keyframes tick { to { transform: translateX(-50%); } }
.haiku-band:hover .ticker { animation-play-state: paused; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-text { display: grid; gap: 20px; font-size: 1.12rem; max-width: 62ch; }
.about-text .rich { color: var(--muted); }
.about-text .about-lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 22px; box-shadow: var(--shadow);
}
.form-card h3 { font: 600 .78rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.syll { display: grid; gap: 10px; }
.syll-row { display: grid; grid-template-columns: 2.4rem 1fr; align-items: center; gap: 14px; }
.syll-row b { font: 400 2.1rem/1 var(--f-display); color: var(--plum); text-align: right; font-variant-numeric: tabular-nums; }
.syll-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.syll-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--leaf)); transform: scale(0); }
.in .syll-dots i, .no-anim .syll-dots i { animation: pop .4s var(--ease) forwards; animation-delay: calc(var(--n) * 70ms + 200ms); }
.no-anim .syll-dots i { animation: none; transform: none; }
@keyframes pop { to { transform: scale(1); } }
.syll-note { color: var(--muted); font-size: .98rem; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; }

.community { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 24px; }
.community-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.community-head h3 { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; }
.community-head .rich { color: var(--muted); max-width: 46ch; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 52vw, 600px); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgb(20 10 20 / .62); color: #fff;
  font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .mosaic figure { aspect-ratio: 4 / 3; }
  .mosaic figure:first-child { grid-row: auto; grid-column: span 2; }
  .facts div { grid-template-columns: 7.5rem 1fr; }
}

/* ---------- 2026 ---------- */
.now { background: var(--surface); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.now-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.big-six {
  font: 400 clamp(9rem, 26vw, 20rem)/.8 var(--f-display); color: var(--saffron);
  display: flex; align-items: flex-end; gap: .08em;
}
.big-six sup { font: 400 .2em/1 var(--f-display); color: var(--plum); text-transform: uppercase; letter-spacing: .1em; align-self: flex-start; margin-top: .45em; }
.now-copy { display: grid; gap: 22px; }
.status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.status div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--paper); min-width: 0; }
.status dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.status dd { margin: 6px 0 0; font-weight: 700; line-height: 1.3; }
.expect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 6px; }
.expect > div { display: grid; grid-template-columns: 14px 1fr; gap: 4px 14px; }
.expect i { width: 11px; height: 11px; margin-top: 8px; transform: rotate(45deg); background: var(--c); }
.expect b { font-weight: 700; }
.expect .rich { grid-column: 2; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .now-grid { grid-template-columns: 1fr; }
  .big-six { font-size: clamp(7rem, 34vw, 11rem); }
}
@media (max-width: 520px) { .status, .expect { grid-template-columns: 1fr; } }

/* ---------- Archive ---------- */
.archive-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.timeline { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; align-items: center; }
.timeline button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--plum); background: var(--paper); color: var(--plum);
  font: 400 1.25rem/1 var(--f-display); cursor: pointer; transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.timeline button:hover { background: var(--plum); color: var(--on-plum); transform: scale(1.08); }
.timeline li + li::before { content: ""; width: clamp(14px, 3vw, 34px); height: 2px; background: var(--plum); opacity: .35; }
.timeline li.next button { border-style: dashed; color: var(--muted); border-color: var(--muted); cursor: default; }
.timeline li.next button:hover { background: var(--paper); transform: none; }

.editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ed-card {
  display: grid; grid-template-rows: auto 1fr; text-align: left;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface);
  color: var(--ink); font: inherit; padding: 0; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.ed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ed-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c); }
.ed-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ed-card:hover .ed-cover img { transform: scale(1.06); }
.ed-cover svg { width: 100%; height: 100%; display: block; }
.ed-cover svg circle { transform-origin: 50% 50%; transform-box: view-box; transition: transform 1.4s var(--ease); }
.ed-card:hover .ed-cover svg circle { transform: scale(1.18); }
.ed-num {
  position: absolute; left: 16px; bottom: 6px; color: #fff;
  font: 400 4.5rem/1 var(--f-display); text-shadow: 0 2px 18px rgb(0 0 0 / .25);
}
.ed-badge {
  position: absolute; right: 12px; top: 12px; background: rgb(255 255 255 / .9); color: #2A1428;
  font: 700 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px;
}
.ed-body { display: grid; align-content: start; gap: 6px; padding: 18px 20px 20px; }
.ed-year { font: 400 1.9rem/1 var(--f-display); }
.ed-meta { color: var(--muted); font-size: .95rem; }
.ed-more { margin-top: 10px; color: var(--plum); font-weight: 600; font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; }
.ed-more span { transition: transform .25s var(--ease); }
.ed-card:hover .ed-more span { transform: translateX(4px); }

.ed-card.featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: none; }
.ed-card.featured .ed-cover { aspect-ratio: auto; min-height: 340px; }
.ed-card.featured .ed-body { padding: clamp(24px, 4vw, 48px); align-content: center; gap: 12px; }
.ed-card.featured .ed-year { font-size: clamp(3rem, 6vw, 5rem); }
.ed-card.featured .ed-summary { color: var(--muted); max-width: 46ch; }
.ed-card.featured .ed-label { color: var(--plum); }
@media (max-width: 960px) { .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ed-card.featured { grid-template-columns: 1fr; }
  .ed-card.featured .ed-cover { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .editions { grid-template-columns: 1fr; } }

/* ---------- Edition dialog ---------- */
dialog {
  border: 0; padding: 0; color: var(--ink); background: var(--paper);
  width: min(980px, calc(100% - 24px)); max-height: calc(100% - 24px); border-radius: 22px;
  box-shadow: 0 30px 80px rgb(0 0 0 / .35);
}
dialog::backdrop { background: rgb(26 12 24 / .7); backdrop-filter: blur(4px); }
dialog[open] { animation: dlg .45s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dlg-scroll { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.dlg-hero { position: relative; color: #fff; background: var(--c); min-height: 220px; display: grid; align-items: end; overflow: hidden; }
.dlg-hero > img, .dlg-hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dlg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(20 8 18 / .78), rgb(20 8 18 / 0) 70%); }
.dlg-title { position: relative; z-index: 1; padding: 28px clamp(20px, 4vw, 40px); display: grid; gap: 6px; }
.dlg-title .eyebrow { color: #fff; opacity: .85; }
.dlg-title h2 { font: 400 clamp(2.4rem, 7vw, 4.4rem)/.95 var(--f-display); text-transform: uppercase; }
.dlg-title p { font-weight: 500; opacity: .92; }
.dlg-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .92); color: #2A1428; cursor: pointer; display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.dlg-close:hover { transform: rotate(90deg); }
.dlg-body { padding: clamp(20px, 4vw, 40px); display: grid; gap: 40px; }
.dlg-block { display: grid; gap: 16px; }
.dlg-block > h3 { font: 600 .78rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.dlg-summary { display: grid; gap: 14px; font-size: 1.1rem; max-width: 65ch; }
.empty-note {
  border: 2px dashed var(--line); border-radius: 16px; padding: 28px; text-align: center; color: var(--muted);
}
.empty-note b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.posters button, .gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.posters img { width: 100%; aspect-ratio: 904 / 1280; object-fit: cover; transition: transform .6s var(--ease); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.posters button:hover img, .gallery button:hover img { transform: scale(1.05); }
.poems { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.poem { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; display: grid; gap: 12px; }
.poem blockquote { margin: 0; font: italic 400 1.35rem/1.4 var(--f-poem); }
.poem .tr { color: var(--muted); font: italic 400 1.02rem/1.45 var(--f-poem); }
.poem cite { font-style: normal; font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--plum-soft); color: var(--ink); padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.winners { display: grid; gap: 0; }
.winners div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.winners b { color: var(--plum); }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; text-decoration: none; font-weight: 600; }
.dlg-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.dlg-nav button { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 10px 16px; font: 600 .95rem/1 var(--f-body); cursor: pointer; }
.dlg-nav button:hover { border-color: var(--plum); color: var(--plum); }
.dlg-nav button:disabled { visibility: hidden; }

/* ---------- Formatted text from the admin editor ---------- */
.rich > * + * { margin-top: .8em; }
.rich p, .rich ul, .rich ol, .rich blockquote, .rich h2, .rich h3, .rich h4, .rich pre { margin-bottom: 0; }
.rich ul, .rich ol { padding-inline-start: 1.3em; }
.rich li + li { margin-top: .3em; }
.rich a { color: var(--plum); text-underline-offset: .15em; }
.contact .rich a { color: inherit; }
.rich strong, .rich b { color: inherit; font-weight: 700; }
.rich blockquote { margin-inline: 0; padding: .2em 1em; border-inline-start: 4px solid var(--saffron); font: italic 400 1.1em/1.5 var(--f-poem); }
.rich h2, .rich h3, .rich h4 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 1.1; color: var(--ink); letter-spacing: .01em; }
.rich h2 { font-size: 1.7em; } .rich h3 { font-size: 1.4em; } .rich h4 { font-size: 1.15em; }
.contact .rich h2, .contact .rich h3, .contact .rich h4 { color: inherit; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin-block: 1.2em; }
.rich img { border-radius: 12px; height: auto; }
.rich .alignleft { float: left; margin: .3em 1em .6em 0; }
.rich .alignright { float: right; margin: .3em 0 .6em 1em; }
.rich .aligncenter { display: block; margin-inline: auto; }
.rich::after { content: ""; display: block; clear: both; }
.rich pre { white-space: pre-wrap; font: inherit; }
.rich [dir="rtl"], .rich [style*="direction: rtl"] { text-align: right; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.video { margin: 0; display: grid; gap: 8px; min-width: 0; }
.video figcaption { font-weight: 600; font-size: .98rem; }
.video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1a0e18; border: 0; padding: 0; }
.video-frame video, .video-frame iframe, .video-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame video { object-fit: contain; background: #000; }
.video-lite { cursor: pointer; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--plum), var(--hero-ink)); }
.video-lite > img { transition: transform .8s var(--ease), filter .4s; }
.video-lite:hover > img { transform: scale(1.04); filter: brightness(.85); }
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: var(--plum); color: #fff; box-shadow: 0 8px 30px rgb(0 0 0 / .35);
  transition: transform .3s var(--ease);
}
.video-play svg { margin-left: 4px; }
.video-lite:hover .video-play { transform: scale(1.1); }
.video-open { position: absolute; left: 12px; bottom: 12px; background: rgb(255 255 255 / .92); color: #2A1428; font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }

/* ---------- Lightbox ---------- */
#lightbox { width: min(1200px, calc(100% - 24px)); background: #120a10; color: #fff; }
#lightbox figure { margin: 0; display: grid; gap: 0; }
#lightbox img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; background: #120a10; }
#lightbox figcaption { padding: 14px 64px 16px 20px; font-size: .95rem; opacity: .85; min-height: 1em; }
.lb-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgb(255 255 255 / .9); color: #2A1428; cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* ---------- Partners ---------- */
.partners-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.partner {
  background: #fff; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center;
  padding: 16px; aspect-ratio: 3 / 2; transition: transform .35s var(--ease), box-shadow .35s;
}
a.partner:hover, .partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.partners-note { margin-top: 20px; color: var(--muted); }
@media (max-width: 960px) { .partners-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .partners-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact / footer ---------- */
.contact { background: var(--plum); color: var(--on-plum); position: relative; overflow: hidden; }
.contact .section-title, .contact .section-title em { color: var(--on-plum); }
.contact .eyebrow { color: var(--on-plum); opacity: .8; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-list > div { border-top: 1px solid color-mix(in srgb, var(--on-plum) 30%, transparent); padding-top: 14px; display: grid; gap: 4px; }
.contact-list b { font: 400 1.3rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.contact-list .rich { opacity: .85; }
.contact-box { background: color-mix(in srgb, var(--on-plum) 12%, transparent); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.contact-box .addr { font: 600 1.25rem/1.3 var(--f-body); word-break: break-word; user-select: all; }
.contact-box a { color: var(--on-plum); }
.copy-btn { justify-self: start; background: var(--on-plum); color: var(--plum); border: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { color: var(--on-plum); border: 1px solid color-mix(in srgb, var(--on-plum) 40%, transparent); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.contact-petal { position: absolute; right: -60px; bottom: -80px; width: 360px; opacity: .12; pointer-events: none; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-row .brand img { width: 32px; }

/* ---------- Scroll reveal (content is visible at rest; it animates as it enters) ---------- */
.reveal.in { animation: rise .9s var(--ease) both; }
.reveal.in.d1 { animation-delay: .08s; } .reveal.in.d2 { animation-delay: .16s; } .reveal.in.d3 { animation-delay: .24s; } .reveal.in.d4 { animation-delay: .32s; }

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

/* ---------- WordPress additions ---------- */
.site-header { top: calc(env(safe-area-inset-top, 0px) + var(--wp-admin--admin-bar--height, 0px)); }
html { scroll-padding-top: calc(76px + var(--wp-admin--admin-bar--height, 0px)); }
@media (max-width: 600px) { .admin-bar .site-header { top: env(safe-area-inset-top, 0px); } }
.about-grid.no-card { grid-template-columns: minmax(0, 1fr); }
.hero-mark img { max-height: 100%; object-fit: contain; }
.contact-box .phone { font-weight: 600; user-select: all; }
.mosaic.count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic.count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.mosaic.count-1 figure:first-child, .mosaic.count-2 figure:first-child { grid-row: auto; grid-column: auto; }
.partner-name { color: #2A1428; font-weight: 700; text-align: center; }
@media (max-width: 760px) {
  .mosaic.count-1, .mosaic.count-2 { grid-template-columns: 1fr; }
}
