:root {
  --bg: #0b0a08;
  --surface: #15130f;
  --surface-2: #1d1a14;
  --line: #2e291f;
  --text: #f3eee3;
  --muted: #b3a990;
  --gold: #e2b23a;
  --gold-2: #f4d27a;
  --gold-dark: #a87c1c;
  --radius: 14px;
  --display: "Rye", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(.7rem + env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right)) .7rem max(1rem, env(safe-area-inset-left));
  max-width: 1100px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); text-decoration: none;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .02em;
}
.brand img { border-radius: 50%; }
.fb-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: #1877f2; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
}
.fb-btn svg { width: 18px; height: 18px; fill: currentColor; }
.fb-btn:hover { background: #166fe0; }
.top-links { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.fb-btn[hidden] { display: none; }
.contact-btn { background: transparent; color: var(--text); border: 1px solid var(--line); }
.contact-btn:hover { background: rgba(255, 255, 255, .08); }
.ig-btn { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.ig-btn:hover { background: linear-gradient(45deg, #e0832a, #c9213b 50%, #a8157a); }
.tt-btn { background: #000; border: 1px solid #3a3a3a; }
.tt-btn:hover { background: #1a1a1a; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; }
.footer-links a[hidden] { display: none; }

/* ---------- Tabs ---------- */
.tabs {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 10, 8, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.tabs-inner {
  display: flex; gap: .25rem;
  max-width: 1100px; margin: 0 auto; padding: .5rem 1rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.tabs-inner::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 0 0 auto; scroll-snap-align: start;
  appearance: none; border: 0; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 .92rem var(--body); white-space: nowrap;
  transition: background .15s, color .15s;
}
.tabs button:hover { color: var(--text); background: var(--surface-2); }
.tabs button[aria-selected="true"] { background: var(--gold); color: #1a1406; }
.tabs button:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* ---------- Layout ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.panel { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 7vw, 4rem); color: var(--gold); letter-spacing: .01em; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--gold); margin-top: 2.25rem; }
.panel > h2:first-child { margin-top: .5rem; }
h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 65ch; margin: 0 0 1.5rem; }
#home .lead { text-align: center; margin-left: auto; margin-right: auto; } /* Centre the welcome text */
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--muted); margin: 0 0 .5rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 2.5rem; align-items: center;
  padding: 1rem 0 2.5rem;
}
.hero-logo {
  width: 100%; height: auto; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(226, 178, 58, .15), 0 20px 80px -20px rgba(226, 178, 58, .35);
}
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 600; margin: 0 0 1.25rem; }
.hero-meta .dot { color: var(--gold); font-size: .8rem; }

.countdown { display: flex; gap: .6rem; margin: 0 0 1.5rem; }
.countdown div {
  min-width: 68px; text-align: center; padding: .6rem .4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.countdown strong { display: block; font-size: 1.6rem; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1406; }
.btn-ghost { border: 1.5px solid var(--gold-dark); color: var(--gold-2); }
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- Cards / lists ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; border-top: 3px solid var(--gold);
}
.card p { margin: 0; color: var(--muted); }
.card a { font-weight: 600; word-break: break-word; }

.news { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.news li {
  display: flex; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.news time { flex: 0 0 auto; color: var(--gold); font-weight: 700; font-size: .9rem; min-width: 5.5rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .25rem; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.05rem; }

.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day h3 { margin: 0; padding: .9rem 1.25rem; background: var(--surface-2); color: var(--gold-2); border-bottom: 1px solid var(--line); }
.day ul { list-style: none; margin: 0; padding: .4rem 1.25rem; }
.day li { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.day li:last-child { border-bottom: 0; }
.day .time { flex: 0 0 5.5rem; color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; max-width: 70ch; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before { content: "★"; position: absolute; left: 0; color: var(--gold); font-size: .85rem; top: .15rem; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.table { width: 100%; border-collapse: collapse; }
.table td { padding: .65rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td:last-child { text-align: right; font-weight: 700; color: var(--gold-2); padding-left: 1rem; white-space: nowrap; }

.address { font-size: 1.1rem; font-weight: 600; margin: -.25rem 0 .75rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

.faq { display: grid; gap: .75rem; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line); text-align: center;
  padding: 2rem 1rem calc(2rem + env(safe-area-inset-bottom, 0px));
  color: var(--muted); font-size: .92rem;
}
.footer img { margin: 0 auto .75rem; border-radius: 50%; }
.footer p { margin: 0 0 .4rem; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; padding-top: .5rem; }
  .hero-logo { max-width: 260px; margin: 0 auto; }
  .hero-meta, .cta-row, .countdown { justify-content: center; }
  .cta-row .btn { flex: 1 1 200px; }
  .brand span { font-size: 1rem; }
  .fb-btn span { display: none; }
  .fb-btn { padding: .5rem; }
  .top-links { gap: .35rem; }
  .news li { flex-direction: column; gap: .25rem; }
  .countdown div { min-width: 0; flex: 1; }
}

/* Very small phones: keep the logo, name and five link icons on one row */
@media (max-width: 400px) {
  .topbar { gap: .5rem; }
  .brand { gap: .45rem; min-width: 0; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: .85rem; }
  .fb-btn { padding: .42rem; }
  .fb-btn svg { width: 16px; height: 16px; }
  .top-links { gap: .25rem; }
}

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