/* Hold the Pattern — Coming Soon Landing Page
   Palette derived from the brand logo suite:
   Midnight #0d1e3f · Hearth #a67250 · Parchment #ece5db */

:root {
  --midnight: #0d1e3f;
  --midnight-soft: #16294f;
  --hearth: #a67250;
  --hearth-dark: #8a5c3d;
  --hearth-darker: #6f4a30;
  --parchment: #ece5db;
  --parchment-dark: #ddd3c0;
  --white: #ffffff;
  --black: #000000;
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1180px;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Stop iOS Safari/Chrome from auto-inflating text/element sizing
     (independent of the auto-zoom-on-input-focus behavior). */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--midnight);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hearth-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-body);
}

.btn-primary {
  /* --hearth alone is under the 4.5:1 AA text-contrast threshold with white
     button labels (~4.08:1) — use --hearth-dark as the default fill instead
     and reserve plain --hearth for decorative, non-text-bearing accents. */
  background: var(--hearth-dark);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--hearth-darker);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Reveal-on-scroll (respects reduced motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--parchment);
  padding: 56px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--parchment) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, var(--parchment) 0 1px, transparent 1px 34px);
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-logotype {
  height: clamp(30px, 6vw, 46px);
  width: auto;
  max-width: 68vw;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--hearth);
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin: 14px 0 20px;
  color: var(--white);
}

.hero-copy p.tagline {
  font-size: 1.1rem;
  color: var(--parchment-dark);
  max-width: 520px;
  margin-bottom: 24px;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 229, 219, 0.1);
  border: 1px solid rgba(236, 229, 219, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.launch-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hearth);
}

.host-credential {
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--parchment-dark);
}

.host-credential strong {
  color: var(--white);
}

/* Hero dual-portrait visual */
.hero-visual {
  position: relative;
}

.hero-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-photo-pair figure {
  margin: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--midnight-soft);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

.hero-photo-pair .photo-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hero-photo-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-photo-pair figcaption {
  background: var(--hearth-dark);
  color: var(--white);
  text-align: center;
  padding: 11px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---------- Verse band ---------- */
.verse-band {
  position: relative;
  overflow: hidden;
  background: var(--midnight-soft);
  color: var(--parchment);
  padding: 72px 0;
  text-align: center;
  border-top: 1px solid rgba(236, 229, 219, 0.12);
  border-bottom: 1px solid rgba(236, 229, 219, 0.12);
}

.verse-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--parchment) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, var(--parchment) 0 1px, transparent 1px 34px);
}

.verse-band-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.verse-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--hearth);
  opacity: 0.6;
  margin-bottom: -6px;
}

.verse-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  margin: 0 auto 22px;
  color: var(--white);
}

.verse-rule {
  display: block;
  width: 52px;
  height: 2px;
  background: var(--hearth);
  margin: 0 auto 16px;
  opacity: 0.8;
}

.verse-citation {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hearth);
}

/* ---------- Email form ---------- */
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  flex-wrap: wrap;
}

.signup-form input[type="email"] {
  /* Without this, iOS Safari/Chrome render their own native control
     chrome instead of respecting our padding/border-radius below —
     and that native chrome scales with the phone's system text-size
     (Dynamic Type) setting, which can look "huge" independent of any
     font-size we set here. */
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(236, 229, 219, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  /* Must stay >= 16px — iOS Safari/Chrome auto-zooms the page on focus
     for any input with a smaller computed font-size. */
  font-size: 16px;
}

.hero .signup-form input[type="email"]::placeholder {
  color: rgba(236, 229, 219, 0.55);
}

.hero .signup-form input[type="email"]:focus-visible {
  outline: 2px solid var(--hearth);
  outline-offset: 2px;
}

.signup-note {
  font-size: 0.78rem;
  color: rgba(236, 229, 219, 0.6);
  margin-top: 10px;
  max-width: 480px;
}

.signup-note a {
  text-decoration: underline;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 1.2em;
}

.form-status[data-state="success"] {
  color: #7fd99a;
}

.form-status[data-state="error"] {
  color: #ff9b8a;
}

.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* honeypot field, hidden from sighted users and screen readers */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* section shells */
.section {
  padding: 88px 0;
}

.section-light {
  background: var(--parchment);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 10px 0 14px;
}

.section-header p {
  color: var(--midnight-soft);
  opacity: 0.85;
}

/* ---------- About / premise ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-copy p {
  font-size: 1.05rem;
  color: var(--midnight-soft);
}

.artwork-square {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--midnight) 0%, var(--midnight-soft) 45%, var(--hearth) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--parchment);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(13, 30, 63, 0.35);
}

.artwork-square::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(45deg, var(--parchment) 0 1px, transparent 1px 28px);
}

.artwork-square img {
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.artwork-square span {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Hosts ---------- */
.hosts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.host-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px -24px rgba(13, 30, 63, 0.3);
}

