/* ============================================================
   theme.css — current design system (cream -> monochrome ->
   homepage hub -> application form -> keylight interactions)
   Part 3 of 4 — load after legacy.css
   ============================================================ */
/* ============================================
   Light editorial theme (chooser + coaching)
   Cream canvas, floating pill nav, rounded cards
   ============================================ */

:root {
    --cream-bg: #F6F3EC;
    --ink-text: #1E1E1E;
    --soft-muted: #6E6A5E;
    --card: #FFFFFF;
    --accent: #6F9B5E;
    --accent-dark: #587E4A;
}

body.dark {
    background: var(--cream-bg);
    color: var(--ink-text);
    font-family: 'Poppins', system-ui, sans-serif;
}

.display {
    font-family: 'Poppins', system-ui, sans-serif;
    text-transform: none;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--ink-text);
}

.display-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-text) !important;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.display-logo span { color: var(--accent); }

/* Floating pill header */
body.dark .header {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    padding: 1rem 1rem 0;
}

body.dark .header-content {
    background: var(--card);
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(30, 30, 30, 0.08);
    padding: 0.65rem 1.5rem;
    max-width: 760px;
}

body.dark .nav-link { color: var(--soft-muted); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
body.dark .nav-link:hover { color: var(--accent); }
body.dark .nav-link-active { color: var(--ink-text); font-weight: 600; }
body.dark .mobile-menu-button { color: var(--ink-text); }
body.dark .mobile-menu { background: var(--cream-bg); }

body.dark h1, body.dark h2, body.dark h3 { color: var(--ink-text); }

body.dark .eyebrow { color: var(--accent); }

/* Chooser homepage: light hero, photo right */
.chooser {
    position: relative;
    min-height: 92vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    padding: 7rem 1.5rem 4rem;
}

.chooser-bg {
    position: absolute; inset: 0;
    background: url('../img/hero-image.jpg') 100% center / cover no-repeat;
    opacity: 0.9;
}

.chooser-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--cream-bg) 0%, var(--cream-bg) 42%, rgba(246,243,236,0.82) 58%, rgba(246,243,236,0.25) 80%, rgba(246,243,236,0) 100%),
        linear-gradient(180deg, rgba(246,243,236,0.6), rgba(246,243,236,0) 25%, rgba(246,243,236,0) 70%, var(--cream-bg) 100%);
}

.chooser-content { position: relative; z-index: 1; max-width: 860px; width: 100%; }

.chooser-logo { display: inline-block; margin-bottom: 1.75rem; }

.chooser-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    color: var(--ink-text);
    max-width: 15ch;
}

.chooser-title em {
    font-style: normal; color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.1em;
}

.chooser-sub { margin: 1.25rem 0 2.5rem; color: var(--soft-muted); font-size: 1.05rem; max-width: 46ch; }

.chooser-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.chooser-card {
    display: flex; flex-direction: column; gap: 0.6rem;
    padding: 2rem 1.75rem; border-radius: 1.25rem; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chooser-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30,30,30,0.1); }

.chooser-card-tag {
    align-self: flex-start;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.3rem 0.75rem; border-radius: 999px;
    background: var(--accent); color: #fff;
}

.chooser-card-tag-alt { background: #EDE8DB; color: var(--accent-dark); }

.chooser-card h3 { font-size: 1.3rem; color: var(--ink-text); }
.chooser-card p { font-size: 0.92rem; flex: 1; }
.chooser-card-cta { font-weight: 600; font-size: 0.9rem; }

.chooser-card-coaching {
    background: var(--card);
    color: var(--soft-muted);
    box-shadow: 0 8px 28px rgba(30,30,30,0.08);
}

.chooser-card-coaching .chooser-card-cta { color: var(--accent-dark); }

.chooser-card-products {
    background: #EDE8DB;
    color: var(--soft-muted);
    box-shadow: none;
}

.chooser-card-products h3 { color: var(--ink-text); }
.chooser-card-products .chooser-card-cta { color: var(--accent-dark); }

/* Coaching page hero: light */
.page-hero {
    position: relative; min-height: 80vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 9rem 0 5rem;
}

.page-hero-bg {
    position: absolute; inset: 0;
    background: url('../img/hero-image.jpg') 100% center / cover no-repeat;
}

.page-hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--cream-bg) 0%, var(--cream-bg) 38%, rgba(246,243,236,0.85) 55%, rgba(246,243,236,0.2) 80%, rgba(246,243,236,0) 100%),
        linear-gradient(180deg, rgba(246,243,236,0.55), rgba(246,243,236,0) 30%, rgba(246,243,236,0) 72%, var(--cream-bg) 100%);
}

