/* ---------- LOCAL FONTS ----------
   Gooper is the brand serif. DM Sans and DM Mono are the Google Fonts
   latin subsets, self-hosted so the page does not wait on fonts.googleapis.com. */
@font-face {
    font-family: "Gooper";
    src:
        url("fonts/Gooper7-Regular.woff2") format("woff2"),
        url("fonts/Gooper7-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gooper";
    src:
        url("fonts/Gooper7-RegularItalic.woff2") format("woff2"),
        url("fonts/Gooper7-RegularItalic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("fonts/DMSans-latin.woff2") format("woff2");
    font-weight: 300 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "DM Sans";
    src: url("fonts/DMSans-Italic-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "DM Mono";
    src: url("fonts/DMMono-Regular-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "DM Mono";
    src: url("fonts/DMMono-Medium-latin.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

/* ---------- THEME TOKENS ---------- */
/* Light theme: default for whole page */
:root {
    --bg-main: #f5f1e8;
    --bg-alt: #c8d2c5;
    --bg-footer: #c8d2c5;

    --text: #0f2419;
    --text-rgb: 15, 36, 25;

    --accent: #4a6b5d;
    --accent-rgb: 74, 107, 93;

    --highlight: #a87a3e;
    --highlight-rgb: 168, 122, 62;

    --btn-bg: #0f2419;
    --btn-text: #f5f1e8;
    --btn-hover-bg: #1a3a2e;

    --hero-img-opacity: 0.3;
    --grain-opacity: 0.06;
}

/* Dark theme: scoped to hero and footer */
[data-theme="dark"] {
    --bg-main: #0f2419;
    --bg-footer: #08160e;

    --text: #f5f1e8;
    --text-rgb: 245, 241, 232;

    --accent: #4a6b5d;
    --accent-rgb: 74, 107, 93;

    --highlight: #e8d5a3;
    --highlight-rgb: 232, 213, 163;

    --btn-bg: #f5f1e8;
    --btn-text: #0f2419;
    --btn-hover-bg: #e8d5a3;

    --hero-img-opacity: 0.3;
}

/* ---------- BASE ---------- */
body {
    font-family:
        "DM Sans",
        -apple-system,
        sans-serif;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    transition:
        background-color 0.5s ease,
        color 0.5s ease;
}

/* Subtle grain texture: overlay above sections so it's visible everywhere */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: var(--grain-opacity);
    pointer-events: none;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    transition: opacity 0.5s ease;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ---------- LAYOUT ---------- */
.section-band {
    position: relative;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(var(--accent-rgb), 0.12);
    transition:
        background-color 0.5s ease,
        border-color 0.5s ease;
}

.section-band:first-of-type {
    border-top: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
    position: relative;
    z-index: 2;
}

.bg-hero {
    /* Each page sets its own --hero-image; this is the homepage's. */
    --hero-image: url("images/web/hero-000038820035.webp");
    --hero-image-small: url("images/web/hero-000038820035-mobile.webp");
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.bg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
}

body.loaded .bg-hero::before {
    opacity: var(--hero-img-opacity);
    transform: scale(1);
}

/* Phones get a portrait crop of the same frame: the band is taller than
   it is wide there, so the landscape file was mostly cropped away. */
@media (max-width: 900px) {
    .bg-hero::before {
        background-image: var(--hero-image-small, var(--hero-image));
    }
}

.bg-alt {
    background: var(--bg-alt);
}

.bg-base {
    background: var(--bg-main);
}

/* CTA band: photo background with a forest tint to lift the
   cream card */
.bg-cta {
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.bg-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/web/cta-000038820037.webp");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.bg-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 36, 25, 0.45);
    z-index: 1;
}

@media (max-width: 900px) {
    .bg-cta::before {
        background-image: url("images/web/cta-000038820037-mobile.webp");
    }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 1.1s cubic-bezier(0.22, 1.2, 0.36, 1),
        transform 1.1s cubic-bezier(0.22, 1.2, 0.36, 1);
    will-change: opacity, transform;
}

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

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 1s cubic-bezier(0.22, 1.2, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1.2, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.reveal-stagger.is-visible > *:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

.reveal-stagger.is-visible > *:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.36s;
}

.reveal-stagger.is-visible > *:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.54s;
}

.reveal-stagger.is-visible > *:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.72s;
}

.reveal-stagger.is-visible > *:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Anything past the sixth child still reveals, just without a
   further delay, so a long list can never be left invisible. */
.reveal-stagger.is-visible > *:nth-child(n + 7) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Image fade-in on load */
.img-fade {
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(var(--accent-rgb), 0.08);
}

.img-fade.loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > *,
    .img-fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .bg-hero::before {
        transition: none;
        opacity: var(--hero-img-opacity);
        transform: none;
    }

    .btn-primary:hover .arrow,
    .wave {
        animation: none;
    }

    .about-text a,
    .footer a {
        transition: none;
    }

    .about-photo-inner {
        transition: none;
    }
}

/* ---------- LOGO ---------- */
.logo-bar {
    padding: 120px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    position: relative;
    z-index: 3;
}

.logo-text {
    font-family: "Gooper", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.5s ease;
}

/* ---------- HERO ---------- */
.hero {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    padding-top: 32px;
}

.wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%,
    100% {
        transform: rotate(0deg);
    }
    10%,
    30% {
        transform: rotate(14deg);
    }
    20% {
        transform: rotate(-8deg);
    }
    40%,
    100% {
        transform: rotate(0deg);
    }
}

h1 {
    font-family: "Gooper", Georgia, serif;
    font-size: 64px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 28px;
    max-width: 75%;
    transition: color 0.5s ease;
}

/* Rotating headline phrase */
/* Inline slot for the rotating word. Its min-width is set in JS
   to the widest word so line breaks stay identical for every
   word, so there is no vertical shift and no reserved space
   below. */
.rotator {
    display: inline-block;
    white-space: nowrap;
    font-style: italic;
    color: var(--highlight);
}

.rotator-word {
    display: inline-block;
    will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
    .rotator-word {
        transition: none !important;
    }
}

.hero-sub {
    font-size: 20px;
    color: rgba(var(--text-rgb), 0.95);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 70%;
    transition: color 0.5s ease;
}

.hero-sub .wave {
    font-size: 24px;
}

.hero-sub .highlight {
    color: var(--highlight);
    font-weight: 400;
}

/* ---------- BUTTON ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.2px;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    background: var(--btn-hover-bg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    animation: nudge 0.9s ease-in-out infinite;
}

@keyframes nudge {
    0%,
    100% {
        transform: translateX(3px);
    }
    50% {
        transform: translateX(8px);
    }
}

.hero-meta {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(var(--text-rgb), 0.75);
    transition: color 0.5s ease;
}

/* ---------- SECTION HEADERS ---------- */
.section-eyebrow {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.5s ease;
}

.section-eyebrow::before {
    content: "✳";
    color: var(--highlight);
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1.5px);
    transition: color 0.5s ease;
}

.section-title {
    font-family: "Gooper", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    transition: color 0.5s ease;
}

.highlight {
    color: var(--highlight);
    font-weight: 400;
    position: relative;
    padding: 0 2px;
    transition: color 0.5s ease;
}


/* ---------- WHO I COACH ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ideal-card {
    background: var(--bg-main);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition:
        border-color 0.3s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.grid-3 .ideal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.ideal-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ideal-card-body {
    padding: 22px 22px 26px;
}

.ideal-card-title {
    font-family: "Gooper", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 10px;
    transition: color 0.5s ease;
}

.ideal-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(var(--text-rgb), 0.8);
    transition: color 0.5s ease;
}

/* ---------- VALUES ---------- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px 48px;
}

.value-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    transition: border-color 0.5s ease;
}

.value-text .value-number {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.value-text h3 {
    font-family: "Gooper", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
    transition: color 0.5s ease;
}

.value-text p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(var(--text-rgb), 0.85);
    transition: color 0.5s ease;
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.about-photo {
    position: relative;
    width: 280px;
    height: 340px;
    perspective: 1200px;
}

/* Easter egg: the photo flips over like a card, switching
   between the serious and laughing shots. Each face carries
   its own border and rounding so the whole card (frame
   included) turns together. */
.about-photo-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.1, 0.2, 1);
}

