/* ---- Brand tokens: edit these to rebrand ---- */
:root {
  --bg: #1c1d21;              /* charcoal page */
  --surface: #24252b;         /* cards / form */
  --surface-2: #2a2b31;
  --text: #ececec;            /* soft off-white */
  --muted: #9a9a9f;           /* grey */
  --border: rgba(255, 255, 255, 0.10);
  --brand: #c6a35c;           /* champagne gold accent */
  --brand-2: #d8bd86;
  --brand-soft: rgba(198, 163, 92, 0.14);
  --error: #e0837d;
  --radius: 4px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }

h1, h2, .display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin: 0 0 20px;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
p { margin: 0 0 18px; }
.subhead { font-size: 1.15rem; color: var(--muted); margin: 0 0 32px; font-weight: 400; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.72rem;
  color: var(--brand); font-weight: 600; margin: 0 0 20px;
}
.rule { width: 56px; height: 1px; background: var(--brand); margin: 0 auto 28px; opacity: .8; }

/* ---- Cinematic hero ---- */
.hero {
  position: relative; min-height: 92vh; display: grid; place-items: center;
  text-align: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #26272d 0%, var(--bg) 70%);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  /* Anchor to the top of the frame, so cropping takes from the bottom only. */
  object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Two layers. The first is a dark band across the top so the logo always sits on the
     same backdrop, whatever the video is doing; it fades out below the lockup. The
     second is the overall scrim that keeps the headline legible. */
  background:
    linear-gradient(180deg, rgba(10,11,13,.92) 0px, rgba(10,11,13,.78) 120px, rgba(10,11,13,.35) 220px, rgba(10,11,13,0) 320px),
    linear-gradient(180deg, rgba(18,19,22,.72) 0%, rgba(20,21,25,.88) 60%, rgba(28,29,33,.98) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; padding: 230px 24px 120px; }
.hero h1 { font-weight: 500; }
.hero .subhead { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: #17130a; background: var(--brand); border: 1px solid var(--brand);
  border-radius: var(--radius); cursor: pointer; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-2); }
.btn-block { width: 100%; }

/* ---- Video blocks ---- */
.video-slot {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; display: grid; place-items: center; color: var(--muted);
}
.video-slot iframe { width: 100%; height: 100%; border: 0; }

/* ---- Cards & form ---- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.form-grid { display: grid; gap: 20px; }
label {
  display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 8px; color: var(--muted);
}
input, select {
  width: 100%; padding: 15px 16px; font-size: 1rem; color: var(--text);
  font-family: var(--font-sans);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
}
input::placeholder { color: #6c6960; }
input:focus, select:focus { outline: none; border-color: var(--brand); }
.field-error { color: var(--error); font-size: 0.82rem; margin-top: 7px; min-height: 1em; letter-spacing: normal; text-transform: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-error { color: var(--error); margin-top: 14px; min-height: 1em; }

/* ---- Benefits (hairline) ---- */
.benefits { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--border); }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding: 32px 28px; border-bottom: 1px solid var(--border); }
@media (min-width: 760px) { .benefit { border-bottom: none; border-right: 1px solid var(--border); } .benefit:last-child { border-right: none; } }
.benefit h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; margin: 0 0 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.footer { text-align: center; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; padding: 40px 0; border-top: 1px solid var(--border); }

