/* ==========================================================================
   Home Vibration Calculator page
   Luxury editorial theme matching the Stories pages:
   ivory #f8f4ec, paper #fffdf8, ink #171714, gold #b88c2c, line #d9c9a5
   ========================================================================== */

:root {
    --ivory: #f8f4ec;
    --paper: #fffdf8;
    --ink: #171714;
    --ink-soft: #27231e;
    --muted: #665f54;
    --gold: #b88c2c;
    --gold-deep: #7d5d19;
    --gold-bright: #c5a95e;
    --gold-pale: #e6d9b8;
    --line: #d9c9a5;
    --line-soft: #e3dac9;
    --night: #0b0b09;
    --night-2: #14120e;
    --serif-display: 'Fraunces', Georgia, serif;
    --serif-head: 'Cormorant Garamond', Georgia, serif;
    --serif-body: 'Source Serif 4', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --gutter: clamp(1.25rem, 5vw, 4rem);
}

body.hv-page {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--serif-body);
    font-size: 1.08rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.hv-page h1,
.hv-page h2,
.hv-page h3 {
    margin: 0;
    font-weight: 500;
}

.hv-page p {
    margin: 0;
}

.hv-page a {
    color: var(--gold-deep);
    text-underline-offset: 0.2em;
}

.section-kicker {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.section-kicker::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 0.7rem;
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    color: #1a140b;
    background: linear-gradient(135deg, #ead8ac, #c5a95e);
    border: 1px solid rgba(197, 169, 94, 0.65);
    box-shadow: 0 16px 36px rgba(197, 169, 94, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, #f0e0b6, #d0b56a);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(230, 217, 184, 0.4);
    color: #f7f1e6;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.hv-guide-band .btn-secondary {
    background: #fffaf0;
    border: 1px solid #8a6a1f;
    color: #5a4413;
    font-weight: 700;
}

.hv-guide-band .btn-secondary:hover,
.hv-guide-band .btn-secondary:focus-visible {
    background: #f3e6c8;
}

/* ---------- hero ---------- */

.hv-hero {
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(197, 169, 94, 0.14), transparent 60%),
        radial-gradient(700px 380px at 5% 110%, rgba(197, 169, 94, 0.08), transparent 55%),
        #080807;
    color: var(--paper);
    text-align: center;
    padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter) clamp(4rem, 7vw, 6rem);
    border-bottom: 1px solid rgba(197, 169, 94, 0.25);
}

.hv-hero .section-kicker {
    color: var(--gold-bright);
    margin-bottom: 1.2rem;
}

.hv-hero h1 {
    font-family: var(--serif-display);
    font-size: clamp(2.4rem, 6vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--paper);
    max-width: 20ch;
    margin: 0 auto;
}

.hv-page .hv-hero__lede {
    margin: 1.5rem auto 0;
    max-width: 42rem;
    color: rgba(255, 253, 248, 0.8);
    font-size: 1.12rem;
    line-height: 1.8;
}

.hv-page .hv-hero__quote {
    margin: 2.2rem auto 0;
    max-width: 34rem;
    font-family: var(--serif-head);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gold-pale);
}

.hv-hero__quote cite {
    display: block;
    margin-top: 0.6rem;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(230, 217, 184, 0.65);
}

/* ---------- calculator ---------- */

.hv-calculator {
    padding: clamp(3rem, 7vw, 5rem) var(--gutter);
}

.hv-calculator__inner {
    max-width: 720px;
    margin: 0 auto;
}

.hv-form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    text-align: center;
    box-shadow: 0 20px 55px rgba(48, 38, 20, 0.1);
}

.hv-form-card img.hv-key {
    width: 40px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

.hv-form-card label {
    display: block;
    font-family: var(--serif-head);
    font-size: 1.45rem;
    color: var(--ink);
    margin-bottom: 1.1rem;
}

#hvInput {
    width: 100%;
    box-sizing: border-box;
    padding: 1.1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #cfc4b1;
    background: #fffefa;
    color: var(--ink);
    font-family: var(--serif-display);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.1rem;
    transition: outline-color 0.2s ease, border-color 0.2s ease;
}

#hvInput:focus {
    outline: 2px solid rgba(184, 140, 44, 0.45);
    border-color: var(--gold);
}

#hvCalculateButton {
    width: 100%;
}

.hv-note {
    margin-top: 1.25rem;
    font-size: 0.92rem;
    color: var(--muted);
    font-style: italic;
}

/* ---------- result ---------- */

.hv-result {
    margin-top: 2.5rem;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(48, 38, 20, 0.12);
    position: relative;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hv-result.is-visible {
    opacity: 1;
    transform: none;
}

.hv-result[hidden] {
    display: none;
}

.hv-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

#hvClose {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--gold-deep);
    font-size: 1.2rem;
    cursor: pointer;
}

#hvFormula {
    margin: 0 auto 1rem;
    max-width: 520px;
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.8;
}

#hvNumber {
    font-family: var(--serif-display);
    font-size: clamp(4rem, 12vw, 6.5rem);
    line-height: 1;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

#hvTitle {
    font-family: var(--serif-display);
    color: var(--ink);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
}

.hv-text {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hv-block {
    margin-bottom: 1.75rem;
}

.hv-label {
    display: block;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
}

.hv-energy {
    font-family: var(--serif-head);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--ink);
}

.hv-shift {
    padding: 1.5rem;
    background: rgba(184, 140, 44, 0.06);
    border: 1px solid rgba(184, 140, 44, 0.18);
    border-radius: 14px;
    margin-bottom: 1.75rem;
}

.hv-master {
    margin-top: 0.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: #e8d6ac;
    border: 1px solid var(--line);
}