.about-photo.flipped .about-photo-inner {
    transform: rotateY(180deg);
}

.about-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(var(--accent-rgb), 0.35);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.about-face-laughing {
    transform: rotateY(180deg);
}

.about-text p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(var(--text-rgb), 0.9);
    margin-bottom: 20px;
    transition: color 0.5s ease;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Links: a regular underline so they read as clickable */
.about-text a,
.footer a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(var(--highlight-rgb), 0.6);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition:
        color 0.3s ease,
        text-decoration-color 0.3s ease;
}

.about-text a:hover,
.footer a:hover {
    color: var(--highlight);
    text-decoration-color: var(--highlight);
}

/* The story link after the quick facts is a standalone pointer, styled
   like the card links rather than the inline prose links above it. */
.about-text .about-story-link {
    margin-top: 28px;
    color: var(--accent);
    text-decoration: none;
}

.about-text .about-story-link:hover {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), 0.8);
    gap: 12px;
}

.quick-facts {
    list-style: none;
    margin: 28px 0 4px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.quick-facts li {
    font-size: 15px;
    color: rgba(var(--text-rgb), 0.85);
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
    transition: color 0.5s ease;
}

.quick-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.75;
    transition: background-color 0.5s ease;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    text-align: center;
    background: var(--bg-main);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: 24px;
    padding: 64px 48px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.final-cta h2 {
    font-family: "Gooper", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    transition: color 0.5s ease;
}

.final-cta p {
    font-size: 17px;
    color: rgba(var(--text-rgb), 0.85);
    line-height: 1.7;
    margin: 0 auto 32px;
    max-width: 480px;
    transition: color 0.5s ease;
}

/* ---------- FOOTER ---------- */
.footer-band {
    background: var(--bg-footer);
    border-top: 1px solid rgba(var(--accent-rgb), 0.15);
    position: relative;
    /* Above the fixed grain overlay, which sits at z-index 100, so the
       footer reads as one flat colour instead of a textured one. */
    z-index: 101;
    transition:
        background-color 0.5s ease,
        border-color 0.5s ease;
}

.footer {
    font-size: 16px;
    color: rgba(var(--text-rgb), 0.8);
    text-align: center;
    padding: 56px 24px;
    max-width: 720px;
    margin: 0 auto;
    transition: color 0.5s ease;
}

.copyright {
    margin-top: 28px;
    font-size: 14px;
    color: rgba(var(--text-rgb), 0.65);
}

@media (max-width: 880px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-photo {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .quick-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 64px 20px;
    }

    .offer-group {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .package-grid + .offer-group {
        margin-top: 40px;
        padding-top: 28px;
    }

    .logo-bar {
        padding: 52px 20px 0;
    }

    .logo-bar svg {
        width: 120px;
    }

    h1 {
        font-size: 38px;
        letter-spacing: -0.5px;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .hero-sub {
        font-size: 17px;
        max-width: 100%;
    }

    .hero-sub .wave {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 36px;
    }

    .value-text h3 {
        font-size: 26px;
    }

    .value-text p {
        font-size: 16px;
    }

    .ideal-card-title {
        font-size: 20px;
    }

    .final-cta {
        padding: 44px 24px;
        border-radius: 20px;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .btn-primary {
        padding: 14px 26px;
        font-size: 15px;
    }
}
        

/* ---------- SUBPAGE: BREADCRUMB ---------- */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px 0;
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(var(--text-rgb), 0.7);
    position: relative;
    z-index: 3;
}

.breadcrumb a {
    color: rgba(var(--text-rgb), 0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--highlight-rgb), 0.4);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--highlight);
}

.breadcrumb span {
    color: var(--highlight);
}

/* ---------- SUBPAGE: STEPS ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-number {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.step h3 {
    font-family: "Gooper", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    transition: color 0.5s ease;
}

.step p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(var(--text-rgb), 0.85);
    transition: color 0.5s ease;
}

/* ---------- SUBPAGE: PROSE ---------- */
.page-intro {
    font-size: 19px;
    line-height: 1.75;
    color: rgba(var(--text-rgb), 0.85);
    max-width: 760px;
    margin-bottom: 40px;
    transition: color 0.5s ease;
}

.page-intro + .page-intro {
    margin-top: -20px;
}

/* ---------- SUBPAGE: CARD LINK ---------- */
.card-link {
    display: inline-flex;
    align-items: center;
    /* Package cards are column flex containers, whose children stretch
       to full width by default. Without this the underline runs the
       whole card. */
    align-self: flex-start;
    white-space: nowrap;
    gap: 8px;
    margin-top: 16px;
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
    padding-bottom: 2px;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        gap 0.3s ease;
}

.card-link:hover {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), 0.8);
    gap: 12px;
}

