/* The Loop / How to Stop Overthinking landing. Light + dark via data-theme.
   Local draft, not for publish. Reuses fonts and images via the assets/ symlink. */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Light (default). CTA #C0562A keeps white label text at 4.56:1 (WCAG AA). */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --page: #F4EFE6;
  --page-text: #1A2330;
  --muted: #3D4752;
  --soft: #3D4752;
  --header-bg: #F4EFE6;
  --header-text: #1A2330;
  --hero-bg: #F4EFE6;
  --hero-media-bg: #E8DFD0;
  --hero-overlay: transparent;
  --hero-overlay-mobile: transparent;
  --more-bg: #1A2330;
  --more-text: #F4EFE6;
  --more-muted: #D9D0C3;
  --tick: #E08A4A;
  --highlight-bg: rgba(244, 239, 230, 0.08);
  --when-bg: rgba(244, 239, 230, 0.08);
  --when-border: rgba(244, 239, 230, 0.16);
  --form-bg: #F4EFE6;
  --form-text: #1A2330;
  --form-muted: #3D4752;
  --form-edge: transparent;
  --input-bg: #FFFFFF;
  --input-border: #DDD3C4;
  --input-text: #1A2330;
  --footer-bg: #F4EFE6;
  --footer-text: #3D4752;
  --line: rgba(26, 35, 48, 0.08);
  --sticky-bg: #1A2330;
  --sticky-text: #F4EFE6;
  --sticky-muted: #D9D0C3;
  --ty-bg: #F4EFE6;
  --ty-when-bg: #FFFFFF;
  --ty-when-border: #E2D8C8;
  --inbox-bg: #E8DFD0;
  --btn-ghost-color: #1A2330;
  --btn-ghost-border: #1A2330;
  --btn-ghost-hover-bg: #1A2330;
  --btn-ghost-hover-text: #F4EFE6;
  --toggle-border: rgba(26, 35, 48, 0.22);
  --orange: #C0562A;
  --orange-dark: #A34720;
  --white: #FFFFFF;
  --token-line: #C0562A;
  --more-token-line: #E08A4A;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --wrap: 44rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #0E141C;
  --page-text: #F4EFE6;
  --muted: #C9BFAF;
  --soft: #D9D0C3;
  --header-bg: #0E141C;
  --header-text: #F4EFE6;
  --hero-bg: #0E141C;
  --hero-media-bg: #1A2330;
  --hero-overlay: linear-gradient(90deg, rgba(14, 20, 28, 0.32) 0%, rgba(14, 20, 28, 0.08) 42%, rgba(14, 20, 28, 0.18) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(14, 20, 28, 0.12) 40%, rgba(14, 20, 28, 0.42) 100%);
  --more-bg: #1A2330;
  --more-text: #F4EFE6;
  --more-muted: #D9D0C3;
  --tick: #E08A4A;
  --highlight-bg: rgba(244, 239, 230, 0.06);
  --when-bg: rgba(244, 239, 230, 0.06);
  --when-border: rgba(244, 239, 230, 0.14);
  --form-bg: #222C3A;
  --form-text: #F4EFE6;
  --form-muted: #C9BFAF;
  --form-edge: rgba(244, 239, 230, 0.10);
  --input-bg: #0B1016;
  --input-border: #6B7686;
  --input-text: #F4EFE6;
  --footer-bg: #0E141C;
  --footer-text: #C9BFAF;
  --line: rgba(244, 239, 230, 0.10);
  --sticky-bg: #0E141C;
  --sticky-text: #F4EFE6;
  --sticky-muted: #D9D0C3;
  --ty-bg: #0E141C;
  --ty-when-bg: #222C3A;
  --ty-when-border: rgba(244, 239, 230, 0.10);
  --inbox-bg: #222C3A;
  --btn-ghost-color: #F4EFE6;
  --btn-ghost-border: #D9D0C3;
  --btn-ghost-hover-bg: #F4EFE6;
  --btn-ghost-hover-text: #0E141C;
  --toggle-border: rgba(244, 239, 230, 0.22);
  --orange: #C0562A;
  --orange-dark: #A34720;
  --white: #FFFFFF;
  --token-line: #E08A4A;
  --more-token-line: #E08A4A;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--page-text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--page-text);
  color: var(--page);
  padding: 0.6rem 1rem;
  text-decoration: none;
  min-height: 48px;
}
.skip:focus-visible { top: 1rem; }

