@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/cormorant-sc-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-italic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #d4af50;
  --gold-lt: #ecd696;
  --cream: #fff8ec;
  --burgundy: #461216;
  --ink: #1a120c;
  --card: rgba(10, 8, 6, 0.82);
  --line: rgba(212, 175, 80, 0.7);
  --focus: #ecd696;
  --error: #ffc9b8;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: dark; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--cream);
  background: #0c1218;
  line-height: 1.45;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gold-lt);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--burgundy);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus { top: 0.75rem; }

/* ---------- Landing page ---------- */
.page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg img,
.hero-bg picture,
.hero-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0.18) 0%, rgba(6, 12, 22, 0.05) 28%, rgba(6, 12, 22, 0.15) 55%, rgba(6, 8, 10, 0.72) 100%);
}

.hero-title,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero-title {
  text-align: center;
  padding: 1.1rem 1rem 0;
}

.eyebrow {
  margin: 0;
  font-family: "Cormorant SC", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  font-size: clamp(0.82rem, 2.8vw, 1.05rem);
  letter-spacing: 0.28em;
  color: var(--gold-lt);
  text-transform: uppercase;
}

.rule {
  width: min(11rem, 46vw);
  height: 1px;
  margin: 0.45rem auto 0.55rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.rule::before,
.rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-lt);
  transform: translateY(-50%);
}

.rule::before { left: 0; }
.rule::after { right: 0; }

.hero-title h1 {
  margin: 0;
  color: var(--cream);
  line-height: 0.95;
  text-shadow: 0 2px 18px rgba(8, 16, 28, 0.45);
}

.line-ital,
.line-messiah { display: block; }

.line-ital {
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.85rem, 8.2vw, 3.5rem);
  letter-spacing: -0.01em;
}

.line-messiah {
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.45rem, 11vw, 4.7rem);
  margin-top: 0.06em;
  letter-spacing: -0.02em;
}

.hero-more {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: var(--cream);
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-size: clamp(0.95rem, 3.3vw, 1.15rem);
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(8, 16, 28, 0.55);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0.7rem 0.4rem;
}

.card {
  position: relative;
  width: min(36rem, 100%);
  margin: 5.4rem auto 0;
  padding: 3.5rem 1.05rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.cameo {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(6.4rem, 26vw, 8.4rem);
  transform: translate(-50%, -52%);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}

.cameo img { width: 100%; height: auto; }

.details {
  text-align: center;
  margin-bottom: 1.15rem;
}

.details p { margin: 0; }

.when {
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  color: var(--gold-lt);
  font-size: clamp(1.55rem, 6.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.where {
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  color: var(--cream);
  font-size: clamp(1.45rem, 6vw, 2.1rem);
  line-height: 1.15;
  margin-top: 0.4rem !important;
}

.addr {
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  color: var(--cream);
  font-size: clamp(1.08rem, 4.3vw, 1.38rem);
  margin-top: 0.22rem !important;
  line-height: 1.25;
}

.free {
  font-family: "Cinzel", "Palatino Linotype", Palatino, serif;
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(1.18rem, 4.8vw, 1.55rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.7rem !important;
}

.form-title {
  margin: 0 0 0.4rem;
  text-align: center;
  font-family: "Cinzel", "Palatino Linotype", Palatino, serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

.form-sub {
  margin: 0 0 0.95rem;
  text-align: center;
  color: var(--cream);
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-size: clamp(0.92rem, 3vw, 1.05rem);
  line-height: 1.4;
}

.field { margin-bottom: 0.7rem; }

.row {
  display: grid;
  grid-template-columns: 1fr 7.2rem;
  gap: 0.6rem;
}

label,
.consent-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  margin-bottom: 0.28rem;
  color: var(--cream);
}

.optional {
  font-weight: 500;
  color: rgba(255, 248, 236, 0.72);
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(212, 175, 80, 0.55);
  border-radius: 8px;
  appearance: none;
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder {
  color: #6b5e4e;
}

input[aria-invalid="true"] {
  border-color: #c44;
  box-shadow: 0 0 0 2px rgba(196, 68, 68, 0.25);
}

.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.9rem 0 1rem;
}

.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--gold);
}

.consent-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 248, 236, 0.9);
}

