/* Remain: off-white paper and warm ink, engravings in forest two-tone, one moss accent. Gold only for original languages. */
:root {
  --paper: #F3EFE7; --raised: #FAF8F3; --ink: #1F1A14; --body: #3D352B; --muted: #6A5F50; --hair: #DFD8CA;
  --moss: #3D5A22; --moss-hover: #2F4719; --forest: #1E2D16; --forest-deep: #16220F;
  --parch: #EEE9DF; --sage: #B8C688; --gold: #7A5C22; --gold-dark: #D2AE5A;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --frame: 6px; --nav-h: 76px; --gutter: clamp(10px, 2.6vw, 40px);
  --stage-h: calc(100svh - var(--nav-h) - var(--frame) * 2 - var(--gutter));
  --scrim: rgba(22, 34, 15, .9);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + var(--frame)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; padding: calc(var(--nav-h) + var(--frame)) var(--frame) var(--frame); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--moss); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; }
p { margin: 0; }
blockquote, figure { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); font-style: normal; text-transform: uppercase; }
.label-light { color: rgba(238, 233, 223, .85); }
.accent { color: var(--moss); }
.greek { font-family: var(--serif); color: var(--gold); }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 300; }
.skip:focus { left: 16px; }

/* Viewport frame + fixed nav */
.frame { position: fixed; inset: 0; border: var(--frame) solid var(--forest); pointer-events: none; z-index: 200; }
.nav { position: fixed; top: var(--frame); left: var(--frame); right: var(--frame); height: var(--nav-h); background: var(--paper); z-index: 150; border-bottom: 1px solid var(--hair); }
.nav-inner { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center; gap: 12px; }
.nav-link { justify-self: center; font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-decoration: none; color: var(--body); }
.nav-cta { color: var(--moss); }
.wordmark { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: .26em; text-decoration: none; padding-left: .26em; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; text-decoration: none; cursor: pointer;
  font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: .1em; transition: background .2s, color .2s; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--forest); color: var(--parch); }
.btn-moss { background: var(--moss); color: var(--paper); }
.btn-moss:hover { background: var(--moss-hover); color: var(--paper); }
.btn-outline { border: 1px solid var(--ink); }

/* Hero */
.hero { min-height: calc(86svh - var(--nav-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; padding: 48px 24px 56px; }
.mega { font-weight: 500; font-size: clamp(64px, 11vw, 168px); line-height: .95; letter-spacing: .1em; padding-left: .1em; margin: 4px 0 0; }
.hero-sub { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 38px); line-height: 1.15; }
.lede { max-width: 640px; font-size: 18px; line-height: 1.65; color: var(--body); }

/* Stages: pinned engraving, content scrolls over it */
.stage { position: relative; padding: 0 var(--gutter); }
.stage-bg { position: sticky; top: calc(var(--nav-h) + var(--frame) + var(--gutter) / 2); height: var(--stage-h); background: var(--forest); overflow: hidden; }
.stage-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(10, 16, 7, .07) 0 1px, transparent 1px 3px); }
.engraving canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-credit { position: absolute; right: 18px; top: 14px; z-index: 1; font-size: 10px; letter-spacing: .12em; color: rgba(238, 233, 223, .8); text-shadow: 0 0 8px rgba(22, 34, 15, .9); }
.stage-content { position: relative; z-index: 2; margin-top: calc(-1 * var(--stage-h)); padding: 0 clamp(20px, 5vw, 80px) 30vh; color: var(--parch); }
.stage-hold { height: calc(var(--stage-h) * .4); }
.stage-title { min-height: calc(var(--stage-h) * .6); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding-bottom: 7vh; }
.giant { font-weight: 400; font-size: clamp(46px, 7.2vw, 120px); line-height: .98; text-transform: uppercase; color: var(--parch); max-width: 16ch;
  text-shadow: 0 1px 2px rgba(22, 34, 15, .9), 0 0 28px rgba(22, 34, 15, .8); }
.kicker { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.2; color: var(--parch); text-shadow: 0 1px 2px rgba(22, 34, 15, .9), 0 0 18px rgba(22, 34, 15, .85); }
.stage-title .label { text-shadow: 0 0 10px rgba(22, 34, 15, .95); }
.stage-card { margin-left: auto; max-width: 540px; background: rgba(250, 248, 243, .97); color: var(--ink); padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px -24px rgba(10, 16, 7, .6); }
.card-text { font-size: 17px; line-height: 1.65; color: var(--body); }
.card-quote { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--ink); }
.greek-lg { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; }

.meander { display: block; }

/* Sections */
.section { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 64px; }
.big { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; max-width: 820px; }
.intro { max-width: 640px; font-size: 18px; line-height: 1.65; color: var(--body); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--ink); padding-top: 22px; }
.feature h3 { font-weight: 400; font-size: 26px; line-height: 1.2; }
.feature p { color: var(--body); }
.mark { min-height: 56px; display: flex; align-items: center; }
.mark-text { font-family: var(--mono); color: var(--moss); font-size: 13px; letter-spacing: .12em; }
.big-greek { font-size: 54px; line-height: 1; }
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 17px; line-height: 1.55; }
.numbered li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--hair); }
.numbered li:last-child { border-bottom: 1px solid var(--hair); }
.numbered span { font-family: var(--mono); font-size: 12px; color: var(--moss); padding-top: 5px; flex: none; }