.token {
  border-bottom: 1px dashed var(--token-line);
  font-weight: 550;
}

.kicker {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  width: 3.5rem;
  height: 3px;
  margin: 1rem 0 1.25rem;
  background: var(--orange);
  border: 0;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 560;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  line-height: 1.12;
  color: var(--page-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0.8rem 1.5rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover, .btn:active { background: var(--orange-dark); color: var(--white); }
.btn:focus-visible { outline: 3px solid var(--page-text); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--btn-ghost-color);
  border: 1.5px solid var(--btn-ghost-border);
}
.btn-ghost:hover, .btn-ghost:active {
  background: var(--btn-ghost-hover-bg);
  color: var(--btn-ghost-hover-text);
  border-color: var(--btn-ghost-hover-bg);
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  color: var(--header-text);
}
.site-header-inner {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--header-text);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}
.host-lockup { font-size: 0.9375rem; color: var(--muted); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--toggle-border);
  border-radius: 4px;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
}
.theme-toggle svg { width: 20px; height: 20px; display: none; }
html[data-theme="light"] .theme-toggle .icon-moon,
html:not([data-theme]) .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 1.05fr) minmax(16rem, 0.95fr);
  min-height: calc(100svh - 3.5rem);
  background: var(--hero-bg);
  color: var(--page-text);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 4.25rem);
}
.hero-copy-inner { max-width: 36rem; }
.hero-media {
  position: relative;
  min-height: 100%;
  background: var(--hero-media-bg);
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  line-height: 1.16;
  color: var(--page-text);
}
.hero h1 .h1-cycle {
  display: block;
  margin-top: 0.14em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.18;
}
.hero-sub {
  margin: 0.85rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hooks {
  list-style: none;
  margin: 1.4rem 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.hooks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  line-height: 1.4;
}
.hooks li::before {
  content: "";
  flex: 0 0 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
}

.hero-lead { max-width: 34rem; }
.hero-meta {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-actions { margin-top: 1.5rem; }
.hero-byline {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.more {
  background: var(--more-bg);
  color: var(--more-text);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 3.5rem;
}
.more h2,
.more .kicker,
.more p,
.more label { color: var(--more-text); }
.more .kicker { color: var(--more-muted); }
.more .token {
  color: var(--more-text);
  border-bottom-color: var(--more-token-line);
}
.more h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.topics-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.topics-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 600;
  line-height: 1.35;
}
.topics-list .tick {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--tick);
}

.highlight {
  margin: 0 0 2rem;
  padding: 0.9rem 1.1rem;
  background: var(--highlight-bg);
  border-left: 3px solid var(--orange);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--more-text);
}

.when-card {
  margin: 0 0 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--when-bg);
  border: 1px solid var(--when-border);
}
.when-card .when-date {
  margin: 0 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--more-text);
}
.when-card .when-place {
  margin: 0;
  font-size: 0.95rem;
  color: var(--more-muted);
}

.urgency {
  margin: 0 0 1.5rem;
  font-weight: 500;
}

#register { scroll-margin-top: 1rem; }
#more { scroll-margin-top: 0.5rem; }

.reg-form {
  background: var(--form-bg);
  color: var(--form-text);
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--form-edge);
}
.reg-form h3 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: var(--form-text);
}
.reg-form p,
.reg-form label,
.reg-form .token { color: var(--form-text); }
.reg-form .form-intro,
.reg-form .consent,
.reg-form .form-note { color: var(--form-muted); }
.reg-form .consent a,
.reg-form .consent .token { color: var(--form-text); }

.form-intro { margin: 0 0 1.1rem; font-size: 0.95rem; }
.field { margin: 0 0 0.9rem; }
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 550;
  font-size: 0.95rem;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--input-text);
}
.field input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-color: var(--orange);
}

