/* Layout: one night-sky site. Fixed star canvas behind everything, sticky header, hash-routed views,
   an interactive moon calendar (hover cards) shared by Home and Moon Calendar. Deliberately single-theme (night). */
:root {
  --ink: #070B1F;
  --deep: #0C1330;
  --panel: #101838;
  --panel-2: #172150;
  --line: rgba(190, 205, 255, 0.15);
  --star: #EAF0FF;
  --dim: #9DAAD3;
  --gold: #F2C46D;
  --gold-deep: #C9983D;
  --on-gold: #1A1305;
  --violet: #7C6BD6;
  --moon-lit: #ECE6D3;
  --moon-shade: #151D45;
  --tag-darkest: #A58BFF;
  --tag-dark: #6F9BFF;
  --tag-moon: #F2C46D;
  --tag-full: #F7F1E3;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--star);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* paints the band above the sticky header on phones */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink);
}
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
.wrap {
  width: 100%; max-width: 1180px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sec { padding-block: clamp(44px, 7vw, 88px); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.lead { color: var(--dim); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 60ch; }
.stack { display: grid; gap: 14px; }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); }
.placeholder { color: var(--dim); font-style: italic; }

/* sky */
.sky-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 560px at 85% -8%, rgba(92, 72, 190, 0.34), transparent 70%),
    radial-gradient(700px 520px at -6% 22%, rgba(30, 64, 150, 0.30), transparent 70%),
    radial-gradient(900px 600px at 50% 112%, rgba(60, 44, 130, 0.30), transparent 70%),
    linear-gradient(180deg, #080D26 0%, #070B1F 55%, #060919 100%);
}
#sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }

/* header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 11, 31, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; width: auto; max-width: 100%; }
.logo-word { height: 46px; }
.logo-full { height: 118px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.menu-btn:hover { border-color: var(--gold); }
.nav { display: none; }
.nav.open {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); 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));
}
.nav a {
  text-decoration: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); padding: 12px 4px; border-bottom: 1px solid var(--line);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
@media (min-width: 1200px) {
  .menu-btn { display: none; }
  .nav, .nav.open { display: flex; position: static; flex-direction: row; gap: 4px; background: none; border: 0; padding: 0; }
  .nav a { border: 0; padding: 8px 10px; font-size: 12px; border-radius: 6px; }
  .nav a[aria-current="page"] { background: rgba(242, 196, 109, 0.1); }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  background: var(--gold); color: var(--on-gold); border: 1px solid var(--gold); border-radius: 999px;
  padding: 13px 22px; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #F7D58E; }
.btn.ghost { background: transparent; color: var(--star); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.small { padding: 10px 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* views */
.view[hidden] { display: none; }

/* photo slideshow */
.show { padding-top: 0; }
.show-stage { position: relative; height: clamp(300px, 62vw, 640px); background: #000; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity 0.9s ease; }
.slide img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: min(100%, var(--w)); max-height: min(100%, var(--h)); display: block; }
.show-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 11, 31, 0.6); color: var(--star); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.show-btn:hover { border-color: var(--gold); color: var(--gold); }
.show-btn.prev { left: 12px; }
.show-btn.next { right: 12px; }
.show-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 14px; }
.show-cap { display: grid; gap: 2px; min-width: 0; flex: 1 1 280px; }
.show-cap b { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.1; }
.show-cap span { color: var(--dim); font-size: 0.95rem; }
.show-ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.show-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1px solid var(--dim); background: transparent; cursor: pointer; }
.show-dot[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
.show-dot:hover { border-color: var(--gold); }
.show-pp { margin-left: 10px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.show-pp:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 520px) { .show-btn { width: 40px; height: 40px; } .show-btn.prev { left: 8px; } .show-btn.next { right: 8px; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 72px) clamp(28px, 5vw, 56px); }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 6rem); font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero .lead { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }
.hero .eyebrow { margin-bottom: 18px; display: block; }
.tonight { display: grid; justify-items: center; gap: 18px; text-align: center; }
.tonight .moon-big { filter: drop-shadow(0 0 38px rgba(236, 230, 211, 0.22)); width: min(100%, 300px); }
.tonight .moon-big svg { width: 100%; height: auto; display: block; }
.tonight-cap { display: grid; gap: 4px; }
.tonight-cap strong { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; line-height: 1.1; }
.tonight-cap span.meta { color: var(--dim); font-size: 0.95rem; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .tonight { order: 2; } }

