/* See It First — The Chosen, Season 6
   The Hope Community · Plant City
   Palette from the title card: night navy, cream, terracotta */

:root {
  --navy: #0b1014;
  --navy-2: #12191e;
  --navy-3: #1c252c;
  --cream: #f3eadc;
  --cream-soft: #d8ccb8;
  --terracotta: #c56b3c;
  --terracotta-deep: #a3542c;
  --gold: #d4b27a;
  --gold-dim: rgba(196, 160, 106, 0.45);
  --ink: #0b1014;
  --max: 46rem;
  --max-wide: 68rem;
  --pad: clamp(1.25rem, 4.5vw, 2.5rem);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Figtree", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.35rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cream);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
}

a:hover {
  color: #fff;
  text-decoration-color: var(--terracotta);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.skip:focus {
  top: 0.75rem;
}

/* Atmosphere: a quiet dawn glow behind the page, not a SaaS gradient */
.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, rgba(197, 107, 60, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 30% at 80% 100%, rgba(196, 160, 106, 0.05), transparent 60%);
}

.page {
  position: relative;
  z-index: 1;
}

/* Header — quiet. Church site lives in the footer. */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 0.85rem var(--pad) 0.7rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.logo {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 3.5rem;
  width: auto;
  mix-blend-mode: screen;
}

.brand {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

.welcome-mark {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
}

/* Hero */
.hero {
  padding: 0.5rem 0 0;
}

.poster {
  margin: 0;
  width: 100%;
  background: #080c0e;
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero-copy {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad) 0.5rem;
  text-align: center;
}

.kicker {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.4rem, 8.6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero-copy h1 em {
  display: block;
  margin-top: 0.2em;
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
  font-size: 0.72em;
  letter-spacing: 0;
}

.rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin: 1.15rem auto 1.2rem;
  background: var(--gold);
  border: 0;
}

.when-where {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: var(--cream);
}

.when-where span {
  white-space: nowrap;
}

.dot {
  color: var(--gold);
  padding: 0 0.35em;
  font-weight: 400;
}

.lede {
  margin: 1.15rem 0 0;
  color: var(--cream-soft);
  font-size: 1.25rem;
  line-height: 1.7;
}

.free-note {
  display: inline-block;
  margin: 1.15rem 0 0;
  padding: 0.28rem 0.8rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

/* Video */
.teaser {
  max-width: var(--max-wide);
  margin: 2.25rem auto 0;
  padding: 0 var(--pad);
}

.teaser h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(196, 160, 106, 0.22);
  overflow: hidden;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--cream-soft);
}

/* Shared section shell */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--pad) 0;
}

.section h2 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.95rem, 5vw, 2.75rem);
  font-weight: 550;
  line-height: 1.2;
  text-align: center;
}

.section p {
  margin: 0 0 1rem;
  color: var(--cream-soft);
}

.section p:last-child {
  margin-bottom: 0;
}

/* Evening flow */
.flow {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.flow li {
  position: relative;
  padding: 1.2rem 1.2rem 1.25rem 1.2rem;
  background: var(--navy-2);
  border: 1px solid rgba(196, 160, 106, 0.16);
  border-left: 3px solid var(--terracotta);
}

.flow .step {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.flow h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 550;
  color: var(--cream);
}

.flow p {
  margin: 0;
  font-size: 1.12rem;
}

.extras {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}

/* Practicals */
.facts {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.facts li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(196, 160, 106, 0.18);
}

.facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts dt,
.facts .label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts .value {
  color: var(--cream);
  font-size: 1.28rem;
  margin: 0;
}

.facts a {
  color: var(--cream);
}

.guess {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--cream-soft);
}

/* Welcome */
.welcome-block {
  text-align: center;
}

.welcome-block h2 {
  font-style: italic;
  font-weight: 500;
}

.welcome-block .amen {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.2rem;
}

/* CTA */
.cta {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 2rem var(--pad) 0.5rem;
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.15rem);
  font-weight: 550;
}

.cta .sub {
  margin: 0 0 1.5rem;
  color: var(--cream-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-primary:hover {
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold-dim);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: #fff;
  text-decoration: none;
}

.quiet {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  color: var(--cream-soft);
}

.quiet a {
  color: var(--cream);
}

/* Footer */
.site-footer {
  margin-top: 3.5rem;
  padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid rgba(196, 160, 106, 0.18);
  text-align: center;
}

.site-footer p {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--cream-soft);
}

.site-footer .hope {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.05rem;
}

.site-footer a {
  color: var(--cream-soft);
}

.site-footer .legal {
  margin-top: 1.1rem;
  font-size: 0.8125rem;
  color: #9a8e7c;
}

@media (min-width: 720px) {
  body {
    font-size: 1.3125rem;
  }

  .logo img {
    height: 4.25rem;
  }

  .welcome-mark {
    font-size: 1.28rem;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-copy {
    padding-top: 2.6rem;
  }

  .teaser {
    margin-top: 2.75rem;
  }

  .lede {
    font-size: 1.35rem;
  }

  .when-where {
    font-size: 1.32rem;
  }
}

.section.night {
  max-width: var(--max-wide);
}

@media (min-width: 960px) {
  .poster {
    max-width: var(--max-wide);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(196, 160, 106, 0.18);
  }

  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .flow li {
    border-left: 1px solid rgba(196, 160, 106, 0.16);
    border-top: 3px solid var(--terracotta);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero-cta {
  margin: 1.5rem 0 0;
}

.hero-cta .btn {
  min-width: 12.5rem;
}

/* Save-a-seat panel */
.seat-panel {
  position: relative;
  scroll-margin-top: 1.25rem;
  margin: 0 auto 1.6rem;
  padding: 1.35rem 1.2rem 1.45rem;
  max-width: 26.5rem;
  text-align: left;
  background: var(--navy-2);
  border: 1px solid rgba(196, 160, 106, 0.22);
}

.seat-form {
  display: grid;
  gap: 0.95rem;
}

.seat-form .field {
  display: grid;
  gap: 0.35rem;
}

.seat-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.seat-form input[type="text"],
.seat-form input[type="email"] {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  background: var(--navy-3);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.4;
  caret-color: var(--cream);
}

.seat-form input::placeholder {
  color: var(--cream-soft);
  opacity: 0.7;
}

.seat-form input:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-color: var(--gold);
}

.seat-form .btn {
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
}

.seat-form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.seat-status {
  margin: 0;
  min-height: 1.45em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--cream);
}

.seat-status.is-error {
  font-style: normal;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--terracotta);
}

/* Visually hidden honeypot — not display:none, so naive bots still fill it */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.actions-secondary {
  margin-top: 0.15rem;
}

.actions-secondary .btn {
  min-height: 2.7rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

@media (min-width: 720px) {
  .seat-panel {
    padding: 1.55rem 1.45rem 1.6rem;
  }

  .seat-form input[type="text"],
  .seat-form input[type="email"] {
    font-size: 1.2rem;
  }

  .seat-status {
    font-size: 1.2rem;
  }
}
