/* ============================================================
   Catalyst Ridge Advisory — "Fable" Edition
   Dawn on the ridge: warm, human, forward-moving.
   Brand tokens preserved: teal #0E5E6F / coral #FF6B5A,
   Fraunces + Manrope.
   ============================================================ */

:root {
    --cr-teal: #0E5E6F;
    --cr-teal-dark: #0A4C59;
    --cr-teal-deep: #07333e;
    --cr-teal-light: rgba(14, 94, 111, 0.08);
    --cr-coral: #FF6B5A;
    --cr-coral-soft: #FFB3A8;
    --cr-coral-light: rgba(255, 107, 90, 0.12);
    --cr-slate: #2E3A46;
    --cr-ink: #14262d;
    --cr-muted: #5a6572;
    --cr-cream: #FDF9F2;
    --cr-dawn: #FBF1E4;
    --cr-soft: #F2F7F7;
    --cr-line: rgba(14, 94, 111, .14);

    /* ridge layer colors, far → near */
    --ridge-far: #C3DBDE;
    --ridge-mid: #7FADB6;
    --ridge-near: #37798A;
    --ridge-front: #0E5E6F;

    --cr-grad-brand: linear-gradient(135deg, var(--cr-coral), var(--cr-teal));
    --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-display: "Fraunces", serif;
    --header-h: 104px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--cr-ink);
    background: var(--cr-cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4, .logo-text { font-family: var(--font-display); }

::selection { background: var(--cr-coral); color: #fff; }

/* ---------- skip nav ---------- */
.skip-nav {
    position: fixed; top: -60px; left: 16px; z-index: 3000;
    background: var(--cr-teal); color: #fff;
    padding: 10px 18px; border-radius: 8px;
    text-decoration: none; transition: top .25s;
}
.skip-nav:focus { top: 12px; }

/* ---------- shared section furniture ---------- */
.section-title {
    font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 600;
    color: var(--cr-teal); text-align: center; line-height: 1.12;
    letter-spacing: -.01em; text-wrap: balance;
}
.section-subtitle {
    text-align: center; color: var(--cr-coral); font-weight: 700;
    font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
    margin: 14px 0 64px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1150;
    height: var(--header-h);
    transition: background .4s, box-shadow .4s;
}
.header-inner {
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
}
header.solid {
    background: rgba(253, 249, 242, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--cr-line), 0 12px 40px rgba(20, 38, 45, .06);
}

/* scroll progress — the trail you've already covered */
.progress-trail {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: transparent;
}
#progress-fill {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--cr-coral), var(--cr-teal));
    border-radius: 0 3px 3px 0;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 88px; width: auto; }

header nav { display: flex; align-items: center; gap: 28px; }
header nav > a {
    text-decoration: none; font-weight: 600; font-size: .92rem;
    color: var(--cr-slate); transition: color .3s;
    position: relative;
}
header nav > a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px; background: var(--cr-coral);
    transition: width .35s var(--ease-out);
}
header nav > a:not(.btn):hover { color: var(--cr-teal); }
header nav > a:not(.btn):hover::after { width: 100%; }