/* hours strip */
.strip { border-block: 1px solid var(--line); background: rgba(16, 24, 56, 0.5); }
.strip-in { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: baseline; padding-block: 18px; }
.strip .time { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); }
.strip .note { color: var(--dim); font-size: 0.95rem; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { font-size: 1.8rem; }
.card p { color: var(--dim); }
.card .more { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--dim); }

/* split text */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.audience div { padding: 18px 8px 18px 0; border-bottom: 1px solid var(--line); }
.audience strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.audience span { color: var(--dim); font-size: 0.95rem; }

/* sessions */
.sess-list { display: grid; gap: 12px; }
.sess { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.sess .date { text-align: center; border-right: 1px solid var(--line); padding-right: 16px; }
.sess .date b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1; }
.sess .date span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.sess h3 { font-size: 1.45rem; margin-bottom: 4px; }
.sess p { color: var(--dim); font-size: 0.95rem; }
.sess .meta { font-family: var(--font-mono); font-size: 12px; color: var(--dim); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
@media (max-width: 640px) { .sess { grid-template-columns: 64px minmax(0, 1fr); } .sess .btn { grid-column: 1 / -1; } .sess .date b { font-size: 2rem; } }
.sample-note { font-family: var(--font-mono); font-size: 12px; color: var(--dim); border-left: 2px solid var(--gold); padding-left: 12px; margin-top: 20px; }

/* moon calendar */
.cal { display: grid; gap: 18px; }
.cal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.cal-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 6px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button, .chip {
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; padding: 8px 14px; color: var(--star);
}
.cal-nav button:hover, .chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cal-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cal-filters .lab { font-family: var(--font-mono); font-size: 12px; color: var(--dim); letter-spacing: 0.08em; margin-right: 4px; }
.cal-wrap { position: relative; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { margin-bottom: 6px; }
.cal-dow span { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.day {
  position: relative; min-width: 0; min-height: 84px; padding: 7px 8px; display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  background: rgba(16, 24, 56, 0.72); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.day:hover, .day.on { transform: scale(1.07); z-index: 5; border-color: var(--gold); background: var(--panel-2); }
.day .n { justify-self: start; font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.day svg { align-self: center; width: clamp(24px, 3.4vw, 34px); height: auto; }
.day .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tag-dark); }
.day .dot.darkest { background: var(--tag-darkest); box-shadow: 0 0 8px var(--tag-darkest); }
.day .dot.dark { background: var(--tag-dark); }
.day .dot.moon { background: var(--tag-moon); }
.day .dot.full { background: var(--tag-full); }
.day.today { border-color: var(--star); }
.day.today .n { color: var(--gold); font-weight: 500; }
.day.past { opacity: 0.48; }
.day.dim { opacity: 0.22; }
.day.hit { border-color: rgba(242, 196, 109, 0.75); }
.day.empty { visibility: hidden; border: 0; background: none; cursor: default; pointer-events: none; }
.spark { position: absolute; top: 7px; right: 8px; width: 11px; height: 11px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--dim); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.cal-legend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cal-legend .spark { position: static; }
.cal-note { color: var(--dim); font-size: 0.88rem; max-width: 80ch; }
.dot.darkest { background: var(--tag-darkest); } .dot.dark { background: var(--tag-dark); } .dot.moon { background: var(--tag-moon); } .dot.full { background: var(--tag-full); }

.moon-card {
  position: absolute; z-index: 20; width: 580px; max-width: calc(100% - 8px);
  background: var(--panel-2); border: 1px solid rgba(242, 196, 109, 0.55); border-radius: 16px; padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 22px;
  animation: pop 0.16s ease-out;
}
.moon-card.narrow { grid-template-columns: minmax(0, 1fr); }
.moon-card > .mc-special, .moon-card > .btn, .moon-card > .mc-past { grid-column: 1 / -1; }
.mc-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.mc-sky { gap: 12px; }
.mc-h { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.mc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc-list li { display: grid; gap: 1px; min-width: 0; }
.mc-list .nm { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.mc-list b { font-weight: 600; font-size: 0.95rem; color: var(--star); }
.mc-list i { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.mc-list li > span:last-child { color: var(--dim); font-size: 0.84rem; line-height: 1.4; }
.mc-none, .mc-line { color: var(--dim); font-size: 0.86rem; margin: 0; line-height: 1.45; }
.mc-sec { min-width: 0; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.mc-close { display: none; position: absolute; top: 8px; right: 10px; background: transparent; border: 0; font-size: 28px; line-height: 1; color: var(--dim); cursor: pointer; padding: 6px 10px; }
.mc-head { display: flex; gap: 14px; align-items: center; }
.mc-head svg { flex: none; }
.mc-phase { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05; margin: 2px 0 6px; }
.mc-tag { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.mc-tag .dot { width: 9px; height: 9px; border-radius: 50%; }
.mc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.mc-stats div { border-top: 1px solid var(--line); padding-top: 8px; min-width: 0; }
.mc-stats dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.mc-stats dd { margin: 2px 0 0; font-size: 0.95rem; }
.mc-text { font-size: 0.93rem; color: var(--star); }
.mc-special { display: flex; gap: 10px; align-items: flex-start; background: rgba(242, 196, 109, 0.1); border: 1px solid rgba(242, 196, 109, 0.4); border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; }
.mc-special .spark { position: static; flex: none; margin-top: 5px; }
.mc-special strong { display: block; font-weight: 600; }
.mc-special span { color: var(--dim); }
.mc-past { font-size: 0.88rem; color: var(--dim); }
.moon-card .btn { width: 100%; }
@media (max-width: 900px) {
  .moon-card {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; z-index: 70; grid-template-columns: minmax(0, 1fr);
    border-radius: 20px 20px 0 0; padding: 20px max(18px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
    max-height: 82vh; overflow-y: auto; animation: rise 0.22s ease-out;
  }
  @keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
  .mc-close { display: block; }
  .day:hover, .day.on { transform: none; }
  body:has(.moon-card:not([hidden])) .float { display: none; }
}
@media (max-width: 720px) {
  .day { min-height: 62px; padding: 5px 4px; border-radius: 8px; }
  .day .n { font-size: 11px; }
  .cal-dow, .cal-grid { gap: 4px; }
  .spark { top: 5px; right: 4px; width: 9px; height: 9px; }
}
.guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: 8px; }
.guide div { border-top: 2px solid var(--line); padding-top: 14px; }
.guide h4 { font-size: 1.4rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.guide h4 .dot { width: 10px; height: 10px; border-radius: 50%; }
.guide p { color: var(--dim); font-size: 0.95rem; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.tile {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; cursor: pointer; padding: 0; text-align: left;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 30% 68%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 58% 18%, #fff, transparent), radial-gradient(1px 1px at 76% 52%, #fff, transparent),
    radial-gradient(1px 1px at 88% 24%, #fff, transparent), radial-gradient(1.2px 1.2px at 44% 40%, #F2C46D, transparent),
    linear-gradient(var(--tilt, 170deg), var(--c1, #1A2766), var(--c2, #0A0F2C));
}
.tile:hover { border-color: var(--gold); }
.tile span { position: absolute; left: 12px; bottom: 10px; right: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--star); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(4, 6, 18, 0.92); display: grid; place-items: center; padding: 24px 16px; }
.tile.photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .4s; }
#stay-gal, #gal { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { #stay-gal, #gal { grid-template-columns: repeat(2, 1fr); gap: 10px; } #stay-gal .tile span, #gal .tile span { font-size: 10px; } }
.tile.photo:hover img { transform: scale(1.04); }
.tile.photo span { background: linear-gradient(transparent, rgba(4,6,18,.85)); left:0; right:0; bottom:0; padding: 28px 12px 10px; }
.lightbox img.big { max-width:min(100%,1000px); max-height:86vh; border-radius:14px; border:1px solid var(--line); object-fit:contain; }
.lightbox figcaption { color: var(--star); font-family: var(--font-mono); font-size:12px; text-align:center; margin-top:10px; }
.lightbox .tile { width: min(100%, 880px); cursor: default; aspect-ratio: 16 / 10; }
.lightbox .x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 16px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.scene { background: linear-gradient(180deg, rgba(23, 33, 80, 0.55), rgba(12, 19, 48, 0.55)); border: 1px solid var(--line); border-radius: 18px; padding: clamp(10px, 2vw, 20px); min-width: 0; }
.scene-svg { display: block; width: 100%; height: auto; max-width: 100%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--gold); overflow-wrap: anywhere; }
.stat p { color: var(--dim); font-size: 0.95rem; margin-top: 4px; }

/* info lists */
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt, .facts .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.facts dd, .facts .v { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
@media (max-width: 600px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.person { display: grid; gap: 10px; }
.bio { color: var(--dim); margin-top: 10px; font-size: 0.97rem; }
.bio-quote { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: var(--star); }
.avatar { aspect-ratio: 1 / 1; max-width: 100%; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; background: linear-gradient(160deg, var(--panel-2), var(--deep)); font-family: var(--font-display); font-size: 3rem; color: var(--gold); }

/* form */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--star); background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; } }
.copy { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-family: var(--font-mono); font-size: 11px; cursor: pointer; margin-left: 8px; color: var(--dim); }
.copy:hover { border-color: var(--gold); color: var(--gold); }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: clamp(24px, 5vw, 56px); background: rgba(7, 11, 31, 0.7); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 44px 110px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }
.foot h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--dim); }
.foot a:hover { color: var(--gold); }

/* floating contact */
.float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; gap: 10px; align-items: center; }
.fab { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.fab.wa { background: var(--gold); color: var(--on-gold); padding: 14px 20px; }
.fab.wa:hover { background: #F7D58E; }
.fab.call { background: var(--panel-2); border: 1px solid var(--line); width: 50px; height: 50px; justify-content: center; }
@media (min-width: 900px) { .fab.call { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* standalone resets */
body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}
.view{display:block}
@media (max-width: 640px) { .team .person .avatar { width: 160px; } }
.person { align-content: start; } .avatar { overflow:hidden; } .avatar img { width:100%; height:100%; object-fit:cover; display:block; }

.faq { display:grid; gap:10px; max-width: 820px; }
.faq details { border:1px solid var(--line); border-radius:14px; padding:14px 18px; background: rgba(16,24,56,.55); }
.faq summary { cursor:pointer; font-family: var(--font-display); font-size:1.25rem; color: var(--star); }
.faq details[open] summary { color: var(--gold); margin-bottom:8px; }
.faq p { color: var(--dim); margin:0; }

.prose { max-width: 780px; } .prose p, .prose li { color: var(--dim); } .prose p.lead { color: var(--star); } .prose ul { padding-left: 1.2em; display:grid; gap:10px; } .prose a { color: var(--gold); } .prose strong { color: var(--star); font-weight:600; }
.tblwrap { overflow-x:auto; margin: 14px 0; border:1px solid var(--line); border-radius:14px; } .tbl { width:100%; border-collapse:collapse; min-width:460px; } .tbl th, .tbl td { text-align:left; padding:12px 16px; border-bottom:1px solid var(--line); } .tbl th { font-family: var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--gold); } .tbl td { color: var(--star); } .tbl tr:last-child td { border-bottom:0; }

/* announcement bar + featured event */
.announce { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 16px; background: var(--gold); color: var(--on-gold); text-align: center; font-size: 0.95rem; font-weight: 500; text-decoration: none; position: relative; z-index: 5; }
.announce:hover { background: #F7D58E; }
.announce .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px; }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 36px); align-items: center; background: var(--panel); border: 1px solid var(--gold-deep); border-radius: 20px; padding: clamp(22px, 3.4vw, 38px); }
.feature .fdate { text-align: center; border-right: 1px solid var(--line); padding-right: clamp(18px, 3vw, 36px); }
.feature .fdate b { display: block; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 500; line-height: 1; }
.feature .fdate span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.feature h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 6px 0 8px; }
.feature p { color: var(--dim); max-width: 60ch; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature .fdate { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; text-align: left; } .feature .btn { width: 100%; text-align: center; } }
.prose a.btn { color: var(--on-gold); text-decoration: none; }
.prose a.btn.ghost { color: var(--star); }
.prose a.btn.ghost:hover { color: var(--gold); }
@media (max-width: 560px) { .announce { font-size: 0.88rem; padding: 9px 12px; } .announce .tag, .announce span[aria-hidden] { display: none; } }

.feature { grid-template-columns: auto minmax(0, 1fr) minmax(240px, 340px); overflow: hidden; }
.feature .fgfx { width: 100%; height: auto; display: block; border-radius: 12px; background: #0A1030; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature .fgfx { order: -1; max-height: 200px; } .feature .btn { width: auto; } }

.prose .fgfx { max-width: 560px; margin: 8px 0 28px; border-radius: 14px; }
