/* Lantern & Burrow waitlist: shared styles
   Colors come from the approved Scout and Glim palette (v5, Nov 13, 2026). */
/* Brand fonts (D-075), self-hosted so visitors' browsers never contact Google.
   Fraunces for headings; Atkinson Hyperlegible for body text. Both SIL Open Font License 1.1 (see fonts/OFL-*.txt). */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --page: #FEFAEB;        /* light cream (10%) */
  --warm: #FCF6D7;        /* warm cream (20%) */
  --paper: #FDFCFD;       /* near white */
  --ink: #4F3C38;         /* dark text */
  --sage: #526149;        /* dark text colour / dark sage */
  --brand: #9D8374;       /* main brand color */
  --line: rgba(157, 131, 116, 0.35);
  --gold: #F2C94C;        /* Glim, dim */
  --glow: #FFFD9B;        /* Glim, bright (start) */
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;           /* headings (D-075) */
  --sans: "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;   /* body (D-075) */
  --error: #9D2A3B;       /* form errors (kesab, Nov 13) */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}

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

a { color: var(--sage); }
a:hover { color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.15; letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.wordmark .dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px 3px rgba(242, 201, 76, 0.55);
}
.site-header nav a { font-family: var(--sans); font-size: 0.95rem; text-decoration: none; color: var(--sage); }
.site-header nav a:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.eyebrow {
  font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 10px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; }
h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; font-weight: 600;
}
.lede { font-size: 1.15rem; color: var(--sage); margin: 0 0 24px; }

.hero-art {
  position: relative; display: flex; justify-content: center; align-items: center; min-height: 280px;
}
.hero-art::before {
  content: ""; position: absolute; inset: 6%;
  background: radial-gradient(circle, var(--glow) 0%, rgba(255, 253, 155, 0) 68%);
  border-radius: 50%;
}
.hero-art img { position: relative; max-width: 440px; width: 100%; }
.orb {
  position: relative; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, #FEEE41 45%, rgba(254, 238, 65, 0) 72%);
}

/* Signup form */
.signup { max-width: 520px; }
.signup .row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-family: var(--sans); font-size: 1rem;
  padding: 14px 16px; border: 2px solid var(--brand); border-radius: 10px;
  background: var(--paper); color: var(--ink);
}
.signup input[type="email"]:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; cursor: pointer;
  padding: 14px 22px; border-radius: 10px; border: 0;
  background: var(--sage); color: var(--paper);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.fine { font-family: var(--sans); font-size: 0.82rem; color: var(--sage); margin: 10px 0 0; line-height: 1.5; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 700; margin-top: 8px; color: var(--error);
  display: flex; align-items: center; gap: 8px;
}
.form-msg[hidden] { display: none; }
.form-msg::before {  /* icon beside the message, so the error does not rely on color alone */
  content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--error); color: var(--paper); font-size: 0.8rem; line-height: 20px; text-align: center;
}
.signup input[type="email"][aria-invalid="true"] { border-color: var(--error); }

/* Sections */
section { padding: 52px 0; }
section.alt { background: var(--paper); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 8px; line-height: 1.2; }
.section-lede { color: var(--sage); margin: 0 0 28px; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
section.alt .card { background: var(--page); }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--sage); font-size: 1rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 720px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px 2px rgba(242, 201, 76, 0.5);
}

.cta-band { background: var(--warm); text-align: left; }
.cta-band .signup { margin-top: 18px; }

/* Thank-you page */
.page-narrow { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
.page-narrow h2 { margin-top: 36px; }
.survey-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 18px 0 8px;
}
.survey-box p { margin: 0 0 14px; }

/* Footer */
.site-footer { padding: 36px 0 48px; font-family: var(--sans); font-size: 0.9rem; color: var(--sage); border-top: 1px solid var(--line); }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--sage); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 220px; }
  .hero-art img { max-width: 320px; }
  .signup .row { flex-direction: column; }
  .btn { width: 100%; }
}

/* Header: wordmark with tagline underneath (stand-in until the logo is approved) */
.brand-block { display: flex; flex-direction: column; gap: 2px; }
.tagline { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.95rem; line-height: 1.3; color: var(--sage); margin: 0 0 0 22px; }
