/* Moscow Faith Conference — design system
   Brand pulled from the event flyer: golden hour amber, cream and warm white,
   deep espresso brown, near black. Motifs of light: lanterns, glowing book. */

/* Local brand fonts */
@font-face {
  font-family: "Coolvetica Heavy Comp";
  src: url("../fonts/CoolveticaHeavyComp.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Photograph Signature";
  src: url("../fonts/PhotographSignature.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #c8922e;
  --gold-bright: #e8b552;
  --amber: #d99a3a;
  --amber-deep: #a9701d;
  --cream: #f6ecd9;
  --warm-white: #fbf6ec;
  --espresso: #2a1c10;
  --near-black: #140d07;
  --ink: #1c140c;
  --muted: #7a6a52;
  --line: rgba(42, 28, 16, 0.14);
  --card: #fffaf0;
  --shadow-soft: 0 22px 60px -28px rgba(42, 28, 16, 0.45);
  --shadow-lift: 0 30px 80px -32px rgba(42, 28, 16, 0.5);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.94;
  text-transform: uppercase;
  margin: 0;
}
.script {
  font-family: var(--font-script);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--amber-deep);
}
h2.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.02;
  margin: 0.4rem 0 0;
}
p { margin: 0 0 1.1rem; }
.lede { font-size: 1.18rem; color: #3a2c1c; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--amber-deep));
  color: #2a1c10;
  box-shadow: 0 16px 40px -16px rgba(201, 146, 46, 0.75);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 54px -18px rgba(201, 146, 46, 0.9); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 236, 217, 0.5);
}
.btn-ghost:hover { background: rgba(246, 236, 217, 0.12); transform: translateY(-3px); }
.btn-dark {
  background: var(--near-black);
  color: var(--cream);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(20, 13, 7, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(246, 236, 217, 0.08);
  padding: 12px 24px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark .lantern { width: 26px; height: 26px; flex: none; }
.brand-logo { height: 60px; width: auto; display: block; }
.brand-logo--footer { height: 78px; }
@media (max-width: 540px) { .brand-logo { height: 48px; } }
.brand-mark b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
}
/* Coolvetica Heavy Compressed, used only for the header wordmark */
.site-header .brand-mark b {
  font-family: "Coolvetica Heavy Comp", var(--font-display);
  letter-spacing: 0.04em;
  font-size: 3.15rem;
  line-height: 1;
  font-weight: 400;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .btn { padding: 0.6rem 1.3rem; font-size: 0.8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -4;
  /* Background scene (speaker removed) with a left-to-right dark wash: opaque left
     so the headline stays legible, fading to near clear across to the right third. */
  background:
    linear-gradient(90deg,
      #140d07 0%,
      #140d07 10%,
      rgba(20, 13, 7, 0.90) 25%,
      rgba(20, 13, 7, 0.75) 40%,
      rgba(20, 13, 7, 0.55) 60%,
      rgba(20, 13, 7, 0.30) 80%,
      rgba(20, 13, 7, 0) 100%),
    url("../img/hero-bg.jpg");
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat, no-repeat;
}
/* Mobile: frame the speaker on the right so at most his shoulder is cropped. */
@media (max-width: 700px) {
  .hero__bg { background-position: center, 84% center; }
}
.hero__glow {
  position: absolute; z-index: -3;
  width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  right: -6vw; top: 4vh;
  background: radial-gradient(circle, rgba(255, 214, 130, 0.5), rgba(232, 181, 82, 0.12) 45%, transparent 68%);
  filter: blur(8px);
  border-radius: 50%;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.08); opacity: 1; } }

/* Speaker foreground: sits above the wash so he stays vibrant, and eases in
   shortly after the page loads. */
.hero__speaker { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero__speaker img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  opacity: 0;
  transform: translateY(28px) scale(1.03);
  animation: speakerIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
@keyframes speakerIn { to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero__speaker img { object-position: 84% center; } }
@media (prefers-reduced-motion: reduce) {
  .hero__speaker img { opacity: 1; transform: none; animation: none; }
}

.hero__particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__domes {
  position: absolute; right: 0; bottom: 0; z-index: -1;
  width: min(46vw, 620px);
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, transparent);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, transparent);
}
.hero__inner { padding-top: 96px; padding-bottom: 60px; }
.hero__eyebrow { color: var(--gold-bright); }
.hero__title { margin: 0.6rem 0 0; }
.hero__title .script {
  display: block;
  font-family: "Photograph Signature", var(--font-script);
  font-size: clamp(3.8rem, 13vw, 9rem);
  color: var(--gold-bright);
  line-height: 1.05;
  text-shadow: 0 4px 40px rgba(232, 181, 82, 0.45);
}
/* Anticipate rendered from the font's own outlines as SVG, so it looks
   identical on every browser and OS (macOS Core Text was adding a stray
   terminal flourish to the live-text version). */
