/* =========================================================
   Everywhere Agile — "Claude" mockup
   Editorial · light · typography-led · warm
   ========================================================= */

:root {
    --ink:        #0E1116;
    --ink-soft:   #2A2F38;
    --mute:       #6B7280;
    --mute-soft:  #9AA0A8;
    --paper:      #F6F2E9;   /* warm cream */
    --paper-2:    #FFFFFF;
    --paper-3:    #EFEADC;   /* slightly deeper cream */
    --line:       #E2DCCB;
    --accent:     #0F5E55;   /* deep emerald-teal */
    --accent-dk:  #0A4A43;
    --accent-2:   #D9532E;   /* warm coral signal */
    --accent-2-dk:#B83F1F;
    --accent-soft:rgba(15, 94, 85, 0.08);

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius:    14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.04), 0 2px 6px rgba(14, 17, 22, 0.04);
    --shadow:    0 4px 14px rgba(14, 17, 22, 0.06), 0 12px 36px rgba(14, 17, 22, 0.05);

    --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- typography ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(36px, 3.6vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.022em;
    color: var(--ink);
    font-variation-settings: "opsz" 96, "SOFT" 30;
}
.display em {
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}
.h-display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 3.1vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: var(--ink);
    font-variation-settings: "opsz" 96;
}
.h-display em { font-style: italic; color: var(--accent); }

.eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-2);
    display: inline-block;
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: 0.4; transform: scale(0.75); }
}

.lede {
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 60ch;
}
.body-lg {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 60ch;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-solid {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.btn-solid:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
}
.btn-ghost:hover { color: var(--accent); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: gap 0.2s ease, border-color 0.2s ease;
}
.link-arrow:hover { gap: 14px; border-bottom-color: var(--accent); }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 242, 233, 0.85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(246, 242, 233, 0.95);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.brand em { font-style: italic; color: var(--accent); }
.brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ink);
    position: relative;
    flex-shrink: 0;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--accent-2);
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.primary-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.18s ease;
    position: relative;
}
.primary-nav a:hover { color: var(--accent); }
.header-ctas {
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px 32px 32px;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { font-size: 17px; font-weight: 500; }

/* ============ HERO ============ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(560px, 78vh, 820px);
    display: flex;
    align-items: flex-start;
    padding: clamp(36px, 4.5vw, 72px) 0 clamp(60px, 8vw, 110px) 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
            rgba(14, 17, 22, 0.10) 0%,
            rgba(14, 17, 22, 0.04) 25%,
            rgba(246, 242, 233, 0.10) 45%,
            rgba(246, 242, 233, 0.55) 75%,
            rgba(246, 242, 233, 0.78) 100%
        );
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
}
.hero-spacer { display: none; }
.hero-copy {
    max-width: 1100px;
    padding-right: 0;
    margin: 0 auto;
    text-align: center;
}
/* Eyebrow uses inline-flex (dot + text); keep it centred when the copy is centred */
.hero-copy .eyebrow {
    justify-content: center;
}
.hero-copy .display {
    color: var(--ink);
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    margin-bottom: clamp(24px, 2.6vw, 40px);
}
.hero-copy .lede {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.45;
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0 auto;
}
.hero-copy .lede em {
    font-style: italic;
    color: var(--ink);
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-meta {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 14px;
}
.hero-meta li span { color: var(--accent-2); margin-right: 8px; font-weight: 700; }

.hero .wrap {
    /* hero spans full viewport: padding clears climbers on the left, slim right padding so text uses the width */
    max-width: none;
    padding-left: clamp(290px, 27vw, 500px);
    padding-right: clamp(32px, 3.5vw, 80px);
}

/* ============ RIBBON ============ */
.ribbon {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-3);
}
.ribbon-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 20px;
}
.ribbon-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.ribbon-track {
    display: flex;
    gap: 80px;
    animation: marquee 32s linear infinite;
    width: max-content;
    padding-left: 80px;
}
.ribbon-track span {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    font-style: italic;
    color: var(--ink-soft);
    opacity: 0.7;
    white-space: nowrap;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============ HERO TRUST RIBBON (absolutely positioned at the bottom of the hero image) ============ */
.hero-trust-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(24px, 3vw, 48px);
    z-index: 3;
    padding-left: clamp(290px, 27vw, 500px);
    padding-right: clamp(32px, 3.5vw, 80px);
    box-sizing: border-box;
}
.hero-trust {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.hero-trust-label {
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 14px;
}
.hero-trust-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.hero-trust-track {
    display: flex;
    gap: 48px;
    animation: marquee 64s linear infinite;
    width: max-content;
    padding-left: 48px;
}
.hero-trust-track span {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    color: var(--ink-soft);
    white-space: nowrap;
    opacity: 0.85;
}

/* ============ SECTION BASE ============ */
.section {
    padding: clamp(60px, 7.5vw, 100px) 0;
    position: relative;
}
.section-head {
    margin-bottom: 80px;
}
.section-head .body-lg { margin-top: 24px; }

/* ============ TRAINING (codex-inspired) ============ */
.training {
    background: #FFF9ED;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.training-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.training-head { max-width: none; }
.training-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
}

.training-kicker {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #D59A24;
    margin-bottom: 18px;
}

/* Left: emerald → blue diagonal gradient card */
.training-summary {
    background:
        linear-gradient(135deg, rgba(15, 94, 85, 0.94), rgba(43, 111, 178, 0.86)),
        var(--accent-dk);
    color: var(--paper);
    border-radius: 12px;
    padding: clamp(32px, 3.4vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 22px 60px rgba(15, 94, 85, 0.18);
    overflow: hidden;
}
.training-summary h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--paper);
    margin-bottom: 22px;
}
.training-summary p {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 22px;
}
.training-link {
    align-self: flex-start;
    display: inline-flex;
    color: var(--paper);
    font-weight: 700;
    font-size: 15.5px;
    padding-bottom: 4px;
    border-bottom: 2px solid #D59A24;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.training-link:hover {
    color: #D59A24;
}

