:root {
  --gold: #b8955a;
  --gold-dark: #a2834d;
  --ink: #1c1c1c;
  --muted: #6d6a64;
  --cream: #f4f1ea;
  --night: #0f1424;
  --accent: #2c4a6e; /* overridden per building */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: #fff; display: flex; flex-direction: column;
  padding: 28px 28px calc(48px + env(safe-area-inset-bottom));
  background-color: var(--night);
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, transparent) 0%, rgba(10,14,26,.35) 38%, rgba(10,14,26,.88) 100%),
    var(--hero-img, linear-gradient(160deg, color-mix(in srgb, var(--accent) 70%, #0f1424) 0%, #0b0f1a 100%));
  background-size: cover; background-position: center;
}
.brand { font-family: var(--serif); font-size: 22px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.brand img { max-height: 44px; width: auto; }
.hero-body { margin-top: auto; max-width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 18px; color: var(--gold); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 12vw, 84px); line-height: 1.05; margin: 22px 0 20px; }
.hero p { color: rgba(255,255,255,.72); font-weight: 300; font-size: 16px; max-width: 460px; margin: 0 0 32px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border: 1px solid var(--gold);
  color: var(--gold); background: transparent; text-decoration: none; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
}
.btn-outline:hover { background: rgba(184,149,90,.14); }

/* ---------- Events ---------- */
.section { padding: 56px 20px; }
.section-title { font-weight: 300; font-size: clamp(24px, 6vw, 34px); text-transform: uppercase; letter-spacing: .02em; text-align: center; margin: 0; }
.rule { width: 28px; height: 1px; background: var(--ink); margin: 14px auto 36px; opacity: .55; }
.grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.card {
  position: relative; text-align: left; border: 0; padding: 0; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.06); display: flex; flex-direction: column; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.card[disabled] { cursor: default; opacity: .72; }
.card-img { aspect-ratio: 4 / 3; background: #e6e2da center / cover no-repeat; position: relative; }
.badge { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.94); font-size: 12px; padding: 3px 9px; border-radius: 3px; font-weight: 500; }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.when { font-size: 13px; color: var(--muted); }
.card h3 { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.25; }
.desc { font-size: 14px; color: #55524c; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spots { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; }
.spots.full { color: #9a3b2e; }
.empty { text-align: center; color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ---------- Services ---------- */
.services { background: #121212; color: #fff; }
.services .rule { background: #fff; }
.sub { text-align: center; color: #a9a59d; margin: 0 auto 36px; max-width: 520px; font-size: 15px; }
.svc-grid { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.svc-img { aspect-ratio: 16 / 10; background: #ece8df center / cover no-repeat; }
.svc-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc h3 { margin: 0; text-transform: uppercase; font-weight: 400; font-size: 17px; letter-spacing: .02em; }
.svc p { margin: 0; font-size: 15px; color: #55524c; }
.btn-gold {
  margin-top: auto; display: block; width: 100%; text-align: center; text-decoration: none; border: 0; border-radius: 5px;
  background: var(--gold); color: #fff; font-weight: 600; font-size: 16px; padding: 14px 16px;
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-gold[disabled] { opacity: .6; cursor: default; }

/* ---------- Footer ---------- */
footer { padding: 48px 20px calc(48px + env(safe-area-inset-bottom)); text-align: center; }
footer .by { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #3a3833; }
.logos { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.logo-bdl { font-weight: 600; font-size: 30px; letter-spacing: .02em; color: #3a2f22; line-height: 1; }
.logo-bdl small { display: block; font-weight: 300; font-size: 22px; opacity: .55; letter-spacing: .06em; }
.logo-wx { font-family: var(--serif); color: #6a5a3c; font-size: 26px; line-height: 1; }
.logo-wx small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; }

/* ---------- Bottom sheet ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15,15,15,.55); display: none; align-items: flex-end; justify-content: center; z-index: 50; }
.overlay.show { display: flex; }
.sheet { background: var(--cream); width: 100%; max-width: 560px; max-height: 94svh; overflow-y: auto; border-radius: 18px 18px 0 0; padding: 22px 18px calc(28px + env(safe-area-inset-bottom)); position: relative; overscroll-behavior: contain; }
@media (min-width: 640px) { .overlay { align-items: center; } .sheet { border-radius: 16px; max-height: 90vh; } }
.close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d8d3c9; background: #fff; font-size: 22px; line-height: 1; z-index: 2; }
.sheet-img { width: 100%; aspect-ratio: 16 / 10; background: #e6e2da center / cover no-repeat; border-radius: 10px; margin-top: 34px; }
.sheet .when { margin: 16px 0 6px; font-size: 16px; color: #3a3833; }
.sheet h2 { margin: 0 0 12px; font-weight: 400; text-transform: uppercase; font-size: 24px; }
.sheet .full-desc { color: #4c4a44; font-size: 16px; margin: 0 0 14px; }
.loc { display: inline-block; background: #fff; padding: 6px 12px; font-size: 15px; margin-bottom: 22px; }
.form { background: #fff; border: 1px solid #e3dfd5; border-radius: 12px; padding: 20px 18px 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 17px; color: #3a3833; margin-bottom: 8px; }
.field label i { font-style: normal; margin-left: 2px; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 14px 14px; border: 1px solid transparent; border-radius: 8px; background: #f2f2f2; color: var(--ink); }
.field input:focus { outline: 2px solid var(--gold); background: #fff; }
.field.bad input { border-color: #b3382c; background: #fff7f6; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.err { color: #b3382c; font-size: 14px; margin: 4px 0 12px; min-height: 0; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ok { text-align: center; padding: 34px 10px 10px; }
.ok .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 16px; }
.ok h2 { text-transform: none; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.ok p { color: #4c4a44; }
.state { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 30px; }
.state h1 { font-family: var(--serif); font-weight: 300; font-size: 38px; margin: 0 0 8px; }
.state p { color: var(--muted); margin: 0; }
.skeleton { background: linear-gradient(90deg, #e9e5dc 25%, #f2efe8 50%, #e9e5dc 75%); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 8px; min-height: 230px; }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .skeleton { transition: none; animation: none; } }
