/* CherryMUN'27
   Palette: #D19EA9  #776269  #A08087  #471920  #352122  #43181F */

:root {
  --rose: #D19EA9;
  --mauve: #776269;
  --dusk: #A08087;
  --wine: #471920;
  --umber: #352122;
  --oxblood: #43181F;

  --ink: #0f0809;
  --ink-2: #160c0e;

  --text: #f3e9eb;
  --text-2: #c9b4b9;
  --text-3: #8f7a80;

  --glass-bg: rgba(255, 240, 243, 0.035);
  --glass-bg-hover: rgba(255, 240, 243, 0.06);
  --glass-border: rgba(209, 158, 169, 0.14);
  --glass-border-hover: rgba(209, 158, 169, 0.32);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 60px -20px rgba(0, 0, 0, 0.6);

  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

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

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--wine); color: var(--text); }

/* ---------- Background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--umber) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
}
.glow-a {
  width: 620px; height: 620px;
  background: var(--wine);
  top: -160px; right: -120px;
  animation: drift 22s ease-in-out infinite alternate;
}
.glow-b {
  width: 520px; height: 520px;
  background: var(--oxblood);
  bottom: -180px; left: -160px;
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
.glow-c {
  width: 380px; height: 380px;
  background: var(--mauve);
  top: 45%; left: 50%;
  opacity: .14;
  animation: drift 30s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 60px, 0) scale(1.08); }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
}

h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--rose);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(209, 158, 169, .55);
}
.btn:hover { transform: translateY(-1px); background: #ddb2bb; }
.btn:active { transform: translateY(0) scale(.98); }

.btn-ghost {
  color: var(--text);
  background: var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.btn-ghost:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); }

.btn-small { height: 36px; padding: 0 18px; font-size: 14px; box-shadow: none; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Nav ---------- */

.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  z-index: 50;
  padding: 0 16px;
}

.nav {
  max-width: 820px;
  margin: 0 auto;
  height: 56px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(20, 11, 13, .55);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.nav-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav { position: relative; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-radius: var(--radius);
    background: rgba(20, 11, 13, .92);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links a { padding: 12px 16px; font-size: 16px; border-radius: var(--radius-sm); }
}

/* ---------- Layout ---------- */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0 0; scroll-margin-top: 40px; }

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
  max-width: 680px;
}
.section-head .sub { color: var(--text-2); font-size: 18px; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 120px 0 60px;
}

.hero-text { display: grid; gap: 22px; }

/* Mobile logo seal (replaces the arch on small screens) */
.hero-seal {
  display: none;
  position: relative;
  width: 88px;
  height: 88px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 240, 243, .28), rgba(209, 158, 169, .06) 55%, rgba(209, 158, 169, .2));
  box-shadow: 0 0 0 1px var(--glass-border), 0 18px 50px -12px rgba(209, 158, 169, .35);
}
.hero-seal img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.display {
  font-weight: 700;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fbf3f5 35%, var(--dusk) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
.display .year {
  font-weight: 300;
  letter-spacing: -0.03em;
  background: none;
  -webkit-text-fill-color: var(--rose);
  color: var(--rose);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 17px;
  color: var(--text-2);
}
.hero-meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--dusk);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.countdown {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  max-width: 440px;
  overflow: hidden;
}
.countdown div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 16px 8px;
}
.countdown div + div { border-left: 1px solid var(--glass-border); }
.countdown strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.countdown span {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Gothic lancet arch window */
.hero-art { display: flex; justify-content: center; }

.arch-frame {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 3 / 4;
  padding: 10px;
}

.arch-frame::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(closest-side, rgba(209, 158, 169, .28), transparent 75%);
  filter: blur(20px);
  z-index: -1;
}

.arch,
.arch-frame::after {
  -webkit-mask: var(--lancet) center / 100% 100% no-repeat;
  mask: var(--lancet) center / 100% 100% no-repeat;
}

.arch-frame {
  --lancet: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400' preserveAspectRatio='none'><path d='M0 400 V165 C0 80 70 22 150 0 C230 22 300 80 300 165 V400 Z' fill='black'/></svg>");
}

/* outer glass rim */
.arch-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 240, 243, .22), rgba(255, 240, 243, .04) 40%, rgba(209, 158, 169, .12));
  z-index: 0;
}

.arch {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--umber);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.02);
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 8, 9, 0) 55%, rgba(15, 8, 9, .35) 100%);
  pointer-events: none;
}

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fact {
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: grid;
  gap: 4px;
}
.fact strong {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text) 30%, var(--dusk));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact span { color: var(--text-2); font-size: 15px; }

/* ---------- Letter ---------- */

.letter {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 60px);
  display: grid;
  gap: 20px;
  max-width: 860px;
  color: var(--text-2);
  font-size: 17.5px;
  line-height: 1.75;
}
.letter .lead {
  color: var(--text);
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.signature {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  display: grid;
  gap: 2px;
}
.sig-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.4;
  margin-top: 8px;
}
.sig-role {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
}


/* ---------- Committees ---------- */

