@font-face { font-family: "Forum"; src: url("./fonts/Forum-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Alistair"; src: url("./fonts/Alistair-Signature.ttf") format("truetype"); font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #070b14;
  --panel: #0d1729;
  --navy: #101d38;
  --text: #eef4fb;
  --muted: #b1bfd1;
  --silver: #c8daee;
  --gold: #cfb78a;
  --line: #c8daee36;
  --serif: "Forum", Georgia, serif;
  --script: "Alistair", "Segoe Script", cursive;
  --sans: Inter, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font: 400 1rem/1.65 var(--sans); }
body, button { font-family: var(--sans); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3, .focus-title, .brand, dt { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .035em; }
h1, h2, h3 { line-height: 1.02; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); text-wrap: balance; overflow-wrap: anywhere; }
h3 { font-size: 2.2rem; }
p, dd { color: var(--muted); }
:focus-visible { outline: 2px solid #e1c999; outline-offset: 5px; }
section[id] { scroll-margin-top: 22px; }
.wrap { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px; background: var(--bg); transform: translateY(-160%); }
.skip-link:focus-visible { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.nav, .foot { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.52rem; line-height: 1.1; white-space: nowrap; }
.moon-mark, .ornament { color: var(--gold); }
.moon-mark { font-size: 2rem; }
.brand-year { color: var(--silver); }
nav { display: flex; gap: clamp(12px, 3vw, 38px); }
nav a, .foot > a:last-child { color: var(--muted); font-size: .86rem; text-decoration: none; }
nav a:hover, .foot > a:last-child:hover { color: var(--text); text-decoration: underline; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0 0 0 26%; z-index: -1; background: #0b1627 url("./media/observatory.webp") center 59% / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), #070b14d9 15%, #070b143b 47%, transparent 74%), linear-gradient(0deg, #070b14 0%, transparent 29%); }
.hero-inner { min-height: 535px; display: flex; align-items: center; }
.hero-copy { max-width: 620px; padding-block: 70px 75px; }
.eyebrow { color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { margin-right: 5px; }
.script-accent { color: var(--gold); font: 400 clamp(2rem, 4vw, 3.5rem)/.9 var(--script); text-transform: none; letter-spacing: 0; }
h1 { margin: 15px 0 19px; font-size: clamp(4.5rem, 8vw, 7.5rem); letter-spacing: -.052em; max-width: 590px; }
h1 em { display: block; color: var(--silver); font-style: normal; }
.hero-text { max-width: 440px; color: #d7e2f1; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--silver); border-radius: 4px; background: var(--silver); color: #0b1423; font-size: .9rem; font-weight: 650; text-decoration: none; transition: background .18s, color .18s; }
.button:hover { background: #edf5ff; }
.hero .button { margin-top: 27px; }
.hero-format { margin-top: 12px; font-size: .8rem; }
.section { padding-block: 86px; }
.section-head { max-width: 680px; }
.section-head h2 { margin: 8px 0 12px; }
.centered { text-align: center; margin-inline: auto; }
.centered p { max-width: 520px; margin-inline: auto; }
.ornament { display: block; margin-bottom: 9px; font-size: 1.2rem; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); margin-top: 38px; }
.focus-card { display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 49% 49% 5px 5px / 30% 30% 5px 5px; cursor: pointer; transition: border-color .18s, transform .18s; }
.focus-card[aria-pressed="true"] { border-color: var(--gold); }
.focus-card:hover { border-color: var(--silver); transform: translateY(-4px); }
.focus-image { display: block; width: 100%; aspect-ratio: 1.32; background: var(--navy) center / cover no-repeat; }
.money-image { background-image: url("./media/money.webp"); }
.love-image { background-image: url("./media/love.webp"); }
.energy-image { background-image: url("./media/energy.webp"); }
.focus-copy { display: grid; gap: 8px; flex: 1; padding: 18px 21px 19px; }
.focus-copy > span:nth-child(2) { font-size: .87rem; color: var(--muted); }
.focus-title { font-size: clamp(1.75rem, 2.9vw, 2.36rem); line-height: 1; }
.focus-action { align-self: end; font-size: .78rem; color: var(--silver); margin-top: 5px; }
.focus-action span { margin-left: 4px; }
.inside, .process { background: linear-gradient(125deg, #0e172a, #0a111e); border-block: 1px solid var(--line); }
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 94px); align-items: center; }
.included > div { padding: 17px 0; border-top: 1px solid var(--line); }
.included > div:last-child { border-bottom: 1px solid var(--line); }
dt { font-size: 1.88rem; line-height: 1.05; color: var(--silver); margin-bottom: 6px; }
dd { font-size: .93rem; }
.sample-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(24px, 8vw, 110px); max-width: 920px; margin: 36px auto 0; }
.sample-book { text-align: center; }
.cover-link { display: block; width: min(100%, 247px); margin: 0 auto 17px; border: 1px solid var(--line); box-shadow: 0 18px 36px #0008; }
.button-outline { background: transparent; color: var(--silver); }
.button-outline:hover { background: var(--silver); color: var(--bg); }
.small { margin-top: 8px; font-size: .76rem; }
.chapter { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); background: linear-gradient(150deg, var(--navy), var(--panel)); }
.chapter h3 { margin-top: 11px; font-size: clamp(2rem, 4vw, 3rem); }
.chapter .arcana { margin: 5px 0 16px; font-size: .85rem; color: var(--silver); }
.chapter-line { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.chapter-line .eyebrow { margin-bottom: 5px; }
.chapter p:not(.eyebrow, .arcana) { font-size: .93rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }
.process-grid li { padding-top: 16px; border-top: 1px solid var(--line); counter-increment: step; }
.process-grid li::before { content: "0" counter(step); color: var(--gold); font: 600 1.65rem var(--serif); }
.process-grid h3 { margin: 5px 0 9px; font-size: 1.9rem; }
.process-grid p { font-size: .9rem; }
.author { display: flex; align-items: center; gap: clamp(25px, 6vw, 65px); max-width: 850px; border-bottom: 1px solid var(--line); }
.author-portrait { flex: 0 0 auto; width: clamp(185px, 27vw, 270px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 36%; border-radius: 49% 49% 5px 5px / 34% 34% 5px 5px; border: 1px solid var(--line); }
.author h2 { margin: 7px 0 12px; }
.questions { max-width: 850px; }
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 17px 4px; cursor: pointer; list-style: none; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.25rem; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 17px 4px; font-size: .94rem; }
.closing { padding-block: 72px; text-align: center; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 98%, #1a3157, #0b1528 58%, var(--bg)); }
.closing p { max-width: 490px; margin: 12px auto 22px; }
.foot { min-height: 84px; }
.foot-links { display: flex; align-items: center; gap: 24px; }
.foot-links a { color: var(--muted); font-size: .86rem; text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 860px) {
  .wrap { width: calc(100% - 56px); }
  .section { padding-block: 64px; }
  .focus-copy { padding-inline: 13px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .nav { flex-wrap: wrap; justify-content: center; gap: 7px 20px; padding: 10px 0; }
  .brand { font-size: 1.31rem; }
  .nav nav { width: 100%; justify-content: center; gap: 19px; }
  .nav nav a { display: inline-block; padding-block: 7px; font-size: .79rem; }
  .hero-art { inset: 0 0 auto; height: 330px; background-position: 63% 53%; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg), #070b1440 58%, transparent); }
  .hero-inner { min-height: unset; }
  .hero-copy { padding: 215px 0 37px; }
  h1 { font-size: clamp(3.4rem, 13vw, 5rem); margin: 11px 0 15px; }
  h1 em { display: inline; }
  .hero-text { font-size: .94rem; }
  h2 { font-size: clamp(2rem, 9vw, 2.55rem); }
  .section { padding-block: 50px; }
  .focus-grid, .inside-grid, .sample-grid, .process-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .focus-grid { max-width: 370px; margin-inline: auto; }
  .focus-card { border-radius: 48% 48% 5px 5px / 39% 39% 5px 5px; }
  .focus-copy { padding-inline: 18px; }
  .sample-book { order: 1; }
  .author { display: block; }
  .author-portrait { width: min(72%, 240px); margin: 0 auto 24px; }
  .closing { padding-block: 46px; }
  .foot { flex-wrap: wrap; column-gap: 10px; row-gap: 5px; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