/* Right: why is it free + beliefs */
.training-why {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.training-why h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin-bottom: 22px;
}
.training-why > p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.belief-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.belief-list li {
    background: var(--paper-2);
    border-left: 4px solid #D59A24;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--ink);
    font-weight: 600;
}

/* ============ 30 / 70 MODEL ============ */
.model {
    background: var(--paper-3);
}
.model .section-head {
    margin-bottom: 32px;
}
.model .section-head .body-lg {
    margin-top: 14px;
    max-width: none;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.model-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
}
.model-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.012em;
    margin-bottom: 14px;
    color: var(--ink);
}
.model-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.model-card li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.model-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    background: var(--mute);
    border-radius: 2px;
}

.model-card-muted {
    background: var(--paper);
}
.model-card-muted h3 { color: var(--ink-soft); }

.model-card-featured {
    background:
        linear-gradient(135deg, rgba(15, 94, 85, 0.94), rgba(43, 111, 178, 0.86)),
        var(--accent-dk);
    border-color: var(--accent-dk);
    color: var(--paper);
    box-shadow: 0 22px 60px rgba(15, 94, 85, 0.18);
}
.model-card-featured h3 { color: var(--paper); }
.model-card-featured li { color: rgba(246, 242, 233, 0.88); }
.model-card-featured li::before { background: var(--accent-2); }

.split-visual {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    height: 48px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 8px;
}
.split-visual span {
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.split-base {
    background: var(--paper-2);
    color: var(--ink);
}
.split-value {
    background: #D59A24;
    color: var(--ink);
}

.decision-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 22px;
    padding: 24px 28px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.decision-kicker {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 8px;
}
.decision-text h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.012em;
    line-height: 1.15;
}
#decision-copy {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
    transition: opacity 0.22s ease;
}
.decision-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.decision-btn {
    padding: 10px 16px;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    font-family: var(--font-body);
}
.decision-btn:hover {
    background: var(--ink);
    color: var(--paper);
}
.decision-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

/* ============ WHAT HAPPENS NEXT (flow) ============ */
.flow {
    background: var(--paper);
}
.flow .section-head {
    margin-bottom: 36px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.step {
    position: relative;
    padding: 26px 26px 28px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.step-num {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
}
.step-1 .step-num { background: var(--ink); }
.step-2 .step-num { background: var(--accent); }
.step-3 .step-num { background: #D59A24; }
.step-4 .step-num { background: var(--accent-2); }
.step h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin: 0;
}
.step p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* ============ WHAT WE DO ============ */
.work { background: var(--paper); }
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.work-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    color: var(--ink);
}
.work-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.work-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 30px;
    letter-spacing: -0.018em;
    line-height: 1.1;
}
.work-card p {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.6;
    flex-grow: 1;
}
.work-card .link-arrow {
    margin-top: 12px;
    font-size: 14.5px;
}