.err {
  display: none;
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--error);
}

.err.on { display: block; }

.form-error {
  display: none;
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.7rem;
  background: rgba(120, 24, 24, 0.45);
  border: 1px solid rgba(255, 201, 184, 0.4);
  border-radius: 6px;
  color: var(--error);
  font-size: 0.88rem;
}

.form-error.on { display: block; }

button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--burgundy);
  font-family: "Cinzel", "Palatino Linotype", Palatino, serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: var(--gold-lt);
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

.thanks {
  text-align: center;
  padding: 0.2rem 0.2rem 0.6rem;
}

.thanks h2 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  color: var(--gold-lt);
}

.thanks p {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--cream);
}

.thanks .again {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--gold-lt);
}

.site-footer {
  text-align: center;
  padding: 0.9rem 1rem 1.2rem;
  font-size: 0.78rem;
  color: rgba(255, 248, 236, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.site-footer p { margin: 0.2rem 0; }

.site-footer nav { margin-top: 0.3rem; }

.site-footer a { color: var(--gold-lt); }

/* ---------- Legal pages ---------- */
body.legal {
  background: #111014;
  color: var(--cream);
}

.legal-top {
  position: relative;
  min-height: 11rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 1.2rem 1rem 1.4rem;
}

.legal-top .hero-bg { position: absolute; }

.legal-top .hero-bg img,
.legal-top .hero-bg picture,
.legal-top .hero-bg picture img {
  object-position: center 20%;
}

.legal-brand {
  position: relative;
  z-index: 1;
}

.legal-brand .eyebrow { font-size: 0.78rem; letter-spacing: 0.22em; }

.legal-brand h1 {
  margin: 0.35rem 0 0;
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  color: var(--cream);
  line-height: 1.1;
}

.legal-wrap {
  width: min(42rem, calc(100% - 1.6rem));
  margin: -0.6rem auto 2rem;
  position: relative;
  z-index: 1;
  background: rgba(18, 14, 12, 0.94);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.4rem 1.15rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.legal-wrap h1,
.legal-wrap h2 {
  font-family: "Playfair Display", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  color: var(--gold-lt);
}

.legal-wrap > h1 {
  margin: 0 0 0.3rem;
  font-size: 1.7rem;
  font-style: normal;
}

.effective {
  margin: 0 0 1.1rem;
  color: rgba(255, 248, 236, 0.7);
  font-size: 0.88rem;
}

.legal-wrap h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.2rem;
  font-style: normal;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 248, 236, 0.92);
}

.legal-wrap p { margin: 0 0 0.75rem; }

.legal-wrap ul { margin: 0 0 0.75rem; padding-left: 1.2rem; }

.legal-wrap li { margin: 0.25rem 0; }

.legal-wrap .back {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .hero-title { padding-top: 1.5rem; }
  .card { padding: 3.8rem 1.8rem 1.6rem; margin-top: 5.8rem; }
  .row { grid-template-columns: 1fr 8rem; }
  .legal-wrap { padding: 2rem 2.1rem 2.4rem; }
}

@media (min-width: 900px) {
  .page { max-width: 56rem; margin: 0 auto; }
  .hero-bg { position: fixed; }
  .line-ital { font-size: 3.4rem; }
  .line-messiah { font-size: 4.6rem; }
}

.consent-email { margin-top: 0.4rem; }
.consent-email .consent-label { font-size: 0.9rem; font-weight: 600; }

.consent-sms .consent-label { font-size: 0.82rem; }
.consent-sms .program { font-size: 0.95rem; font-weight: 700; color: var(--gold-lt); }