.hero__wordmark {
  display: block;
  width: clamp(280px, 60vw, 760px);
  height: auto;
  margin: 0.3rem 0 0.2rem;
  filter: drop-shadow(0 6px 42px rgba(232, 181, 82, 0.4));
}
.hero__support { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 34ch; color: var(--cream); margin-top: 1.2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem;
  margin: 1.8rem 0 2.2rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  font-weight: 600;
}
.hero__meta div { display: flex; align-items: center; gap: 0.6rem; }
.hero__meta .dot { color: var(--gold-bright); }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(246, 236, 217, 0.7);
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-hint .line { width: 1px; height: 34px; background: linear-gradient(var(--gold-bright), transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Sections ---------- */
section { position: relative; z-index: 2; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--cream { background: var(--warm-white); }
.section--soft { background: linear-gradient(180deg, #fbf6ec, #f3e7d2); }
.section--dark { background: linear-gradient(165deg, #241708, #140d07); color: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section--dark .eyebrow { color: var(--gold-bright); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.about-card .book-glow {
  position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,181,82,0.35), transparent 70%);
}
.stat-row { display: flex; gap: 2.4rem; margin-top: 1.6rem; flex-wrap: wrap; }
.stat b { font-family: var(--font-display); font-size: 2rem; color: var(--amber-deep); display: block; line-height: 1; }
.stat span { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Expect cards */
.expect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.expect-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.expect-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.expect-card .ic { width: 46px; height: 46px; margin-bottom: 1.1rem; color: var(--amber-deep); }
.expect-card h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.15rem; margin: 0 0 0.5rem; }
.expect-card p { color: #4a3a28; margin: 0; }

/* Speaker */
.speaker-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; }
.speaker-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(246, 236, 217, 0.14);
}
.speaker-photo img { width: 100%; }
.speaker-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,13,7,0.5), transparent 45%);
}
.speaker-name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem,4vw,3rem); line-height: 1; margin: 0.4rem 0 0.2rem; }
.badge {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700;
  padding: 0.35rem 0.85rem; border-radius: 100px;
  border: 1px solid rgba(232,181,82,0.5); color: var(--gold-bright);
}
.bio-block {
  margin-top: 1.4rem; padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--gold); background: rgba(246,236,217,0.06);
  border-radius: 0 12px 12px 0;
}

