/* ============ Spin Field Coherence ============
   Per Dr. Flick (2026-07-16): all pages black on white —
   white background, black words only, no gray text anywhere. */
:root {
  --white: #ffffff;
  --black: #000000;
  --line:  rgba(0,0,0,.15);   /* hairlines/borders only — never text */
  --disp: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--black); background: var(--white); line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: var(--disp); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--black); }
img { max-width: 100%; display: block; }

/* ---------- Pills / buttons ---------- */
.pill { display: inline-block; padding: 13px 30px; border-radius: 999px; font-family: var(--disp); font-size: .82rem; font-weight: 600; letter-spacing: .3px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .25s ease; }
.pill--solid { background: var(--black); color: var(--white); }
.pill--solid:hover { background: var(--white); color: var(--black); border-color: var(--black); }
.pill--light { background: rgba(255,255,255,.92); color: #000; }
.pill--light:hover { background: #fff; }
.pill--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.pill--ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.pill--lg { padding: 16px 40px; font-size: .92rem; }

/* ---------- Nav ----------
   Over the hero video the links are white; once scrolled the bar
   becomes white with black links (black on white everywhere else). */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 22px 0; transition: background .35s, box-shadow .35s, padding .35s; }
.nav.is-scrolled { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 14px rgba(0,0,0,.08); padding: 13px 0; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { font-family: var(--disp); font-size: 1.15rem; font-weight: 700; letter-spacing: .3px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 11px; }
.nav__mark { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 0%, transparent 64%); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: #fff; text-decoration: none; font-size: .8rem; letter-spacing: .8px; font-weight: 500; transition: opacity .2s; position: relative; }
.nav__links a:hover, .nav__links a.is-active { opacity: .75; }
.nav__links a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background: currentColor; }
.nav.is-scrolled .nav__brand, .nav.is-scrolled .nav__links a { color: var(--black); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.nav.is-scrolled .nav__toggle span { background: var(--black); }

/* ---------- Hero (video band; text sits on the video, not on a page) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; padding: 120px 28px 90px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.7) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 820px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .72rem; color: #fff; margin-bottom: 24px; }
.hero__title { font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; text-shadow: 0 2px 40px rgba(0,0,0,.4); color: #fff; }
.hero__subtitle { font-size: clamp(1.1rem, 2.6vw, 1.6rem); font-weight: 400; color: #fff; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.4rem; text-decoration: none; z-index: 2; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* ---------- Sections (all white, all-black words) ---------- */
.section { padding: 110px 28px; background: var(--white); color: var(--black); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

.section__head { max-width: var(--maxw); margin: 0 auto 54px; text-align: center; }
.section__num { display: block; font-family: var(--disp); font-size: .82rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--black); margin-bottom: 16px; }
.section__head h2 { font-size: clamp(2rem,5vw,3.2rem); margin-bottom: 14px; }
.section__lead { font-weight: 400; font-size: 1.2rem; color: var(--black); max-width: 640px; margin: 0 auto; }
.section__body { max-width: var(--maxw); margin: 0 auto; font-size: 1.06rem; }
.section__body.narrow { max-width: 740px; }
/* justified body text per Dr. Flick (2026-07-17) — even left AND right margins */
.section__body p { margin-bottom: 1.3em; text-align: justify; hyphens: auto; }
.section__body h3 { font-size: 1.4rem; margin: 1.7em 0 .5em; }
.section__body h4 { font-size: 1.15rem; margin: 1.4em 0 .4em; }

/* section artwork */
.section__figure { margin: 44px auto 0; max-width: 640px; }
.section__figure--top { margin: 0 auto 38px; max-width: 740px; }   /* image leads the section, full column width */
.section__figure img { margin: 0 auto; border-radius: 10px; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-bottom: 44px; }
.figure-pair .section__figure { margin: 0; }

.pullquote { font-family: var(--disp); font-weight: 600; font-size: 1.7rem; line-height: 1.35; color: var(--black); text-align: center; margin-bottom: 1.4em; }
/* no bullet markers — centered lines (Dr. Flick 2026-07-17) */
.feature-list { list-style: none; margin-bottom: 1.6em; padding: 0; }
.feature-list li { padding: 13px 0; text-align: center; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.closing-line { font-family: var(--disp); font-weight: 500; font-size: 1.3rem; text-align: center; margin-top: 1em; }
/* plain list — Dr. Flick asked for no chip/oval boxes; simple lines instead */
.plainlist { list-style: none; margin: 1em 0 1.6em; padding: 0; }
.plainlist li { padding: 5px 0 5px 22px; position: relative; }
.plainlist li::before { content: "—"; position: absolute; left: 0; color: var(--black); }

/* ---------- Patron Comments ---------- */
.comments { margin: 0 0 40px; }
.comments-empty { text-align: center; font-style: italic; }
/* no card box — heading-and-paragraph look, hairline between comments */
.comment { background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: 6px; }
.comment header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 12px; }
.comment__author { font-weight: 600; color: var(--black); }
.comment time { font-size: .8rem; color: var(--black); white-space: nowrap; }
.comment p { color: var(--black); white-space: pre-line; }
.comment-form { background: var(--white); border: 1px solid var(--black); border-radius: 16px; padding: 34px; }
.comment-form h3 { margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; color: var(--black); }
.field input, .field textarea { width: 100%; padding: 12px 14px; font-family: var(--body); font-size: 1rem; background: var(--white); border: 1px solid var(--black); border-radius: 8px; color: var(--black); resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
/* honeypot — invisible to people, present for bots */
.field--hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--black); margin-top: 14px; }
.form-note.is-error { font-weight: 600; }

/* CTA band */
.cta { background: var(--white); color: var(--black); padding: 100px 28px; text-align: center; border-top: 1px solid var(--line); }
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem,5vw,3rem); margin-bottom: 14px; }
.cta p { font-weight: 400; font-size: 1.15rem; color: var(--black); margin-bottom: 32px; }

/* footer */
.footer { background: var(--white); color: var(--black); padding: 72px 28px 48px; border-top: 1px solid var(--black); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__wordmark { font-family: var(--disp); font-weight: 800; font-size: clamp(1.8rem,6vw,3.4rem); letter-spacing: .04em; color: var(--black); text-align: center; margin-bottom: 48px; }
.footer__row { display: flex; gap: 60px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.footer__col h5 { font-family: var(--disp); font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--black); margin-bottom: 14px; }
.footer__col p { font-size: .92rem; margin-bottom: 6px; }
.footer__col a { color: var(--black); text-decoration: underline; }
.footer__disclaimer { max-width: 760px; margin: 0 auto 22px; text-align: center; font-size: .8rem; line-height: 1.7; color: var(--black); }
.footer__copy { text-align: center; font-size: .78rem; color: var(--black); }

/* reveal */
.section__head,.section__body,.step,.benefit,.science-detail { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-in { opacity: 1 !important; transform: none !important; }

/* responsive */
@media (max-width: 880px) {
  .figure-pair { grid-template-columns: 1fr; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0 -100% 0 auto; height: 100vh; width: 76%; max-width: 330px; background: #fff; border-left: 1px solid var(--black); flex-direction: column; align-items: flex-start; gap: 0; padding: 100px 36px; transition: right .35s; }
  .nav__links.is-open { right: 0; }
  .nav__links a { color: var(--black); padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; font-size: .95rem; }
}

/* ---------- science detail ---------- */
.science-detail { margin-top: 44px; }