/* ---- Brand header / logo lockup ---- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; padding: 24px 20px; }
.site-header.flow { position: static; padding: 34px 20px 6px; }
.brandmark { display: inline-flex; flex-direction: column; align-items: center; gap: 15px; text-decoration: none; }
.brandmark img { height: 70px; width: auto; display: block; }
.brandmark .name {
  font-family: var(--font-serif); font-weight: 500; font-size: 2.38rem; letter-spacing: 0.27em;
  text-transform: uppercase; padding-left: 0.12em; line-height: 1;
  /* Colours sampled from the approved reference wordmark. Runs straight left-to-right so
     the ramp always lands on the same letters, whatever the screen size. An angled
     gradient shifts as the text box changes shape. */
  background: linear-gradient(to right,
    #ac8946 0%, #be9b55 25%, #ceaf6f 50%, #dcc38c 75%, #e7d3a5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@media (max-width: 560px) { .brandmark img { height: 57px; } .brandmark .name { font-size: 1.9rem; letter-spacing: 0.21em; } }

/* ---- Cookie-consent banner ---- */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(22, 23, 27, 0.96); border-top: 1px solid var(--border);
  padding: 16px 22px; display: flex; gap: 16px 24px; align-items: center;
  justify-content: center; flex-wrap: wrap; backdrop-filter: blur(6px);
}
.consent-text { margin: 0; color: var(--muted); font-size: 0.88rem; max-width: 620px; }
.consent-text a { color: var(--brand); }
.consent-actions { display: flex; gap: 10px; }
.btn-consent {
  padding: 11px 22px; border-radius: var(--radius); font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-family: var(--font-sans);
}
.btn-consent.decline { background: transparent; color: var(--text); }
.btn-consent.accept { background: var(--brand); color: #17130a; border-color: var(--brand); }

/* ---- Long-form legal pages ---- */
.legal { max-width: 760px; padding: 72px 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin: 36px 0 8px; }
.legal p, .legal li { color: #cfccc4; font-size: 0.98rem; }
.legal a { color: var(--brand); }
.legal ul { padding-left: 20px; }
.legal .muted { color: var(--muted); font-size: 0.86rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.legal th, .legal td { border: 1px solid var(--border); padding: 11px 13px; text-align: left; font-size: 0.9rem; vertical-align: top; }
.legal th { color: var(--text); }

/* ---- Booking-page reveal ---- */
.is-hidden { display: none !important; }
.post-booking { margin-top: 40px; }
.confirm-note { color: var(--brand); font-weight: 600; font-size: 1rem; margin: 0 0 16px; text-align: center; text-transform: uppercase; letter-spacing: 0.14em; }

/* ---- Motion / accessibility ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { display: none; }
}

/* ---- Webinar registration page ---- */
.hero-webinar { min-height: 0; }
.h1-sub { display: block; font-size: 0.62em; margin-top: 6px; }
.hero-webinar .hero-inner { padding: 200px 24px 24px; }
@media (max-width: 560px) { .hero-webinar .hero-inner { padding-top: 170px; } }
.when { margin: 8px 0 28px; }
.when-main { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--brand-2); margin: 0 0 6px; letter-spacing: 0.02em; }
.when-local { color: var(--text); font-size: 0.98rem; margin: 0 0 6px; }
.when-sub { color: var(--muted); font-size: 0.95rem; margin: 0; }
.countdown { display: flex; justify-content: center; gap: 28px; margin: 0 0 32px; }
.countdown > div { display: grid; justify-items: center; gap: 2px; min-width: 64px; }
.countdown span { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; color: var(--text); }
.countdown small { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.62rem; color: var(--muted); }
.hero-cta { margin: 0 0 32px; }
html:has(.hero-webinar) { scroll-behavior: smooth; }
#register { scroll-margin-top: 24px; }

.webinar-main { max-width: 560px; padding-bottom: 64px; }
@media (max-width: 560px) { .webinar-form { padding: 28px 22px; } }
.objections { padding: 48px 0 0; }
.host-line { color: var(--muted); font-size: 0.95rem; margin: 8px 0 0; }
.disclaimer { max-width: 620px; margin: 0 auto 12px; padding: 0 24px; font-size: 0.72rem; letter-spacing: 0.02em; line-height: 1.5; }
.footer-line { margin: 20px 0 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 36px; }
.checklist li { position: relative; padding: 0 0 18px 30px; color: #cfccc4; font-size: 1.02rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 1px; background: var(--brand); }
/* Three-screen webinar form. Own class names (wb-), separate from the VSL form's app-. */
.wb-count { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; }
.wb-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: wb-slide .3s ease; }
.wb-step[hidden] { display: none; }
@keyframes wb-slide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wb-step { animation: none; } }
.wb-q {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.45rem, 3.4vw, 1.8rem);
  line-height: 1.2; margin: 0 0 18px; padding: 0; color: var(--text);
}
.wb-q:focus { outline: none; }
.wb-options { display: grid; gap: 10px; }
.wb-option {
  position: relative; display: flex; align-items: center; gap: 14px; margin: 0;
  padding: 15px 18px; min-height: 56px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-size: 1rem; line-height: 1.4; text-transform: none; letter-spacing: normal;
  transition: border-color .15s ease, background .15s ease;
}
.wb-option:hover { border-color: var(--brand); }
/* The real radio stays in the page for keyboards and screen readers; a drawn mark replaces it. */
.wb-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.wb-option::before { content: ""; flex: none; width: 16px; height: 16px; border: 1px solid var(--muted); border-radius: 50%; }
.wb-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.wb-option:has(input:checked)::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px var(--surface-2); }
.wb-option:has(input:focus-visible) { outline: 1px solid var(--brand); outline-offset: 3px; }
.wb-step .btn-block { margin-top: 18px; }
.wb-step.form-grid .btn-block { margin-top: 0; }
.wb-back {
  display: block; margin: 16px auto 0; background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--font-sans); color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
}
.wb-back:hover, .wb-back:focus-visible { color: var(--brand); }
#register-form .form-note { margin-top: 18px; }
.wb-end p { color: var(--muted); margin: 0; }
.webinar-form-title { margin-bottom: 10px; }
.webinar-form-sub { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.form-note { color: var(--muted); font-size: 0.8rem; margin: 6px 0 0; line-height: 1.5; }
.form-note a { color: var(--brand); }

/* ---- webinar confirmation page ---- */
.confirm-main { max-width: 560px; padding-top: 40px; padding-bottom: 64px; }
.confirm-card { margin: 8px 0 56px; }
@media (max-width: 560px) { .confirm-card { padding: 28px 22px; } }
.confirm-step { color: var(--brand); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; margin: 0 0 14px; }
.confirm-cal { margin-top: 26px; }
.cal-other { margin: 14px 0 0; font-size: 0.88rem; }
.cal-other a { color: var(--muted); }
.cal-other a:hover { color: var(--brand); }
.join { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.join-note { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }
.join-pending { color: var(--muted); font-size: 0.95rem; margin: 0; }
.confirm-tips { text-align: left; }
.confirm-tips h2 { font-size: 1.6rem; text-align: center; margin-bottom: 20px; }
.checklist strong { color: var(--text); font-weight: 600; }
.form-divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; margin-top: 6px; }
.form-divider::before, .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
label .optional { text-transform: none; letter-spacing: normal; color: #6c6960; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.confirm-video { margin: 0 0 48px; }
.confirm-video h2 { font-size: 1.6rem; }
label.q { text-transform: none; letter-spacing: normal; font-size: 0.95rem; color: var(--text); line-height: 1.45; margin-bottom: 10px; }