.cm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cm-card {
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.cm-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.cm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.cm-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.cm-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(209, 158, 169, .06);
}
.cm-tag:empty { display: none; }

.cm-title {
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.cm-sub {
  font-size: 15px;
  color: var(--rose);
  margin-top: -4px;
}
.cm-text {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.cm-more {
  margin-top: auto;
  padding: 10px 0 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--rose);
  background: none;
  border: 0;
  cursor: pointer;
}
.cm-more svg,
.cm-close svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.cm-more:hover svg { transform: translateX(3px); }

/* Committee dialog */

.cm-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  padding: 0;
  border: 1px solid var(--glass-border-hover);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(28, 15, 18, .78);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  color: var(--text);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.cm-dialog::backdrop {
  background: rgba(10, 5, 6, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cm-dialog[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.cm-dialog-inner {
  position: relative;
  max-height: min(80vh, 760px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cm-dialog .cm-top { padding-right: 48px; }
.cm-dialog .cm-title { font-size: clamp(26px, 4vw, 34px); }
.cm-dialog .cm-sub { font-size: 16px; }
.cm-body {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.75;
}

.cm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, .05);
  color: var(--text-2);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.cm-close:hover { background: rgba(255, 255, 255, .1); color: var(--text); }

body.dlg-open { overflow: hidden; }

/* ---------- Documents ---------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.doc-card {
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.doc-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}
.doc-icon {
  flex: none;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(209, 158, 169, .08);
  border: 1px solid var(--glass-border);
  color: var(--rose);
}
.doc-icon svg { width: 24px; height: 24px; }
.doc-icon svg, .doc-dl svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doc-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.doc-text h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; }
.doc-meta { font-size: 14px; color: var(--text-3); }
.doc-dl {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.doc-dl svg { width: 16px; height: 16px; }
.doc-card:hover .doc-dl { background: var(--rose); border-color: var(--rose); color: var(--ink); }

/* ---------- Applications ---------- */

.apply-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.apply-card { grid-column: span 2; }
.apply-card:nth-child(4),
.apply-card:nth-child(5) { grid-column: span 3; }

.apply-card {
  position: relative;
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.apply-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(209, 158, 169, .14), transparent 45%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.apply-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}
.apply-card:hover::before { opacity: 1; }

.apply-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.apply-card h3 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.apply-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--rose);
}
.apply-go svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.apply-card:hover .apply-go svg { transform: translate(2px, -2px); }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.faq details {
  border-radius: var(--radius-sm);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.faq details[open] { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.faq details p {
  padding: 0 24px 22px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 720px;
}

/* ---------- Footer ---------- */

.footer {
  max-width: var(--max);
  margin: 140px auto 0;
  padding: 0 24px 40px;
}
.footer-inner {
  border-radius: calc(var(--radius) + 6px);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}
.footer-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.footer-meta { color: var(--text-3); font-size: 14px; }

.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .25s, background .25s;
}
.footer-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.copy {
  margin-top: 24px;
  padding: 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--text-3);
}
.credit { transition: color .25s; }
.credit strong { font-weight: 600; color: var(--text-2); transition: color .25s; }
.credit:hover strong { color: var(--rose); }

/* ---------- Venue ---------- */

.venue {
  margin-top: 40px;
  max-width: 860px;
  border-radius: calc(var(--radius) + 6px);
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 10px;
  overflow: hidden;
}
.venue-info {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.venue-info h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.venue-info .apply-go { margin-top: auto; }
.venue-map {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--umber);
}
.venue-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.6) contrast(.95);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 110px;
    text-align: left;
  }
  .hero-art { display: none; }
  .hero-seal { display: block; }

  .apply-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-card,
  .apply-card:nth-child(4),
  .apply-card:nth-child(5) { grid-column: span 1; }
  .apply-card:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 0 16px; }
  .footer { padding: 0 16px 32px; }

  .hero-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero-meta .dot { display: none; }
  .section { padding-top: 88px; }
  .section-head { margin-bottom: 32px; }

  .facts { gap: 10px; }
  .fact { padding: 20px 16px 18px; }
  .fact span { font-size: 13px; }


  .cm-grid { grid-template-columns: 1fr; gap: 10px; }
  .doc-grid { grid-template-columns: 1fr; gap: 10px; }
  .doc-card { padding: 18px; gap: 14px; }
  .cm-card { padding: 22px; }
  .apply-grid { grid-template-columns: 1fr; gap: 10px; }
  .apply-card,
  .apply-card:nth-child(4),
  .apply-card:nth-child(5) { grid-column: span 1; }
  .apply-card { min-height: 0; padding: 22px; gap: 14px; }

  .countdown strong { font-size: 22px; }
  .countdown span { font-size: 10px; letter-spacing: .1em; }

  .faq summary { padding: 18px 52px 18px 20px; font-size: 16px; }
  .faq summary::after { right: 20px; }
  .faq details p { padding: 0 20px 20px; }

  .venue { grid-template-columns: 1fr; }
  .venue-info { padding: 14px 12px 6px; }
  .venue-map { min-height: 260px; }
  .copy { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