/* ---------- SUBPAGE: RELATED LINKS ---------- */
.related-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
    margin: 0;
    padding: 0;
}

.related-list a {
    font-family: "Gooper", Georgia, serif;
    font-size: 21px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
    padding-bottom: 4px;
    display: inline-block;
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.related-list a:hover {
    color: var(--highlight);
    border-color: rgba(var(--highlight-rgb), 0.7);
}

@media (max-width: 880px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .page-intro {
        font-size: 17px;
    }
}

/* ---------- THE PATH (vertical timeline) ---------- */
.path-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 820px;
}

.path-step {
    position: relative;
    padding-left: 76px;
    padding-bottom: 46px;
}

.path-step:last-child {
    padding-bottom: 0;
}

.path-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 46px;
    bottom: 0;
    width: 1px;
    background: rgba(var(--accent-rgb), 0.3);
}

.path-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb), 0.45);
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent);
    z-index: 1;
    transition:
        color 0.5s ease,
        border-color 0.5s ease,
        background-color 0.5s ease;
}

.path-step h3 {
    font-family: "Gooper", Georgia, serif;
    font-size: 27px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    padding-top: 8px;
    transition: color 0.5s ease;
}

.path-step p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(var(--text-rgb), 0.85);
    transition: color 0.5s ease;
}