.consent { margin: 0.2rem 0 1.05rem; font-size: 0.875rem; }
.reg-form .btn { width: 100%; }
.form-note { margin: 0.75rem 0 0; font-size: 0.85rem; }

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--footer-text);
}
.footer-inner {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.15rem; }
.footer-links a {
  color: var(--footer-text);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.draft-flag { font-size: 0.8rem; }

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--sticky-bg);
  color: var(--sticky-text);
  border-top: 1px solid var(--line);
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
}
.sticky-cta .sticky-meta {
  font-size: 0.8rem;
  color: var(--sticky-muted);
  min-width: 0;
}
.sticky-cta .btn { flex: 0 0 auto; }
body.has-sticky-cta { padding-bottom: 5rem; }

/* Thank-you page */
.ty {
  min-height: calc(100svh - 3.5rem);
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
  background: var(--ty-bg);
  color: var(--page-text);
}
.ty h1 {
  margin: 0;
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
  color: var(--page-text);
}
.ty .lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5625rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0.85rem 0 0;
}
.ty .hero-sub { margin-top: 0.55rem; }
.ty .when-card {
  margin: 1.75rem 0 1.35rem;
  background: var(--ty-when-bg);
  border: 1px solid var(--ty-when-border);
}
.ty .when-card .when-date,
.ty .when-card .when-place { color: var(--page-text); }
.ty .when-card .when-place { color: var(--muted); }
.cal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}
.inbox {
  padding: 1rem 1.15rem;
  background: var(--inbox-bg);
  border: 1px solid var(--form-edge);
  border-left: 3px solid var(--orange);
  font-size: 1rem;
}
.inbox strong { font-weight: 600; }
.steps {
  margin: 1.75rem 0 0;
  padding: 0 0 0 1.25rem;
  color: var(--page-text);
}
.steps li { margin: 0 0 0.5rem; }

@media (max-width: 800px) {
  .sticky-cta:not([hidden]) { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-media {
    min-height: 0;
    height: min(62vh, 24rem);
    order: -1;
  }
  .hero-media::after { background: var(--hero-overlay-mobile); }
  .hero-copy { padding: 1.5rem 1.25rem 2.15rem; }
  .host-lockup { display: none; }
  .cal .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Minimal no-data preview: disclosure, legal pages, growing hero. */

.hero-minimal {
  min-height: calc(100svh - 3.5rem);
  align-items: stretch;
}
.hero-minimal .hero-copy {
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero-desc {
  margin: 0 0 0;
  max-width: 34rem;
  color: var(--page-text);
}
.hero-minimal .hero-lead {
  margin: 0.85rem 0 0;
}
.hero-minimal .hero-meta {
  margin: 0.55rem 0 0;
}
.hero-minimal .hero-actions {
  margin-top: 1.5rem;
}
.hero-minimal .hero-actions .btn {
  text-align: center;
  max-width: 100%;
  white-space: normal;
}

.disclosure {
  margin: 1.15rem 0 0;
  padding: 1.05rem 1.1rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  background: transparent;
  color: var(--page-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 34rem;
}
.disclosure p { margin: 0 0 0.9rem; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure strong { font-weight: 650; }
.disclosure cite,
.hero-desc cite {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 450;
}

.footer-minimal {
  display: grid;
  gap: 0.85rem 1.25rem;
  align-items: start;
  padding: 1.35rem 0 1.6rem;
}
.footer-minimal p {
  margin: 0;
  max-width: 52rem;
  line-height: 1.55;
}
.site-footer {
  padding: 1.35rem 0 1.6rem;
}

.legal-page {
  background: var(--page);
  color: var(--page-text);
  padding: clamp(2.25rem, 6vw, 4rem) 0 4rem;
  min-height: calc(100svh - 8.5rem);
}
.legal-page h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
}
.legal-page .kicker a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.legal-page .kicker a:hover { color: var(--page-text); }
.legal-page p {
  max-width: 40rem;
}
.legal-page code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 800px) {
  .hero-minimal {
    min-height: 0;
  }
  .hero-minimal .hero-actions .btn {
    width: 100%;
  }
  .sticky-cta .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
  }
}

/* Simple landing: copy + event photos, no form, no disclaimer box. */

body.simple { background: var(--page); }

.simple-hero {
  background: var(--hero-bg);
  padding: clamp(1.75rem, 4vw, 3rem) 0 0;
}
.simple-hero-copy { padding-bottom: 2rem; }
.simple-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.12;
  color: var(--page-text);
}
.simple-hero h1 .h1-cycle {
  display: block;
  margin-top: 0.12em;
  font-weight: 500;
}
.simple-hero .hero-lead {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 36rem;
}
.simple-hero .hero-byline {
  margin: 1.1rem 0 0;
  font-weight: 550;
  color: var(--page-text);
}
.simple-hero .hero-meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.simple-hero .hero-actions { margin-top: 1.5rem; }

.simple-hero-media {
  margin: 2.25rem 0 0;
  background: var(--hero-media-bg);
}
.simple-hero-media img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 40rem);
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.simple-body { background: var(--page); color: var(--page-text); }
.simple-section {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 0;
}
.simple-section:last-child { padding-bottom: clamp(2.5rem, 6vw, 4.25rem); }
.simple-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--page-text);
}
.simple-section p { max-width: 40rem; }

