/* =============================================================
   Andreas Beirne Fitness — shared styles
   Loaded by every page. Edit here, not per page.
   ============================================================= */

:root {
    --white: #ffffff;
    --off-white: #fafaf8;
    --cream: #f4f3f0;
    --sage: #5A917C;
    --sage-dark: #4a7d69;
    --sage-subtle: rgba(90, 145, 124, 0.07);
    --navy: #2c3e50;
    --text: #2c2825;
    --text-light: #6b6560;
    --warm-grey: #8a8279;
    --rule: #e4e1dc;
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Scroll reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   STICKY HEADER
   ============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--rule);
    box-shadow: 0 4px 20px rgba(44, 40, 37, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-logo { flex-shrink: 0; line-height: 0; }
.header-logo img { width: 178px; height: auto; }

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--text-light);
    padding: 6px 0;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--navy); }

.header-cta {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 26px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--white);
    background-color: var(--sage);
    border-radius: 50px;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
    background-color: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(90, 145, 124, 0.3);
}

.header-cta-compact {
    display: none;                 /* mobile only — see media query */
    flex-shrink: 0;
    padding: 11px 20px;
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--white);
    background-color: var(--sage);
    border-radius: 50px;
    white-space: nowrap;
}

/* --- Mobile toggle --- */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    background-color: var(--sage);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background-color: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90, 145, 124, 0.3);
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: var(--sage);
    border: 1px solid var(--sage);
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover { background-color: var(--sage); color: var(--white); }

/* =============================================================
   SHARED TYPOGRAPHY
   ============================================================= */
.section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--sage);
    margin-bottom: 14px;
}

.section-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 32px;
}

.divider { width: 40px; height: 2px; background: var(--sage); border-radius: 1px; margin: 32px 0; }

/* =============================================================
   HERO (home)
   ============================================================= */
.hero {
    text-align: center;
    padding: 48px 32px 64px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 2px;
    background: var(--sage);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 6.5vw, 4.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--navy);
    max-width: 800px;
    margin: 0 auto 28px;
}

.hero h1 em { font-style: normal; color: var(--sage); }

.hero .subheadline {
    font-weight: 400;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* =============================================================
   PAGE HERO (interior pages)
   ============================================================= */
.page-hero {
    text-align: center;
    padding: 56px 32px 48px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 2px;
    background: var(--sage);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--navy);
    max-width: 820px;
    margin: 0 auto;
}

.page-hero .lede {
    font-size: clamp(0.95rem, 1.7vw, 1.08rem);
    color: var(--text-light);
    max-width: 620px;
    margin: 24px auto 0;
    line-height: 1.8;
}

/* =============================================================
   VIDEO
   ============================================================= */
.video-section { padding: 64px 32px; background-color: var(--white); text-align: center; }
.video-section .section-heading { margin-bottom: 28px; }

.video-frame {
    max-width: 340px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    line-height: 0;
    box-shadow: 0 14px 44px rgba(44, 40, 37, 0.16);
}

.video-frame video {
    display: block;
    width: 100%;
    height: auto;              /* let aspect-ratio win over the height attribute */
    aspect-ratio: 9 / 16;
    background: #000;
}

.video-note {
    margin-top: 22px;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* =============================================================
   RESULTS / OUTCOMES
   ============================================================= */
.results { padding: 64px 32px; background-color: var(--off-white); text-align: center; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.result-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.result-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(44, 40, 37, 0.1); }
.result-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.result-card:hover img { transform: scale(1.03); }

.result-card .caption {
    padding: 20px 24px 24px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    border-top: 1px solid var(--rule);
    position: relative;
}

.result-card .caption::before {
    content: '';
    position: absolute;
    top: -1px; left: 24px;
    width: 40px; height: 3px;
    background: var(--sage);
    border-radius: 2px;
}

/* Fade the cards in alongside .reveal rather than snapping. */
.result-card.reveal {
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* =============================================================
   MEET YOUR COACH / ABOUT
   ============================================================= */
.coach { padding: 68px 32px; background-color: var(--white); }

.coach-inner {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}

.coach-photo { position: relative; }

.coach-photo::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px;
    width: 100%; height: 100%;
    border: 1px solid var(--rule);
    border-radius: 12px;
    z-index: 0;
}

.coach-photo img { width: 100%; border-radius: 12px; object-fit: cover; position: relative; z-index: 1; }

.coach-text .section-heading { margin-bottom: 32px; }

.coach-text .greeting {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--sage);
    margin-bottom: 24px;
}