/* ---------- PACKAGES ---------- */
.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
/* Labels the two halves of the offers: the one-on-one packages, then the
   group and company work. The hairline only appears between the groups,
   never above the first one. */
.offer-group {
    font-family: "Gooper", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.2px;
    line-height: 1.3;
    margin-bottom: 20px;
    transition: color 0.5s ease;
}

.package-grid + .offer-group {
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.22);
    transition:
        color 0.5s ease,
        border-color 0.5s ease;
}

.package-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.package-card {
    background: var(--bg-main);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    border-radius: 20px;
    padding: 38px 34px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition:
        border-color 0.3s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.package-grid .package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.package-meta {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--accent);
    margin-bottom: 16px;
    transition: color 0.5s ease;
}

.package-card h3 {
    font-family: "Gooper", Georgia, serif;
    font-size: 31px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
    transition: color 0.5s ease;
}

.package-card p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(var(--text-rgb), 0.85);
    transition: color 0.5s ease;
}

.package-for {
    margin-top: auto;
    padding-top: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(var(--text-rgb), 0.72);
}

.package-for::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(var(--accent-rgb), 0.2);
    margin-bottom: 18px;
}

/* ---------- FOOTER NAV ---------- */
/* Three labelled columns rather than one long row, grouped the same way
   the homepage groups its offers. Breaks out of the 720px footer column
   and re-centres; the columns collapse to two, then one, on a phone. */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
    text-align: left;
    width: min(680px, calc(100vw - 48px));
    margin: 0 0 34px 50%;
    transform: translateX(-50%);
    padding: 0 0 34px;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
}

.footer-nav-title {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(var(--text-rgb), 0.5);
    margin-bottom: 14px;
    transition: color 0.5s ease;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 15px;
    line-height: 1.4;
    color: rgba(var(--text-rgb), 0.8);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--highlight);
    border-color: rgba(var(--highlight-rgb), 0.6);
}

@media (max-width: 880px) {
    .package-grid,
    .package-grid-3 {
        grid-template-columns: 1fr;
    }

    .package-card {
        padding: 30px 26px;
    }

    .package-card h3 {
        font-size: 27px;
    }

    .path-step {
        padding-left: 62px;
        padding-bottom: 38px;
    }

    .path-step h3 {
        font-size: 23px;
    }

    .path-step p {
        font-size: 16px;
    }

    /* Two columns on a phone: coaching on its own, the other two stacked
       beside it rather than squeezed into three narrow lanes. */
    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
}

/* ---------- HOMEPAGE: WIDE OFFER ROW ---------- */
.offer-wide {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    border-radius: 20px;
    padding: 40px 38px;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.offer-wide:hover {
    border-color: rgba(var(--accent-rgb), 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.offer-wide h3 {
    font-family: "Gooper", Georgia, serif;
    font-size: 29px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    transition: color 0.5s ease;
}

.offer-wide p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(var(--text-rgb), 0.85);
    transition: color 0.5s ease;
}

/* The text column now takes all the space the button does not, so
   cap the measure or the paragraph runs to an unreadable length. */
.offer-wide p {
    max-width: 58ch;
}

.offer-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
}

.offer-tags li {
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.32);
    border-radius: 999px;
    padding: 7px 14px;
    transition:
        color 0.5s ease,
        border-color 0.5s ease;
}

@media (max-width: 880px) {
    .offer-wide {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 26px;
    }

    .offer-wide h3 {
        font-size: 25px;
    }
}