/* Study */
.study { display: grid; grid-template-columns: 1fr minmax(300px, 500px); gap: clamp(36px, 6vw, 88px); align-items: center; }
.study-copy { display: flex; flex-direction: column; gap: 24px; }
.qa { background: var(--raised); border: 1px solid var(--hair); border-left: 3px solid var(--moss); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; max-width: 600px; }
.qa-q { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink); }
.qa-a { font-size: 16px; line-height: 1.65; color: var(--body); }
.qa-a .greek { font-size: 19px; }
.qa-sources { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 4px; background: #E6EBDB; color: var(--moss); font-size: 13px; }
.art-figure { display: flex; flex-direction: column; gap: 10px; }
.art-panel { position: relative; aspect-ratio: 4 / 5; background: var(--forest); overflow: hidden; }
.art-figure figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .1em; }

/* Church history */
.church { display: grid; grid-template-columns: 1fr minmax(260px, 440px); gap: clamp(36px, 7vw, 104px); align-items: center; }
.church-copy { display: flex; flex-direction: column; gap: 26px; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .icon-figure.reveal, .js .art-figure.reveal { transform: translateY(40px) scale(.97); }
.js .icon-figure.reveal.in, .js .art-figure.reveal.in { transform: none; }
.icon-arch img { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.js .icon-figure.reveal:not(.in) .icon-arch img { transform: scale(1.06); }

/* The vine */
.vine { background: var(--raised); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.vine-inner { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(36px, 7vw, 104px); align-items: center; }
.icon-figure { display: flex; flex-direction: column; gap: 16px; }
.icon-arch { padding: 8px; border: 4px double var(--ink); border-radius: 50% 50% 2px 2px / 26% 26% 2px 2px; overflow: hidden; }
.icon-arch img { width: 100%; border-radius: 50% 50% 0 0 / 25% 25% 0 0; }
.icon-figure figcaption { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.art-title { font-family: var(--display); font-size: 24px; }
.icon-figure .label { font-size: 11px; letter-spacing: .12em; }
.vine-copy { display: flex; flex-direction: column; gap: 24px; }
.pull { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.pull p { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--ink); }

/* Waitlist */
.waitlist { background: var(--raised); border-top: 1px solid var(--hair); }
.waitlist-inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 760px; }
.waitlist-inner > p { font-size: 18px; color: var(--body); }
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 8px; width: 100%; max-width: 560px; }
.signup input[type=email] { flex: 1 1 260px; min-height: 52px; padding: 0 16px; font: 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-right: 0; border-radius: 0; }
.signup input[type=email]:focus { outline: 2px solid var(--moss); outline-offset: 2px; }
.form-status { min-height: 1.6em; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.form-status.ok { color: var(--moss); }
.form-status.err { color: #8A2E1F; }
.fine { font-size: 13px; color: var(--muted); }

/* Footer */
.footer-inner { padding-top: 32px; padding-bottom: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.footer .wordmark { font-size: 20px; }

/* Simple pages */
.doc { max-width: 720px; padding-top: 64px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1; margin-bottom: 8px; }
.doc h2 { font-size: 28px; margin-top: 18px; }
.doc p, .doc li { color: var(--body); font-size: 17px; }
.verse-en { font-family: var(--serif); font-size: 21px; font-style: italic; }

@media (max-width: 900px) {
  .vine-inner, .study, .church { grid-template-columns: 1fr; }
  .icon-figure { max-width: 380px; margin: 0 auto; }
  .art-figure { max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --frame: 4px; --nav-h: 64px; }
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 0 16px; }
  .nav-link { display: none; }
  .nav-cta { display: block; justify-self: end; grid-column: 3; }
  .wordmark { grid-column: 1; font-size: 20px; }
  .section, .vine-inner, .waitlist-inner { padding-top: 84px; padding-bottom: 84px; }
  .hero { min-height: calc(78svh - var(--nav-h)); }
  .mega { font-size: clamp(56px, 17vw, 96px); }
  .stage-content { padding: 0 18px 26vh; }
  .stage-title { padding-bottom: 5vh; }
  .stage-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(22, 34, 15, 0) 20%, rgba(22, 34, 15, .45) 50%, rgba(22, 34, 15, .6) 100%); }
  .stage-card { margin-left: 0; }
  .actions { flex-direction: column; align-self: stretch; }
  .btn { width: 100%; }
  .signup input[type=email] { border-right: 1px solid var(--ink); }
  .stage-credit { left: 14px; right: auto; top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .icon-figure.reveal, .js .art-figure.reveal { opacity: 1; transform: none; transition: none; }
}