/* dropdown — Industry Insights */
.dropdown { position: relative; }
.dropdown-toggle {
    display: flex; align-items: center; gap: 6px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-body); font-weight: 600; font-size: .92rem;
    color: var(--cr-slate); padding: 8px 0; transition: color .3s;
}
.dropdown-toggle:hover, .dropdown.open .dropdown-toggle { color: var(--cr-teal); }
.dropdown-toggle svg { width: 14px; height: 14px; transition: transform .3s; }
.dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(253, 249, 242, .97);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--cr-line); border-radius: 12px;
    box-shadow: 0 20px 50px rgba(20, 38, 45, .14);
    padding: 8px; min-width: 190px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
}
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: block; padding: 10px 14px; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--cr-slate);
}
.dropdown-menu a:hover { background: var(--cr-teal-light); color: var(--cr-teal); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px;
    font-family: var(--font-body); font-weight: 700; font-size: .92rem;
    text-decoration: none; cursor: pointer; border: none;
    transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, color .3s, border-color .3s;
    will-change: transform;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary {
    background: var(--cr-teal); color: #fff;
    box-shadow: 0 8px 24px rgba(14, 94, 111, .3);
}
.btn-primary:hover {
    background: var(--cr-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(14, 94, 111, .4);
}
.btn-coral {
    background: var(--cr-coral); color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 90, .35);
}
.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255, 107, 90, .48);
}
.btn-outline {
    background: rgba(255, 255, 255, .55); color: var(--cr-teal);
    border: 1.5px solid rgba(14, 94, 111, .35);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: #fff; border-color: var(--cr-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 94, 111, .16);
}
.btn-ghost {
    background: rgba(255, 255, 255, .08); color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

/* ---------- hamburger / mobile nav ---------- */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 1202;
}
.hamburger span {
    width: 24px; height: 2px; background: var(--cr-teal); border-radius: 2px;
    transition: transform .35s var(--ease-out), opacity .25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
    position: fixed; inset: 0; z-index: 1190;
    background: rgba(20, 38, 45, .5); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200;
    width: min(320px, 84vw);
    background: rgba(253, 249, 242, .98); backdrop-filter: blur(20px);
    padding: 100px 32px 32px;
    display: flex; flex-direction: column; gap: 6px;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    box-shadow: -20px 0 60px rgba(20, 38, 45, .15);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
    text-decoration: none; font-weight: 600; color: var(--cr-slate);
    padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--cr-line);
}
.mobile-nav .mobile-nav-label {
    margin-top: 14px; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; color: var(--cr-muted);
}
.mobile-nav .mobile-nav-sub { padding-left: 14px; font-size: .95rem; }
.mobile-nav .btn { margin-top: 22px; border-bottom: none; color: #fff; justify-content: center; }

/* ============================================================
   HERO — DAWN ON THE RIDGE
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-start; justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 76%, rgba(255, 190, 110, .5) 0%, rgba(255, 190, 110, 0) 28%),
        radial-gradient(circle at 74% 84%, rgba(255, 176, 120, .3) 0%, rgba(255, 176, 120, 0) 32%),
        linear-gradient(180deg, #FBF3E6 0%, #F9EBD4 38%, #F6E2C2 62%, #F2D9B4 82%, #EFD3AC 100%);
}

.hero-sky { position: absolute; inset: 0; pointer-events: none; }

/* the catalyst sun — a low burning glow on the horizon, photo-style */
.sun-wrap {
    position: absolute; right: 5%;
    bottom: clamp(210px, 33vh, 420px);
    width: clamp(200px, 24vw, 340px); aspect-ratio: 1;
}
.sun {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 50% 58%,
        #FFF3D6 0%, #FFDFA0 10%, #FFC077 22%,
        rgba(255, 166, 102, .65) 36%, rgba(255, 158, 98, .28) 52%,
        rgba(255, 158, 98, .08) 66%, transparent 76%);
    animation: sunrise 2.8s var(--ease-out) both, sunFloat 11s ease-in-out 2.8s infinite;
}
.sun-halo {
    position: absolute; inset: -70%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 186, 120, .45), transparent 55%);
    animation: haloPulse 8s ease-in-out infinite;
}
@keyframes sunrise {
    from { transform: translateY(48px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes sunFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes haloPulse {
    0%, 100% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.12); opacity: .6; }
}

/* birds */
.birds { position: absolute; inset: 0; color: rgba(14, 94, 111, .5); }
.bird { position: absolute; width: 26px; height: 11px; animation: fly 26s linear infinite; opacity: 0; }
.bird.b1 { top: 20%; animation-delay: 0s; }
.bird.b2 { top: 26%; width: 18px; animation-delay: 9s; animation-duration: 32s; }
.bird.b3 { top: 15%; width: 21px; animation-delay: 17s; animation-duration: 29s; }
@keyframes fly {
    0% { left: -4%; opacity: 0; transform: translateY(0); }
    6% { opacity: .8; }
    50% { transform: translateY(-26px); }
    94% { opacity: .8; }
    100% { left: 104%; opacity: 0; transform: translateY(-8px); }
}

/* lit cloud streaks near the sun, drifting */
.cloud {
    position: absolute; border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 224, 178, .7), rgba(255, 190, 130, .25));
    filter: blur(12px);
}
.cloud.c1 { width: 380px; height: 22px; top: 58%; right: 6%; animation: drift 48s ease-in-out infinite alternate; }
.cloud.c2 { width: 250px; height: 16px; top: 50%; right: 22%; opacity: .7; animation: drift 60s ease-in-out infinite alternate-reverse; }
@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(70px); }
}