/* ---------- WHOLE-CARD TAP TARGET ----------
   The small link stays the one real anchor, so screen readers and
   crawlers still see a single sensible link. Its ::after is stretched
   over the whole card, which makes the card tappable without nesting
   headings inside an anchor. */
.ideal-card:has(.card-link),
.package-card:has(.btn-card),
.offer-wide:has(.btn-card) {
    position: relative;
    cursor: pointer;
}

.ideal-card .card-link::after,
.package-card .btn-card::after,
.offer-wide .btn-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.ideal-card:has(.card-link:focus-visible),
.package-card:has(.btn-card:focus-visible),
.offer-wide:has(.btn-card:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Keyboard users get the card outline, so the inner link does not
   need a second focus ring of its own. */
.ideal-card .card-link:focus-visible,
.package-card .btn-card:focus-visible,
.offer-wide .btn-card:focus-visible {
    outline: none;
}

/* Hovering anywhere on the card lights up its link. */
.ideal-card:hover .card-link {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), 0.8);
    gap: 12px;
}

/* Hovering anywhere on the card presses its button. No transform here:
   a transformed (or positioned) button becomes the containing block for
   its own stretched ::after, which would shrink the tap target back down
   to the button the moment a finger or pointer touches the card. The
   card's own lift carries the motion. */
.package-card:hover .btn-card,
.offer-wide:hover .btn-card {
    background: var(--btn-hover-bg);
}


/* A section title sitting directly above an intro paragraph does not
   need the full gap that separates it from a grid of cards. */
.section-title:has(+ .page-intro) {
    margin-bottom: 18px;
}

/* ---------- CARD BUTTON ----------
   A smaller sibling of .btn-primary for the booking CTA that sits
   inside a card. align-self keeps it hugging its text instead of
   stretching across the card's flex column. */
.btn-card {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: 22px;
    padding: 13px 24px;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

/* In the wide company row the button is the only thing in its
   column, so the grid's align-items handles centring it. The stacked
   margin would just push it off-centre. */
.offer-wide .btn-card {
    margin-top: 0;
}

.btn-card .arrow {
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.package-card:hover .btn-card .arrow,
.offer-wide:hover .btn-card .arrow {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .btn-card,
    .btn-card .arrow {
        transition: none;
    }
}

/* ---------- PER-PAGE HERO PHOTOGRAPHY ----------
   Each landing page gets its own hero so the set does not read as the
   homepage repeated five times. Landscape scans only: the band is wide
   and a portrait source would crop to almost nothing. */
.hero-designers {
    --hero-image: url("images/web/hero-000009890009.webp");
    --hero-image-small: url("images/web/hero-000009890009-mobile.webp");
}

.hero-transitions {
    --hero-image: url("images/web/hero-000003310012.webp");
    --hero-image-small: url("images/web/hero-000003310012-mobile.webp");
}

.hero-leadership {
    --hero-image: url("images/web/hero-000038820010.webp");
    --hero-image-small: url("images/web/hero-000038820010-mobile.webp");
}

.hero-packages {
    --hero-image: url("images/web/hero-000003360031.webp");
    --hero-image-small: url("images/web/hero-000003360031-mobile.webp");
}

.hero-companies {
    --hero-image: url("images/web/hero-000009890003.webp");
    --hero-image-small: url("images/web/hero-000009890003-mobile.webp");
}

.hero-story {
    --hero-image: url("images/web/hero-000003310034.webp");
    --hero-image-small: url("images/web/hero-000003310034-mobile.webp");
}

/* ---------- IN-SECTION CTA ----------
   A booking prompt at the end of a content section, so the reader
   never has to scroll back to the hero or all the way to the footer
   to act. Deliberately lighter than the final CTA card. */
.section-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 56px;
    padding-top: 34px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.22);
}

.section-cta p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(var(--text-rgb), 0.85);
    margin: 0;
    max-width: 46ch;
    transition: color 0.5s ease;
}

.section-cta .btn-primary {
    margin-left: auto;
}

@media (max-width: 880px) {
    .section-cta {
        margin-top: 40px;
        padding-top: 28px;
        gap: 20px;
    }

    .section-cta p {
        font-size: 16px;
    }

    .section-cta .btn-primary {
        margin-left: 0;
    }
}

/* Answers the question the cards provoke, right where it lands. */
.package-note {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(var(--text-rgb), 0.7);
    /* Matches .page-intro so a note that runs past one line still reads
       as a comfortable column rather than the full container width. */
    max-width: 760px;
    transition: color 0.5s ease;
}

