@font-face{font-family:"Cormorant";src:url("fonts/Cormorant-Variable.woff2") format("woff2");font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/EBGaramond-Variable.woff2") format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/EBGaramond-Italic-Variable.woff2") format("woff2");font-weight:400 800;font-style:italic;font-display:swap}


:root{
  --cream:#F4E6CD; --cream2:#F8EBD5; --panel:#FAF0DA;
  --ink:#16283F; --ink-soft:#2c3d52; --line:#d8c6a0;
  --gold:#C6902E; --terra:#B85A3C; --sage:#5E7F70; --sage2:#9AAE95; --mauve:#8a7c93;
  --serif:"EB Garamond",Georgia,serif;
  --display:"Cormorant","EB Garamond",Georgia,serif;
  --maxw:680px;
}
*{box-sizing:border-box}
body{ margin:0; background:var(--cream); color:var(--ink);
  font-family:var(--serif); font-size:19px; line-height:1.72;
  font-feature-settings:"onum" 1,"liga" 1; -webkit-font-smoothing:antialiased; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 26px; }
em{ font-style:italic }

/* ---- shared bits ---- */
.kick{ font-family:var(--display); font-weight:600; font-size:15px; letter-spacing:.42em; text-transform:uppercase; color:var(--gold); text-align:center; margin:0 0 18px; }
h2{ font-family:var(--display); font-weight:600; font-size:clamp(32px,5vw,46px); line-height:1.08; color:var(--ink); text-align:center; margin:0 0 26px; text-wrap:balance; }
.spark{ display:inline-block; vertical-align:middle }
.dia{ display:inline-block; width:8px; height:8px; background:var(--gold); transform:rotate(45deg); }
.divider{ display:flex; align-items:center; justify-content:center; gap:14px; margin:0 auto 34px; max-width:320px; }
.divider span{ flex:1; height:1px; background:repeating-linear-gradient(90deg,var(--line) 0 2px,transparent 2px 7px); }

/* ---- Hero: framed cover ---- */
.hero{ padding:44px 18px 30px; }
.frame{ position:relative; max-width:760px; margin:0 auto; background:var(--panel);
  border:2px solid var(--gold); border-radius:8px; padding:clamp(40px,7vw,74px) clamp(24px,6vw,64px) clamp(28px,5vw,52px);
  overflow:hidden; }
.frame::before{ content:""; position:absolute; inset:9px; border:1px solid var(--gold); opacity:.55; border-radius:4px; pointer-events:none; }
.corner{ position:absolute; width:56px; height:56px; z-index:3 }
.corner.tl{ top:6px; left:6px } .corner.tr{ top:6px; right:6px; transform:scaleX(-1) }
.corner.bl{ bottom:6px; left:6px; transform:scaleY(-1) } .corner.br{ bottom:6px; right:6px; transform:scale(-1) }
.edge-dia{ position:absolute; width:9px; height:9px; background:var(--gold); transform:rotate(45deg); z-index:3 }
.edge-dia.t{ top:5px; left:50%; margin-left:-4px } .edge-dia.b{ bottom:5px; left:50%; margin-left:-4px }
.edge-dia.l{ left:5px; top:50%; margin-top:-4px } .edge-dia.r{ right:5px; top:50%; margin-top:-4px }
.sprig{ position:absolute; width:clamp(90px,13vw,132px); bottom:6%; z-index:1; opacity:.95 }
.sprig.left{ left:-6px } .sprig.right{ right:-6px }
.hero-in{ position:relative; z-index:2; text-align:center; }
.compass{ width:74px; height:74px; display:block; margin:0 auto; }
.emblem{ position:relative; width:150px; height:150px; margin:0 auto 2px; }
.emblem .rays{ position:absolute; top:50%; left:50%; width:198px; height:198px; transform:translate(-50%,-50%); opacity:.5; }
.emblem .compass{ position:absolute; top:50%; left:50%; width:76px; height:76px; margin:0; transform:translate(-50%,-50%); }
.moons{ display:block; width:196px; height:auto; margin:8px auto 0; opacity:.9; }
.spk{ position:absolute; z-index:2; }
.wordmark{ font-family:var(--display); font-weight:600; font-size:clamp(58px,13vw,116px); line-height:.9; letter-spacing:.01em; margin:8px 0 0; color:var(--ink); }
.tagline{ font-family:var(--display); font-size:clamp(17px,2.6vw,23px); letter-spacing:.24em; text-transform:lowercase; color:var(--gold); margin:14px 0 0; }
.tagline .r{ display:inline-block; width:52px; height:1px; background:var(--gold); vertical-align:middle; margin:0 14px; opacity:.7 }
.booksun{ width:clamp(180px,40vw,240px); height:auto; display:block; margin:24px auto 0; position:relative; z-index:2 }
.spk{ position:absolute; z-index:2 }