.page-hero-content {
    position: relative; z-index: 1;
    max-width: 560px; margin: 0 auto; padding: 0 1.5rem;
    margin-left: max(1.5rem, calc((100vw - 1100px) / 2 - 4rem));
}

.page-hero-eyebrow {
    color: var(--accent); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.25rem;
}

.page-hero-title { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--ink-text); }

.page-hero-title em {
    font-style: normal; color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.1em;
}

.page-hero-sub { margin-top: 1.5rem; max-width: 42ch; color: var(--soft-muted); font-size: 1.05rem; }

.page-hero-cta {
    margin-top: 2.25rem; display: inline-block;
    background: var(--ink-text); color: #fff;
    font-weight: 600; text-decoration: none;
    letter-spacing: 0.02em; font-size: 0.95rem;
    padding: 1rem 2.25rem; border-radius: 999px;
    transition: transform 0.2s, background 0.2s;
}

.page-hero-cta:hover { transform: translateY(-2px); background: #000; }

/* Marquee divider: quiet cream strip */
.marquee {
    border-top: 1px solid #E5E0D2;
    border-bottom: 1px solid #E5E0D2;
    background: #EFEAE0;
    overflow: hidden; padding: 0.9rem 0;
}

.marquee-track {
    display: flex; gap: 3rem; width: max-content;
    animation: marquee 22s linear infinite;
}

.marquee-track span {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.14em;
    font-weight: 600; color: var(--ink-text); white-space: nowrap; opacity: 0.75;
}

.marquee-track span i { font-style: normal; color: var(--accent); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* What you get: white cards on cream */
.what-you-get { padding: 5rem 0; background: var(--cream-bg); }
/* First section on the page: clear the fixed header */
.section-first { padding-top: 8rem; }

/* Slim intro above "Inside the App" */
.coaching-intro {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
    align-items: center; max-width: 1040px; margin: 0 auto 3.5rem;
}
.coaching-intro-text .eyebrow { color: var(--soft-muted); }
.coaching-intro-text p {
    margin-top: 1rem; font-size: 1.15rem; line-height: 1.65; color: var(--ink-text);
}
.coaching-intro-text p em {
    font-style: normal; font-weight: 700;
    background: linear-gradient(transparent 62%, #D6F5C9 62%); padding: 0 0.06em;
}
.coaching-intro-photos { position: relative; padding-bottom: 100%; }
.coaching-intro-photos img {
    position: absolute; width: 58%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 1rem;
    filter: grayscale(100%) contrast(1.04);
    box-shadow: 0 16px 40px rgba(17,17,17,0.18);
}
.coaching-intro-photos img:first-child { left: 2%; top: 7%; transform: rotate(-3deg); }
.coaching-intro-photos img:last-child { left: 42%; top: 14%; transform: rotate(2.5deg); z-index: 2; }

@media (max-width: 800px) {
    .coaching-intro { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
    .coaching-intro-text { text-align: center; }
    .coaching-intro-text p { text-align: left; }
}
.what-you-get .eyebrow { color: var(--accent); }
.what-you-get .display { color: var(--ink-text); }
.what-you-get-sub { color: var(--soft-muted); margin-top: 0.5rem; }
.what-you-get-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.what-you-get-card {
    display: flex; flex-direction: column; gap: 0.6rem; text-align: center; align-items: center;
    background: var(--card); border-radius: 1.5rem; padding: 1.75rem 1rem;
    box-shadow: 0 6px 20px rgba(30,30,30,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.what-you-get-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(30,30,30,0.1); }
.what-you-get-card h3 { font-size: 0.98rem; color: var(--ink-text); }
.what-you-get-card p { font-size: 0.82rem; color: var(--soft-muted); }
.phone-frame {
    width: 180px; aspect-ratio: 9 / 19.5;
    border-radius: 1.1rem; overflow: hidden; background: #EFEAE0;
    border: 3px solid #fff; box-shadow: 0 8px 18px rgba(30,30,30,0.14);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .what-you-get-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .what-you-get-grid { grid-template-columns: 1fr; } }

/* Apply section */
.apply { padding: 5.5rem 0; background: var(--cream-bg); }

.apply-grid {
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start;
}

.apply-eyebrow {
    color: var(--accent); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
}

.apply-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 0.6rem 0 1.25rem; color: var(--ink-text); }
.apply-copy { color: var(--soft-muted); margin-bottom: 2rem; }

.form-panel {
    background: var(--card); color: var(--ink-text);
    border-radius: 1.5rem; padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(30,30,30,0.1);
}

.form-panel .form-note {
    text-align: center; font-size: 0.78rem; color: var(--soft-muted);
    padding-bottom: 0.75rem; border-bottom: 1px solid #EFEAE0; margin-bottom: 1rem;
}

.form-panel iframe { width: 100%; border: none; height: 900px; }

/* About */
.about { padding: 5rem 0; background: var(--cream-bg); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.about-media {
    border-radius: 1.5rem; overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 16px 40px rgba(30,30,30,0.1);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--soft-muted); margin-top: 1rem; }

/* FAQ */
.faq { padding: 5rem 0; background: var(--cream-bg); }
.faq-list {
    max-width: 760px; margin: 0 auto;
    background: var(--card); border-radius: 1.5rem; padding: 1rem 2rem;
    box-shadow: 0 6px 20px rgba(30,30,30,0.06);
}
.faq-item { border-bottom: 1px solid #EFEAE0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { color: var(--ink-text); font-weight: 600; font-family: 'Poppins', sans-serif; }
.faq-icon { color: var(--accent); }
.faq-answer p { color: var(--soft-muted); }

/* Sidebar on light */
body.dark .coaching-sidebar {
    background: var(--card);
    border-color: #E5E0D2;
    box-shadow: 0 6px 20px rgba(30,30,30,0.08);
}
body.dark .coaching-sidebar-link { color: var(--soft-muted); border-left-color: #E5E0D2; }
body.dark .coaching-sidebar-link:hover { color: var(--accent); border-left-color: var(--accent); }

/* Footer: quiet cream */
.footer { background: var(--cream-bg); color: var(--soft-muted); border-top: 1px solid #E5E0D2; padding: 2rem 0; }
.footer-content { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem; }

/* Old form section is gone */
body.dark .form-section { display: none; }

@media (max-width: 900px) {
    .apply-grid { grid-template-columns: 1fr; }
    .chooser-cards { grid-template-columns: 1fr; }
    .page-hero-content { margin-left: 1.5rem; }
    .about-grid { grid-template-columns: 1fr; }
}

/* Header alignment on light pages */
body.dark .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

body.dark h2.display {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin: 0.6rem 0 1.25rem;
}

/* Coming-soon states */
.chooser-card-soon {
    opacity: 0.75;
    cursor: default;
    transform: none !important;
}

.nav-soon { cursor: default; }

.soon-pill {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

/* ============================================
   Homepage: loading splash + coaching hero
   ============================================ */
.loader {
    position: fixed; inset: 0; z-index: 200;
    background: var(--cream-bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease;
}

.loader.done { opacity: 0; pointer-events: none; }

.loader-inner { text-align: center; padding: 0 1.5rem; max-width: 480px; }

.loader-inner .display-logo { display: inline-block; margin-bottom: 1.5rem; }

.loader-tagline {
    color: var(--ink-text);
    font-size: clamp(1.15rem, 3vw, 1.6rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 2.25rem;
}

.loader-bar {
    width: 220px; height: 4px;
    margin: 0 auto;
    background: #E5E0D2;
    border-radius: 999px;
    overflow: hidden;
}

.loader-fill {
    height: 100%; width: 0;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.18s ease;
}

/* Coaching hero on the homepage */
.home-hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 6rem 0;
}

.home-hero-bg {
    position: absolute; inset: 0;
    background: url('../img/hero-image-full-mirrored.jpg') center center / cover no-repeat;
}

/* White gradient behind the headline so black text stays readable over the mirrored photo */
.home-hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, #FFFFFF 0%, rgba(255,255,255,0.96) 34%, rgba(255,255,255,0.75) 48%, rgba(255,255,255,0.2) 62%, rgba(255,255,255,0) 75%);
}

.home-hero-content {
    position: relative; z-index: 1;
    max-width: 600px; padding: 0 1.5rem;
    margin-left: max(1.5rem, calc((100vw - 1100px) / 2 - 4rem));
}

.home-hero-title { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--ink-text); }

.home-hero-title em {
    font-style: normal; color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.1em;
}

.home-hero-sub {
    margin-top: 1.5rem; max-width: 46ch;
    color: var(--soft-muted); font-size: 1.05rem;
}

.home-hero-content .page-hero-cta { margin-top: 2.25rem; }

@media (max-width: 900px) { .home-hero-content { margin-left: 1.5rem; } }

/* Homepage hero actions */
.home-hero-actions { margin-top: 2.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.home-hero-content .page-hero-cta { margin-top: 0; }

.home-hero-secondary {
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    color: var(--ink-text);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.15rem;
    transition: opacity 0.2s;
}
.home-hero-secondary:hover { opacity: 0.6; }

/* Homepage "The Work" manifesto band */
.manifesto {
    max-width: 1100px; margin: 0 auto;
    padding: 5rem 1.5rem 0;
}
.manifesto-inner {
    display: grid; grid-template-columns: 1.15fr 1fr;
    gap: 3rem; align-items: center;
}
.manifesto-figure { margin: 0; }
.manifesto-photo {
    aspect-ratio: 3 / 4; border-radius: 1.25rem; overflow: hidden;
}
.manifesto-photo img {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
    filter: grayscale(100%) contrast(1.04);
}
.manifesto-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--soft-muted);
}
.manifesto-line { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--ink-text); }
.manifesto-line em {
    font-style: normal;
    background: linear-gradient(transparent 62%, #D6F5C9 62%);
    padding: 0 0.06em;
}
.manifesto-copy { margin-top: 1.25rem; color: var(--soft-muted); font-size: 1rem; max-width: 42ch; }

@media (max-width: 800px) {
    .manifesto { padding: 3.5rem 1.25rem 0; }
    .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Homepage routing cards */
.home-cards {
    padding: 6rem 1.5rem 7rem;
    max-width: 1100px; margin: 0 auto;
}
.home-cards-inner { max-width: 1000px; margin: 0 auto; }
.home-cards-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.home-cards-grid { margin-top: 1rem; }

@media (max-width: 700px) {
    .home-cards { padding: 4rem 1.25rem 5rem; }
}

/* ============================================
   Easlo-style minimal monochrome theme (v7)
   White canvas, black accents, logo top-left
   ============================================ */
:root {
    --cream-bg: #FFFFFF;
    --ink-text: #111111;
    --soft-muted: #6B7280;
    --card: #FFFFFF;
    --accent: #111111;
    --accent-dark: #000000;
}

body.dark { background: #FFFFFF; color: #111111; }

.display { color: #111111; }
body.dark h1, body.dark h2, body.dark h3 { color: #111111; }
body.dark .eyebrow { color: #6B7280; }

/* Brand lockup: avatar + wordmark */
.brand {
    display: inline-flex; align-items: center; gap: 0.55rem;
    text-decoration: none;
}

.brand-avatar { width: 34px; height: 34px; border-radius: 50%; display: block; }

.brand-name {
    font-weight: 700; font-size: 1.05rem; color: #111111;
    letter-spacing: -0.01em;
}

/* Full-width white top bar with hairline border */
body.dark .header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #ECECEC;
    padding: 0;
}

body.dark .header-content {
    background: none; box-shadow: none; border-radius: 0;
    max-width: 1100px;
    padding: 0.8rem 1.25rem;
}

body.dark .nav-link { color: #6B7280; }
body.dark .nav-link:hover { color: #111111; }
body.dark .nav-link-active { color: #111111; font-weight: 600; }

/* Black pill CTAs */
.page-hero-cta {
    background: #111111; color: #fff;
    padding: 1rem 2.25rem; border-radius: 999px;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
    text-transform: none;
}

.page-hero-cta:hover { background: #000; transform: translateY(-2px); }

.page-hero-title em, .home-hero-title em, .chooser-title em {
    color: #111111;
    text-decoration: none;
    background: linear-gradient(transparent 62%, #D6F5C9 62%);
    padding: 0 0.06em;
}

.page-hero-eyebrow { color: #6B7280; }

/* Photo fades into white */
.page-hero-bg::after, .chooser-bg::after {
    background:
        linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 38%, rgba(255,255,255,0.88) 55%, rgba(255,255,255,0.25) 80%, rgba(255,255,255,0) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, #FFFFFF 100%);
}

.home-hero-sub, .page-hero-sub, .chooser-sub, .apply-copy { color: #6B7280; }

/* Loader: white, black bar */
.loader { background: #FFFFFF; }
.loader-brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.75rem; }
.loader-bar { background: #ECECEC; }
.loader-fill { background: #111111; }
.loader-tagline { color: #111111; }

/* Marquee: quiet gray band */
.marquee { background: #F5F5F4; border-color: #ECECEC; }
.marquee-track span { color: #111111; opacity: 0.7; }
.marquee-track span i { color: #111111; opacity: 0.35; }

/* Cards: white, hairline border, big radius, hover lift */
.what-you-get { background: #FFFFFF; }
.what-you-get-card,
.form-panel,
.faq-list {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    box-shadow: 0 1px 2px rgba(17,17,17,0.04);
    border-radius: 0.875rem;
}

.what-you-get-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(17,17,17,0.08);
    border-color: #E0E0E0;
}

.phone-frame { border: 3px solid #FFFFFF; box-shadow: 0 10px 24px rgba(17,17,17,0.12); background: #F5F5F4; }

.what-you-get-card h3 { color: #111111; }
.what-you-get-card p { color: #6B7280; }
.what-you-get .eyebrow { color: #6B7280; }

/* Apply */
.apply { background: #FFFFFF; }
.apply-eyebrow { color: #6B7280; }
.apply-title { color: #111111; }
.form-panel .form-note { color: #6B7280; border-bottom-color: #ECECEC; }

/* About + FAQ */
.about { background: #FFFFFF; }
.about-media { box-shadow: 0 12px 32px rgba(17,17,17,0.1); }
.faq { background: #FFFFFF; }
.faq-item { border-bottom-color: #ECECEC; }
.faq-question { color: #111111; }
.faq-icon { color: #111111; }
.faq-answer p { color: #6B7280; }

/* Sidebar */
body.dark .coaching-sidebar {
    background: #FFFFFF; border-color: #ECECEC;
    box-shadow: 0 1px 2px rgba(17,17,17,0.05);
}
body.dark .coaching-sidebar-label { color: #9CA3AF; }
body.dark .coaching-sidebar-link { color: #6B7280; border-left-color: #ECECEC; }
body.dark .coaching-sidebar-link:hover { color: #111111; border-left-color: #111111; }

/* Footer */
.footer {
    background: #F5F5F4;
    color: #6B7280;
    border-top: 1px solid #ECECEC;
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem;
    max-width: 1100px; margin: 0 auto; padding: 0 1.25rem;
}

.footer-tagline { margin: 1rem 0 1.25rem; max-width: 30ch; }

.footer-social {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: #111111; text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.footer-social:hover { text-decoration: underline; }

.footer-copy { font-size: 0.8rem; color: #9CA3AF; margin-top: 1.5rem; }

.footer-col h4 {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: #9CA3AF; margin-bottom: 1rem;
}

.footer-col a {
    display: block; color: #111111; text-decoration: none;
    font-size: 0.9rem; padding: 0.3rem 0;
}
.footer-col a:hover { text-decoration: underline; }

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   Homepage hub: header CTA + resources section
   ============================================ */
.nav-cta {
    background: #111111; color: #fff !important;
    padding: 0.55rem 1.1rem; border-radius: 999px;
    font-weight: 600; font-size: 0.82rem;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); color: #fff !important; }

.home-hero { padding-top: 9rem; }

.home-hero-actions { margin-top: 2.25rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-ghost {
    display: inline-block;
    border: 1px solid #E0E0E0;
    color: #111111;
    background: #fff;
    padding: 1rem 2rem; border-radius: 999px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: #111111; transform: translateY(-2px); }

/* Resources grid (easlo app-card style) */
.resources-section { padding: 5rem 0 6rem; background: #fff; }

.resources-header { text-align: left; margin-bottom: 2.5rem; }

.resources-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}

.resource-card {
    display: flex; flex-direction: column; gap: 0.7rem;
    background: #fff; border: 1px solid #ECECEC; border-radius: 1.25rem;
    padding: 2rem 1.75rem; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(17,17,17,0.08);
    border-color: #E0E0E0;
}

.resource-icon {
    width: 3rem; height: 3rem; border-radius: 1rem;
    background: #F5F5F4; color: #111111;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.5rem;
}

.resource-card h3 { color: #111111; font-size: 1.15rem; }
.resource-card p { color: #6B7280; font-size: 0.92rem; flex: 1; }
.resource-cta { font-weight: 600; font-size: 0.9rem; color: #111111; }
.resource-card:hover .resource-cta { text-decoration: underline; }

/* Resources page hero */
.resources-hero {
    padding: 9.5rem 0 3rem;
    background: #fff;
}
.resources-title { font-size: clamp(2.4rem, 6vw, 4rem); color: #111111; }
.resources-sub { color: #6B7280; margin-top: 1rem; max-width: 52ch; font-size: 1.05rem; }

/* Builder embedded as a section of the resources page */
.builder-embed {
    border: 1px solid #ECECEC; border-radius: 1.75rem;
    background: #fff; overflow: hidden;
    box-shadow: 0 1px 2px rgba(17,17,17,0.04);
}
.builder-embed iframe { width: 100%; height: 1500px; border: 0; display: block; }
@media (max-width: 760px) { .builder-embed iframe { height: 1750px; } }

/* Left-aligned nav with Resources dropdown (easlo style) */
body.dark .header-content {
    display: flex; align-items: center; justify-content: flex-start; gap: 2.25rem;
}

.nav-left { gap: 1.75rem; }

.nav-dropdown { position: relative; }

.nav-drop-toggle {
    background: none; border: none; cursor: pointer;
    font: inherit; padding: 0.25rem 0;
    display: inline-flex; align-items: center; gap: 0.3rem;
    color: #6B7280; font-weight: 500; font-size: 0.9rem;
}
.nav-drop-toggle:hover { color: #111111; }

.nav-caret { font-size: 0.6rem; transition: transform 0.2s; }

.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-drop-menu {
    position: absolute; top: calc(100% + 0.5rem); left: 0;
    min-width: 220px;
    background: #fff; border: 1px solid #ECECEC; border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(17,17,17,0.1);
    padding: 0.5rem;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scaleY(0.92);
    transform-origin: top center;
    transition: opacity 0.22s cubic-bezier(0.2, 0.7, 0.3, 1),
                transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1),
                visibility 0.22s;
    z-index: 60;
    clip-path: inset(0 0 8% 0 round 1rem);
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0) scaleY(1);
    clip-path: inset(0 0 0 0 round 1rem);
    transition: opacity 0.24s cubic-bezier(0.2, 0.7, 0.3, 1) 0.02s,
                transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1) 0.02s,
                clip-path 0.24s cubic-bezier(0.2, 0.7, 0.3, 1) 0.02s,
                visibility 0.24s;
}

.nav-drop-link {
    display: block; padding: 0.55rem 0.75rem; border-radius: 0.6rem;
    color: #111111; text-decoration: none; font-size: 0.88rem; font-weight: 500;
}
.nav-drop-link:hover { background: #F5F5F4; }

/* Custom application questionnaire */

.aq { color: #111111; }

.aq-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.aq-steps-progress { height: 4px; background: #ECECEC; border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.aq-steps-fill { height: 100%; width: 20%; background: #111111; border-radius: 999px; transition: width 0.3s ease; }

.aq-step { border: none; margin: 0; padding: 0; }
.aq-q { font-weight: 700; font-size: 1.15rem; line-height: 1.35; padding: 0; margin-bottom: 0.5rem; }
.aq-req { color: #6B7280; font-weight: 500; }
.aq-desc { color: #6B7280; font-size: 0.88rem; margin-bottom: 1rem; }

.aq-fields { display: grid; gap: 0.75rem; }
.aq input[type="text"], .aq input[type="tel"], .aq input[type="email"], .aq textarea {
    width: 100%; padding: 0.85rem 1rem;
    border: 1px solid #E0E0E0; border-radius: 0.85rem;
    font: inherit; font-size: 0.95rem; color: #111111; background: #fff;
    transition: border-color 0.15s;
}
.aq input:focus, .aq textarea:focus { outline: 2px solid #111111; outline-offset: 0; border-color: #111111; }
.aq textarea { resize: vertical; }

.aq-choices { display: grid; gap: 0.6rem; }
.aq-choice {
    display: flex; align-items: center; gap: 0.7rem;
    border: 1px solid #E0E0E0; border-radius: 0.85rem;
    padding: 0.8rem 1rem; cursor: pointer;
    font-size: 0.95rem; transition: border-color 0.15s, background 0.15s;
}
.aq-choice:hover { border-color: #111111; }
.aq-choice input { accent-color: #111111; width: 1.05rem; height: 1.05rem; }
.aq-choice.checked { border-color: #111111; background: #F5F5F4; }

.aq-choice-other .aq-other-text {
    display: none; flex: 1; margin-left: 0.5rem; padding: 0.35rem 0.6rem;
}
.aq-choice-other.open .aq-other-text { display: block; }

.aq-scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 0.4rem; margin-top: 0.5rem; }
.aq-scale button {
    padding: 0.8rem 0; border: 1px solid #E0E0E0; border-radius: 0.7rem;
    background: #fff; font: inherit; font-weight: 600; cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.aq-scale button:hover { border-color: #111111; }
.aq-scale button.sel { background: #111111; border-color: #111111; color: #fff; }
.aq-scale-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: #9CA3AF; margin-top: 0.5rem; }

.aq-pricing { font-size: 1rem; margin-bottom: 0.5rem; }

.aq-error { color: #B42318; font-size: 0.85rem; min-height: 1.2em; margin: 1rem 0 0; }

.aq-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.aq-count { color: #9CA3AF; font-size: 0.8rem; margin-right: auto; }
.aq-btn {
    border: none; background: #111111; color: #fff;
    padding: 0.8rem 1.6rem; border-radius: 999px;
    font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
    text-decoration: none; display: inline-block;
    transition: background 0.2s, transform 0.2s;
}
.aq-btn:hover { background: #000; transform: translateY(-1px); }
.aq-btn:disabled { opacity: 0.6; cursor: default; }
.aq-back {
    background: none; color: #6B7280; border: none; font: inherit;
    font-weight: 600; cursor: pointer; padding: 0.8rem 0.4rem;
}
.aq-back:hover { color: #111111; transform: none; }

.aq-done { text-align: center; padding: 2rem 0.5rem; color: #111111; }
.aq-done h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.aq-done p { margin-bottom: 0.5rem; }
.aq-done .aq-btn { margin-top: 1.25rem; }

@media (max-width: 520px) {
    .aq-scale { grid-template-columns: repeat(5, 1fr); }
    .aq-scale button { padding: 0.7rem 0; }
}


/* ============================================
   Keylight-inspired interactions (v27)
   Underline that "lights up" + scroll reveals
   ============================================ */

/* Nav/footer links: dim 1px underline always visible;
   on hover a 2px ink line grows from the center */
body.dark .nav-link,
.nav-drop-link,
.footer-col a {
    padding-bottom: 0.18em;
    background:
        linear-gradient(#111111, #111111) 50% 100% / 0% 2px no-repeat,
        linear-gradient(rgba(17, 17, 17, 0.22), rgba(17, 17, 17, 0.22)) 0 100% / 100% 1px no-repeat;
    transition: color 0.2s, background-size 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
    body.dark .nav-link:hover,
    .nav-drop-link:hover,
    .footer-col a:hover { background-size: 100% 2px, 100% 1px; }
}
body.dark .nav-link:focus-visible,
.nav-drop-link:focus-visible,
.footer-col a:focus-visible { background-size: 100% 2px, 100% 1px; }

/* Motion: content is visible by default — the per-section scroll reveal was removed. The single deliberate entrance is the page loader; the only remaining scroll effect is the photo "brighten" treatment below. */

/* Image brighten: photo starts dim + slightly scaled, develops on scroll */
html.js [data-reveal="brighten"] {
    opacity: 1;
    transform: translateY(0) scale(1.045);
    filter: brightness(0.55) saturate(0.85);
    transition: filter 1.1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal="brighten"].is-in { filter: brightness(1) saturate(1); transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal],
    html.js [data-reveal="brighten"] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .marquee-track { animation: none; }
}

/* Mobile hero: portrait image + text anchored over a white gradient
   so the headline always sits on white, never on the photo */
@media (max-width: 640px) {
    .home-hero {
        min-height: 100svh;
        align-items: flex-end;
        padding: 0;
    }
    .home-hero-bg {
        background: url('../img/hero-mobile.jpg?v=2') center center / cover no-repeat;
    }
    .home-hero-bg::after {
        content: "";
        position: absolute; inset: 0;
        background: linear-gradient(180deg,
            rgba(255,255,255,0) 26%,
            rgba(255,255,255,0.55) 44%,
            rgba(255,255,255,0.94) 62%,
            #FFFFFF 78%);
    }
    .home-hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0 1.25rem 3rem;
    }
}


/* Mobile: compact the apply section around the form */
@media (max-width: 700px) {
    .apply { padding: 2.75rem 0; }
    .apply-grid { gap: 1.75rem; }
    .apply-title { font-size: 1.9rem; }
    .form-panel { padding: 1.35rem 1.15rem; }
    .aq-steps-progress { margin-bottom: 1rem; }
    .aq-q { font-size: 1.05rem; }
}

/* ============================================
   Accessibility & interaction polish
   ============================================ */

/* Visible keyboard focus across buttons, links, and cards */
:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

/* Faster tap response on touch devices */
a, button, input, select, textarea, label, summary {
    touch-action: manipulation;
}

/* Skip link — visually hidden until keyboard focus */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 300;
    background: #111111;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 0.75rem 0;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
}