/* ============ VOICES (TESTIMONIALS) ============ */
.voices { background: var(--paper-3); }
.voices-wrap {
    position: relative;
}
.voices-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    min-height: 280px;
    transition: opacity 0.35s ease;
}
.voice-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.voice-quote {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.45;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.005em;
    position: relative;
    padding-left: 22px;
}
.voice-quote::before {
    content: "“";
    position: absolute;
    top: -8px;
    left: -4px;
    font-size: 48px;
    color: var(--accent-2);
    font-weight: 600;
    line-height: 1;
}
.voice-author {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.voice-author strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 600;
}
.voice-author span {
    font-size: 13px;
    color: var(--mute);
}
.voices-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.voices-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.voices-arrow:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}
.voices-dots {
    display: flex;
    gap: 8px;
}
.voices-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}
.voices-dots button.active { background: var(--accent); transform: scale(1.3); }

/* ============ TEAM ============ */
.team { background: var(--paper); }
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.team-copy .body-lg { margin: 28px 0; }
.team-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.team-photos figure {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper-3);
    aspect-ratio: 3 / 4;
}
.team-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.team-photos figure:hover img { transform: scale(1.06); }
.team-photos figcaption {
    position: absolute;
    bottom: 14px;
    left: 16px;
    background: var(--paper-2);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}
.team-photos figure:nth-child(2) { margin-top: 36px; }

/* ============ CLOSER ============ */
.closer {
    background: var(--ink);
    color: var(--paper);
}
.closer .h-display { color: var(--paper); }
.closer .h-display em { color: var(--accent-2); }
.closer .body-lg { color: rgba(246,242,233,0.78); margin: 18px auto 0; max-width: 56ch; }
.closer .eyebrow { color: var(--accent-2); }
.closer-wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.closer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.closer-content .btn-solid {
    margin-top: 32px;
    background: var(--accent);
    border-color: var(--accent);
}
.closer-content .btn-solid:hover {
    background: var(--accent-dk);
    border-color: var(--accent-dk);
}
.closer-direct {
    margin-top: 20px;
    font-size: 13.5px;
    color: rgba(246,242,233,0.6);
}
.closer-direct a {
    color: var(--accent-2);
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease;
}
.closer-direct a:hover { border-bottom-color: var(--accent-2); }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--mute); font-size: 14.5px; max-width: 36ch; margin-top: 16px; }
.footer-loc { font-size: 12px !important; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 18px !important; }
.site-footer h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 14.5px; color: var(--ink-soft); transition: color 0.18s ease; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 13px;
    color: var(--mute);
}
.footer-bottom a { margin-left: 16px; }
.footer-bottom a:hover { color: var(--accent); }

/* ============ SERVICE PAGE COMMON ============ */
.page-hero {
    padding: clamp(72px, 9vw, 130px) 0 clamp(48px, 6vw, 80px);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.page-hero .display {
    font-size: clamp(36px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.022em;
    max-width: 22ch;
    margin-bottom: clamp(20px, 2.2vw, 32px);
}
.page-hero .lede {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 60ch;
}

.page-intro {
    background: var(--paper-2);
    /* default bottom padding for when followed by a normal section (e.g. training modules) */
}
/* When an approach card follows directly, tighten the gap so the card sits close under the intro */
.page-intro:has(+ .page-approach) {
    padding-bottom: 0;
}
.page-intro .intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}
.page-intro .intro-eyebrow .eyebrow { margin-bottom: 0; }
.page-intro .intro-body p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 14px;
}
.page-intro .intro-body p:last-child { margin-bottom: 0; }