/* layered ridges — six receding layers, warm haze between them */
.ridges { position: absolute; left: 0; right: 0; bottom: -2px; pointer-events: none; }
.ridges { height: clamp(400px, 58vh, 700px); }
.ridge { display: block; width: 100%; }
.ridges .ridge { position: absolute; bottom: 0; left: -2%; width: 104%; }
.r6 { height: clamp(320px, 50vh, 600px); }
.r5 { height: clamp(328px, 51vh, 610px); }
.r4 { height: clamp(336px, 52vh, 620px); }
.r3 { height: clamp(344px, 53.5vh, 635px); }
.r2 { height: clamp(354px, 55vh, 650px); }
.r1 { height: clamp(330px, 51vh, 615px); }

/* golden wash where the sun burns through the far ridges */
.sun-veil {
    position: absolute; inset: 0;
    background: radial-gradient(38% 46% at 84% 58%,
        rgba(255, 206, 140, .65), rgba(255, 190, 125, .3) 46%, transparent 70%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 36%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 36%);
}
/* warm air on the sun side, cool on the far side */
.atmos {
    position: absolute; inset: 0;
    background: linear-gradient(102deg,
        rgba(120, 150, 160, .1) 0%, transparent 34%,
        rgba(255, 178, 118, .14) 66%, rgba(255, 186, 124, .32) 92%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%);
}
/* god rays raking down-left from the sun */
.rays {
    position: absolute; bottom: 0; left: 0; width: 100%;
    height: clamp(430px, 62vh, 730px);
    animation: raysShimmer 13s ease-in-out infinite;
}
@keyframes raysShimmer {
    0%, 100% { opacity: .5; }
    50% { opacity: .9; }
}

.mist {
    position: absolute; left: -4%; width: 58%; bottom: 22%;
    height: 44px; border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(252, 240, 222, .6) 35%, rgba(252, 240, 222, .5) 75%, transparent);
    filter: blur(12px);
    animation: mistDrift 22s ease-in-out infinite alternate;
}
@keyframes mistDrift {
    from { transform: translateX(-26px); opacity: .8; }
    to { transform: translateX(36px); opacity: .5; }
}