.coach-text p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 18px; line-height: 1.85; }
.coach-text .closing { font-size: 1rem; color: var(--text); line-height: 1.85; margin-bottom: 0; }
.coach-text .btn-primary { margin-top: 40px; }

/* =============================================================
   PROSE (about page body copy)
   ============================================================= */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    color: var(--navy);
    margin: 40px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1rem; color: var(--text-light); line-height: 1.9; margin-bottom: 20px; }
.prose ul { margin: 0 0 24px 22px; }
.prose li { font-size: 1rem; color: var(--text-light); line-height: 1.85; margin-bottom: 10px; }

.section-plain { padding: 64px 32px; background: var(--white); }
.section-tint  { padding: 64px 32px; background: var(--off-white); }
.section-center { text-align: center; }

/* =============================================================
   PACKAGES / OFFERINGS
   ============================================================= */
.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* two tiers */
    gap: 26px;
    max-width: 820px;
    margin: 0 auto;
    align-items: stretch;
}

.package-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 40px 34px 36px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(44, 40, 37, 0.1);
    border-color: transparent;
}

.package-card.featured { border-color: var(--sage); box-shadow: 0 8px 30px rgba(90, 145, 124, 0.13); }

.package-flag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--sage);
    background: var(--sage-subtle);
    border-radius: 50px;
    padding: 5px 13px;
    margin-bottom: 18px;
}

.package-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.95rem;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 10px;
}

.package-for { font-size: 0.86rem; color: var(--warm-grey); line-height: 1.65; margin-bottom: 22px; }

.package-price {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--sage);
    line-height: 1;
    margin-bottom: 4px;
}
.package-price .per { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--warm-grey); }

.package-list { list-style: none; margin: 26px 0 30px; border-top: 1px solid var(--rule); padding-top: 24px; }

.package-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 13px;
}

.package-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--sage);
    border-bottom: 2px solid var(--sage);
    transform: rotate(-45deg);
}

/* The headline item of each package, then a rule before everything the two
   plans share. The tick marker is absolutely positioned, so it has to move
   down by the same amount as the separated item's padding. */
.package-list .lead { font-weight: 700; color: var(--text); }
.package-list .lead + li { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 16px; }
.package-list .lead + li::before { top: 26px; }

.package-card .btn-ghost,
.package-card .btn-primary { margin-top: auto; text-align: center; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-block { margin-bottom: 38px; }
.contact-block h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: var(--sage);
    margin-bottom: 10px;
}
.contact-block p, .contact-block a { font-size: 1rem; color: var(--text-light); line-height: 1.8; }
.contact-block a:hover { color: var(--sage); }
.contact-block .btn-primary, .contact-block .btn-primary:hover { color: var(--white); }

.social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--rule);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--text-light);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
}
.social-link:hover { border-color: var(--sage); color: var(--sage); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; flex-shrink: 0; }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band { padding: 64px 32px; background: var(--cream); text-align: center; }
.cta-band h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3rem);
    color: var(--navy);
    max-width: 640px;
    margin: 0 auto 18px;
    line-height: 1.18;
}
.cta-band p { color: var(--text-light); max-width: 520px; margin: 0 auto 36px; line-height: 1.8; }

/* =============================================================
   FOOTER
   ============================================================= */
footer { text-align: center; padding: 56px 32px 40px; background-color: var(--cream); border-top: 1px solid var(--rule); }

.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-bottom: 26px; }
.footer-nav a {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--text-light);
    transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--sage); }

footer .tagline {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--warm-grey);
    margin-bottom: 16px;
}
footer .copyright { font-size: 0.75rem; color: var(--warm-grey); opacity: 0.7; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1040px) {
    .nav { gap: 20px; }
    .nav-link { font-size: 0.72rem; letter-spacing: 1.2px; }
    .header-inner { gap: 18px; padding: 0 20px; }
    .header-logo img { width: 152px; }
}

