/* ============================================================
   In Plain Light Collective — styles.css
   "Lantern in the dark" — v3, three-page rebuild.
   Night bands, oversized deco type, glow, marquee, arch cards.
   All v2 fixes baked in: fixed 20px body copy, nav button
   contrast, arch-style roadmap, readable quotes on night.
   Accessibility is the brief: high contrast, big text,
   reduced-motion respected, visible focus, no autoplay.
   ============================================================ */

:root {
  --night:  #131C2E;   /* deep navy — the dark the lantern sits in */
  --frame:  #2E4A66;   /* lantern frame blue */
  --teal:   #9CC6CB;   /* stained-glass teal */
  --amber:  #F2A24B;   /* lantern amber */
  --glow:   #FFDBAD;   /* the light itself */
  --peach:  #FF9679;
  --coral:  #E2603A;   /* wordmark coral */
  --cream:  #FFF9F0;   /* daylight paper */
  --ink:    #22304A;   /* body text on cream */
  --ink-night: #EDE4D3; /* body text on night */
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", Georgia, serif;
  font-size: 1.25rem;            /* fixed 20px everywhere — no shrinking */
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.inner { max-width: 1100px; margin: 0 auto; padding: 0 1.4rem; }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: var(--night);
  padding: .8rem 1.2rem; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3, .deco {
  font-family: "Josefin Sans", "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.12;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .4rem 0 1rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 1.2rem; }
h3 { font-size: 1.3rem; margin: 0 0 .5rem; letter-spacing: .06em; }
.eyebrow {
  display: inline-block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .6rem;
}
.band-night .eyebrow { color: var(--amber); }
.lede { font-size: 1.25rem; max-width: 38em; }
.accent { color: var(--coral); display: block; }
.band-night .accent, .hero .accent { color: var(--glow); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
  border-bottom: 1px solid rgba(255, 219, 173, .18);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .7rem; padding-bottom: .7rem;
}
.brand-logo { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--cream); text-decoration: none;
  font-family: "Josefin Sans", sans-serif; font-weight: 600;
  font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem 0; border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--amber); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--coral); }
.site-nav a.btn-primary,
.site-nav a.btn-primary:hover {
  background: var(--amber); color: var(--night);
  border-bottom: none;
  padding: .6rem 1.3rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.site-nav a.btn-primary:hover { background: var(--glow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Josefin Sans", sans-serif; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: .95rem 1.7rem .8rem;
  border-radius: 999px;
  border: 3px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--amber); color: var(--night); }
.btn-primary:hover { background: var(--glow); color: var(--night); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-big { font-size: 1.15rem; padding: 1.15rem 2.2rem 1rem; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- bands ---------- */
.section { padding: 4.5rem 0; }
.band-night {
  background:
    radial-gradient(1100px 520px at 70% -10%, rgba(242, 162, 75, .14), transparent 60%),
    var(--night);
  color: var(--ink-night);
}
.band-night a { color: var(--glow); }
.band-night h2, .band-night h3 { color: var(--cream); }

/* star-bar divider: lantern-star sparkles over a cream↔night fade */
.star-bar {
  height: 36px;
  background-color: var(--coral);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='36' viewBox='0 0 320 36'%3E%3Cg transform='translate(40,18)'%3E%3Cpath d='M0,-8 C1,-2 2,-1 8,0 C2,1 1,2 0,8 C-1,2 -2,1 -8,0 C-2,-1 -1,-2 0,-8 Z' fill='%2395CDDD'/%3E%3C/g%3E%3Cg transform='translate(120,18)'%3E%3Cpath d='M0,-8 C1,-2 2,-1 8,0 C2,1 1,2 0,8 C-1,2 -2,1 -8,0 C-2,-1 -1,-2 0,-8 Z' fill='%23305878'/%3E%3C/g%3E%3Cg transform='translate(200,18)'%3E%3Cpath d='M0,-8 C1,-2 2,-1 8,0 C2,1 1,2 0,8 C-1,2 -2,1 -8,0 C-2,-1 -1,-2 0,-8 Z' fill='%23F8D898'/%3E%3C/g%3E%3Cg transform='translate(280,18)'%3E%3Cpath d='M0,-8 C1,-2 2,-1 8,0 C2,1 1,2 0,8 C-1,2 -2,1 -8,0 C-2,-1 -1,-2 0,-8 Z' fill='%23FFF9F0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: 320px 36px;
}
.star-bar.to-cream { /* same coral bar as default */ }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 78% 28%, rgba(242, 162, 75, .22), transparent 62%),
    var(--night);
  color: var(--ink-night);
  padding: 2.5rem 0;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
}
.hero .inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; width: 100%; }
.hero h1 { color: var(--cream); font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 18ch; }
.hero-art {
  filter: drop-shadow(0 0 55px rgba(242, 162, 75, .55));
  max-height: min(420px, calc(100vh - 200px));
  width: auto;
  justify-self: center;
}
@media (max-width: 820px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}

/* page heroes (about/contact) — shorter */
.page-hero { padding: 4rem 0 3.5rem; min-height: 0; display: block; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- marquee ---------- */
.marquee {
  background: var(--coral); color: var(--cream);
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(255, 249, 240, .25);
  border-bottom: 1px solid rgba(255, 249, 240, .25);
}
.marquee-track {
  display: inline-block;
  padding: .8rem 0 .6rem;
  font-family: "Josefin Sans", sans-serif; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; font-size: 1rem;
  animation: marquee 28s linear infinite;
}
.marquee-track span { margin: 0 1.4rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; white-space: normal; }
}