/* film grain over the scene */
.hero-grain {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero copy — centered title card floating in the sky */
.hero-content {
    position: relative; z-index: 5;
    padding: calc(var(--header-h) + clamp(14px, 3.5vh, 44px)) 0 0;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.hero-label {
    font-size: .8rem; font-weight: 700; letter-spacing: .24em;
    text-transform: uppercase; color: var(--cr-coral); margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    opacity: 0; animation: fadeUp .9s var(--ease-out) .1s forwards;
}
.hero-label::before,
.hero-label::after {
    content: ""; width: 44px; height: 1px; background: var(--cr-coral); display: inline-block;
}
.hero h1 {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 600; line-height: 1.1; color: var(--cr-teal-dark);
    letter-spacing: -.015em; margin-bottom: 20px;
    max-width: 28ch;
}
.hero h1 .accent {
    font-style: italic; font-weight: 600;
    background: linear-gradient(100deg, var(--cr-coral), #e0492f);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
    display: inline-block; transform: translateY(112%);
    animation: rise 1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .28s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.55;
    color: #40606c; max-width: 620px; margin: 0 auto 30px;
    opacity: 0; animation: fadeUp 1s var(--ease-out) .45s forwards;
}
.hero-ctas {
    display: flex; gap: 26px; flex-wrap: wrap;
    justify-content: center; align-items: center;
    opacity: 0; animation: fadeUp 1s var(--ease-out) .62s forwards;
}
.hero-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: .98rem; color: var(--cr-teal-dark);
    text-decoration: none;
    padding: 15px 28px; border-radius: 999px;
    background: rgba(253, 249, 242, .72);
    border: 1.5px solid rgba(14, 94, 111, .38);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(20, 38, 45, .12);
    transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.hero-link svg { width: 17px; height: 17px; transition: transform .35s var(--ease-spring); }
.hero-link:hover {
    background: #fff; color: var(--cr-coral); border-color: rgba(255, 107, 90, .55);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(20, 38, 45, .18);
}
.hero-link:hover svg { transform: translateX(5px); }
.hero-proof {
    margin-top: 20px;
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .88rem; font-weight: 700; color: var(--cr-teal-dark);
    padding: 9px 20px; border-radius: 999px;
    background: rgba(253, 249, 242, .68);
    border: 1px solid rgba(14, 94, 111, .22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(20, 38, 45, .1);
    opacity: 0; animation: fadeUp 1s var(--ease-out) .8s forwards;
}
.hero-proof svg { width: 15px; height: 15px; color: var(--cr-coral); flex-shrink: 0; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
    position: absolute; left: 0; right: 0; bottom: 3.5vh;
    display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 6;
    pointer-events: none;
    opacity: 0; animation: fadeUp 1s var(--ease-out) 1.5s forwards;
}
.scroll-cue p {
    font-size: .68rem; font-weight: 800; letter-spacing: .24em;
    text-transform: uppercase; color: #fff;
    text-shadow: 0 1px 10px rgba(4, 22, 28, .65);
    white-space: nowrap;
}
.scroll-cue span {
    width: 1.5px; height: 40px; background: rgba(255, 255, 255, .55);
    position: relative; overflow: hidden; display: block;
}
.scroll-cue span::after {
    content: ""; position: absolute; left: 0; top: -50%;
    width: 100%; height: 50%; background: var(--cr-coral-soft);
    animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { top: -50%; } 100% { top: 110%; } }

/* ============================================================
   VALUE PROPS — FORWARD MOVEMENT
   ============================================================ */
.value-props {
    padding: 120px 0;
    background:
        radial-gradient(60% 50% at 12% 0%, rgba(14, 94, 111, .06), transparent 70%),
        var(--cr-cream);
}
.vp-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px;
}
.vp-card {
    background: #fff; border: 1px solid var(--cr-line);
    border-radius: 20px; padding: 34px 28px;
    box-shadow: 0 6px 24px rgba(20, 38, 45, .05);
    transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s;
    position: relative; overflow: hidden;
}
.vp-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--cr-grad-brand);
    transform: scaleX(0); transform-origin: left;
    transition: transform .6s var(--ease-out);
}
.vp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(14, 94, 111, .14);
    border-color: rgba(14, 94, 111, .3);
}
.vp-card:hover::before { transform: scaleX(1); }
.vp-journey {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: .74rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: 14px;
}
.vp-journey span:first-child { color: var(--cr-muted); }
.vp-journey span:last-child { color: var(--cr-coral); }
.vp-journey svg {
    width: 16px; height: 16px; color: var(--cr-coral); flex-shrink: 0;
    transition: transform .4s var(--ease-spring);
}
.vp-card:hover .vp-journey svg { transform: translateX(5px); }
.vp-card h3 { font-size: 1.3rem; font-weight: 600; color: var(--cr-teal); margin-bottom: 12px; }
.vp-card > p:last-child { font-size: .95rem; color: var(--cr-muted); }

/* ============================================================
   CHALLENGE
   ============================================================ */
.challenge {
    position: relative; padding: 150px 0 130px;
    background:
        radial-gradient(70% 90% at 85% 15%, rgba(255, 107, 90, .12), transparent 55%),
        linear-gradient(160deg, var(--cr-teal-dark), var(--cr-teal-deep) 70%);
    color: #fff;
    overflow: hidden;
}
.challenge-ridge {
    position: absolute; top: -1px; left: 0; right: 0; height: 90px;
}
.challenge-ridge svg { width: 100%; height: 100%; display: block; transform: rotate(180deg); }
.challenge-ridge path { fill: var(--cr-cream); }
.challenge-inner {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: center;
    position: relative; z-index: 2;
}
.challenge h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600;
    line-height: 1.15; margin-bottom: 26px; text-wrap: balance;
}
.challenge-copy p { color: rgba(255, 255, 255, .78); margin-bottom: 18px; max-width: 580px; }
.challenge-pull {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4;
    color: #fff !important;
    border-left: 3px solid var(--cr-coral);
    padding-left: 22px; margin: 30px 0 !important;
}
.challenge-sig {
    font-family: var(--font-display); font-style: italic;
    color: var(--cr-coral-soft) !important; font-size: 1.02rem;
    margin-top: 26px !important;
}
.challenge-card {
    background: rgba(253, 249, 242, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(16px);
    border-radius: 24px; padding: 42px 36px;
    box-shadow: 0 30px 80px rgba(4, 16, 21, .4);
}
.challenge-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(255, 107, 90, .16); color: var(--cr-coral);
    display: grid; place-items: center; margin-bottom: 20px;
}
.challenge-card-icon svg { width: 28px; height: 28px; }
.challenge-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; }
.challenge-card p { color: rgba(255, 255, 255, .75); margin-bottom: 26px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 130px 0; background: var(--cr-cream); }
.service {
    display: grid; grid-template-columns: 86px 1.6fr 1fr; gap: 40px;
    padding: 54px 0; border-top: 1px solid var(--cr-line);
    align-items: start;
}
.service:last-child { border-bottom: 1px solid var(--cr-line); }
.service-num {
    font-family: var(--font-display); font-size: 2.6rem; font-weight: 400;
    background: var(--cr-grad-brand);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1; padding-top: 6px;
}
.service-tagline {
    font-size: .8rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--cr-coral); margin-bottom: 10px;
}
.service h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: var(--cr-ink); margin-bottom: 16px; }
.service-main > p:last-child { color: var(--cr-muted); max-width: 560px; }
.service-side {
    background: var(--cr-soft); border: 1px solid var(--cr-line);
    border-radius: 18px; padding: 28px 26px;
    transition: transform .5s var(--ease-out), box-shadow .5s;
}
.service:hover .service-side {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(14, 94, 111, .1);
}
.service-sidebar-label {
    font-size: .72rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--cr-teal); margin-bottom: 6px;
}
.service-perfect { font-size: .92rem; color: var(--cr-slate); margin-bottom: 20px; font-weight: 600; }
.service-side ul { list-style: none; }
.service-side li {
    font-size: .9rem; color: var(--cr-muted); padding: 7px 0 7px 26px; position: relative;
}
.service-side li::before {
    content: ""; position: absolute; left: 0; top: 13px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--cr-coral); border-bottom: 2px solid var(--cr-coral);
    transform: rotate(-45deg) scale(.8);
}