.simple-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}
.simple-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.45;
  font-weight: 500;
}
.simple-list li::before {
  content: "";
  flex: 0 0 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
}

.simple-photo {
  margin: 1.5rem auto 0;
}
.simple-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.wrap-wide {
  width: min(100% - 2rem, 58rem);
  margin-inline: auto;
}

.close-line {
  margin: 1.35rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--page-text);
}
.simple-close .hero-actions { margin-top: 1.5rem; }

.footer-quiet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}
.footer-quiet p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--footer-text);
}
.footer-quiet .footer-links a {
  font-size: 0.8rem;
  color: var(--footer-text);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-quiet .footer-links a:hover { color: var(--page-text); }

@media (max-width: 800px) {
  .simple-hero { padding-top: 1.5rem; }
  .simple-hero-media img { max-height: min(52vh, 22rem); }
  .sticky-cta .btn {
    white-space: nowrap;
    padding: 0.65rem 1rem;
  }
  .sticky-cta .sticky-meta {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}
@media (max-width: 800px) {
  .simple-hero .hero-actions .btn,
  .simple-close .hero-actions .btn { width: 100%; }
}

/* Final copy revision: eyebrow, long H1, secondary headline. */
.hero-eyebrow {
  margin: 0 0 1.15rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.simple-hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  line-height: 1.16;
}
.hero-subhead {
  margin: 0.9rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--page-text);
}
.simple-hero .hero-meta { margin-top: 1.15rem; }
.simple-hero .hero-byline { margin-top: 0.35rem; }
body.simple .site-footer { display: none; }
.simple-close { padding-bottom: clamp(2.5rem, 6vw, 4.25rem); }


/* Why Now title block at the very top of the hero. */
.why-now { margin: 0 0 1.75rem; max-width: 40rem; }
.why-now-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--page-text);
}
.why-now-sub {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--page-text);
}
.why-now-body {
  margin: 0.85rem 0 0;
  color: var(--page-text);
  max-width: 38rem;
}
.hero-eyebrow { display: none; }


/* Marketing hero: split banner, form-style card, no input fields. */

body.simple {
  --card-bg: #FFFFFF;
  --card-border: #E2D8C8;
  --card-shadow: 0 14px 36px rgba(26, 35, 48, 0.08);
}
html[data-theme="dark"] body.simple {
  --card-bg: #222C3A;
  --card-border: rgba(244, 239, 230, 0.12);
  --card-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.simple-hero {
  background: var(--hero-bg);
  padding: 0;
}
.simple-hero-banner {
  display: grid;
  grid-template-columns: minmax(22rem, 1.05fr) minmax(18rem, 0.95fr);
  align-items: stretch;
  min-height: min(42rem, calc(100svh - 3.5rem));
  width: 100%;
}
.simple-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 3.25rem);
}
.simple-hero-copy-inner {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 0 0;
}
.simple-hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: 1.14;
  color: var(--page-text);
}
.hero-subhead {
  margin: 0.85rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--page-text);
}
.simple-hero .hero-byline {
  margin: 0.85rem 0 0;
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--page-text);
}

.hero-form-card {
  margin: 1.5rem 0 0;
  padding: 1.4rem 1.35rem 1.35rem;
  background: var(--card-bg);
  color: var(--form-text);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  box-shadow: var(--card-shadow);
}
.hero-form-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--form-text);
}
.form-card-date {
  margin: 0.7rem 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--form-text);
}
.form-card-time,
.form-card-details {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--form-muted);
}
.hero-form-card .btn {
  width: 100%;
  margin-top: 1.15rem;
}