.hv-master-title {
    font-family: var(--serif-display);
    font-size: 1.2rem;
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.hv-master-summary {
    margin-bottom: 0.9rem;
}

.hv-master-gifts {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.4rem;
}

.hv-master-base {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.hv-master-base p {
    margin-bottom: 0.4rem;
}

.hv-base-name {
    color: var(--gold-deep);
}

#hvKarmic {
    margin: 1.5rem auto 0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(184, 140, 44, 0.08);
    border: 1px solid rgba(184, 140, 44, 0.2);
    font-family: var(--sans);
    font-size: 0.92rem;
    color: var(--gold-deep);
    max-width: 540px;
}

#hvKarmic strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.hv-result-pdf {
    margin-top: 1.75rem;
    font-family: var(--sans);
    font-size: 0.85rem;
}

.hv-result-reading {
    margin-top: 1.1rem;
    font-family: var(--sans);
    font-size: 0.85rem;
}

/* ---------- personal reading invitation ---------- */

.hv-reading {
    background: var(--night);
    color: var(--paper);
    padding: clamp(3rem, 7vw, 4.5rem) var(--gutter);
    text-align: center;
}

.hv-reading__inner {
    max-width: 720px;
    margin: 0 auto;
}

.hv-reading .section-kicker {
    color: var(--gold-bright);
    margin-bottom: 0.9rem;
}

.hv-reading h2 {
    font-family: var(--serif-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--paper);
    margin-bottom: 1.4rem;
}

.hv-reading__body p {
    color: rgba(255, 253, 248, 0.82);
    line-height: 1.85;
    margin: 0 0 1.1rem;
}

.hv-reading p.hv-reading__session {
    margin: 1.75rem 0 2.1rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.hv-reading p.hv-reading__note {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    font-style: italic;
    color: rgba(255, 253, 248, 0.6);
}

/* ---------- number index ---------- */

.hv-index {
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    padding: clamp(3rem, 7vw, 5rem) var(--gutter);
}

.hv-index__inner {
    max-width: 1020px;
    margin: 0 auto;
}

.hv-index h2 {
    font-family: var(--serif-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.6rem;
}

.hv-index__intro {
    color: var(--muted);
    max-width: 44rem;
    margin-bottom: 2.25rem;
}

.hv-index__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.1rem;
}

.hv-num-card {
    background: var(--ivory);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.hv-num-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.hv-num-card .hv-num {
    font-family: var(--serif-display);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.hv-num-card h3 {
    font-family: var(--serif-display);
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.hv-num-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}

.hv-num-card--master {
    background: #e8d6ac;
    border-color: var(--line);
}

/* ---------- guide band ---------- */

.hv-guide-band {
    background: linear-gradient(145deg, #e8d6ac, var(--ivory));
    border-top: 1px solid var(--line-soft);
    padding: clamp(3rem, 7vw, 4.5rem) var(--gutter);
}

.hv-guide-band__inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hv-guide-band h2 {
    font-family: var(--serif-display);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin-bottom: 0.9rem;
}

.hv-guide-band p {
    color: var(--muted);
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.hv-guide-band .btn + .btn {
    margin-left: 0.8rem;
}

/* ---------- footer (matches home) ---------- */

.home-lux-footer {
    background: var(--night);
    color: rgba(255, 253, 248, 0.85);
    padding: 3.5rem var(--gutter) 2.5rem;
}

.home-lux-footer__grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2.5rem;
}

.home-lux-footer__brand {
    font-family: var(--serif-display);
    font-size: 1.3rem;
    color: var(--gold-pale);
}

.home-lux-footer__tagline {
    margin-top: 0.4rem;
    color: rgba(255, 253, 248, 0.7);
    font-style: italic;
}

.home-lux-footer__contact {
    margin-top: 1.35rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    line-height: 1.9;
    color: rgba(255, 253, 248, 0.82);
}

.home-lux-footer__contact a {
    color: var(--gold-pale);
    text-decoration: none;
}

.home-lux-footer__contact a:hover {
    text-decoration: underline;
}

.home-lux-footer__brokerage {
    text-align: right;
    font-family: var(--sans);
    font-size: 0.82rem;
    line-height: 1.7;
}

.home-lux-footer__brokerage img.rog {
    height: 34px;
    width: auto;
    margin-bottom: 0.6rem;
}

.home-lux-footer__brokerage img.eho {
    display: block;
    width: 54px;
    height: auto;
    margin: 0.5rem 0 0.25rem auto;
    padding: 0.22rem;
    background: #f7f1e6;
    border-radius: 3px;
}

.home-lux-footer__legal {
    max-width: 1120px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(217, 201, 165, 0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    color: rgba(255, 253, 248, 0.55);
}

.home-lux-footer__legal a {
    color: rgba(230, 217, 184, 0.75);
    text-decoration: none;
}

.home-lux-footer__legal a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .home-lux-footer__grid {
        grid-template-columns: 1fr;
    }

    .home-lux-footer__brokerage {
        text-align: left;
    }

    .home-lux-footer__brokerage img.eho {
        margin-left: 0;
        margin-right: auto;
    }

    .hv-guide-band .btn {
        width: 100%;
    }

    .hv-guide-band .btn + .btn {
        margin-left: 0;
        margin-top: 0.8rem;
    }
}


/* CHG-2026-09-22-08: header nav/cta keep shared colors (blanket .hv-page a was brown) */
.hv-page .site-header__nav a { color: #f0e2bc; }
.hv-page .site-header__nav a:hover,
.hv-page .site-header__nav a:focus-visible { color: #fffdf8; }
.hv-page .site-header .site-header__cta,
.hv-page .site-header .site-header__cta:hover,
.hv-page .site-header .site-header__cta:focus-visible { color: #000; }
