:root {
  color-scheme: light;
  --night: #101a2b;
  --forest: #18392f;
  --ivory: #f1f2ed;
  --gold: #c5a96b;
  --sage: #e5e8e3;
  --ink: #182437;
  --ink-soft: #465261;
  --muted-night: #d0d8d4;
  --rule-paper: #c8c9c0;
  --rule-night: rgb(229 232 227 / 26%);
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --margin: clamp(1.25rem, 6vw, 6.75rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--font-body); font-size: 1rem; -webkit-font-smoothing: antialiased; }
::selection { color: var(--night); background: #e5cf9e; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #705529; outline-offset: 4px; }
:where(.site-header, .night-surface, .green-surface, .site-footer) :focus-visible { outline-color: #f0ddb0; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .8rem 1rem; transform: translateY(-150%); color: var(--ink); background: var(--ivory); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; min-height: 5rem; padding: .85rem var(--margin); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--ivory); background: var(--night); border-bottom: 1px solid var(--rule-night); }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; color: #dfc895; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .15em; white-space: nowrap; }
.brand-mark { width: 2rem; height: 2rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.1; }
.brand-mark circle:last-child { fill: currentColor; }
.wordmark-light { color: var(--ivory); font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); margin-left: auto; }
.main-nav a, .header-cta { min-height: 44px; display: inline-flex; align-items: center; color: var(--ivory); text-decoration: none; font-size: .8rem; }
.main-nav a { transition: color 180ms ease; }
.main-nav a:hover, .header-cta:hover { color: #dfc895; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.language-select { min-height: 44px; padding: .4rem 1.35rem .4rem .4rem; color: var(--ivory); background: var(--night); border: 0; cursor: pointer; }
.language-select option { color: var(--ink); background: var(--ivory); }
.header-cta { gap: .35rem; border-bottom: 1px solid var(--gold); }
.header-cta span:last-child { color: #dfc895; }

.night-surface { color: var(--ivory); background: var(--night); }
.paper-surface { background: var(--ivory); }
.paper-deep { background: var(--sage); }
.green-surface { color: var(--ivory); background: var(--forest); }
.hero { position: relative; min-height: min(780px, calc(100svh - 5rem)); padding: clamp(4.8rem, 8vw, 8rem) var(--margin) 6rem; display: grid; grid-template-columns: minmax(19rem, .9fr) minmax(21rem, 1.1fr); align-items: center; gap: clamp(2.5rem, 8vw, 8rem); isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 77% 45%, rgb(24 57 47 / 58%), transparent 52%), radial-gradient(ellipse at 94% 92%, rgb(197 169 107 / 12%), transparent 32%), var(--night); }
.hero::before { position: absolute; z-index: -2; inset: 0; background-image: radial-gradient(1px 1px at 13% 24%, rgb(241 242 237 / 46%) 50%, transparent 58%), radial-gradient(1px 1px at 45% 77%, rgb(241 242 237 / 32%) 50%, transparent 58%), radial-gradient(1px 1px at 80% 17%, rgb(241 242 237 / 44%) 50%, transparent 58%), radial-gradient(1.5px 1.5px at 93% 61%, rgb(229 200 143 / 68%) 50%, transparent 58%), radial-gradient(1px 1px at 57% 12%, rgb(241 242 237 / 34%) 50%, transparent 58%); background-size: 280px 260px, 390px 340px, 340px 310px, 420px 380px, 310px 295px; content: ""; pointer-events: none; }
.hero::after { position: absolute; z-index: -1; top: 50%; right: 4%; width: min(52vw, 47rem); aspect-ratio: 1; border: 1px solid rgb(197 169 107 / 10%); border-radius: 50%; transform: translateY(-50%); content: ""; pointer-events: none; }
.hero-sky { position: absolute; z-index: -1; top: 50%; right: 1%; width: min(56vw, 52rem); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.sky-orbit { position: absolute; inset: 8%; border: 1px solid rgb(197 169 107 / 13%); border-radius: 50%; }
.sky-orbit-one { transform: rotate(-23deg) scaleY(.78); }
.sky-orbit-two { inset: 18%; transform: rotate(31deg) scaleY(.78); }
.sky-star { position: absolute; width: .3rem; height: .3rem; border-radius: 50%; background: #dfc895; }
.star-one { top: 20%; left: 34%; }.star-two { top: 71%; right: 17%; width: .22rem; height: .22rem; }.star-three { top: 10%; right: 30%; width: .18rem; height: .18rem; }.star-four { bottom: 21%; left: 11%; width: .2rem; height: .2rem; }
.hero-copy { position: relative; z-index: 1; max-width: 38rem; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: #dfc895; font-size: .75rem; font-weight: 600; letter-spacing: .16em; line-height: 1.6; }
.eyebrow-rule { width: 2.2rem; height: 1px; flex: 0 0 auto; background: var(--gold); }
.eyebrow-ink { color: #705529; }
.hero h1 { max-width: none; margin-bottom: 1.35rem; color: var(--ivory); font-size: clamp(3.5rem, 5.5vw, 5.9rem); letter-spacing: -.035em; line-height: .94; }
.hero-description { max-width: 38ch; margin-bottom: 1.8rem; color: var(--muted-night); font-size: clamp(1rem, 1.3vw, 1.13rem); line-height: 1.75; }
.button { min-height: 3.35rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: .85rem 1.2rem; border: 1px solid transparent; text-decoration: none; font-size: .84rem; font-weight: 600; cursor: pointer; transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ease-out); }
.button:active { transform: translateY(1px); }
.button-light { color: var(--night); background: #dfc895; }
.button-light:hover { background: #eddbb1; }
.button-dark { color: var(--ivory); background: var(--night); }
.button-dark:hover { background: var(--forest); }
.button svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 180ms var(--ease-out); }
.button:hover svg { transform: translateX(3px); }
.hero-note { max-width: 39ch; margin: 1.1rem 0 0; color: var(--muted-night); font-size: .77rem; line-height: 1.6; }
.hero-art { position: relative; z-index: 1; justify-self: center; width: min(100%, 29rem); margin: 0; padding: .7rem; background: rgb(241 242 237 / 7%); border: 1px solid rgb(241 242 237 / 24%); box-shadow: 0 32px 80px rgb(0 0 0 / 27%); transform: rotate(1deg); }
.hero-art-frame { overflow: hidden; background: #f2ebdd; }
.hero-art img { display: block; width: 100%; height: auto; }

/* Localized overlays replace technical/source-language labels baked into the sample PDF image. */
.sample-pdf-page {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 1697;
  overflow: hidden;
  container-type: inline-size;
  background: #f2ebdd;
}
.sample-pdf-page > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sample-pdf-top-copy {
  position: absolute;
  z-index: 1;
  top: 7.2%;
  left: 8.5%;
  right: 8.5%;
  height: 13%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.2cqw;
  overflow: hidden;
  color: #18263a;
  background: #f2ebdd;
}
.sample-pdf-kicker {
  display: block;
  font-size: clamp(4px, .8cqw, 8px);
  line-height: 1.2;
  letter-spacing: .05em;
  color: #a17a43;
}
.sample-pdf-title {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(7px, 2.8cqw, 24px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.sample-pdf-subtitle {
  display: block;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(4.5px, 1.05cqw, 10px);
  line-height: 1.3;
  max-width: 100%;
}
.sample-pdf-legend {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  bottom: 1.1%;
  min-height: 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5cqw;
  overflow: hidden;
  padding: 0 .2cqw;
  color: #725f43;
  background: #f2ebdd;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(3.5px, .72cqw, 8px);
  line-height: 1.2;
  white-space: nowrap;
}
.sample-pdf-legend > span { display: inline-flex; align-items: center; gap: .45cqw; }
.sample-pdf-legend i { display: inline-block; width: 2.4cqw; min-width: 4px; height: 1px; }
.legend-conjunction { background: #c6a56c; }
.legend-trine { background: #416a8b; }
.legend-sextile { background: #477b6e; }
.legend-square { background: #b66f62; }

.hero-art figcaption { margin: .7rem .35rem .1rem; color: var(--muted-night); text-align: center; font-size: .75rem; letter-spacing: .03em; }
.hero-index { position: absolute; right: var(--margin); bottom: 1.45rem; left: var(--margin); display: flex; justify-content: space-between; gap: 1rem; color: #d0d8d4; font-size: .75rem; letter-spacing: .13em; }

.intro-section { padding: clamp(5.5rem, 10vw, 9rem) var(--margin); display: grid; grid-template-columns: minmax(16rem, .9fr) minmax(20rem, 1.1fr); align-items: start; gap: 9vw; }
.section-lead h2, .report-heading h2, .contents-heading h2, .method-lead h2, .product-intro h2, .faq-lead h2 { max-width: 12ch; margin-bottom: 0; color: var(--ink); font-size: clamp(2.7rem, 5.1vw, 5rem); letter-spacing: -.03em; line-height: 1.02; }
.section-copy { max-width: 55ch; padding-top: 2.8rem; }
.section-copy p, .product-intro > p:last-child, .method-lead > p:last-child { margin-bottom: 1.7rem; color: var(--ink-soft); font-size: clamp(1rem, 1.32vw, 1.14rem); line-height: 1.82; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; color: var(--ink); border-bottom: 1px solid #80663c; text-decoration: none; font-size: .84rem; font-weight: 600; }
.text-link span:last-child { color: #705529; transition: transform 180ms var(--ease-out); }
.text-link:hover span:last-child { transform: translate(2px, 2px); }

.report-section { padding: 2rem var(--margin) clamp(6rem, 10vw, 9rem); }
.report-heading { padding-top: clamp(1.5rem, 4vw, 4rem); display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.report-heading h2 { max-width: 10ch; }
.report-summary { max-width: 38ch; margin-bottom: .45rem; color: var(--ink-soft); font-size: .96rem; line-height: 1.8; }
.report-sample { max-width: 69rem; margin: clamp(3rem, 7vw, 6rem) auto 0; }
.report-sample-image { width: min(100%, 37rem); margin-inline: auto; padding: clamp(.8rem, 2vw, 1.5rem); background: #e9e5da; box-shadow: 0 24px 54px rgb(0 0 0 / 12%); }
.report-sample-image img { display: block; width: 100%; height: auto; }
.report-sample figcaption { max-width: 54rem; margin: 1.15rem auto 0; display: flex; align-items: start; gap: .75rem; color: #45515b; font-size: .76rem; line-height: 1.65; }
.sample-marker { width: .45rem; height: .45rem; flex: 0 0 auto; margin-top: .35rem; border-radius: 50%; background: #80663c; }

.contents-section { padding: clamp(5.5rem, 9vw, 8rem) var(--margin); display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(24rem, 1.28fr); gap: clamp(3rem, 10vw, 10rem); }
.contents-heading { max-width: 28rem; }
.contents-heading h2 { max-width: 9ch; margin-bottom: 1.25rem; color: var(--ivory); }
.contents-heading > p:last-child { max-width: 38ch; margin: 1.3rem 0 0; color: #d6dfd9; line-height: 1.75; }
.contents-list { align-self: center; border-top: 1px solid var(--rule-night); }
.contents-row { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1.1rem; align-items: start; padding: 1.35rem 0 1.5rem; border-bottom: 1px solid var(--rule-night); }
.contents-index { padding-top: .25rem; color: #dfc895; font-family: var(--font-display); font-size: 1.1rem; }
.contents-row h3 { margin-bottom: .35rem; color: var(--ivory); font-size: 1.45rem; }
.contents-row p { max-width: 48ch; margin: 0; color: #d6dfd9; font-size: .88rem; line-height: 1.7; }
.contents-mark { color: #dfc895; font-size: .9rem; }

.method-section { padding: clamp(5.5rem, 9vw, 8.5rem) var(--margin); display: grid; grid-template-columns: minmax(17rem, .78fr) minmax(23rem, 1.22fr); gap: clamp(3rem, 9vw, 9rem); }
.method-lead { max-width: 31rem; }
.method-lead h2 { margin-bottom: 1.25rem; }
.method-lead > p:last-child { max-width: 37ch; margin-top: 1.25rem; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bfc5be; }
.process-row { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.3rem .15rem 1.45rem; border-bottom: 1px solid #bfc5be; }
.process-step { padding-top: .28rem; color: #705529; font-family: var(--font-display); font-size: 1rem; }
.process-row h3 { margin-bottom: .35rem; color: var(--ink); font-size: 1.45rem; }
.process-row p { max-width: 49ch; margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.7; }

.product-section { padding: clamp(5.5rem, 9vw, 8.5rem) var(--margin); display: grid; grid-template-columns: minmax(18rem, 1fr) minmax(19rem, .72fr); align-items: center; gap: clamp(3rem, 10vw, 10rem); }
.product-intro { max-width: 40rem; }
.product-intro h2 { max-width: 9ch; margin-bottom: 1.25rem; }
.product-intro > p:last-child { max-width: 47ch; margin-top: 1.35rem; }
.price-panel { padding-top: 1rem; border-top: 1px solid #aeb3aa; }
.price-row { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #c9ccc4; color: var(--ink-soft); font-size: .86rem; }
.price-row strong { color: var(--ink); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.faq-section { padding: clamp(5.5rem, 9vw, 8rem) var(--margin); display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(23rem, 1.3fr); gap: clamp(3rem, 9vw, 9rem); }
.faq-lead h2 { max-width: 9ch; }
.faq-list { border-top: 1px solid #bfc5be; }
.faq-list details { border-bottom: 1px solid #bfc5be; }
.faq-list summary { position: relative; min-height: 4.3rem; display: flex; align-items: center; padding: 1rem 2.4rem 1rem 0; color: var(--ink); font-family: var(--font-display); font-size: 1.32rem; line-height: 1.25; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: .15rem; color: #705529; font-family: var(--font-body); font-size: 1rem; content: "+"; transition: transform 160ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 62ch; margin: 0; padding: 0 1.4rem 1.25rem 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.75; }

.creation-section { padding: clamp(5.5rem, 9vw, 8.5rem) var(--margin); display: grid; grid-template-columns: minmax(17rem, .82fr) minmax(22rem, 1.18fr); align-items: start; gap: clamp(3rem, 9vw, 9rem); background: radial-gradient(ellipse at 8% 100%, rgb(24 57 47 / 55%), transparent 52%), var(--night); }
.creation-copy { max-width: 34rem; }
.creation-copy h2 { max-width: 8ch; margin-bottom: 1.25rem; color: var(--ivory); font-size: clamp(3.4rem, 6vw, 5.8rem); letter-spacing: -.03em; line-height: .96; }
.creation-copy > p:not(.eyebrow) { max-width: 40ch; color: var(--muted-night); line-height: 1.8; }
.form-truth { display: flex; align-items: start; gap: .9rem; margin-top: 2.1rem; }
.truth-rule { width: 1.8rem; height: 1px; flex: 0 0 auto; margin-top: .65rem; background: var(--gold); }
.form-truth p { max-width: 42ch; margin: 0; color: var(--muted-night); font-size: .78rem; line-height: 1.65; }
.birth-form { padding: clamp(1.15rem, 3vw, 2.2rem); background: #152338; border-top: 1px solid rgb(197 169 107 / 55%); }
.form-section-title { display: flex; align-items: center; gap: .9rem; margin: .35rem 0 1.15rem; color: #dfc895; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.form-section-line { height: 1px; flex: 1; background: var(--rule-night); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-grid-birth { grid-template-columns: 1fr 1fr; }
.field-row { min-width: 0; display: grid; gap: .45rem; margin-bottom: 1rem; }
.field-row label { color: #e6eae4; font-size: .76rem; font-weight: 500; }
.field-row input, .field-row select { width: 100%; min-height: 3rem; padding: .7rem .78rem; color: var(--ivory); background: #1d2c42; border: 1px solid #718092; border-radius: 0; }
.field-row input::placeholder { color: #c1cacb; opacity: 1; }
.field-row input:focus-visible, .field-row select:focus-visible, .language-select:focus-visible { outline-color: #dfc895; }
.field-row [aria-invalid="true"] { border-color: #ffb3a7; box-shadow: 0 0 0 1px #ffb3a7; }
.field-row input[type="date"], .field-row input[type="time"] { color-scheme: dark; }
.field-row select option { color: var(--ivory); background: #1d2c42; }
.place-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.search-button { min-width: 7.5rem; min-height: 3rem; padding: .55rem .8rem; color: var(--ivory); background: #263951; border: 1px solid #99a4a9; font-size: .75rem; font-weight: 600; cursor: pointer; transition: background-color 180ms ease; }
.search-button:hover { background: #314662; }
.search-button:disabled { color: #e0e3df; opacity: .72; cursor: wait; }
.field-help { margin: .1rem 0 0; color: #d0d8d4; font-size: .75rem; line-height: 1.55; }
.place-results { max-height: 16rem; overflow-y: auto; border: 1px solid #859198; background: #18283d; }
.place-results[hidden] { display: none; }
.place-option { width: 100%; display: block; padding: .75rem .8rem; color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid rgb(229 232 227 / 18%); text-align: left; font-size: .78rem; line-height: 1.5; cursor: pointer; }
.place-option:last-child { border-bottom: 0; }
.place-option:hover, .place-option:focus-visible { color: var(--ivory); background: #294133; }
.place-option[aria-selected="true"] { color: var(--ivory); background: #294133; }
.place-empty { margin: 0; padding: .8rem; color: #e5e8e3; font-size: .78rem; line-height: 1.55; }
.place-attribution { margin: .35rem 0 .6rem; color: #b7b4a9; font-size: .7rem; line-height: 1.5; letter-spacing: .015em; }
.place-attribution[hidden] { display: none; }
.place-attribution a { color: #d2c298; text-decoration: underline; text-underline-offset: .15em; }
.place-attribution a:focus-visible { outline: 2px solid #e7d8ac; outline-offset: 3px; }
.selected-place { margin: .25rem 0 .75rem; color: #e4d2a7; font-size: .75rem; line-height: 1.6; }
.order-total { min-height: 3.4rem; margin: .35rem 0 .9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule-night); color: #e1e6df; font-size: .76rem; }
.order-total strong { color: #f0ddb0; font-size: .9rem; font-variant-numeric: tabular-nums; }
.form-button { width: 100%; justify-content: space-between; }
.form-button:disabled { color: #49515b; background: #d1c7ae; cursor: not-allowed; opacity: 1; }
.form-button:disabled svg { opacity: .72; }
.form-feedback { min-height: 1.6rem; margin: .8rem 0 .25rem; color: #f0ddb0; font-size: .76rem; line-height: 1.6; }

.site-footer { min-height: 6.5rem; padding: 1.5rem var(--margin); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--ivory); background: #0b1321; }
.footer-wordmark { color: #dfc895; }
.site-footer p { margin: 0; color: #d0d8d4; font-family: var(--font-display); font-size: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .35rem 1rem; max-width: 36rem; }
.footer-legal a { min-height: 44px; display: inline-flex; align-items: center; color: #d0d8d4; font-size: .76rem; text-underline-offset: .2em; }
.footer-legal a:hover { color: #dfc895; }
.footer-top { min-height: 44px; display: inline-flex; align-items: center; gap: .6rem; color: var(--ivory); text-decoration: none; font-size: .76rem; }
.footer-top span:last-child { color: #dfc895; }

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 620ms var(--ease-out) var(--reveal-delay, 0ms), transform 620ms var(--ease-out) var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1500px) {
  .hero, .intro-section, .report-section, .contents-section, .method-section, .product-section, .faq-section, .creation-section, .site-header, .site-footer { padding-right: max(var(--margin), calc((100vw - 1440px) / 2)); padding-left: max(var(--margin), calc((100vw - 1440px) / 2)); }
}

@media (max-width: 920px) {
  :root { --margin: clamp(1.2rem, 5vw, 3rem); }
  .site-header { gap: 1.2rem; }
  .main-nav { gap: 1rem; }
  .hero { grid-template-columns: minmax(17rem, .9fr) minmax(17rem, 1.1fr); gap: 2rem; }
  .hero-art { width: min(100%, 25rem); }
  .hero h1 { font-size: clamp(3.2rem, 6.5vw, 5rem); }
  .contents-section, .method-section, .product-section, .faq-section, .creation-section { gap: 3.5rem; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 1rem; }
  .site-header { min-height: 4.2rem; padding-block: .55rem; flex-wrap: wrap; gap: 0 .65rem; }
  .wordmark { gap: .48rem; font-size: .75rem; }
  .brand-mark { width: 1.7rem; height: 1.7rem; }
  .main-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: .5rem; }
  .main-nav a { min-height: 40px; font-size: .75rem; }
  .header-actions { gap: .45rem; }
  .language-select { min-width: 42px; padding-right: .45rem; font-size: .75rem; }
  .header-cta { font-size: .75rem; }
  .hero { min-height: 0; padding-top: 4.5rem; padding-bottom: 5.5rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .hero::after { top: 54%; right: -22%; width: 95vw; }
  .hero-sky { top: 54%; right: -25%; width: 110vw; }
  .hero h1 { max-width: none; font-size: clamp(3.2rem, 13vw, 4.5rem); }
  .hero-description { max-width: 38ch; font-size: .98rem; }
  .hero-art { width: min(76vw, 21rem); justify-self: center; }
  .hero-art figcaption { font-size: .75rem; }
  .hero-index { bottom: 1.2rem; font-size: .75rem; }
  .intro-section { padding-block: 5.25rem; grid-template-columns: 1fr; gap: 1.2rem; }
  .section-lead h2, .report-heading h2, .contents-heading h2, .method-lead h2, .product-intro h2, .faq-lead h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .section-copy { padding-top: .2rem; }
  .report-section { padding-top: .5rem; padding-bottom: 5.25rem; }
  .report-heading { align-items: start; flex-direction: column; gap: 1.2rem; }
  .report-summary { max-width: 42ch; }
  .report-sample { margin-top: 2.4rem; }
  .report-sample-image { width: min(100%, 31rem); padding: .65rem; }
  .contents-section, .method-section, .product-section, .faq-section, .creation-section { padding-block: 5.25rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .contents-heading h2 { max-width: 10ch; }
  .contents-row { grid-template-columns: 1.7rem 1fr auto; gap: .65rem; }
  .contents-row h3, .process-row h3 { font-size: 1.3rem; }
  .method-lead h2 { max-width: 10ch; }
  .product-intro h2 { max-width: 10ch; }
  .faq-lead h2 { max-width: 10ch; }
  .faq-list summary { min-height: 4rem; font-size: 1.2rem; }
  .creation-copy h2 { font-size: clamp(3.4rem, 14vw, 5rem); }
  .field-grid, .field-grid-birth { grid-template-columns: 1fr; gap: 0; }
  .birth-form { padding: 1.1rem; }
  .place-search { grid-template-columns: 1fr; }
  .search-button { min-height: 44px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; padding-block: 1.4rem; }
  .site-footer p { order: 3; width: 100%; font-size: .9rem; }
  .footer-legal { order: 4; width: 100%; }
  .footer-top { margin-left: auto; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* Astrology library — long-form editorial pages in Portuguese and English. */
.library-page { min-height: 100vh; }
.library-header { flex-wrap: wrap; }
.library-header .main-nav { gap: clamp(.8rem, 2vw, 2rem); }
.library-header .main-nav a { white-space: nowrap; }
.library-actions { gap: .9rem; }
.language-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .25rem; color: var(--muted-night); text-decoration: none; font-size: .78rem; }
.language-link:hover, .language-link.is-current { color: #dfc895; }
.language-link.is-current { border-bottom: 1px solid var(--gold); }
.library-hero { position: relative; min-height: 31rem; padding: clamp(4.5rem, 8vw, 8rem) var(--margin); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(15rem, .55fr); align-items: end; gap: clamp(2rem, 8vw, 8rem); overflow: hidden; background: radial-gradient(ellipse at 82% 22%, rgb(24 57 47 / 72%), transparent 46%), var(--night); }
.library-hero::after { position: absolute; top: -28%; right: 1%; width: min(48vw, 41rem); aspect-ratio: 1; border: 1px solid rgb(197 169 107 / 13%); border-radius: 50%; box-shadow: 0 0 0 3rem rgb(197 169 107 / 2%), 0 0 0 7rem rgb(197 169 107 / 2%); content: ""; pointer-events: none; }
.library-hero-copy, .library-hero-note { position: relative; z-index: 1; }
.library-hero-copy { max-width: 54rem; }
.library-hero h1 { max-width: 11ch; margin-bottom: 1.5rem; color: var(--ivory); font-size: clamp(3.6rem, 7.5vw, 7.3rem); letter-spacing: -.045em; line-height: .93; }
.library-deck { max-width: 43rem; margin-bottom: 2rem; color: var(--muted-night); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.8; }
.library-hero-note { max-width: 22rem; justify-self: end; padding: 1.4rem 0 0; border-top: 1px solid var(--rule-night); color: var(--muted-night); }
.library-index { display: block; margin-bottom: 1rem; color: #dfc895; font-size: .72rem; letter-spacing: .15em; }
.library-hero-note p { margin: 0; font-size: .9rem; line-height: 1.8; }
.library-intro, .library-section { padding: clamp(4.5rem, 8vw, 8rem) var(--margin); }
.library-intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(18rem, 1fr); gap: clamp(2.5rem, 9vw, 9rem); align-items: start; }
.library-intro-grid h2, .library-section-heading h2, .library-faq h2, .library-cta h2 { max-width: 12ch; margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); letter-spacing: -.04em; line-height: .98; }
.library-intro-grid > div > p, .library-intro-grid > p, .library-reading-copy p { color: var(--ink-soft); font-size: 1rem; line-height: 1.9; }
.library-intro-grid > div > p:last-child, .library-reading-copy p:last-of-type { margin-bottom: 0; }
.library-section-heading { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.library-section-heading > p:last-child { max-width: 41rem; margin-top: 1.3rem; margin-bottom: 0; color: var(--ink-soft); line-height: 1.8; }
.library-concepts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-paper); border-left: 1px solid var(--rule-paper); }
.library-concept { min-width: 0; padding: clamp(1.4rem, 3vw, 2.6rem); border-right: 1px solid var(--rule-paper); border-bottom: 1px solid var(--rule-paper); }
.concept-number { display: block; margin-bottom: 2.3rem; color: #8b6b3c; font-size: .75rem; letter-spacing: .12em; }
.library-concept h3, .library-three h3 { margin-bottom: .9rem; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.02em; }
.library-concept p, .library-three p { color: var(--ink-soft); font-size: .94rem; line-height: 1.85; }
.library-concept .concept-question { margin-top: 1.5rem; margin-bottom: 0; font-size: .82rem; }
.concept-question strong { color: var(--ink); font-weight: 600; }
.library-intro-lead { max-width: 35rem; }
.library-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); }
.library-three article { padding-top: 1.2rem; border-top: 1px solid var(--rule-paper); }
.library-symbol { display: block; min-height: 3.8rem; margin-bottom: 1.5rem; color: #927142; font-family: var(--font-display); font-size: 2.5rem; }
.library-note { max-width: 58rem; margin-top: clamp(3rem, 6vw, 5rem); padding: 1.6rem 1.8rem; border-left: 2px solid var(--gold); background: #e7e9e3; }
.library-note strong { display: block; margin-bottom: .5rem; font-size: .9rem; }
.library-note p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.8; }
.green-surface .library-intro-grid h2 { color: var(--ivory); }
.green-surface .library-reading-copy p { color: #d6dfd9; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.25rem; padding-bottom: .5rem; border-bottom: 1px solid var(--gold); color: var(--ink); font-size: .86rem; font-weight: 600; text-decoration: none; }
.text-link-light { color: var(--ivory); }
.text-link:hover { color: #b39257; }
.text-link-light:hover { color: #dfc895; }
.library-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(18rem, 1.1fr); gap: clamp(2.5rem, 9vw, 9rem); }
.library-questions details { border-top: 1px solid var(--rule-paper); }
.library-questions details:last-child { border-bottom: 1px solid var(--rule-paper); }
.library-questions summary { min-height: 4.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; cursor: pointer; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; list-style: none; }
.library-questions summary::-webkit-details-marker { display: none; }
.library-questions summary::after { content: "+"; color: #927142; font-family: var(--font-body); font-size: 1rem; }
.library-questions details[open] summary::after { content: "−"; }
.library-questions details p { max-width: 55ch; padding: 0 2rem 1.4rem 0; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.8; }
.library-cta { padding: clamp(4rem, 7vw, 7rem) var(--margin); }
.library-cta h2 { max-width: 14ch; margin-bottom: 1.4rem; color: var(--ivory); }
.library-cta > p:not(.eyebrow) { max-width: 37rem; color: var(--muted-night); line-height: 1.8; }
.library-cta .button { margin-top: .8rem; }
.library-footer { min-height: 6rem; }
.library-footer p { margin: 0; color: var(--muted-night); }
.library-footer nav { display: flex; gap: 1rem; }
.library-footer nav a { color: var(--muted-night); font-size: .8rem; text-decoration: none; }
.library-footer nav a:hover, .library-footer nav a[aria-current="page"] { color: #dfc895; }
@media (max-width: 920px) {
  .library-header .main-nav { gap: .7rem; }
  .library-header .main-nav a { font-size: .74rem; }
  .library-actions { gap: .5rem; }
  .library-hero { grid-template-columns: minmax(0, 1fr) minmax(12rem, .55fr); gap: 2.5rem; }
  .library-intro-grid, .library-faq { gap: 2.5rem; }
}
@media (max-width: 680px) {
  .library-header .main-nav { justify-content: flex-start; overflow-x: auto; }
  .library-header .main-nav a { flex: 0 0 auto; }
  .library-actions { margin-left: auto; }
  .library-actions .header-cta { max-width: 9.5rem; white-space: normal; line-height: 1.2; }
  .library-hero { min-height: 0; grid-template-columns: 1fr; padding-top: 4.5rem; padding-bottom: 4.5rem; gap: 3rem; }
  .library-hero h1 { font-size: clamp(3.4rem, 14vw, 5.2rem); }
  .library-hero-note { justify-self: stretch; max-width: 30rem; }
  .library-intro-grid, .library-faq { grid-template-columns: 1fr; gap: 1.6rem; }
  .library-intro-grid h2, .library-section-heading h2, .library-faq h2, .library-cta h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .library-concepts { grid-template-columns: 1fr; }
  .library-concept { padding: 1.4rem; }
  .concept-number { margin-bottom: 1.4rem; }
  .library-three { grid-template-columns: 1fr; gap: 2rem; }
  .library-symbol { min-height: 2rem; margin-bottom: 1rem; }
  .library-footer nav { width: 100%; }
}


/* Prominent but secondary discovery CTA for the astrology library. */
.library-promo {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--margin);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--rule-paper);
  border-bottom: 1px solid var(--rule-paper);
  background: linear-gradient(110deg, #f0ece2 0%, #f8f5ec 56%, #e5e9e1 100%);
}
.library-promo-mark {
  width: clamp(4.5rem, 8vw, 7.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(143 117 71 / 35%);
  border-radius: 50%;
  color: #997946;
}
.library-promo-mark svg { display: block; width: 78%; height: 78%; fill: none; stroke: currentColor; stroke-width: .8; }
.library-promo-copy { max-width: 48rem; }
.library-promo-copy .eyebrow { margin-bottom: .8rem; }
.library-promo-copy h2 { max-width: 18ch; margin-bottom: .8rem; color: var(--ink); font-family: var(--font-display); font-size: clamp(2rem, 3.7vw, 3.6rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
.library-promo-copy > p:last-child { max-width: 52rem; margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }
.library-promo-button { justify-self: end; flex-shrink: 0; white-space: nowrap; }
.library-promo-button svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 800px) {
  .library-promo { grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; }
  .library-promo-mark { width: 4.5rem; }
  .library-promo-button { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
  .library-promo { grid-template-columns: 1fr; gap: 1.2rem; }
  .library-promo-mark { width: 3.8rem; }
  .library-promo-button { grid-column: 1; width: 100%; justify-content: center; }
}
