/* =========================================================
   FOGG International — design system
   Black ground and one flat brand gold, both lifted from the
   logo. The gold gradient lives only inside the logo itself;
   the interface uses a single solid gold so it stays quiet.
   ========================================================= */
:root {
  --bg: #000;
  --surface: #0b0908;
  --surface-2: #131009;
  --line: #231d16;
  --line-2: #3a3026;
  --text: #f4ede2;
  --muted: #a69b8c;
  --dim: #6e6458;
  --gold: #f2a33a;
  --gold-hi: #ffb54f;
  --gold-ink: #1a1004;
  --ok: #3ecf8e;
  --bad: #ff5d5d;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;

  --t-xs: .78rem;
  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: 1.2rem;
  --t-lg: 1.6rem;
  --t-xl: clamp(1.9rem, 3.4vw, 2.6rem);
  --t-2xl: clamp(2.3rem, 5vw, 3.6rem);
  --t-hero: clamp(3rem, 8.2vw, 7rem);

  --r: 2px;
  --r-panel: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--t-base); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; color: #fff; letter-spacing: -.02em; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 1em; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }

/* ---------- buttons: flat, rectangular ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: var(--gold-hi); }
.btn-outline { border-color: var(--line-2); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: var(--t-xs); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.link { color: #fff; font-size: var(--t-sm); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color .2s; white-space: nowrap; }
.link:hover { color: var(--gold); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid, .nav.always-solid, .nav.menu-open { background: rgba(0, 0, 0, .92); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { font-size: var(--t-sm); color: var(--muted); transition: color .2s; padding: 8px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: transform .3s var(--ease); }
.menu-btn span { transform: translateY(-3px); }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.nav.menu-open .menu-btn span { transform: rotate(45deg); }
.nav.menu-open .menu-btn span::before { transform: translateY(-6px) rotate(-90deg); }
@media (max-width: 920px) {
  :root { --nav-h: 64px; }
  .brand img { height: 34px; }
  .menu-btn { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn-primary { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h));
    flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 40px; background: #000;
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s;
  }
  .nav.menu-open .nav-links { visibility: visible; opacity: 1; transition: opacity .25s; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 20px 0; font-family: var(--serif); font-size: 1.9rem; color: #fff; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--gold); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 40px) 0 0; overflow: hidden; }
.hero-mark { position: absolute; z-index: 0; right: max(-40px, calc((100vw - var(--wrap)) / 2 - 40px)); top: 46%; width: min(560px, 46vw); margin-top: calc(min(560px, 46vw) * -.5); perspective: 900px; pointer-events: none; }
.hero-mark .glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 163, 58, .2), transparent 70%); }
.hero-mark img { position: relative; width: 100%; height: auto; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 48px; }
.hero h1 { font-size: var(--t-hero); line-height: .98; letter-spacing: -.035em; margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; }
.hero-sub { font-size: 1.125rem; color: var(--muted); max-width: 40ch; margin: 0; }
@media (max-width: 920px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .hero-mark { position: relative; right: auto; top: auto; margin-top: 0; width: 46vw; max-width: 220px; margin: 0 0 12px -2vw; }
  .hero-copy { padding-bottom: 32px; }
}

/* booking bar (hotel-style quick search) */
.quick { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; border: 1px solid var(--line-2); background: rgba(11, 9, 8, .94); margin-bottom: 48px; }
.quick > * { min-width: 0; }
.quick .q { padding: 14px 22px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.quick label, .quick .q-label { font-size: var(--t-xs); color: var(--muted); }
.quick select, .quick input { background: transparent; border: 0; padding: 0; font-size: var(--t-base); color: #fff; outline: none; width: 100%; -webkit-appearance: none; appearance: none; cursor: pointer; }
.quick input[type="date"] { color-scheme: dark; }
.quick select option { background: var(--surface); }
.quick .q:focus-within { background: var(--surface-2); }
.quick .btn { height: auto; min-height: 74px; border-radius: 0; padding: 0 36px; }
.seg { display: flex; }
.seg button { background: transparent; border: 0; padding: 2px 0; margin-right: 20px; font-size: var(--t-base); color: var(--dim); cursor: pointer; transition: color .2s; }
.seg button[aria-pressed="true"] { color: #fff; box-shadow: inset 0 -1px 0 var(--gold); }
@media (max-width: 860px) {
  .quick { grid-template-columns: 1fr 1fr; }
  .quick .q:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .quick .q:nth-child(3) { border-right: 0; }
  .quick .btn { grid-column: 1 / -1; min-height: 56px; }
}

/* ---------- page head ---------- */
.page-head { padding: calc(var(--nav-h) + 72px) 0 48px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--t-2xl); margin-bottom: 14px; }
.page-head p { color: var(--muted); margin: 0; font-size: 1.0625rem; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* what we offer: an editorial index */
.offer { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offer li { border-bottom: 1px solid var(--line); }
.offer a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: clamp(18px, 2.4vw, 28px) 0; }
.offer .name { font-family: var(--serif); font-size: clamp(1.7rem, 4.2vw, 3.2rem); line-height: 1.1; color: #fff; letter-spacing: -.02em; transition: color .25s, transform .4s var(--ease); }
.offer .go { font-size: var(--t-sm); color: var(--muted); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s var(--ease); white-space: nowrap; }
.offer a:hover .name, .offer a:focus-visible .name { color: var(--gold); transform: translateX(10px); }
.offer a:hover .go, .offer a:focus-visible .go { opacity: 1; transform: none; color: var(--gold); }
@media (hover: none) { .offer .go { display: none; } }

/* venues split */
.venues { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.venue { position: relative; padding: clamp(28px, 4vw, 56px); min-height: 440px; display: flex; flex-direction: column; overflow: hidden; }
.venue + .venue { border-left: 1px solid var(--line); }
.venue .photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; transition: transform 1.2s var(--ease); }
.venue .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), #000 90%); }
.venue:hover .photo { transform: scale(1.04); }
.venue > *:not(.photo) { position: relative; }
.venue .kind { font-size: var(--t-sm); color: var(--gold); margin-bottom: auto; }
.venue h3 { font-size: clamp(2rem, 4vw, 3rem); margin: 72px 0 18px; }
.venue ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: var(--t-sm); }
.venue .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .venues { grid-template-columns: 1fr; } .venue + .venue { border-left: 0; border-top: 1px solid var(--line); } .venue { min-height: 0; } .venue h3 { margin-top: 40px; } }

/* ---------- event listing rows ---------- */
.listing { border-top: 1px solid var(--line); }
.ev-row { display: grid; grid-template-columns: 132px 1fr auto auto; align-items: center; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ev-date { display: flex; align-items: center; gap: 12px; }
.ev-date b { font-family: var(--serif); font-weight: 400; font-size: 2.7rem; line-height: 1; color: #fff; min-width: 1.3em; }
.ev-date span { font-size: var(--t-xs); color: var(--muted); line-height: 1.35; }
.ev-main h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 6px; transition: color .2s; }
.ev-meta { font-size: var(--t-sm); color: var(--muted); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ev-left { font-size: var(--t-sm); color: var(--muted); text-align: right; white-space: nowrap; }
.ev-left.low { color: var(--gold); }
.ev-row:hover .ev-main h3 { color: var(--gold); }
@media (max-width: 760px) {
  .ev-row { grid-template-columns: 64px 1fr; gap: 4px 18px; padding: 22px 0; }
  .ev-date { flex-direction: column; align-items: flex-start; gap: 4px; grid-row: span 3; align-self: start; }
  .ev-date b { font-size: 2.2rem; }
  .ev-left { text-align: left; }
  .ev-row .btn { grid-column: 2; justify-self: start; margin-top: 12px; }
}

/* ---------- cta ---------- */
.cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: var(--t-2xl); max-width: 13ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-brand img { width: 120px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: var(--t-sm); }
.footer h4 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: var(--t-sm); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: var(--t-xs); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field > .label { font-size: var(--t-sm); color: var(--text); font-weight: 500; }
.field .opt { color: var(--dim); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  color: #fff; font-size: var(--t-base); transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:hover, .select:hover, .textarea:hover { border-color: #55483a; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a69b8c' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.select option { background: var(--surface); }
input[type="date"].input { color-scheme: dark; }
.field .err { display: none; font-size: var(--t-xs); color: var(--bad); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--bad); }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* checkbox list */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.check { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: var(--t-sm); }
.check input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); flex-shrink: 0; display: grid; place-items: center; cursor: pointer; transition: all .15s; margin: 0; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg) translate(1px, -1px); }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* option tiles (radio) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.tile { position: relative; }
.tile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.tile span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: var(--t-sm); color: #fff; transition: border-color .2s, background-color .2s; }
.tile small { color: var(--muted); font-size: var(--t-xs); }
.tile input:hover + span { border-color: #55483a; }
.tile input:checked + span { border-color: var(--gold); background: rgba(242, 163, 58, .08); }
.tile input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.tile input:disabled { cursor: not-allowed; }
.tile input:disabled + span { opacity: .3; text-decoration: line-through; }

/* ---------- panels & steps ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 32px); }
.step-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.step-block:first-child { padding-top: 0; }
.step-block > h2 { font-size: var(--t-lg); margin-bottom: 24px; display: flex; gap: 16px; align-items: baseline; }
.step-block > h2 .n { font-family: var(--sans); font-size: var(--t-sm); color: var(--gold); font-weight: 600; letter-spacing: 0; }

/* ---------- success ---------- */
.done { max-width: 600px; margin: 0 auto; text-align: center; padding: 24px 0 40px; }
.done .tick { width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.done .tick svg { width: 26px; height: 26px; }
.done h2 { margin-bottom: 14px; }
.done p { margin-inline: auto; color: var(--muted); }
.ref { display: inline-block; font-size: var(--t-md); font-weight: 600; letter-spacing: .12em; color: #fff; padding: 12px 20px; border: 1px solid var(--line-2); margin: 12px 0 28px; }
.kv { list-style: none; padding: 0; margin: 0; text-align: left; }
.kv li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.kv li span:first-child { color: var(--muted); flex-shrink: 0; }
.kv li span:last-child { color: #fff; text-align: right; }
.kv li .empty { color: var(--dim) !important; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { background: #15110c; border: 1px solid var(--line-2); border-left: 2px solid var(--gold); padding: 14px 18px; font-size: var(--t-sm); color: #fff; box-shadow: 0 20px 40px -20px #000; }
.toast.ok { border-left-color: var(--ok); }
.toast.bad { border-left-color: var(--bad); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-back { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); background: var(--surface); border-left: 1px solid var(--line-2); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); }
.drawer-body { padding: 28px; }
.x-btn { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; display: grid; place-items: center; color: #fff; }
.x-btn:hover { border-color: #fff; }
.x-btn svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .drawer-body, .drawer-head { padding-inline: 18px; } }

/* ---------- entry pass ---------- */
.pass { background: #000; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; transform-origin: top center; }
.pass-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.pass-top img { height: 30px; }
.pass-top span { font-size: var(--t-xs); color: var(--gold); }
.pass-main { padding: 22px 22px 8px; text-align: center; }
.pass-main h3 { font-size: 1.5rem; margin-bottom: 6px; }
.pass-main p { font-size: var(--t-sm); color: var(--muted); margin: 0 auto; }
.pass-qr { display: grid; place-items: center; padding: 18px 22px 22px; }
.pass-qr .qr { background: #fff; padding: 14px; border-radius: 6px; }
.pass-qr .qr img, .pass-qr .qr canvas { width: 188px !important; height: 188px !important; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 0; }
.pass-grid div { padding: 14px 22px; }
.pass-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.pass-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
.pass-grid dt { font-size: var(--t-xs); color: var(--muted); }
.pass-grid dd { margin: 2px 0 0; font-size: var(--t-sm); color: #fff; font-weight: 500; }
.pass-grid dd.code { letter-spacing: .1em; color: var(--gold); }

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

/* initial states for the Motion layer (only applied once Motion has loaded) */
.motion .hero h1 .line > span { transform: translateY(108%); }
.motion .hero-sub, .motion .quick, .motion .hero-mark img, .motion .hero-mark .glow { opacity: 0; }
.motion [data-reveal], .motion [data-stagger] > * { opacity: 0; }
.motion .page-head h1, .motion .page-head p { opacity: 0; }
