/* =========================================================
   Parent Voices Editorial Redesign v0.1
   Scope: /voices/parents/ only
   ========================================================= */
.parent-voices-page {
    --pv-ink: #17243a;
    --pv-text: #344255;
    --pv-muted: #5f6b7a;
    --pv-orange: #d98720;
    --pv-orange-soft: #f3c47e;
    --pv-line: #e5dfd4;
    --pv-paper: #fffdfa;
    --pv-blue: #eef6fa;
    --pv-sage: #eef6f0;
    --pv-cream: #fff5e7;
    overflow: clip;
    background: var(--pv-paper);
    color: var(--pv-text);
}

.parent-voices-page *,
.parent-voices-page *::before,
.parent-voices-page *::after { box-sizing: border-box; }

.pv-shell {
    width: min(1100px, calc(100% - 48px));
    margin-inline: auto;
}

.pv-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(6.2rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 6rem);
    overflow: hidden;
    border-bottom: 1px solid var(--pv-line);
    background:
        radial-gradient(circle at 86% 22%, rgba(216, 135, 32, .13), transparent 21rem),
        radial-gradient(circle at 13% 90%, rgba(69, 116, 139, .10), transparent 19rem),
        linear-gradient(145deg, #fffdfa 0%, #f9f8f3 56%, #f4f7f6 100%);
}

.pv-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .5;
    background-image:
        linear-gradient(rgba(23, 36, 58, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 36, 58, .03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, #000 0, transparent 92%);
}

.pv-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: clamp(2.3rem, 4vw, 3.5rem);
    color: var(--pv-muted);
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .07em;
}
.pv-breadcrumb a { color: inherit; text-decoration: none; }
.pv-breadcrumb a:hover { text-decoration: underline; text-underline-offset: .2em; }
.pv-breadcrumb a:focus-visible { outline: 3px solid rgba(216, 135, 32, .34); outline-offset: 4px; border-radius: 4px; }

.pv-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: center;
}

