/* Orymera homepage art direction.
   Section rhythm alternates night → paper → lilac so the middle of the page
   never flattens into one continuous field. */

.orymera-home { overflow: hidden; background: var(--orymera-paper); }
.orymera-home__needs .orymera-kicker,
.orymera-home__featured .orymera-kicker,
.orymera-home__sample-reading .orymera-kicker,
.orymera-home__approach .orymera-kicker,
.orymera-home__shelf .orymera-kicker,
.orymera-home__ecosystem .orymera-kicker { color: var(--orymera-label); }

/* ---------- shared primitives ---------- */

/* ---------- 01 hero (night) ---------- */

.orymera-home__hero { position: relative; overflow: hidden; background: radial-gradient(70% 100% at 78% 8%, #2a1633 0, var(--orymera-night) 52%, var(--orymera-night-2) 100%); color: var(--orymera-paper-on-night); }
.orymera-home__hero-grid { min-height: clamp(700px, 82svh, 780px); display: grid; align-items: center; padding: 104px clamp(24px, 4vw, 56px) 88px; }
.orymera-home__hero-copy { position: relative; z-index: 3; max-width: 620px; }
.orymera-home__hero h1 { max-width: var(--orymera-width-display); margin: 0 0 26px; color: var(--orymera-on-night-strong); font-size: 62px; line-height: 1.07; letter-spacing: -.015em; text-wrap: pretty; }
.orymera-home__hero h1 em { font-style: italic; font-weight: 500; }
.orymera-home__hero-lede { max-width: 42ch; margin: 30px 0 0; color: var(--orymera-on-night); font-size: 19px; line-height: 1.5; }
.orymera-home__hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.orymera-home__trust { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.orymera-home__trust li { display: flex; align-items: center; gap: 14px; color: var(--orymera-on-night-muted); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .06em; }
.orymera-home__trust li + li::before { content: "·"; color: var(--orymera-gold); }

/* Full bleed: the art is positioned against the section, not the shell, so it
   runs to the viewport edge. A scrim carries it into the copy rather than
   ending on a hard line. */
.orymera-home__hero-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 32%; }
/* Fade the sky and its registered star layer together; the transparent
   portrait stays clear. */
.orymera-home__hero-background, .orymera-home__hero-stars { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / 12%) 20%, rgb(0 0 0 / 55%) 40%, #000 66%); mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / 12%) 20%, rgb(0 0 0 / 55%) 40%, #000 66%); }
.orymera-home__hero-card { position: absolute; inset: 0; overflow: hidden; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.orymera-home__hero-background, .orymera-home__hero-stars { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.orymera-home__hero-stars { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.orymera-home__hero-person { position: absolute; z-index: 2; inset: auto 0 0; display: block; width: 100%; height: 94%; object-fit: contain; object-position: center bottom; transform: translateY(3%); }
@media (min-width: 981px) {
    /* Keep the heading in place, then give the actions and portrait more room. */
    .orymera-home__hero-copy { padding-top: 20px; }
    .orymera-home__hero-actions { margin-top: 60px; }
    .orymera-home__hero-person { transform: translateY(5%); }
}
.orymera-home__hero-card figcaption { position: absolute; z-index: 3; right: clamp(24px, 4vw, 56px); bottom: 32px; left: auto; max-width: 30ch; padding: 0; color: var(--orymera-on-night); font-size: 13px; line-height: 1.45; text-align: right; }
.orymera-home__hero-card figcaption span { display: block; margin-bottom: 6px; color: var(--orymera-gold); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }


/* The instrument layer over the photograph. The rail this replaces spelled
   PATTERN / TIMING / CONTEXT against three dots and encoded nothing; this plots
   the actual return — forward across the natal degree, retrograde back, forward
   again — which is the one claim on the page only real computation can make. */
.orymera-home__return-plot { position: absolute; z-index: 3; right: clamp(24px, 4vw, 56px); bottom: 40px; width: 360px; max-width: calc(100% - 48px); margin: 0; }
.orymera-home__return-plot svg { display: block; width: 100%; height: auto; }
.orymera-home__return-plot figcaption { margin-top: 10px; color: var(--orymera-on-night-strong); font-size: 13px; line-height: 1.45; text-align: right; text-shadow: 0 1px 8px rgb(12 5 18 / 88%), 0 0 18px rgb(12 5 18 / 62%); }
.orymera-home__return-plot figcaption span { display: block; margin-bottom: 4px; color: var(--orymera-gold); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 02 need-first entry (paper) ---------- */

.orymera-home__needs { padding: clamp(72px, 9vw, 116px) 0 clamp(34px, 4vw, 52px); background: var(--orymera-paper); }
.orymera-home__needs-head { display: grid; grid-template-columns: 1fr minmax(0, 44ch); gap: 40px; align-items: end; margin-bottom: 40px; }
.orymera-home__needs-head h2 { max-width: 100%; margin: 0; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.06; text-wrap: pretty; }
.orymera-home__needs-head p { margin: 0; color: var(--orymera-text); font-size: 16px; line-height: 1.6; }

.orymera-home__needs-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.orymera-home__need-tab { min-height: 44px; padding: 13px 18px; border: 1px solid var(--orymera-rule); border-radius: var(--orymera-r-sm); background: var(--orymera-card); color: var(--orymera-ink); cursor: pointer; font: 500 14px var(--orymera-body); text-align: left; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.orymera-home__need-tab[aria-selected="true"] { border-color: transparent; background: var(--orymera-night); color: var(--orymera-paper-bright); }

.orymera-home__need-panel { padding: clamp(28px, 4vw, 44px); }
.orymera-home__need-panel:focus-visible { outline: var(--orymera-focus); outline-offset: -4px; }
.orymera-home__need-eyebrow { margin: 0 0 16px; color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__need-body { max-width: 62ch; margin: 0 0 26px; font: 400 clamp(20px, 2.2vw, 26px)/1.45 var(--orymera-display); }
.orymera-home__need-link { display: inline-flex; width: fit-content; align-items: center; gap: 6px; color: var(--orymera-ink); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--orymera-gold); padding-bottom: 3px; }
.orymera-home__need-link .orymera-icon { color: var(--orymera-gold); }
.orymera-home__needs-stage { border: 0; border-top: 1px solid var(--orymera-rule); border-radius: 0; background: transparent; box-shadow: none; }
.orymera-home__need-panel { padding: clamp(28px, 4vw, 44px) 0; }
.orymera-home__needs-note { max-width: 68ch; margin: 24px 0 0; color: var(--orymera-text-muted); font-size: 13px; line-height: 1.6; }

/* ---------- 03 featured tool (paper, raised card) ---------- */

.orymera-home__featured { position: relative; padding: clamp(28px, 3vw, 46px) 0 clamp(76px, 9vw, 120px); background: var(--orymera-paper); }
.orymera-home__featured::before { position: absolute; top: 0; right: clamp(24px, 4vw, 56px); left: clamp(24px, 4vw, 56px); height: 1px; background: linear-gradient(90deg, var(--orymera-rule), rgb(193 155 99 / 58%) 48%, var(--orymera-rule)); content: ''; }
.orymera-home__featured-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); gap: clamp(40px, 6vw, 76px); align-items: center; padding: clamp(24px, 3vw, 42px) 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.orymera-home__featured-copy h2 { margin: 0 0 18px; font-size: clamp(36px, 3.8vw, 48px); line-height: 1.04; }
.orymera-home__featured-lede { max-width: 43ch; margin: 0 0 26px; color: var(--orymera-text-strong); font-size: 17px; line-height: 1.6; }
.orymera-home__featured-related { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--orymera-ink); font-size: 13px; font-weight: 700; text-decoration-color: var(--orymera-accent); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.orymera-home__featured-related .orymera-icon { color: var(--orymera-gold-deep); }
.orymera-home__birth-form { max-width: 570px; padding-top: 22px; border-top: 1px solid var(--orymera-rule); }
.orymera-home__birth-date-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.orymera-home__birth-date-fields legend, .orymera-home__birth-input-wrap label { display: block; margin: 0 0 10px; color: var(--orymera-label); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.orymera-home__birth-control { min-width: 0; }
.orymera-home__birth-field { display: grid; gap: 14px; }
.orymera-home__birth-input-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.orymera-home__birth-input-wrap label { margin: 0; }
.orymera-home__birth-input-wrap :is(select, input) { width: 100%; min-height: 48px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--orymera-rule); border-radius: var(--orymera-r-sm); outline: 0; background: var(--orymera-warm-paper); color: var(--orymera-ink); font: 16px var(--orymera-body); }
.orymera-home__birth-month { position: relative; display: block; }
.orymera-home__birth-month select { appearance: none; padding-right: 42px; }
.orymera-home__birth-month .orymera-icon { position: absolute; top: calc(50% + 3px); right: 14px; color: var(--orymera-ink); pointer-events: none; transform: translateY(-50%); }
.orymera-home__birth-input-wrap :is(select, input):focus-visible { border-color: var(--orymera-accent-deep); box-shadow: 0 0 0 3px var(--orymera-accent-wash); }
.orymera-home__birth-field > button[type="submit"] { width: 100%; padding-inline: 20px; font-weight: 600; }
.orymera-home__birth-error { color: #9b3d3d; font-size: 12px; line-height: 1.45; }
.orymera-home__birth-error[hidden] { display: none; }
.orymera-home__birth-form > p { max-width: 44ch; margin: 14px 0 0; color: var(--orymera-text-muted); font-size: 13px; line-height: 1.55; }

.orymera-home__sample-result { padding: 30px 32px; background: var(--orymera-warm-paper); }
.orymera-home__sample-result header, .orymera-home__result-meta { display: flex; justify-content: space-between; gap: 16px; }
.orymera-home__sample-result header { color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__sample-result header strong { color: var(--orymera-label); font-size: 12px; }
.orymera-home__sample-result h3 { margin: 44px 0 24px; font-size: 32px; }
.orymera-home__result-meta { padding: 15px 0; border-block: 1px solid var(--orymera-rule); }
.orymera-home__result-meta span { display: grid; gap: 6px; color: var(--orymera-ink); font: 20px var(--orymera-display); }
.orymera-home__result-meta b { color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__sample-result p { margin: 25px 0 30px; color: var(--orymera-text-strong); font-size: 15px; line-height: 1.55; }
.orymera-home__sample-result small { color: var(--orymera-label); font-size: 12px; letter-spacing: .06em; }

/* The cycle diagram. Saturn's return is a measured span with three real
   crossings, not an atmosphere — drawing the actual shape is the one thing on
   this page no other astrology site could show. */
.orymera-home__cycle { margin: 0; padding: 32px 30px 26px; border: 1px solid var(--orymera-rule); background: var(--orymera-warm-paper); box-shadow: none; }
.orymera-home__cycle figcaption { margin-bottom: 22px; color: var(--orymera-text); font-size: 14px; line-height: 1.6; }
.orymera-home__cycle figcaption .orymera-kicker { display: block; margin-bottom: 10px; }
.orymera-home__cycle svg { display: block; width: 100%; height: auto; }
.orymera-home__cycle-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0 22px; padding: 0; list-style: none; }
.orymera-home__cycle-phases li { color: var(--orymera-text-muted); font-size: 13px; line-height: 1.5; }
.orymera-home__cycle-phases span { display: block; margin-bottom: 5px; color: var(--orymera-ink); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__cycle > small { color: var(--orymera-label); font-size: 12px; letter-spacing: .06em; }

/* ---------- 04 sample reading (lilac) ---------- */

.orymera-home__sample-reading { padding: clamp(72px, 9vw, 112px) 0; background: var(--orymera-lilac); }
.orymera-home__sample-reading-grid { display: grid; grid-template-columns: .42fr .58fr; gap: 48px; align-items: start; }
.orymera-home__sample-intro { max-width: 30ch; margin: 0; color: var(--orymera-text); font-size: 15px; line-height: 1.6; }
.orymera-home__sample-reading figure { margin: 0; }

/* The reading, shown rather than described. Structured rows read faster than
   prose and prove the product's shape; the excerpt stays as the Pattern row
   because it is the best writing on the page. */
.orymera-home__doc { margin: 0; padding: 30px 32px 26px; }
.orymera-home__doc header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.orymera-home__doc header .orymera-kicker { margin: 0; }
.orymera-home__doc header strong { color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__doc h3 { margin: 22px 0 6px; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.orymera-home__doc-window { margin: 0 0 8px; color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .08em; }
.orymera-home__doc-rows { margin: 0; padding: 0; list-style: none; }
.orymera-home__doc-rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--orymera-lilac-rule); }
.orymera-home__doc-rows svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--orymera-gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.orymera-home__doc-rows span { display: block; margin-bottom: 6px; color: var(--orymera-ink); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__doc-rows p { margin: 0; color: var(--orymera-text); font-size: 14px; line-height: 1.62; }
.orymera-home__doc figcaption { margin-top: 20px; color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 05 how it works (night) ---------- */

.orymera-home__steps { position: relative; padding: clamp(72px, 8vw, 104px) 0; background: radial-gradient(80% 70% at 92% 0, rgb(67 38 79 / 58%) 0, var(--orymera-night) 62%); color: var(--orymera-paper-on-night); }
.orymera-home__steps::before { position: absolute; top: 0; right: clamp(24px, 4vw, 56px); left: clamp(24px, 4vw, 56px); height: 1px; background: linear-gradient(90deg, transparent, rgb(193 155 99 / 62%) 50%, transparent); content: ''; }
.orymera-home__steps-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: baseline; justify-content: space-between; margin-bottom: 52px; }
.orymera-home__steps-head h2 { margin: 0; color: var(--orymera-on-night-strong); font-size: clamp(36px, 3.8vw, 46px); line-height: 1.06; }
.orymera-home__steps-flag { margin: 0; color: var(--orymera-gold); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.orymera-home__steps-list li { padding-top: 22px; border-top: 1px solid rgb(232 219 210 / 22%); }
.orymera-home__step-index { display: block; margin-bottom: 18px; color: var(--orymera-gold); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; }
.orymera-home__steps-list h3 { margin: 0 0 12px; color: var(--orymera-on-night-strong); font-size: 27px; line-height: 1.15; }
.orymera-home__steps-list p { margin: 0; color: var(--orymera-on-night-muted); font-size: 15px; line-height: 1.6; }

/* The pipeline. "How Orymera works" describes what the reader does; this shows
   what the system does to the one thing they hand over. The ephemeris node is
   the point — it is the step a sign-table site does not have. */
.orymera-home__pipeline { max-width: 1040px; margin: clamp(46px, 5vw, 64px) auto 0; padding-top: clamp(32px, 3.5vw, 42px); border-top: 1px solid rgb(232 219 210 / 18%); }
.orymera-home__pipeline > .orymera-kicker { margin-bottom: 26px; text-align: center; }
.orymera-home__pipeline ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.orymera-home__pipeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--orymera-on-night-muted); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.orymera-home__pipeline li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: calc(50% + 32px); width: calc(100% - 52px); height: 1px; background: linear-gradient(90deg, rgb(193 155 99 / 42%), rgb(193 155 99 / 10%)); }
.orymera-home__pipeline-mark { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(193 155 99 / 40%); border-radius: 50%; background: rgb(31 16 37 / 60%); }
.orymera-home__pipeline-mark .orymera-icon { color: var(--orymera-gold); }

/* ---------- 06 standards & pre-purchase clarity (paper) ---------- */

.orymera-home__approach { position: relative; padding: clamp(72px, 7vw, 96px) 0; background: var(--orymera-paper); }
.orymera-home__approach::before { position: absolute; top: 0; right: clamp(24px, 4vw, 56px); left: clamp(24px, 4vw, 56px); height: 1px; background: linear-gradient(90deg, transparent, var(--orymera-rule) 34%, var(--orymera-gold) 50%, var(--orymera-rule) 66%, transparent); content: ''; }
.orymera-home__approach-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.orymera-home__approach h2 { max-width: 100%; margin: 0; font-size: clamp(34px, 3.6vw, 44px); line-height: 1.08; text-wrap: pretty; }
.orymera-home__principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(42px, 4vw, 54px); padding-top: clamp(34px, 3.5vw, 44px); border-top: 1px solid var(--orymera-rule); }
.orymera-home__principle-mark { display: grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; border: 1px solid rgb(193 155 99 / 45%); border-radius: 50%; }
.orymera-home__principle-mark .orymera-icon { color: var(--orymera-gold); }
.orymera-home__principles h3 { margin: 0 0 10px; font-size: 23px; }
.orymera-home__principles p { margin: 0; max-width: 34ch; color: var(--orymera-text); font-size: 15px; line-height: 1.6; }
.orymera-home__promises { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--orymera-rule); }
.orymera-home__promises li { position: relative; padding: 20px 0 20px 26px; border-bottom: 1px solid var(--orymera-rule); color: var(--orymera-text-strong); font-size: 15px; line-height: 1.55; }
.orymera-home__promises li::before { content: "◆"; position: absolute; top: 20px; left: 0; color: var(--orymera-gold); font-size: 12px; line-height: 1.7; }

/* The commercial promise, folded into the standards section as a band rather
   than a third card row — same three facts, a fifth of the height. */
.orymera-home__clarity-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: clamp(38px, 4vw, 50px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--orymera-rule); list-style: none; }
.orymera-home__clarity-strip li { color: var(--orymera-text); font-size: 14px; line-height: 1.6; }
.orymera-home__clarity-tag { display: block; margin-bottom: 10px; color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 03b tool shelf (paper) — absent at one live tool ---------- */

.orymera-home__shelf { padding: 0 0 clamp(72px, 9vw, 112px); background: var(--orymera-paper); }
.orymera-home__shelf-head { margin-bottom: 28px; }
.orymera-home__shelf-head h2 { margin: 0; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.06; }
.orymera-home__shelf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.orymera-home__shelf-grid li { display: flex; flex-direction: column; padding: 26px 24px 28px; }
.orymera-home__shelf-type { margin: 0 0 14px; color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__shelf-grid h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.15; }
.orymera-home__shelf-note { margin: 0 0 22px; color: var(--orymera-text); font-size: 14px; line-height: 1.6; }
.orymera-home__shelf-link { display: inline-flex; width: fit-content; align-items: center; gap: 6px; margin-top: auto; color: var(--orymera-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.orymera-home__shelf-link .orymera-icon { color: var(--orymera-gold); }

/* ---------- 07 coming soon (lilac) — planned stays visibly planned ---------- */

.orymera-home__ecosystem { position: relative; padding: clamp(60px, 7vw, 88px) 0; background: var(--orymera-lilac); }
.orymera-home__ecosystem::before { position: absolute; top: 0; right: clamp(24px, 4vw, 56px); left: clamp(24px, 4vw, 56px); height: 1px; background: linear-gradient(90deg, transparent, rgb(193 155 99 / 72%) 50%, transparent); content: ''; }
.orymera-home__ecosystem-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40ch); gap: clamp(28px, 4vw, 60px); align-items: end; margin-bottom: clamp(26px, 3vw, 38px); }
.orymera-home__ecosystem-head h2 { max-width: 100%; margin: 0; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.06; text-wrap: pretty; }
.orymera-home__ecosystem-head p:not(.orymera-kicker) { margin: 0; max-width: 46ch; color: var(--orymera-text); font-size: 16px; line-height: 1.6; }
.orymera-home__planned { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.orymera-home__planned li { padding: 24px 24px 28px; border: 1px dashed rgb(37 20 43 / 24%); border-radius: var(--orymera-r-md); background: transparent; }
.orymera-home__planned-tag { display: inline-block; margin-bottom: 16px; padding: 5px 11px; border: 1px solid var(--orymera-rule); border-radius: var(--orymera-r-pill); color: var(--orymera-label); font-family: var(--orymera-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.orymera-home__planned .orymera-home__planned-name { margin: 0 0 10px; color: var(--orymera-text); font: 400 22px/1.2 var(--orymera-display); letter-spacing: -.04em; }
.orymera-home__planned p { margin: 0; color: var(--orymera-label); font-size: 14px; line-height: 1.55; }
.orymera-home__roadmap { max-width: 62ch; margin: 26px 0 0; color: var(--orymera-label); font-size: 13px; line-height: 1.6; }

/* ---------- 08 closing (night) ---------- */

.orymera-home__closing { padding: clamp(72px, 8vw, 96px) 0; background: linear-gradient(180deg, rgb(31 16 37 / 58%) 0, rgb(23 11 28 / 80%) 100%), url('../brand/orymera-closing-ambient-v2.jpg') center / cover no-repeat, var(--orymera-night-2); color: var(--orymera-paper-on-night); text-align: center; }
.orymera-home__closing svg { display: block; margin: 0 auto 24px; }
.orymera-home__closing h2 { max-width: none; margin: 0 auto 30px; color: var(--orymera-on-night-strong); font-size: clamp(36px, 4vw, 48px); line-height: 1.08; letter-spacing: -.01em; }
.orymera-home__closing h2 em { font-style: italic; font-weight: 500; }

/* Desktop shows the full proof sequence. Phones start with a compact native
   disclosure, while its content remains in the server-rendered document. */
.orymera-home__mobile-disclosure { margin: 0; }
.orymera-home__mobile-disclosure > summary { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    /* Undo the whole full-bleed arrangement, not only its outer box: the card is
       absolute and clipped at desktop, and leaving it that way put the rail in
       the art's top corner and cropped the caption out of existence. */
    .orymera-home__hero-art { position: relative; z-index: auto; inset: auto; width: min(360px, 100%); margin-top: 34px; }
    .orymera-home__hero-card { position: relative; inset: auto; overflow: hidden; aspect-ratio: 1; border-radius: var(--orymera-r-lg); }
    .orymera-home__hero-background, .orymera-home__hero-stars { -webkit-mask-image: none; mask-image: none; }
    .orymera-home__hero-card figcaption { position: static; max-width: none; margin-top: 16px; padding: 0; text-align: left; }
    .orymera-home__return-plot { position: static; width: min(360px, 100%); max-width: none; margin: 22px 0 0; }
    .orymera-home__return-plot figcaption { text-align: left; }
        .orymera-home__hero-grid { padding-bottom: 56px; }
    .orymera-home__featured-card { grid-template-columns: 1fr; gap: 44px; }
    .orymera-home__approach-grid { grid-template-columns: 1fr; gap: 44px; }
    .orymera-home__steps-list, .orymera-home__clarity-strip, .orymera-home__planned, .orymera-home__principles { grid-template-columns: 1fr; }
    .orymera-home__pipeline ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .orymera-home__pipeline li:not(:last-child)::after { display: none; }
    .orymera-home__pipeline li:last-child { grid-column: 1 / -1; }
    .orymera-home__clarity-strip { gap: 24px; }
    .orymera-home__ecosystem-head { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 800px) {
    .orymera-home__hero-grid, .orymera-home__sample-reading-grid, .orymera-home__needs-head { grid-template-columns: 1fr; }
    .orymera-home__hero-grid { min-height: 0; padding: 104px clamp(24px, 4vw, 56px) 46px; }
    .orymera-home__hero-copy { padding: 0; }
    .orymera-home__hero-art { margin: 10px 0 30px; }
                .orymera-home__needs-head { gap: 18px; align-items: start; }
    .orymera-home__sample-reading-grid { gap: 32px; }
    .orymera-home__steps-head { margin-bottom: 38px; }
}

/* Compact tablets need their own composition. The photo remains a full-height
   visual field beside the copy until the desktop composition has room to take
   over, so it never drops into an unfinished third row. */
@media (min-width: 641px) and (max-width: 980px) {
    .orymera-home__hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(238px, .88fr); min-height: 740px; padding: 104px clamp(32px, 4vw, 48px) 64px; }
    .orymera-home__hero-copy { max-width: 32rem; }
    .orymera-home__hero h1 { max-width: 100%; font-size: clamp(46px, 7vw, 56px); }
    .orymera-home__hero-lede { max-width: 42ch; }
    .orymera-home__hero-art { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 42%; height: auto; margin: 0; overflow: hidden; -webkit-mask-image: none; mask-image: none; }
    .orymera-home__hero-art::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, var(--orymera-night) 0, rgb(23 11 28 / 34%) 27%, transparent 62%), linear-gradient(0deg, var(--orymera-night) 0, transparent 36%); content: ''; pointer-events: none; }
    .orymera-home__hero-card { position: absolute; inset: 0; width: 100%; }
    .orymera-home__hero-background, .orymera-home__hero-stars { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-position: 54% 30%; }
    .orymera-home__hero-card figcaption, .orymera-home__return-plot { display: none; }
}

@media (max-width: 640px) {
    /* Mobile is an editorial cover, not a photo card followed by a campaign
       block: the image becomes the first field and the type arrives through
       its darkened lower edge. Source order stays copy-first for SEO/readers. */
    .orymera-home__hero-grid { --orymera-mobile-art-height: clamp(340px, 110vw, 490px); display: block; min-height: 100svh; padding: 0 24px 48px; }
    .orymera-home__hero-art { position: absolute; z-index: 1; inset: 0 0 auto; width: 100%; height: var(--orymera-mobile-art-height); margin: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 48%, rgb(0 0 0 / 78%) 68%, transparent 94%); mask-image: linear-gradient(180deg, #000 0, #000 48%, rgb(0 0 0 / 78%) 68%, transparent 94%); }
    .orymera-home__hero-art::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgb(23 11 28 / 5%) 15%, rgb(23 11 28 / 10%) 50%, var(--orymera-night) 100%); content: ''; pointer-events: none; }
    .orymera-home__hero-card { position: absolute; inset: 0; width: 100%; border-radius: 0; }
    .orymera-home__hero-background, .orymera-home__hero-stars { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-position: 50% 30%; }
    .orymera-home__hero-card figcaption { display: none; }
    .orymera-home__hero-copy { z-index: 3; max-width: 28rem; padding-top: calc(var(--orymera-mobile-art-height) - 130px); }
    .orymera-home__hero .orymera-kicker { margin: 0 0 14px; color: var(--orymera-gold); font-size: 11px; letter-spacing: .12em; }
    .orymera-home__hero h1 { max-width: 100%; margin: 0; font-size: clamp(36px, 10.5vw, 42px); line-height: 1.02; }
    .orymera-home__hero h1 br { display: none; }
    .orymera-home__hero-lede { max-width: 42ch; margin-top: 18px; font-size: 17px; line-height: 1.48; }
    .orymera-home__hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 28px; }
    .orymera-home__hero-actions .orymera-button--gold { width: auto; min-width: 220px; padding-inline: 20px; }
    .orymera-home__hero-actions .orymera-button--ghost { width: auto; min-height: 44px; padding: 2px 0; border: 0; color: var(--orymera-on-night-muted); text-decoration: underline; text-decoration-color: rgb(193 155 99 / 66%); text-underline-offset: 5px; }
    .orymera-home__trust { gap: 8px 16px; margin-top: 16px; }
    .orymera-home__trust li { gap: 0; font-family: var(--orymera-body); font-size: 13px; letter-spacing: 0; }
    .orymera-home__trust li + li::before { display: none; }
    .orymera-home__return-plot { display: none; }

    .orymera-home__needs { padding: 54px 0 40px; }
    .orymera-home__needs-picker { flex-wrap: nowrap; gap: 10px; margin: 0 -1px 20px; padding: 2px 40px 12px 1px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 24px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 0 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, #000 0 calc(100% - 22px), transparent 100%); }
    .orymera-home__needs-picker::-webkit-scrollbar { display: none; }
    .orymera-home__need-tab { width: auto; min-height: 64px; flex: 0 0 min(72vw, 270px); padding: 14px 16px; scroll-snap-align: start; }
    .orymera-home__needs-stage { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .orymera-home__need-panel { padding: 24px 0 22px; }
    .orymera-home__need-body { margin-bottom: 22px; font-size: 22px; }

    .orymera-home__featured { padding: 42px 0 60px; }
    .orymera-home__featured-card { gap: 28px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .orymera-home__featured-copy h2 { margin-bottom: 14px; }
    .orymera-home__featured-lede { margin-bottom: 22px; }
    .orymera-home__birth-form { margin-inline: -1px; padding: 22px 20px; border: 1px solid var(--orymera-rule); border-radius: var(--orymera-r-md); background: var(--orymera-warm-paper); }
    .orymera-home__birth-field { display: grid; }
    .orymera-home__birth-input-wrap { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); }
    .orymera-home__birth-field > button[type="submit"] { min-height: 52px; }
    .orymera-home__cycle { padding: 22px 20px 20px; }
    .orymera-home__cycle figcaption { margin-bottom: 16px; }
    .orymera-home__cycle-phases { gap: 10px; margin-bottom: 18px; }
    .orymera-home__cycle-phases li { font-size: 12px; }

    .orymera-home__steps { padding: 56px 0; }
    .orymera-home__steps-head { margin-bottom: 32px; }
    .orymera-home__steps-list { gap: 20px; }
    .orymera-home__steps-list h3 { font-size: 24px; }

    .orymera-home__mobile-disclosure { margin-top: 36px; border-top: 1px solid rgb(232 219 210 / 22%); border-bottom: 1px solid rgb(232 219 210 / 22%); }
    .orymera-home__mobile-disclosure > summary { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 18px; color: var(--orymera-on-night-strong); cursor: pointer; font: 400 21px/1.2 var(--orymera-display); list-style: none; }
    .orymera-home__mobile-disclosure > summary::-webkit-details-marker { display: none; }
    .orymera-home__mobile-disclosure > summary::after { width: 9px; height: 9px; flex: 0 0 auto; border-right: 1px solid var(--orymera-gold); border-bottom: 1px solid var(--orymera-gold); content: ''; transform: rotate(45deg) translate(-2px, -2px); transition: transform 180ms ease; }
    .orymera-home__mobile-disclosure[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }
    .orymera-home__mobile-disclosure .orymera-home__pipeline { margin-top: 0; padding: 0 0 30px; border: 0; }
    .orymera-home__mobile-disclosure .orymera-home__pipeline > .orymera-kicker { display: none; }
    .orymera-home__mobile-disclosure .orymera-home__pipeline ol { grid-template-columns: 1fr; gap: 14px; }
    .orymera-home__mobile-disclosure .orymera-home__pipeline li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; text-align: left; }

    .orymera-home__approach { padding: 56px 0; }
    .orymera-home__approach-grid { gap: 30px; }
    .orymera-home__mobile-disclosure--standards { margin-top: 38px; border-color: var(--orymera-rule); }
    .orymera-home__mobile-disclosure--standards > summary { color: var(--orymera-ink); }
    .orymera-home__mobile-disclosure--standards .orymera-home__principles { margin-top: 0; padding: 4px 0 30px; border: 0; gap: 30px; }
    .orymera-home__mobile-disclosure--standards .orymera-home__clarity-strip { margin-top: 0; padding: 28px 0 30px; gap: 22px; }
    .orymera-home__sample-result { padding: 24px 20px; }
    .orymera-home__ecosystem { padding: 52px 0; }
    .orymera-home__closing { padding: 64px 0; }
}

@media (max-width: 480px) {
    .orymera-home__birth-input-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .orymera-home__birth-input-wrap label:first-child { grid-column: 1 / -1; }
}

/* Wide phones have enough room for a second action, but not for a miniature
   desktop split. Treat the image as a cover and let the reading field emerge
   from its lower fade, so the hero ends with content rather than dark surplus. */
@media (min-width: 521px) and (max-width: 640px) {
    .orymera-home__hero-grid { min-height: 0; padding: 0 28px 40px; }
    .orymera-home__hero-art::after { background: linear-gradient(180deg, rgb(23 11 28 / 5%) 15%, rgb(23 11 28 / 10%) 50%, var(--orymera-night) 100%); }
    .orymera-home__hero-background, .orymera-home__hero-stars { object-position: 50% 33%; }
    .orymera-home__hero-copy { max-width: none; }
    .orymera-home__hero .orymera-kicker { margin-bottom: 20px; letter-spacing: .14em; }
    .orymera-home__hero h1 { max-width: 100%; font-size: clamp(46px, 8.8vw, 54px); line-height: 1.05; }
    .orymera-home__hero-lede { max-width: 42ch; margin-top: 30px; font-size: 18px; }
    .orymera-home__hero-actions { flex-direction: row; gap: 12px; margin-top: 36px; }
    .orymera-home__hero-actions .orymera-button--gold { min-height: 52px; padding-inline: 19px; }
    .orymera-home__hero-actions .orymera-button--ghost { min-height: 52px; padding: 0 16px; border: 1px solid rgb(232 219 210 / 42%); color: var(--orymera-on-night-strong); text-decoration: none; }
    .orymera-home__trust { gap: 8px 19px; margin-top: 24px; }
    .orymera-home__trust li { font-size: 13px; }
}

@media (max-width: 360px) {
    .orymera-home__hero h1 { font-size: 34px; }
    .orymera-home__hero-lede { margin-top: 14px; font-size: 16px; }
    .orymera-home__hero-actions { margin-top: 22px; }

    /* Three narrow columns make the phase labels run into each other on the
       smallest phones. Keep the same sequence, but give each label a readable
       rail beside its explanation. */
    .orymera-home__birth-field > button[type="submit"] { padding-inline: 12px; font-size: 14px; }
    .orymera-home__cycle { padding: 24px 20px 22px; }
    .orymera-home__cycle-phases { grid-template-columns: 1fr; gap: 14px; }
    .orymera-home__cycle-phases li { display: grid; grid-template-columns: minmax(0, 92px) minmax(0, 1fr); gap: 10px; align-items: baseline; }
    .orymera-home__cycle-phases span { margin-bottom: 0; font-size: 11px; letter-spacing: .1em; }
}

@media (hover: hover) and (pointer: fine) {
    .orymera-home__need-tab:hover { border-color: rgb(37 20 43 / 34%); }
}

@media (prefers-reduced-motion: no-preference) {
    .orymera-home__hero-copy, .orymera-home__hero-art { animation: orymera-rise 700ms ease both; }
    .orymera-home__hero-art { animation-delay: 120ms; }
}

@media (prefers-reduced-motion: reduce) {
    .orymera-home__need-tab { transition: none; }
}

@keyframes orymera-rise { from { opacity: .01; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