/* Approach featured card — same emerald→blue gradient as home training summary */
.page-approach {
    background: var(--paper-2);
    padding-top: clamp(36px, 4.5vw, 56px);
}
.approach-card {
    background:
        linear-gradient(135deg, rgba(15, 94, 85, 0.94), rgba(43, 111, 178, 0.86)),
        var(--accent-dk);
    color: var(--paper);
    border-radius: var(--radius-lg);
    padding: clamp(36px, 4.2vw, 56px);
    box-shadow: 0 22px 60px rgba(15, 94, 85, 0.18);
}
.approach-card .training-kicker {
    color: #D59A24;
    margin-bottom: 14px;
}
.approach-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--paper);
    margin-bottom: 16px;
}
.approach-card > p {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    max-width: 70ch;
}
.approach-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.approach-list li {
    position: relative;
    padding-left: 26px;
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}
.approach-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 12px;
    height: 2px;
    background: #D59A24;
    border-radius: 2px;
}
.approach-list li strong {
    color: var(--paper);
    font-weight: 600;
    margin-right: 4px;
}

/* Benefits grid — 6 items in 2 columns with icon + title + description */
.page-benefits { background: var(--paper); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 40px;
}
.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.benefit-icon {
    width: 26px;
    height: 26px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}
.benefit-item h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.benefit-item p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
}

/* Bottom page CTA */
.page-cta {
    background: var(--ink);
    color: var(--paper);
    text-align: center;
}
.page-cta .h-display { color: var(--paper); margin: 0 auto 18px; }
.page-cta .h-display em { color: var(--accent-2); }
.page-cta .body-lg { color: rgba(246,242,233,0.78); margin: 0 auto 28px; max-width: 56ch; }
.page-cta .eyebrow { color: var(--accent-2); }
.page-cta .btn-solid { background: var(--accent); border-color: var(--accent); }
.page-cta .btn-solid:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.page-cta-direct {
    margin-top: 20px;
    font-size: 13.5px;
    color: rgba(246,242,233,0.6);
}
.page-cta-direct a {
    color: var(--accent-2);
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease;
}
.page-cta-direct a:hover { border-bottom-color: var(--accent-2); }

/* Training-specific: modules grid + delivery options */
.modules {
    background: #FFF9ED;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.modules .section-head { margin-bottom: 40px; }
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.module-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.module-tag {
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #D59A24;
    background: rgba(213, 154, 36, 0.10);
    padding: 5px 10px;
    border-radius: 999px;
}
.module-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin: 0;
}
.module-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    flex-grow: 1;
    margin: 0;
}
.module-card .link-arrow {
    margin-top: 6px;
    font-size: 14.5px;
}
.module-card-featured {
    background:
        linear-gradient(135deg, rgba(15, 94, 85, 0.94), rgba(43, 111, 178, 0.86)),
        var(--accent-dk);
    border-color: var(--accent-dk);
    color: var(--paper);
    box-shadow: 0 22px 60px rgba(15, 94, 85, 0.18);
}
.module-card-featured:hover {
    border-color: var(--accent-dk);
    box-shadow: 0 26px 70px rgba(15, 94, 85, 0.22);
}
.module-card-featured h3 { color: var(--paper); }
.module-card-featured p { color: rgba(255, 255, 255, 0.88); }
.module-card-featured .module-tag {
    color: var(--paper);
    background: rgba(213, 154, 36, 0.22);
}
.module-card-featured .link-arrow {
    color: var(--paper);
    border-bottom-color: #D59A24;
}
.module-card-featured .link-arrow:hover {
    color: #D59A24;
    border-bottom-color: #D59A24;
}

.delivery { background: var(--paper); }
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.delivery-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.delivery-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
}
.delivery-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin: 0;
}
.delivery-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

@media (max-width: 1024px) {
    .modules-grid, .delivery-grid { grid-template-columns: repeat(2, 1fr); }
    .page-intro .intro-grid { grid-template-columns: 1fr; gap: 24px; }
    .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .modules-grid, .delivery-grid { grid-template-columns: 1fr; }
}

/* ============ TEAM PAGE ============ */
.team-page-list { background: var(--paper-2); padding-top: clamp(40px, 5vw, 64px); }
.member-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
    padding: clamp(36px, 4vw, 56px) 0;
}
.member-card + .member-card {
    border-top: 1px solid var(--line);
}
.member-photo {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper-3);
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.member-card:hover .member-photo img { transform: scale(1.04); }
.member-role {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.member-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(26px, 2.8vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.018em;
    color: var(--ink);
    margin: 0 0 18px;
}
.member-content > p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 14px;
    max-width: 64ch;
}
.member-comp-label {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: 22px;
    margin-bottom: 10px;
}
.member-competencies {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}
.member-competencies li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.member-competencies li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 2px;
    background: #D59A24;
    border-radius: 2px;
}
@media (max-width: 768px) {
    .member-card { grid-template-columns: 1fr; gap: 24px; }
    .member-photo { max-width: 220px; }
}