.hero-sessions {
    --hero-image: url("images/web/hero-coastline.webp");
    --hero-image-small: url("images/web/hero-coastline-mobile.webp");
}

/* Inline links inside body copy, matching the footer's underline treatment.
   The footer was the only place that needed one until Honest Sessions. */
.package-note a {
    color: var(--highlight);
    text-decoration: underline;
    text-decoration-color: rgba(var(--highlight-rgb), 0.45);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition:
        color 0.3s ease,
        text-decoration-color 0.3s ease;
}

.package-note a:hover {
    text-decoration-color: var(--highlight);
}

/* ---------- HONEST SESSIONS SIGNUP ----------
   The Kit embed ships its own styles, so this wrapper only gives it
   room, a sage frame, and a matching input/button look where Kit's
   markup lets us reach it. */
.signup-embed {
    margin: 0 auto 12px;
    max-width: 480px;
    text-align: left;
}

.signup-embed .formkit-form {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: "DM Sans", -apple-system, sans-serif !important;
}

/* Kit's stylesheet pads the form for its own wide layouts, keyed off a
   min-width attribute its script normally narrows. It does not narrow it
   for a hand-pasted form, so clear the padding ourselves. */
.signup-embed [data-style="clean"] {
    padding: 0 !important;
}

/* Kit reserves a full line for its attribution; pull it in tight. */
.signup-embed .formkit-powered-by-convertkit-container {
    margin: 2px 0 0 !important;
}

.signup-embed .formkit-powered-by-convertkit {
    height: 28px !important;
    opacity: 0.6;
}

.signup-embed .formkit-input,
.signup-embed input[type="email"],
.signup-embed input[type="text"] {
    font-family: inherit !important;
    font-size: 16px !important; /* keeps iOS from zooming the page on focus */
    border-radius: 10px !important;
    border: 1px solid rgba(var(--accent-rgb), 0.45) !important;
}

.signup-embed .formkit-submit,
.signup-embed button[type="submit"] {
    font-family: inherit !important;
    border-radius: 10px !important;
    background-color: var(--btn-bg) !important;
}

.signup-embed .formkit-submit span,
.signup-embed button[type="submit"] span {
    color: var(--btn-text) !important;
    font-weight: 500;
}

.signup-embed .formkit-submit:hover,
.signup-embed button[type="submit"]:hover {
    background-color: var(--btn-hover-bg) !important;
}

.signup-fallback {
    font-size: 16px;
    color: rgba(var(--text-rgb), 0.85);
}

/* The closing line, sitting under the form rather than above it. */
.signup-note {
    margin: 34px auto 0 !important;
    font-size: 16px !important;
    color: rgba(var(--text-rgb), 0.75) !important;
    max-width: 440px !important;
}

@media (max-width: 640px) {
    .signup-embed {
        max-width: 100%;
    }
}

/* ---------- SUBPAGE: STORY (long-form prose) ----------
   The story page runs much longer than the service pages, so it gets a
   measured reading column rather than the 19px .page-intro lead, which
   is built for a paragraph or two at a time. */
.story-prose {
    max-width: 760px;
}

.story-prose p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(var(--text-rgb), 0.85);
    margin-bottom: 24px;
    transition: color 0.5s ease;
}

.story-prose p:last-child {
    margin-bottom: 0;
}

/* A closing note under a section's steps is an aside, not a caption, so
   it gets the same air the steps have above them rather than butting
   straight up against the last one. */
.steps + .story-prose {
    margin-top: 44px;
}

/* ---------- SUBPAGE: STATS ----------
   A credibility row, not a chart: no series, no palette, just the page's
   own ink. Numbers wear Gooper because the serif is this site's display
   face, and proportional figures because tabular ones look loose at
   display sizes. */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 980px;
}

.stat {
    padding-top: 20px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.35);
    transition: border-color 0.5s ease;
}

.stat-figure {
    font-family: "Gooper", Georgia, serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--text);
    transition: color 0.5s ease;
}

.stat-label {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(var(--text-rgb), 0.8);
    transition: color 0.5s ease;
}

/* Portrait above the closing call to action, so the last thing on the
   page is a face rather than another block of type. */
.final-cta-photo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    transition: border-color 0.5s ease;
}

@media (max-width: 880px) {
    .story-prose p {
        font-size: 17px;
        line-height: 1.75;
    }

    .stat-row {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .stat-figure {
        font-size: 40px;
    }
}