.simple-hero-media {
  position: relative;
  margin: 0;
  min-height: 100%;
  background: var(--hero-media-bg);
  overflow: hidden;
}
.simple-hero-media picture,
.simple-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
}
.simple-hero-media img {
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}
.simple-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

/* Why Now is now a body section, not a hero eyebrow. */
.simple-body .why-now {
  margin-inline: auto;
  margin-block: 0;
  max-width: none;
}
.simple-section h2.why-now-title {
  margin: 0 0 0.7rem;
}
.simple-body .why-now-sub {
  margin: 0;
  max-width: 40rem;
}
.simple-body .why-now-body {
  margin: 0.85rem 0 0;
  max-width: 40rem;
}

@media (max-width: 800px) {
  .simple-hero { padding: 0; }
  .simple-hero-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .simple-hero-media {
    order: -1;
    min-height: 0;
    height: min(52vh, 22rem);
  }
  .simple-hero-media::after { background: var(--hero-overlay-mobile); }
  .simple-hero-copy {
    padding: 1.5rem 1.25rem 2.15rem;
  }
  .simple-hero-copy-inner { max-width: none; }
  .simple-hero h1 {
    font-size: clamp(1.55rem, 6.4vw, 2.05rem);
  }
  .simple-close .hero-actions .btn { width: 100%; }
}


/* Consent banner, privacy notice, and page-bottom links. */

.consent-page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: 1.25rem 0 calc(1.5rem + env(safe-area-inset-bottom));
}
.consent-text-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: var(--footer-text);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.consent-text-link:hover { color: var(--page-text); }
.consent-text-link:focus-visible {
  outline: 2px solid var(--page-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--page);
  color: var(--page-text);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.10);
  padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
}
html[data-theme="dark"] .consent-banner {
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.36);
}
.consent-banner-inner {
  width: min(100%, 72rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}
.consent-banner-copy {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--page-text);
}
.consent-banner-copy .consent-text-link {
  font-size: inherit;
  color: var(--page-text);
  font-weight: 550;
}
.consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.consent-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 6.75rem;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--page-text);
  border-radius: 4px;
  background: transparent;
  color: var(--page-text);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
}
.consent-choice:hover,
.consent-choice:active {
  background: var(--page-text);
  color: var(--page);
}
.consent-choice:focus-visible {
  outline: 3px solid var(--page-text);
  outline-offset: 3px;
}

body.has-consent-banner { padding-bottom: 8.5rem; }
body.has-consent-banner .sticky-cta:not([hidden]) { display: none; }

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: rgba(26, 35, 48, 0.46);
}
.consent-modal[hidden] { display: none; }
html[data-theme="dark"] .consent-modal { background: rgba(0, 0, 0, 0.62); }
.consent-modal-panel {
  width: min(100%, 34rem);
  max-height: min(86vh, 40rem);
  overflow: auto;
  background: var(--card-bg, var(--page));
  color: var(--page-text);
  border: 1px solid var(--card-border, var(--line));
  border-radius: 6px;
  box-shadow: var(--card-shadow, 0 14px 36px rgba(26, 35, 48, 0.16));
  padding: 1.25rem 1.25rem 1.4rem;
}
.consent-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.consent-modal-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--page-text);
}
.consent-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -0.35rem -0.35rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--page-text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.consent-modal-close:hover { background: var(--line); }
.consent-modal-close:focus-visible {
  outline: 3px solid var(--page-text);
  outline-offset: 2px;
}
.consent-modal-body p {
  margin: 0 0 0.9rem;
  max-width: none;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--page-text);
}
.consent-modal-body p:last-child { margin-bottom: 0; }
.consent-modal-body a {
  color: var(--page-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.consent-modal-body a:hover { color: var(--orange); }
body.has-consent-modal { overflow: hidden; }

@media (max-width: 800px) {
  .consent-banner-inner { align-items: stretch; }
  .consent-banner-actions { width: 100%; }
  .consent-choice { flex: 1 1 0; }
  body.has-consent-banner { padding-bottom: 11rem; }
}
