/* =========================================================================
   EXPLORE OFFERINGS PAGE
   =========================================================================
   Design Psychology: The Palate Cleanser.
   Goals: Eliminate decision fatigue & financial anxiety.
   Feel: Quiet, high-end gallery walk.
   Rules: Zero aggressive snaps, zero harsh shadows, zero layout shifts.
   ========================================================================= */

:root {
    /* --warm-taupe now inherited from style.css (same value) */
    /* Darkened from #8c8071 for WCAG compliance */
    --somatic-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Section padding override — inherited from global --pad-section */
}

body {
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: clip;
}


/* ═══════════════════════════════════════════
   NAV OVERRIDE — Light-glass on cream
   Matched precisely to the About page's overrides for
   visual consistency across all light-background pages.
   ═══════════════════════════════════════════ */



/* ═══════════════════════════════════════════
   SECTION 1: THE PALATE CLEANSER (Hero)
   ═══════════════════════════════════════════ */
.offerings-hero {
    position: relative;
    width: 100%;
    min-height: 40svh;
    height: 100svh;
    /* fallback */
    height: 100svh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: var(--pad-section) var(--pad-element);
    overflow: hidden;
}

/* 1A. Grain Texture Overlay
   Uses the actual Texture.webp from PageWiseAssets, not Khadi.
   multiply blend on cream gives a beautiful paper-like feel.
   Elevated to 8% for a genuinely tactile, premium look. */
.offerings-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url('PageWiseAssets/Texture.webp');
    background-size: 600px 600px;
    /* tile the noise rather than stretching */
    background-repeat: repeat;
    mix-blend-mode: multiply;
    opacity: 0.08;
}

/* 1B. Content Wrapper */
.offerings-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* 1C. The Eyebrow */
.offerings-hero__eyebrow {
    color: var(--sage-deep, #5A6457);
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, calc(0.7rem + 0.25vw), 0.85rem);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    /* Extreme luxury tracking */
    font-weight: 600;
    margin-bottom: 2rem;
    /* Increased breathing room */
}

/* 1D. The Headline */
.offerings-hero__title {
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
    padding: 0;
}

/* 1E. The Subheadline */
.offerings-hero__body {
    color: var(--warm-taupe);
    font-family: var(--font-sans);
    font-size: clamp(1rem, calc(0.95rem + 0.5vw), 1.15rem);
    max-width: 600px;
    margin: 1.5rem 0 0 0;
    /* Increased gap from title */
    line-height: 1.6;
    font-weight: 400;
}

/* 1F. The Somatic Hero Orb (Deep Parallax) */
.offerings-hero__orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    /* Soft blend of sage and taupe */
    background: radial-gradient(circle, rgba(143, 163, 150, 0.4) 0%, rgba(140, 128, 113, 0.1) 60%, transparent 80%);
    filter: blur(80px);
    /* Massive blur for ethereal feel */
    z-index: 1;
    /* Behind grain and text */
    top: -10%;
    left: 20%;
    pointer-events: none;
    animation: somaticBreathing 18s var(--somatic-ease) infinite alternate;
}

@keyframes somaticBreathing {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.15) translate(-5%, 5%);
        opacity: 0.9;
    }
}


/* --- Desktop --- */
@media (min-width: 1024px) {
    .offerings-hero {
        min-height: 50svh;
        height: auto;
        padding: clamp(6rem, 15svh, 12rem) 0;
    }
}


/* ═══════════════════════════════════════════
   SECTION 2: THE PROTOCOLS
   Asymmetrical gallery walk.
   ═══════════════════════════════════════════ */
.protocols {
    position: relative;
    width: 100%;
    /* Same cream background to blend seamlessly */
    background-color: var(--cream);
    padding: var(--pad-section) var(--pad-element);
    /* Allow overflow for the large gaps */
    overflow: hidden;
}

/* 2A. Carried-over Texture Overlay */
.protocols__grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url('PageWiseAssets/Texture.webp');
    background-size: 600px 600px;
    background-repeat: repeat;
    mix-blend-mode: multiply;
    opacity: 0.08;
}

.protocols__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    /* Massive vertical breathing room between blocks */
    gap: 15svh;
}

/* --- Block Layout --- */
.protocol-block {
    display: flex;
    flex-direction: column;
    /* Reduced gap on mobile */
    gap: clamp(1.2rem, 3vw, 2.5rem);
    align-items: center;
}

/* Mobile: Image always on top, text below. */
.protocol-block__media {
    width: 100%;
    /* Soft Arch — 16px signature radius */
    border-radius: var(--radius-soft);
    overflow: hidden;
}