/* ============================================================
   FRAMEWORK — THE CASCADE
   ============================================================ */
.framework {
    position: relative; padding: 130px 0 120px;
    background: var(--cr-dawn);
    overflow: hidden;
}
/* topographic contour texture */
.contours {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%230E5E6F' stroke-opacity='0.07' stroke-width='1.4'%3E%3Cpath d='M60 210a150 150 0 1 0 300 0a150 150 0 1 0 -300 0'/%3E%3Cpath d='M95 210a115 115 0 1 0 230 0a115 115 0 1 0 -230 0'/%3E%3Cpath d='M130 210a80 80 0 1 0 160 0a80 80 0 1 0 -160 0'/%3E%3Cpath d='M165 210a45 45 0 1 0 90 0a45 45 0 1 0 -90 0'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 420px 420px;
}
.framework .container { position: relative; z-index: 1; }
.fw-intro {
    max-width: 640px; margin: -34px auto 64px; text-align: center;
    color: var(--cr-muted);
}

/* connected stage cards — always visible, gently interactive */
.fw-cards {
    display: flex; align-items: stretch; gap: 0;
}
.fw-card {
    flex: 1;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 18px;
    padding: 30px 26px 32px;
    display: flex; flex-direction: column; gap: 8px;
    box-shadow: 0 10px 30px rgba(20, 38, 45, .06);
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.fw-card.coral { border-top: 3px solid var(--cr-coral); }
.fw-card.teal  { border-top: 3px solid var(--cr-teal); }

.fw-card:hover { transform: translateY(-10px); }
.fw-card.coral:hover {
    border-color: rgba(255, 107, 90, .45);
    box-shadow: 0 24px 54px rgba(20, 38, 45, .12), 0 0 30px -6px rgba(255, 107, 90, .35);
}
.fw-card.teal:hover {
    border-color: rgba(14, 94, 111, .45);
    box-shadow: 0 24px 54px rgba(20, 38, 45, .12), 0 0 30px -6px rgba(14, 94, 111, .3);
}

.fw-card-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 6px;
}
.fw-card-num {
    font-family: var(--font-display); font-size: .85rem; font-weight: 700;
    letter-spacing: .12em; color: rgba(20, 38, 45, .3);
}
.fw-card-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: grid; place-items: center;
    transition: background .3s, color .3s, transform .35s var(--ease-spring);
}
.fw-card-icon.coral { background: var(--cr-coral-light); color: var(--cr-coral); }
.fw-card-icon.teal  { background: var(--cr-teal-light); color: var(--cr-teal); }
.fw-card-icon svg   { width: 22px; height: 22px; }
.fw-card:hover .fw-card-icon.coral { background: var(--cr-coral); color: #fff; transform: translateY(-3px); }
.fw-card:hover .fw-card-icon.teal  { background: var(--cr-teal); color: #fff; transform: translateY(-3px); }

.fw-card-name {
    font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
    color: var(--cr-ink); line-height: 1.1;
}
.fw-card-action {
    font-size: .72rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; margin-bottom: 4px;
}
.fw-card.coral .fw-card-action { color: var(--cr-coral); }
.fw-card.teal  .fw-card-action { color: var(--cr-teal); }

.fw-card-desc {
    font-size: .92rem; line-height: 1.6;
    color: var(--cr-muted);
}

.fw-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 42px; flex-shrink: 0;
    color: rgba(14, 94, 111, .35);
}
.fw-arrow svg { width: 20px; height: 20px; }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.differentiators {
    padding: 130px 0;
    background:
        radial-gradient(50% 60% at 90% 10%, rgba(255, 107, 90, .06), transparent 60%),
        var(--cr-cream);
}
.diff-intro {
    text-align: center; max-width: 720px; margin: 22px auto 70px;
    color: var(--cr-muted); font-size: 1.08rem;
}
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.diff-item {
    background: #fff; border: 1px solid var(--cr-line); border-radius: 18px;
    padding: 32px 28px; position: relative; overflow: hidden;
    transition: transform .5s var(--ease-out), box-shadow .5s;
}
.diff-item::after {
    content: ""; position: absolute; right: -40px; bottom: -40px;
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 94, 111, .18), rgba(14, 94, 111, .03));
    opacity: 0; transition: opacity .5s;
}
.diff-item:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(14, 94, 111, .12); }
.diff-item:hover::after { opacity: 1; }
.diff-item h4 {
    font-size: 1.18rem; font-weight: 600;
    color: var(--cr-teal); margin-bottom: 10px;
}
.diff-item p { font-size: .93rem; color: var(--cr-muted); position: relative; z-index: 1; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { padding: 130px 0; background: var(--cr-soft); }
.founder-inner {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: center;
}
.founder-photo {
    position: relative; aspect-ratio: 4 / 5; border-radius: 28px;
    overflow: visible;
}
.founder-photo::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border-radius: 28px; border: 2px solid rgba(255, 107, 90, .35);
    z-index: 0;
}
.founder-photo img {
    position: relative; z-index: 1;
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(14, 94, 111, .22);
}
.founder-badge {
    position: absolute; z-index: 2; left: -18px; bottom: 26px;
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--cr-line); border-radius: 999px;
    padding: 10px 18px;
    font-size: .82rem; font-weight: 700; color: var(--cr-teal);
    box-shadow: 0 14px 36px rgba(20, 38, 45, .14);
}
.founder-badge svg { width: 18px; height: 18px; color: var(--cr-coral); }
.founder h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; color: var(--cr-teal); }
.founder-subtitle {
    color: var(--cr-coral); font-weight: 700; font-size: .85rem;
    letter-spacing: .18em; text-transform: uppercase; margin: 10px 0 22px;
}
.founder-role {
    font-family: var(--font-display); font-style: italic;
    color: var(--cr-slate); font-size: 1.08rem; margin-bottom: 20px;
}
.founder-copy > p:not(.founder-subtitle):not(.founder-role) {
    color: var(--cr-muted); margin-bottom: 16px; max-width: 620px;
}
.founder-links { display: flex; align-items: center; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.founder-li {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: .92rem; color: var(--cr-teal);
    text-decoration: none; transition: color .3s;
}
.founder-li svg { width: 18px; height: 18px; }
.founder-li:hover { color: var(--cr-coral); }

/* ============================================================
   FINAL CTA — THE CATALYST (chaos to clarity)
   ============================================================ */
.final-cta {
    position: relative; overflow: hidden;
    padding: 170px 0 190px;
    min-height: clamp(560px, 92vh, 900px);
    display: flex; align-items: center;
    background:
        radial-gradient(60% 55% at 50% 58%, rgba(14, 94, 111, .35), transparent 70%),
        linear-gradient(180deg, #07333e 0%, #051d24 100%);
    text-align: center;
}
#catalyst-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; display: block;
    opacity: .5;
}
.cta-content { position: relative; z-index: 2; width: 100%; }
.cta-content h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 600; color: #fff;
    max-width: 760px; line-height: 1.12; margin: 0 auto 22px; text-wrap: balance;
    text-shadow: 0 2px 30px rgba(2, 12, 16, .8);
}
.cta-content > p {
    color: rgba(255, 255, 255, .82); max-width: 600px; margin: 0 auto 40px;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    text-shadow: 0 1px 18px rgba(2, 12, 16, .8);
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--cr-teal-deep); color: rgba(255, 255, 255, .75); padding: 80px 0 0; }
.footer-grid {
    width: min(1180px, 92%); margin: 0 auto;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px;
    padding-bottom: 60px;
}
.footer-brand .logo-text { color: #fff; display: block; margin-bottom: 14px; font-size: 1.15rem; font-weight: 600; }
.footer-brand p { font-size: .92rem; max-width: 340px; color: rgba(255, 255, 255, .6); }
.footer-social { margin-top: 22px; display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, .7); transition: all .3s;
}
.footer-social a:hover { background: var(--cr-coral); border-color: var(--cr-coral); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
    color: #fff; font-size: 1rem;
    margin-bottom: 18px; font-weight: 600;
}
.footer-col a {
    display: block; text-decoration: none; color: rgba(255, 255, 255, .6);
    font-size: .92rem; padding: 6px 0; transition: color .3s, transform .3s;
}
.footer-col a:hover { color: var(--cr-coral-soft); transform: translateX(4px); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 24px 0; text-align: center;
    font-size: .85rem; color: rgba(255, 255, 255, .45);
}