/* ============ PRIVACY / LONG-FORM POLICY PAGE ============ */
.policy-content { background: var(--paper-2); }
.policy-content .wrap { max-width: 860px; }
.policy-meta {
    font-size: 13px;
    color: var(--mute);
    letter-spacing: 0.06em;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.policy-body h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 14px;
}
.policy-body h2:first-of-type { margin-top: 0; }
.policy-body p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 14px;
}
.policy-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.policy-body li {
    position: relative;
    padding-left: 22px;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 10px;
}
.policy-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 2px;
    background: var(--accent-2);
    border-radius: 2px;
}
.policy-body strong {
    color: var(--ink);
    font-weight: 600;
}
.policy-body a {
    color: var(--accent);
    border-bottom: 1px solid currentColor;
    transition: color 0.18s ease;
}
.policy-body a:hover { color: var(--accent-dk); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }

/* ============ RESPONSIVE ============ */
/* Hero layout switches earlier (1280px) than the rest of the responsive layout.
   The wide overlay (absolute ribbon + min-height) only feels balanced from ~1280px+;
   below that the climber image takes too much proportional space and the ribbon-at-bottom
   leaves an awkward empty band in the middle. */
@media (max-width: 1280px) {
    .hero {
        display: block;
        min-height: auto;
        padding-top: clamp(40px, 10vw, 80px);
        padding-bottom: clamp(40px, 10vw, 80px);
    }
    .hero .wrap { padding-right: 32px; padding-left: clamp(180px, 22vw, 280px); }
    .hero-visual { display: none; }
    .hero-bg img { object-position: 18% center; }
    .hero-overlay {
        background:
            linear-gradient(to right,
                rgba(14, 17, 22, 0.08) 0%,
                rgba(246, 242, 233, 0.30) 30%,
                rgba(246, 242, 233, 0.80) 70%,
                rgba(246, 242, 233, 0.90) 100%
            );
    }
    /* Drop the ribbon into normal flow so it sits below the text naturally. */
    .hero-trust-row {
        position: static;
        padding-left: clamp(180px, 22vw, 280px);
        padding-right: 32px;
        margin-top: clamp(28px, 5vw, 48px);
    }
}

@media (max-width: 1024px) {
    .primary-nav { display: none; }
    .header-ctas { display: none; }
    .menu-toggle { display: flex; }

    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .training-two-col { grid-template-columns: 1fr; }
    .voices-track { grid-template-columns: 1fr 1fr; }
    .voice-card:nth-child(3) { display: none; }

    .model-grid { grid-template-columns: 1fr; }
    .decision-bar { grid-template-columns: 1fr; }
    .decision-controls { justify-content: flex-start; }

    .team-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 22px; }
    .section { padding: 70px 0; }
    .training-grid { gap: 56px; }

    .work-grid, .steps, .voices-track, .team-photos { grid-template-columns: 1fr; }
    .voice-card:nth-child(2) { display: none; }
    .team-photos figure:nth-child(2) { margin-top: 0; }

    .split-bar { height: auto; grid-template-columns: 1fr; }
    .split-30, .split-70 { padding: 22px 24px; }
    .split-axis { flex-direction: column; gap: 6px; }

    .hero { min-height: 560px; }
    .hero .wrap { padding-left: 22px; }
    .hero-trust-row { padding-left: 22px; padding-right: 22px; }
    .hero-bg img { object-position: 22% top; }
    .hero-overlay {
        background:
            linear-gradient(to bottom,
                rgba(14, 17, 22, 0.05) 0%,
                rgba(246, 242, 233, 0.35) 30%,
                rgba(246, 242, 233, 0.88) 60%,
                rgba(246, 242, 233, 0.96) 100%
            );
    }
    .hero-copy { padding-top: 180px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    .reveal { opacity: 1; transform: none; }
}