@media (max-width: 900px) {
    .results-grid { grid-template-columns: 1fr 1fr; max-width: 600px; }
    .package-grid { grid-template-columns: 1fr; max-width: 460px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* --- Mobile nav --- */
@media (max-width: 860px) {
    .nav-toggle { display: block; margin-left: 8px; }
    .header-cta-compact { display: inline-block; margin-left: auto; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-left: 0;
        padding: 8px 20px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--rule);
        box-shadow: 0 16px 32px rgba(44, 40, 37, 0.08);
        /* collapsed */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    }

    .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }

    .nav-link {
        font-size: 0.86rem;
        letter-spacing: 1.4px;
        padding: 15px 4px;
        border-bottom: 1px solid var(--rule);
    }
    .nav-link::after { display: none; }
    .nav-link[aria-current="page"] { color: var(--sage); }

    /* Full-width CTA at the foot of the drawer */
    .nav .header-cta {
        display: block;
        margin-top: 20px;
        padding: 15px 26px;
        text-align: center;
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    .coach-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .coach-photo { max-width: 360px; margin: 0 auto; }
    .coach-photo::before { display: none; }
    .coach-text .divider { margin: 28px auto; }
    .results-grid { grid-template-columns: 1fr; max-width: 360px; }
    .hero { padding: 40px 24px 52px; }
    .page-hero { padding: 44px 24px 40px; }
    .results, .coach, .video-section,
    .section-plain, .section-tint, .cta-band { padding: 48px 24px; }
    .prose h2 { margin-top: 44px; }
}

@media (max-width: 420px) {
    .header-inner { padding: 0 16px; gap: 10px; }
    .header-logo img { width: 124px; }
    .header-cta-compact { padding: 10px 15px; font-size: 0.62rem; letter-spacing: 1px; }
}

/* =============================================================
   CONSENT BANNER
   ============================================================= */
.consent {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 200;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(44, 40, 37, 0.18);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s cubic-bezier(0.23, 1, 0.32, 1);
}
.consent.visible { opacity: 1; transform: translateY(0); }

.consent-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.consent-text {
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-light);
    margin: 0;
}
.consent-text a { color: var(--sage); text-decoration: underline; }

.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

.consent-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.consent-yes { background: var(--sage); color: var(--white); border: 1px solid var(--sage); }
.consent-yes:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.consent-no { background: transparent; color: var(--text-light); border: 1px solid var(--rule); }
.consent-no:hover { border-color: var(--warm-grey); color: var(--text); }

@media (max-width: 700px) {
    .consent-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 20px; }
    .consent-actions { justify-content: stretch; }
    .consent-btn { flex: 1; text-align: center; }
}

/* =============================================================
   ANDY'S OWN CONTENT — photos in prose, press, FAQ, testimonials
   ============================================================= */

/* Photos set into long-form copy. Every h2 clears them, so a short
   section can never let a floated portrait spill into the next heading. */
.prose h2 { clear: both; }
.prose-figure img { width: 100%; border-radius: 12px; }
.prose-figure.right { float: right; width: 40%; margin: 6px 0 20px 36px; }
.prose-figure.wide  { clear: both; margin: 36px 0; }

/* The global reset (colour: inherit, no underline) makes links in prose
   read as plain text, so the press list styles them explicitly. */
.prose .press-list { list-style: none; margin-left: 0; }
.prose .press-list li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.prose .press-list li:first-child { border-top: 1px solid var(--rule); }
.press-list a { display: flex; align-items: center; gap: 20px; transition: color 0.25s ease; }
/* One fixed box for every mark, because these logos range from a tall block to
   a very wide lockup; contain does the rest. Muted until hover so eight brand
   palettes do not fight the page. */
/* Each mark sits on its own white tile: the logos range from a tall block to a
   very wide lockup, and several are dark-on-transparent, so the tile gives them
   a consistent shape and keeps them legible on the tinted section background. */
.press-logo {
    flex: 0 0 136px;
    width: 136px;
    height: 46px;
    object-fit: contain;
    object-position: center;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 7px 11px;
}
.press-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--navy);
}
/* Titles read as links: brand colour, an underline, and the usual
   leaves-this-site arrow. */