/* ---------- floating CTA ---------- */
.floating-cta {
    position: fixed; right: 24px; bottom: 24px; z-index: 900;
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity .45s, transform .45s var(--ease-out);
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta a {
    display: flex; align-items: center; gap: 10px;
    background: var(--cr-coral); color: #fff; text-decoration: none;
    font-weight: 700; font-size: .9rem;
    padding: 14px 22px; border-radius: 999px;
    box-shadow: 0 16px 40px rgba(255, 107, 90, .45);
    transition: transform .3s var(--ease-out), box-shadow .3s;
}
.floating-cta a:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(255, 107, 90, .55); }
.floating-cta svg { width: 17px; height: 17px; }

/* ---------- reveal animation ---------- */
.reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * .12s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .challenge-inner { grid-template-columns: 1fr; gap: 50px; }
    .founder-inner { grid-template-columns: 1fr; gap: 60px; }
    .founder-photo { max-width: 380px; }
    .service { grid-template-columns: 60px 1fr; }
    .service-side { grid-column: 2; }
    .fw-cards { flex-wrap: wrap; gap: 18px; }
    .fw-card { flex: 1 1 42%; }
    .fw-arrow { display: none; }
}

/* the full nav + large logo need ~990px; hand off to the hamburger below 1080 */
@media (max-width: 1080px) {
    header nav { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 860px) {
    :root { --header-h: 84px; }
    .logo img { height: 64px; }

    .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
    .hero h1 .line, .hero h1 .line > span { display: inline; white-space: normal; }
    .hero-sub { font-size: 1rem; max-width: 90%; }
    .hero-ctas { gap: 18px; }
    .sun-wrap { right: 0; bottom: clamp(200px, 30vh, 360px); }
    .ridges { height: clamp(300px, 44vh, 520px); }
    .r6 { height: clamp(240px, 38vh, 450px); }
    .r5 { height: clamp(246px, 39vh, 458px); }
    .r4 { height: clamp(252px, 40vh, 466px); }
    .r3 { height: clamp(258px, 41vh, 476px); }
    .r2 { height: clamp(266px, 42.5vh, 488px); }
    .r1 { height: clamp(248px, 39vh, 462px); }
    .rays { height: clamp(320px, 48vh, 560px); }
    .scroll-cue { display: none; }

    .service { grid-template-columns: 1fr; gap: 24px; }
    .service-num { padding-top: 0; }
    .service-side { grid-column: 1; }

    .fw-cards { flex-direction: column; flex-wrap: nowrap; gap: 16px; }
    .fw-card { flex: 1 1 auto; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
    .hero-ctas .btn { width: 100%; }
    .cta-btns .btn { width: 100%; }
    .stat-grid { gap: 34px; }
    .founder-badge { left: 8px; bottom: 12px; padding: 8px 14px; font-size: .74rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero-label, .hero-sub, .hero-ctas, .hero-proof, .scroll-cue, .sun { opacity: 1; }
    .hero h1 .line > span { transform: none; }
    .bird { display: none; }
}