.protocol-block__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Slow 0.8s smooth somatic ease for hover/intersection scale */
    transition: transform 0.8s var(--ease-smooth);
}

.protocol-block__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding: 0 clamp(0.5rem, 2vw, 1.5rem);
    /* Extra breathing room on mobile */
}

/* --- Typography --- */

.protocol-block__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--warm-taupe);
    font-family: var(--font-sans);
    font-size: var(--fs-tag);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
}

/* Yellow/gold accent bar preceding the eyebrow label */
.protocol-block__accent {
    display: inline-block;
    width: clamp(1.5rem, 3vw, 2.5rem);
    height: 3px;
    background: #D4A843;
    border-radius: 2px;
    flex-shrink: 0;
}

.protocol-block__title {
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: var(--fs-h2);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.protocol-block__outcome {
  max-width: var(--measure, 68ch);
    color: var(--warm-taupe);
    font-family: var(--font-sans);
    font-style: italic;
    font-size: var(--fs-body);
    line-height: 1.6;
    margin: 0;
}

/* --- Feature Bullet List --- */
.protocol-block__features {
    list-style: none;
    padding: 1.5rem 0 0.5rem;
    margin: 0.5rem 0 0 0;
    border-top: 1px solid rgba(44, 44, 44, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.protocol-block__features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.4;
}

.protocol-block__check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--warm-taupe);
    opacity: 0.7;
}

.protocol-block__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    text-decoration: none;
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(0.9rem, 1vw, 1rem);
    letter-spacing: 0.02em;
    border-bottom: 1.5px solid var(--charcoal);
    padding-bottom: 2px;
    transition: border-color 0.8s var(--somatic-ease);
    width: auto;
    align-self: flex-start;
}

.protocol-block__arrow {
    display: inline-block;
    transition: transform 0.8s var(--ease-smooth);
}

/* --- Desktop Layout & Hovers --- */
@media (min-width: 1024px) {
    .protocols__container {
        /* Even larger gap for desktop pacing */
        gap: 20svh;
    }

    .protocol-block {
        flex-direction: row;
        gap: 10%;
        justify-content: space-between;
    }

    /* Asymmetrical 45% widths */
    .protocol-block__media,
    .protocol-block__content {
        width: 45%;
    }

    /* Desktop physics: Hover state scaling and arrow jump */
    /* Mobile uses intersection observer in offerings.js to apply .is-active */

    .protocol-block:hover .protocol-block__img,
    .protocol-block.is-active .protocol-block__img {
        transform: scale(1.03);
    }

    .protocol-block__link:hover .protocol-block__arrow,
    .protocol-block.is-active .protocol-block__arrow {
        transform: translateX(6px);
    }

    .protocol-block__link:hover {
        border-bottom-color: var(--charcoal);
    }
}

/* Mobile specific intersection states */
@media (max-width: 1023px) {
    .protocol-block.is-active .protocol-block__img {
        transform: scale(1.03);
    }

    .protocol-block.is-active .protocol-block__arrow {
        transform: translateX(4px);
    }

    /* Image-first on mobile for right-variant blocks (content is first in DOM) */
    .protocol-block--right .protocol-block__media {
        order: -1;
    }
}


/* ═══════════════════════════════════════════
   SECTION 3: THE FOUNDATION SESSION
   Typography-driven gallery plaque on charcoal.
   ═══════════════════════════════════════════ */
.foundation {
    position: relative;
    background-color: var(--charcoal);
    padding: var(--pad-section) var(--pad-element);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- The Gallery Plaque Card --- */
.foundation__plaque {
    max-width: 820px;
    width: 100%;
    border: 1px solid rgba(138, 154, 144, 0.4);
    border-radius: 10px;
    padding: clamp(3rem, 8vw, 5rem) clamp(2.5rem, 6vw, 5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* --- Tagline --- */
.foundation__tagline {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245, 245, 240, 0.78);
    margin-bottom: 2rem;
}

/* --- Headline --- */
.foundation__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cream);
    margin: 0 0 0.75rem;
}

/* --- Sub-headline --- */
.foundation__sub-headline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(245, 245, 240, 0.7);
    margin: 0 0 2.5rem;
}

/* --- Body Text --- */
.foundation__body {
  max-width: var(--measure, 68ch);
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 400;
    line-height: var(--leading-body);
    color: rgba(245, 245, 240, 0.75);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Pricing / Details --- */
.foundation__details {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(245, 245, 240, 0.72);
    margin-bottom: 2.5rem;
}

/* --- CTA: Elegant text link with underline --- */
.foundation__cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--cream);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.5s var(--somatic-ease);
}