.press-title {
    flex: 1;
    color: var(--sage);
    text-decoration: underline;
    text-decoration-color: rgba(90, 145, 124, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s ease, color 0.25s ease;
}
.press-title::after {
    content: '';
    display: inline-block;
    width: 0.72em;
    height: 0.72em;
    margin-left: 0.45em;
    vertical-align: -0.04em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 4h6v6'/><path d='M20 4L10.5 13.5'/><path d='M19 14.5V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4.5'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 4h6v6'/><path d='M20 4L10.5 13.5'/><path d='M19 14.5V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4.5'/></svg>") no-repeat center / contain;
}
.press-list a:hover .press-title { color: var(--sage-dark); text-decoration-color: var(--sage); }
.press-list a:hover .press-logo { border-color: var(--sage); }

/* Click-to-load embed */
.video-embed {
    position: relative;
    margin: 0 0 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-embed iframe, .video-embed-btn { width: 100%; height: 100%; border: 0; display: block; }
.video-embed-btn { position: relative; padding: 0; cursor: pointer; background: #000; }
.video-embed-btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 0.3s ease; }
.video-embed-btn:hover img { opacity: 0.66; }
.video-embed-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px; height: 68px;
    border-radius: 50%;
    background: rgba(90, 145, 124, 0.92);
}
.video-embed-play::after {
    content: '';
    position: absolute;
    top: 50%; left: 54%;
    transform: translate(-50%, -50%);
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
.video-embed-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 34px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    text-align: left;
}
.video-embed-label small { display: block; font-weight: 500; font-size: 0.72rem; opacity: 0.82; margin-top: 3px; }

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 20px 44px 20px 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--navy);
    transition: color 0.25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--sage);
    transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--sage); }
.faq details p { margin: -4px 0 22px; }

.result-card .caption .who {
    display: block;
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--sage);
}

.testimonials { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; text-align: left; }
.testimonial {
    display: grid;
    grid-template-columns: 290px 1fr;
    grid-template-areas: "photo quote" "photo name";
    align-content: start;
    gap: 14px 34px;
    background: var(--off-white);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 36px 40px;
}
.testimonial img { grid-area: photo; width: 100%; border-radius: 10px; }

/* Alternate which side the photo sits on, so the column zig-zags. */
.testimonial:nth-child(even) {
    grid-template-columns: 1fr 290px;
    grid-template-areas: "quote photo" "name photo";
}
.testimonial blockquote { grid-area: quote; }
.testimonial figcaption { grid-area: name; }
.testimonial blockquote {
    padding-left: 22px;
    border-left: 3px solid var(--sage);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
}
.testimonial figcaption {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
}
.testimonial figcaption span {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--sage);
}

/* The results statement at the foot of Outcomes. Readable size and
   contrast on purpose: a disclosure nobody can comfortably read
   discloses nothing. */
.results-note { background: var(--cream); padding: 0 32px 36px; }
.results-note p {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--text-light);
}
.results-note strong { color: var(--text); }

.contact-photo { max-width: 420px; }
.contact-photo img { width: 100%; border-radius: 12px; }

@media (max-width: 768px) {
    .prose-figure.right { float: none; width: 100%; max-width: 420px; margin: 8px auto 28px; }
    .testimonial { padding: 28px 24px; }
    .results-note { padding: 0 24px 32px; }
    .contact-photo { margin: 0 auto; }
}


/* =============================================================
   ON-THIS-PAGE CONTENTS RAIL
   ============================================================= */
.page-toc { display: none; }

@media (min-width: 1440px) {
    .page-toc {
        display: block;
        position: fixed;
        top: calc(var(--header-h) + 52px);
        left: 18px;
        /* Never wider than the gap beside the widest column (1100px), so the
           rail cannot collide with the packages grid on a 1440px screen. */
        width: clamp(150px, calc((100vw - 1100px) / 2 - 30px), 248px);
        max-height: calc(100vh - var(--header-h) - 104px);
        overflow-y: auto;
        z-index: 40;
    }
    .page-toc ol { list-style: none; margin: 0; border-left: 1px solid var(--rule); }
    .page-toc li { margin: 0; }
    .page-toc a {
        display: block;
        margin-left: -2px;
        padding: 13px 0 13px 20px;
        border-left: 3px solid transparent;
        font-size: 1.02rem;
        font-weight: 600;
        letter-spacing: 0.1px;
        line-height: 1.45;
        color: var(--text-light);
        transition: color 0.25s ease, border-color 0.25s ease;
    }
    .page-toc a:hover { color: var(--text); }
    .page-toc a.active { color: var(--sage); border-left-color: var(--sage); font-weight: 700; }
}

@media (max-width: 768px) {
    .testimonial,
    .testimonial:nth-child(even) {
        grid-template-columns: 1fr;
        grid-template-areas: "photo" "quote" "name";
        gap: 20px;
    }
    .testimonial img { max-width: 320px; }
}