/* ---- sections ---- */
section{ padding:8vh 0; }
.body p{ margin:0 0 20px } .body p:last-child{ margin-bottom:0 }
.body .beat{ text-align:center; font-style:italic; color:var(--sage) }

/* four books */
.books{ list-style:none; margin:6px 0 0; padding:0 }
.book{ padding:30px 0; border-top:1px solid var(--line); display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start }
.book:first-child{ border-top:0 }
.book .em{ width:44px; margin-top:8px }
.book .em svg{ width:44px; height:26px }
.book .name{ font-family:var(--display); font-weight:600; font-size:32px; line-height:1.05; margin:0 0 6px }
.book .desc{ color:var(--ink-soft); font-style:italic; margin:0; max-width:46ch }

/* steps */
.steps{ list-style:none; counter-reset:s; margin:0; padding:0; display:grid; gap:24px }
.steps li{ counter-increment:s; display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:baseline }
.steps li::before{ content:counter(s); font-family:var(--display); font-weight:600; font-size:36px; color:var(--gold); line-height:1 }

/* signup card */
.signup{ text-align:center }
.card{ max-width:540px; margin:8px auto 0; background:transparent; border:2px dashed var(--gold); border-radius:16px; padding:16px; }
.card h3{ font-family:var(--display); font-weight:600; font-size:26px; letter-spacing:.02em; margin:0 0 6px; color:var(--terra); text-transform:uppercase }
.card p{ margin:0 0 18px; color:var(--ink-soft) }
form{ display:flex; gap:10px; max-width:400px; margin:0 auto }
input[type=email]{ flex:1; font-family:var(--serif); font-size:17px; color:var(--ink); background:var(--panel); border:1.5px solid var(--line); border-radius:6px; padding:12px 14px }
input[type=email]:focus{ outline:none; border-color:var(--gold) }
button.submit{ font-family:var(--display); font-weight:600; font-size:15px; letter-spacing:.14em; text-transform:uppercase; background:var(--ink); color:var(--cream); border:0; border-radius:6px; padding:0 20px; cursor:pointer; white-space:nowrap }
button.submit:hover{ background:var(--terra) }
button.submit:focus-visible{ outline:2px solid var(--gold); outline-offset:2px }
.thanks{ font-style:italic; color:var(--ink); margin:18px auto 0; max-width:40ch }
@media(max-width:460px){ form{ flex-direction:column } }

/* footer */
footer{ background:var(--ink); color:var(--cream); text-align:center; padding:9vh 0 8vh; margin-top:6vh }
footer .compass circle{ stroke:var(--gold) } footer .compass polygon{ fill:var(--gold) }
footer .refrain{ font-family:var(--display); font-weight:600; font-size:26px; line-height:1.32; margin:18px 0 20px }
footer .fmark{ font-family:var(--display); font-weight:600; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); font-size:15px }
footer .fine{ font-family:var(--serif); font-style:italic; color:var(--sage2); font-size:14px; margin-top:14px }

/* reveal */
.reveal{ opacity:0; transform:translateY(12px); animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards }
@keyframes rise{ to{ opacity:1; transform:none } }
@media (prefers-reduced-motion:reduce){ .reveal{ animation:none; opacity:1; transform:none } }