.foundation__cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(138, 154, 144, 0.6);
    transform: scaleX(0.4);
    transform-origin: center;
    transition: transform 0.5s var(--somatic-ease), background 0.5s var(--somatic-ease);
}

.foundation__cta:hover {
    color: rgba(138, 154, 144, 1);
}

.foundation__cta:hover::after {
    transform: scaleX(1);
    background: rgba(138, 154, 144, 1);
}

/* --- Mobile adjustments --- */
@media (max-width: 600px) {
    .foundation__plaque {
        padding: clamp(2.5rem, 10vw, 4rem) clamp(1.5rem, 6vw, 3rem);
    }

    .foundation__headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .foundation__body {
        font-size: 0.92rem;
    }
}

/* ═══════════════════════════════════════════
   SECTION 4: THE PRACTICE LIBRARY (Waitlist)
   Matched to .practice-library on the homepage (style.css) — same blurred
   photographic field + frosted glass panel, so the two sections read
   as the same place. This page keeps the price and free-trial line
   the homepage version omits, since offerings.html is a side-by-side
   comparison hub where the price is useful context.
   ═══════════════════════════════════════════ */
.offerings-library {
    --offerings-library-veil: 0.62;
    position: relative;
    width: 100%;
    isolation: isolate;
    padding: var(--pad-section) var(--pad-element);
    text-align: center;
    color: var(--charcoal);
    overflow: hidden;
    z-index: 1;
}

/* Mobile-first portrait crop; inset bleed + scale hides the blur's soft edge. */
.offerings-library::before {
    content: '';
    position: absolute;
    inset: -60px;
    z-index: -2;
    background-image: url('PageWiseAssets_rs/LibrarySectionBackground-portrait.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(0.9) brightness(1.28);
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .offerings-library::before {
        background-image: url('PageWiseAssets_rs/LibrarySectionBackground-wide.jpg');
    }
}

/* Warm cream veil over the photograph — same gradient formula as the homepage section. */
.offerings-library::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(160deg,
            rgba(249, 248, 242, calc(var(--offerings-library-veil) + 0.14)) 0%,
            rgba(238, 229, 213, calc(var(--offerings-library-veil) - 0.04)) 52%,
            rgba(249, 248, 242, calc(var(--offerings-library-veil) + 0.10)) 100%);
}

.offerings-library__inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: clamp(1.75rem, 5vw, 3.25rem);
    background: rgba(249, 248, 242, 0.72);
    backdrop-filter: var(--glass-blur-lg) saturate(1.1);
    -webkit-backdrop-filter: var(--glass-blur-lg) saturate(1.1);
    border: 1px solid rgba(44, 44, 44, 0.10);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(44, 44, 44, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offerings-library__eyebrow {
    font-family: var(--font-sans);
    font-size: var(--fs-tag);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.offerings-library__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
    color: var(--charcoal);
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.offerings-library__body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--leading-body);
    color: var(--charcoal);
    opacity: 0.85;
    margin-bottom: 1.75rem;
}

/* Pricing block — font matched to .sb-plan__amount / .sb-plan__period,
   the price treatment on library.html's own "Subscription Access" card. */
.offerings-library__pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.offerings-library__price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.1rem, 3.4vw, 2.7rem);
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
}

.offerings-library__period {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: 0.45;
}



.offerings-library__footnote {
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-style: italic;
    opacity: 0.65;
    margin-top: 1rem;
    color: var(--charcoal);
}


/* ═══════════════════════════════════════════
   SECTION 5: FOOTER
   ═══════════════════════════════════════════ */










/* ═══════════════════════════════════════════
   GLOBAL SOMATIC REVEALS (Intersection Observer)
   Elements start transparent/lowered and breathe in.
   ═══════════════════════════════════════════ */
.somatic-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--somatic-ease), transform 0.8s var(--somatic-ease);
    will-change: opacity, transform;
}

/* Stagger delays for blocks with multiple children (like hero) */
.somatic-reveal[data-delay="1"] {
    transition-delay: 0.2s;
}

.somatic-reveal[data-delay="2"] {
    transition-delay: 0.4s;
}

.somatic-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}


/* Reduced motion — see style.css for the authoritative sitewide block.
   Repeated here so this stylesheet is self-consistent if loaded alone. */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Focus — keyboard affordance for this page's interactive elements. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sage-deep, #5A6457);
  outline-offset: 3px;
}

/* The .offerings-footer__* tree was deleted 2026-08-05. It was a full duplicate
   of .footer__* in style.css for one page, which is why this page's footer had
   drifted from the other ten. offerings.html now uses the shared component. */