.host-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--midnight);
}

.host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.host-body {
  padding: 26px 26px 30px;
}

.host-body h3 {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.host-title {
  color: var(--hearth-dark);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.host-bio {
  font-size: 0.94rem;
  color: var(--midnight-soft);
}

.host-link {
  margin-top: 12px;
  font-size: 0.88rem;
}

.host-link a {
  color: var(--hearth-dark);
  font-weight: 700;
}

.host-link a:hover,
.host-link a:focus-visible {
  text-decoration: underline;
}

.rotating-host-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--midnight-soft);
  opacity: 0.85;
}

/* ---------- Trailer ---------- */
.section-dark {
  background: var(--midnight);
  color: var(--parchment);
}

.section-dark .section-header p {
  color: var(--parchment-dark);
}

.yt-frame {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.6);
}

.yt-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-frame .yt-thumb-pattern {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.32) 0%, rgba(10, 10, 10, 0.18) 40%, rgba(10, 10, 10, 0.55) 100%);
}

.yt-frame .yt-thumb-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, var(--parchment) 0 1px, transparent 1px 30px);
}

.yt-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 58px;
  background: #e62117;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.yt-play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--white);
  margin-left: 4px;
}

.yt-chrome {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
}

/* ---------- Second signup + social ---------- */
.signup-band {
  background: var(--hearth);
  color: var(--white);
  text-align: center;
}

.signup-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.signup-band .signup-form {
  margin: 24px auto 0;
  justify-content: center;
}

.signup-band .signup-form input[type="email"] {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.signup-band .signup-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.signup-band .btn-primary {
  background: var(--midnight);
}

.signup-band .btn-primary:hover,
.signup-band .btn-primary:focus-visible {
  background: var(--midnight-soft);
}

.signup-band .signup-note {
  color: rgba(255, 255, 255, 0.75);
  margin: 12px auto 0;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 30px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.32);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* ---------- Legal pages (privacy, terms, etc.) ---------- */
.legal-header {
  background: var(--midnight);
  color: var(--parchment);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

.legal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--parchment) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, var(--parchment) 0 1px, transparent 1px 34px);
}

.legal-header-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.legal-logo img {
  width: 30px;
  height: 30px;
}

.legal-logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--white);
}

.legal-header .back-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--parchment-dark);
  text-decoration: none;
}

.legal-header .back-link:hover,
.legal-header .back-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.legal .container {
  max-width: 820px;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px -24px rgba(13, 30, 63, 0.3);
  padding: 48px 56px 56px;
}

.legal-card h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  margin: 10px 0 10px;
  color: var(--midnight);
}

.legal-card .updated {
  color: var(--hearth-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.legal-card h2 {
  font-size: 1.2rem;
  color: var(--midnight);
  margin: 34px 0 12px;
}

.legal-card p,
.legal-card li {
  color: var(--midnight-soft);
  margin-bottom: 12px;
}

.legal-card a {
  color: var(--hearth-dark);
  font-weight: 700;
}

.legal-card .placeholder-note {
  background: rgba(166, 114, 80, 0.12);
  border: 1px solid rgba(166, 114, 80, 0.3);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--midnight-soft);
  margin: 8px 0 32px;
}

@media (max-width: 620px) {
  .legal-card {
    padding: 36px 24px 44px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--midnight);
  color: var(--parchment-dark);
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}

footer .footer-logo {
  width: 30px;
  height: 30px;
  margin: 0 auto 14px;
  opacity: 0.85;
}

footer a {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .hosts-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-photo-pair {
    max-width: 420px;
    margin: 0 auto;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .signup-form {
    flex-direction: column;
  }

  .signup-form input[type="email"] {
    /* flex: 1 1 240px was written for row layout, where 240px is a
       width basis. In column layout (this breakpoint) that same value
       becomes a HEIGHT basis instead, ballooning the input. */
    flex: none;
    width: 100%;
  }

  .signup-form .btn-primary {
    width: 100%;
  }
}