/* ---------- quotes & cards ---------- */
.giant-quote {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  max-width: 26em;
  margin: 0;
}
.band-night .giant-quote, .hero .giant-quote { color: var(--glow); }

.glass-quote {
  background: rgba(46, 74, 102, .10);
  border-left: 6px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 1.4rem 1.6rem;
  margin: 0;
}
.glass-quote strong {
  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--coral);
}
.glass-quote p { margin: .5rem 0 0; }
.band-night .glass-quote {
  background: rgba(255, 249, 240, .07);
  color: inherit;
}
.band-night .glass-quote strong { color: var(--glow); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.values-grid .glass-quote:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* arch "window pane" cards — stained-glass crowns */
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.2rem; }
@media (max-width: 860px) { .arch-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.arch {
  background: #fff;
  border: 3px solid var(--frame);
  border-radius: 160px 160px 14px 14px;
  padding: 3.2rem 1.6rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 86px;
  background: linear-gradient(rgba(156, 198, 203, .55), transparent);
}
.arch.amber::before { background: linear-gradient(rgba(242, 162, 75, .6), transparent); }
.arch.coral::before { background: linear-gradient(rgba(255, 150, 121, .55), transparent); }
.arch h3 { position: relative; text-align: center; }
.arch p { position: relative; margin-bottom: 0; text-align: center; }

/* ---------- roadmap (lantern panes) ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }
.stage {
  position: relative;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--frame);
  border-radius: 160px 160px 14px 14px;
  padding: 3rem 1.3rem 1.5rem;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 70px;
  background: linear-gradient(rgba(156, 198, 203, .55), transparent);
}
.stage h3 { font-size: 1.05rem; position: relative; text-align: center; }
.stage p { color: var(--ink); position: relative; margin-bottom: 0; font-size: 1.1rem; }
.stage .here {
  display: block; width: max-content; margin-left: auto; margin-right: auto; position: relative;
  font-family: "Josefin Sans", sans-serif; font-weight: 700;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--amber); color: var(--night);
  padding: .35rem .7rem .25rem; border-radius: 999px;
  margin-bottom: .6rem;
}
.stage.lit {
  border-color: var(--amber);
  box-shadow: 0 0 55px -8px rgba(242, 162, 75, .65);
}
.stage.lit::before { background: linear-gradient(rgba(242, 162, 75, .6), transparent); }

/* ---------- channel tour ---------- */
.channel-group { margin-top: 2.4rem; }
.channel-group h3 { color: var(--coral); }
.band-night .channel-group h3 { color: var(--amber); }
.channels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
@media (max-width: 860px) { .channels { grid-template-columns: 1fr; } }
.channel {
  background: rgba(255, 249, 240, .07);
  border: 1px solid rgba(255, 219, 173, .25);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
}
.channel strong {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: .04em; color: var(--glow);
}
.channel p { margin: .4rem 0 0; }

/* ---------- honesty panel ---------- */
.plain-terms {
  border: 3px dashed var(--coral);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  background: rgba(226, 96, 58, .06);
  max-width: 48em;
}
.band-night .plain-terms {
  background: rgba(255, 219, 173, .07);
  border-color: var(--amber);
}
.plain-terms h3 { color: var(--coral); }
.band-night .plain-terms h3 { color: var(--amber); }
.plain-terms p:last-child { margin-bottom: 0; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; margin-top: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 1.1rem; }
.contact-form label {
  font-family: "Josefin Sans", sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
  display: block; margin-bottom: .35rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--frame);
  border-radius: 10px;
  padding: .8rem .9rem;
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* ---------- text columns ---------- */
.text { max-width: 44em; }
.text p { margin: 0 0 1.1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--ink-night);
  padding: 3.5rem 0 2rem;
}
.site-footer a { color: var(--glow); }
.footer-logo { height: 64px; width: auto; margin-bottom: 1.6rem; }
.footer-word {
  font-family: "Josefin Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  color: var(--glow);
  margin: 0 0 1.4rem; line-height: 1.05;
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1rem; color: var(--amber); }
.site-footer small { display: block; margin-top: 2.4rem; opacity: .8; font-size: 1rem; }

/* anchor offset under sticky header */
section[id], span#top { scroll-margin-top: 84px; }

/* ---------- credo (manifesto beats) ---------- */
.credo .giant-quote { margin-top: 2.6rem; }
.credo .giant-quote:first-child { margin-top: .4rem; }
.credo .text { margin-top: .9rem; }
.credo .text p { margin-bottom: 0; }
.credo .accent { color: var(--coral); }

/* ---------- footer social row ---------- */
.social-row {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 1.2rem 0 0;
}
.social-row a {
  color: var(--cream);
  display: inline-flex;
  transition: color .2s ease, transform .2s ease;
}
.social-row a:hover { color: var(--amber); transform: translateY(-2px); }
.social-row svg { display: block; }

/* ---------- plain section labels (Mission / Vision / invitation) ---------- */
h3.label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 .4rem;
}
.band-night h3.label { color: var(--amber); }
