/* The Loop seminar landing v2  -  local draft, not for publish.
   Reuses fonts and images from assets/. Do not copy those files. */

@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;
}

:root {
  --cream: #F4EFE6;
  --sand: #E8DFD0;
  --paper: #F7F3EC;
  --navy: #1A2330;
  --muted: #3D4752;
  --orange: #C0562A;
  --orange-dark: #A34720;
  --white: #FFFFFF;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --wrap: 44rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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(--navy);
  color: var(--cream);
  padding: 0.6rem 1rem;
  text-decoration: none;
  min-height: 48px;
}
.skip:focus-visible { top: 1rem; }

.token {
  border-bottom: 1px dashed var(--orange);
  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(--navy);
}

.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(--navy); outline-offset: 3px; }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 35, 48, 0.08);
}
.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(--navy);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.host-lockup { font-size: 0.9375rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 1.05fr) minmax(16rem, 0.95fr);
  min-height: calc(100svh - 3.5rem);
  background: var(--cream);
}
.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(--sand);
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
}
.hero h1 .h1-cycle {
  display: block;
  margin-top: 0.15em;
  font-size: 0.68em;
  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(--navy);
  color: var(--cream);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 3.5rem;
}
.more h2,
.more .kicker,
.more p,
.more label { color: var(--cream); }
.more .kicker { color: #D9D0C3; }
.more .token {
  color: var(--cream);
  border-bottom-color: #E08A4A;
}
.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: #E08A4A;
}

.highlight {
  margin: 0 0 2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(244, 239, 230, 0.08);
  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(--cream);
}

.when-card {
  margin: 0 0 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(244, 239, 230, 0.08);
  border: 1px solid rgba(244, 239, 230, 0.16);
}
.when-card .when-date {
  margin: 0 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.when-card .when-place {
  margin: 0;
  font-size: 0.95rem;
  color: #D9D0C3;
}

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

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

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

.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 #DDD3C4;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
}
.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(--cream);
  border-top: 1px solid rgba(26, 35, 48, 0.08);
  padding: 1.25rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.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(--muted);
  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(--navy);
  color: var(--cream);
  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(26, 35, 48, 0.18);
}
.sticky-cta .sticky-meta {
  font-size: 0.8rem;
  color: #D9D0C3;
  min-width: 0;
}
.sticky-cta .btn { flex: 0 0 auto; }
body.has-sticky-cta { padding-bottom: 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-copy { padding: 1.5rem 1.25rem 2.15rem; }
  .host-lockup { display: none; }
}

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