/* Programme */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.prog-day {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}
.prog-day .day-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-deep); font-size: 0.82rem; font-weight: 700; }
.prog-day h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin: 0.4rem 0 1rem; }
.session-list { display: flex; flex-direction: column; gap: 0.7rem; }
.session {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 0.85rem 1rem;
  background: #fffdf8; border: 1px solid var(--line); border-radius: 12px;
}
.session .time {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--amber-deep); min-width: 62px; letter-spacing: 0.01em;
}
.session .name { font-weight: 600; color: var(--espresso); }
.venue-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; margin: 0 0 0.4rem; }
.venue-address { color: #4a3a28; font-size: 1.05rem; margin: 0 0 0.4rem; line-height: 1.5; }

/* Placeholder chip */
.placeholder {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: #8a6d2e; background: rgba(216, 154, 58, 0.12);
  border: 1px dashed rgba(169, 112, 29, 0.55);
  padding: 0.5rem 0.85rem; border-radius: 10px;
}
.placeholder::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.section--dark .placeholder { color: var(--gold-bright); background: rgba(232,181,82,0.1); border-color: rgba(232,181,82,0.4); }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 5vw, 4.2rem);
  overflow: hidden;
  isolation: isolate;
}
.cta-register {
  background: linear-gradient(150deg, #3a2610, #140d07);
  color: var(--cream);
  border: 1px solid rgba(232,181,82,0.2);
}
.cta-register::after {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -30%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,181,82,0.4), transparent 68%);
}
.cta-give {
  background: linear-gradient(150deg, #f3e3c4, #e6cf9f);
  color: var(--espresso);
  border: 1px solid rgba(169,112,29,0.25);
}
.cta-band h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.02; margin: 0.4rem 0 0.8rem; }
.cta-band .fee-pill {
  display: inline-block; margin-top: 1rem; padding: 0.5rem 1rem;
  border-radius: 100px; font-size: 0.86rem; letter-spacing: 0.04em;
  background: rgba(246,236,217,0.12); border: 1px solid rgba(246,236,217,0.2);
}
.cta-give .fee-pill { background: rgba(42,28,16,0.08); border-color: rgba(42,28,16,0.15); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

/* Venue */
.venue-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center;
}
.map-placeholder {
  aspect-ratio: 16/11; border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(169,112,29,0.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #f3e7d2, #e9d7b4);
  border: 1px dashed rgba(169,112,29,0.5);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #8a6d2e;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.4rem 2.4rem 1.4rem 0; position: relative;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em;
  font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.faq-q .plus { position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform 0.3s var(--ease); color: var(--amber-deep); font-size: 1.4rem; }
.faq-item.open .plus { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 0 1.4rem; color: #4a3a28; margin: 0; }

/* Footer */
.site-footer { background: var(--near-black); color: var(--cream); padding: 4rem 0 2.4rem; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(246,236,217,0.12); }
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--gold-bright); margin: 0 0 1rem; }
.site-footer a { color: rgba(246,236,217,0.8); text-decoration: none; display: block; margin-bottom: 0.5rem; font-size: 0.92rem; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: 0.82rem; color: rgba(246,236,217,0.6); flex-wrap: wrap; gap: 1rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Forms / flow pages ---------- */
.flow-page { min-height: 100vh; background: linear-gradient(180deg, #fbf6ec, #f1e4cd); }
.flow-nav { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.flow-nav a { text-decoration: none; color: var(--espresso); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.flow-wrap { max-width: 980px; margin: 0 auto; padding: 20px 24px 80px; }
.flow-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.4rem; align-items: start; }
.flow-header .script { font-size: 2.6rem; color: var(--amber-deep); display: block; line-height: 1; }
.flow-header h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem,5vw,3rem); margin: 0.2rem 0 0.6rem; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.45rem; color: var(--espresso); }
.field label .req { color: var(--amber-deep); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fffdf8; font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(216,154,58,0.18);
}
.field input.invalid { border-color: #c0492b; box-shadow: 0 0 0 3px rgba(192,73,43,0.14); }
.field .error-msg { color: #c0492b; font-size: 0.82rem; margin-top: 0.35rem; display: none; }
.field.show-error .error-msg { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; background: #fffdf8; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--espresso); }
.stepper button:hover { background: rgba(216,154,58,0.12); }
.stepper input { width: 60px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); height: 46px; font-size: 1.05rem; font-weight: 600; background: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; font-size: 0.92rem; color: var(--espresso); }
.checkbox input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--amber-deep); flex: none; }

/* Summary rail */
.summary { position: sticky; top: 20px; }
.summary .line { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; }
.summary .total .amt { font-family: var(--font-display); font-size: 2.4rem; color: var(--amber-deep); line-height: 1; }
.summary .note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }
.trust { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); margin-top: 1.2rem; }

/* Amount chips */
.amount-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-bottom: 1.2rem; }
.chip {
  padding: 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fffdf8;
  font-family: var(--font-display); font-size: 1.1rem; cursor: pointer; text-align: center; transition: 0.2s;
  color: var(--espresso);
}
.chip:hover { border-color: var(--amber); }
.chip.active { border-color: var(--amber-deep); background: linear-gradient(135deg, #fbeecb, #f3ddb0); box-shadow: 0 8px 22px -12px rgba(201,146,46,0.6); }

/* State pages */
.state-wrap { max-width: 640px; margin: 0 auto; padding: 8vh 24px; text-align: center; }
.state-icon { width: 96px; height: 96px; margin: 0 auto 1.8rem; }
.state-wrap h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem,5vw,3rem); margin: 0 0 1rem; }
.state-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow-soft); }
.spinner { width: 48px; height: 48px; border: 4px solid rgba(169,112,29,0.2); border-top-color: var(--amber-deep); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 1.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast for mock mode */
.mock-flag {
  position: fixed; bottom: 16px; left: 16px; z-index: 60;
  background: rgba(20,13,7,0.9); color: var(--gold-bright);
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 0.85rem; border-radius: 100px; border: 1px solid rgba(232,181,82,0.35);
  backdrop-filter: blur(8px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .about-grid, .speaker-grid, .venue-card { grid-template-columns: 1fr; gap: 2.4rem; }
  .expect-grid, .prog-grid, .cta-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .hero__domes { width: 70vw; opacity: 0.6; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .amount-chips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .about-card, .prog-day { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