.pv-kicker {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--pv-orange);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.pv-kicker::after {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

.pv-hero h1 {
    margin: .8rem 0 0;
    color: var(--pv-ink);
    font-size: clamp(3rem, 6.2vw, 5.5rem);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.pv-hero-statement {
    margin: clamp(1.7rem, 3vw, 2.45rem) 0 0;
    color: var(--pv-ink);
    font-size: clamp(1.7rem, 3.2vw, 2.95rem);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.pv-hero-panel {
    position: relative;
    min-height: 350px;
    padding: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    border: 1px solid rgba(23, 36, 58, .09);
    border-radius: 34px;
    background:
        linear-gradient(rgba(255, 253, 250, .94), rgba(255, 253, 250, .94)),
        repeating-linear-gradient(0deg, transparent 0 34px, rgba(216, 135, 32, .10) 34px 35px);
    box-shadow: 0 24px 70px rgba(23, 36, 58, .085);
    transform: rotate(1.2deg);
}
.pv-hero-panel::before {
    content: "";
    position: absolute;
    top: -44px;
    right: -38px;
    width: 150px;
    height: 150px;
    border: 30px solid rgba(216, 135, 32, .08);
    border-radius: 50%;
}
.pv-panel-number {
    display: block;
    color: var(--pv-ink);
    font-size: clamp(6.4rem, 11vw, 9rem);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -.09em;
}
.pv-hero-panel strong {
    display: block;
    margin-top: 1.4rem;
    color: var(--pv-orange);
    font-size: .92rem;
    font-weight: 950;
    letter-spacing: .17em;
}
.pv-hero-panel p {
    margin: 1.35rem 0 0;
    color: #536174;
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.9;
}

.pv-story-nav {
    border-bottom: 1px solid var(--pv-line);
    background: rgba(255, 255, 255, .93);
}
.pv-story-nav ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}
.pv-story-nav li { min-width: 0; }
.pv-story-nav a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    min-height: 86px;
    padding: 1rem 1.25rem;
    border-right: 1px solid var(--pv-line);
    color: inherit;
    text-decoration: none;
}
.pv-story-nav li:first-child a { border-left: 1px solid var(--pv-line); }
.pv-story-nav a > span {
    color: var(--pv-orange);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
}
.pv-story-nav a > strong {
    color: var(--pv-ink);
    font-size: .94rem;
    font-weight: 900;
    line-height: 1.45;
}
.pv-story-nav a:hover { background: #fff9f0; }
.pv-story-nav a:focus-visible { position: relative; z-index: 2; outline: 3px solid rgba(216, 135, 32, .4); outline-offset: -4px; }

.pv-story {
    position: relative;
    scroll-margin-top: 96px;
    padding: clamp(5.5rem, 10vw, 9rem) 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(23, 36, 58, .06);
}
.pv-story--01 { background: linear-gradient(180deg, #f8fbfc, var(--pv-blue)); }
.pv-story--02 { background: linear-gradient(180deg, #f8fbf9, var(--pv-sage)); }
.pv-story--03 { background: linear-gradient(180deg, #fffaf3, var(--pv-cream)); }

.pv-story::before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 50%;
    width: min(1100px, calc(100% - 48px));
    height: 100%;
    transform: translateX(-50%);
    opacity: .36;
    background-image: radial-gradient(circle, rgba(23, 36, 58, .085) 1px, transparent 1.2px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, transparent, #000 12%, transparent 46%);
}
.pv-story--reverse::before { transform: translateX(-50%) scaleX(-1); }

.pv-story-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(170px, 4fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 7vw, 6.5rem);
    align-items: center;
}
.pv-story--reverse .pv-story-index { grid-column: 2; grid-row: 1; text-align: right; }
.pv-story--reverse .pv-story-content { grid-column: 1; grid-row: 1; }

.pv-story-index {
    color: rgba(23, 36, 58, .09);
    font-size: clamp(7rem, 17vw, 13rem);
    font-weight: 950;
    line-height: .76;
    letter-spacing: -.09em;
    user-select: none;
}

.pv-story-content {
    position: relative;
    max-width: 690px;
    padding: clamp(2rem, 4vw, 3.4rem);
    border: 1px solid rgba(23, 36, 58, .09);
    border-radius: 32px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 20px 60px rgba(23, 36, 58, .065);
}
.pv-story-content::before {
    content: "“";
    position: absolute;
    top: .55rem;
    right: 1.4rem;
    color: rgba(216, 135, 32, .17);
    font-family: Georgia, serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
}
.pv-story-label {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--pv-orange);
    font-size: .83rem;
    font-weight: 950;
    letter-spacing: .11em;
}
.pv-story-label::after {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}
.pv-story-text {
    position: relative;
    z-index: 1;
    max-width: 25em;
    margin: 1.45rem 0 0;
    color: var(--pv-ink);
    font-size: clamp(1.35rem, 2.7vw, 2.05rem);
    font-weight: 900;
    line-height: 1.8;
    letter-spacing: -.012em;
    text-wrap: pretty;
}

.pv-next {
    padding: clamp(5rem, 9vw, 8rem) 0 clamp(5.5rem, 10vw, 9rem);
    background: var(--pv-paper);
}
.pv-next h2 {
    margin: .7rem 0 0;
    color: var(--pv-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: -.03em;
}
.pv-next-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.pv-next-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 66px;
    padding: 1rem 1.2rem;
    border: 1px solid #dfd7ca;
    border-radius: 16px;
    background: #fff;
    color: var(--pv-ink);
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pv-next-links a:hover {
    transform: translateY(-2px);
    border-color: #d7b984;
    box-shadow: 0 12px 28px rgba(23, 36, 58, .06);
}
.pv-next-links a:focus-visible,
.pv-consult a:focus-visible { outline: 3px solid rgba(216, 135, 32, .42); outline-offset: 3px; }

.pv-consult {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.4rem, 3vw, 2rem);
    border-top: 1px solid var(--pv-line);
    border-bottom: 1px solid var(--pv-line);
}
.pv-consult p {
    margin: 0;
    color: #526174;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.8;
}
.pv-consult a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 52px;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    background: #f8a01a;
    color: #1a2d54;
    font-size: .95rem;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(216, 135, 32, .18);
}

@media (max-width: 820px) {
    .pv-shell { width: min(100% - 36px, 720px); }

    .pv-hero { padding: 5.4rem 0 3.8rem; }
    .pv-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .pv-hero-panel {
        min-height: auto;
        padding: 1.6rem 1.7rem;
        border-radius: 26px;
        transform: none;
    }
    .pv-panel-number { font-size: clamp(5rem, 25vw, 7rem); }
    .pv-hero-panel p { margin-top: 1rem; }

    .pv-story-nav ol { grid-template-columns: 1fr; }
    .pv-story-nav a {
        min-height: 58px;
        border-right: 1px solid var(--pv-line);
        border-bottom: 1px solid var(--pv-line);
    }
    .pv-story-nav li:last-child a { border-bottom: 0; }
    .pv-story-nav li:first-child a { border-left: 1px solid var(--pv-line); }

    .pv-story {
        scroll-margin-top: 74px;
        padding: 4.6rem 0 5rem;
    }
    .pv-story::before {
        width: min(100% - 36px, 720px);
        opacity: .22;
    }
    .pv-story-grid,
    .pv-story--reverse .pv-story-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .pv-story--reverse .pv-story-index,
    .pv-story--reverse .pv-story-content {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
    }
    .pv-story-index {
        font-size: clamp(5.3rem, 25vw, 7.4rem);
        line-height: .78;
    }
    .pv-story-content {
        max-width: none;
        padding: 1.55rem 1.4rem 1.7rem;
        border-radius: 24px;
    }
    .pv-story-content::before { top: .45rem; right: 1rem; font-size: 4.6rem; }
    .pv-story-text {
        max-width: 22em;
        font-size: clamp(1.22rem, 5.2vw, 1.55rem);
        line-height: 1.85;
    }

    .pv-next { padding: 4.8rem 0 5.5rem; }
    .pv-next-links { grid-template-columns: 1fr; }
    .pv-next-links a { min-height: 58px; }
    .pv-consult { grid-template-columns: 1fr; gap: 1rem; padding-inline: 0; }
    .pv-consult a { width: 100%; min-height: 56px; }
}

@media (max-width: 430px) {
    .pv-shell { width: calc(100% - 30px); }
    .pv-hero { padding-top: 4.8rem; }
    .pv-hero h1 { font-size: clamp(2.65rem, 13.3vw, 3.5rem); }
    .pv-hero-statement { font-size: clamp(1.52rem, 7.4vw, 2rem); }
    .pv-story-nav a { padding-inline: .95rem; }
    .pv-story-content { padding-inline: 1.25rem; }
    .pv-story-text { line-height: 1.9; }
}

@media (prefers-reduced-motion: reduce) {
    .pv-next-links a { transition: none; }
}
