/* ═══════════════════════════════════════════
   South Beach Models — Consolidated Stylesheet
   ═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   FONT FACES — Barlow (self-hosted WOFF2)
───────────────────────────────────────── */
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-300-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* ─────────────────────────────────────────
   BRAND TOKENS — Pacific Heat (Light Theme)
───────────────────────────────────────── */
:root {
    /* Core brand palette */
    --charcoal:        #1C1C1C;
    --charcoal-mid:    #252525;
    --charcoal-card:   #2a2a2a;
    --charcoal-border: #3a3a3a;
    --coral:           #FF6B5B;
    --coral-hover:     #ff7d6f;
    --coral-muted:     rgba(255, 107, 91, 0.15);
    --coral-glow:      rgba(255, 107, 91, 0.22);
    --teal:            #0ABAB5;
    --teal-muted:      rgba(10, 186, 181, 0.12);
    --sand:            #FAF6F0;
    --sand-darker:     #f0ebe3;
    --sand-border:     #e0dbd4;
    --white:           #FFFFFF;

    /* Light theme surfaces */
    --surface:         #FAF6F0;
    --surface-card:    #FFFFFF;
    --surface-alt:     #f0ebe3;
    --border:          #e0dbd4;
    --border-strong:   #cfc9c0;

    /* Ink on sand */
    --ink:             #1C1C1C;
    --ink-60:          rgba(28, 28, 28, 0.60);
    --ink-40:          rgba(28, 28, 28, 0.40);
    --ink-20:          rgba(28, 28, 28, 0.18);

    /* Legacy aliases (dark theme compat for legal pages) */
    --display:         'Barlow Condensed', 'Barlow', sans-serif;
    --body:            'Barlow', sans-serif;
    --sand-30:         rgba(28, 28, 28, 0.40);
    --sand-60:         rgba(28, 28, 28, 0.60);

    /* Typography */
    --font:            'Barlow', sans-serif;

    /* Border radius */
    --r-sm:   6px;
    --r-md:   12px;
    --r-lg:   20px;
    --r-pill: 100px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle warm grain texture */
body::before {
    content: '';
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* ─────────────────────────────────────────
   NAV (shared base)
───────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 1.4rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled {
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(28,28,28,0.07);
    padding: 1rem 2.5rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: clamp(60px, 8vw, 80px); width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-60); text-decoration: none;
    transition: color .25s;
}
.nav-link:hover { color: var(--coral); }
.nav-cta {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--white); background: var(--coral);
    padding: 0.65rem 1.6rem; border-radius: var(--r-pill); text-decoration: none;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 14px var(--coral-muted);
}
.nav-cta:hover { background: var(--coral-hover); transform: translateY(-1px); box-shadow: 0 8px 22px var(--coral-glow); }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block; position: absolute; left: 0; right: 0;
    height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ─────────────────────────────────────────
   NAV — sticky variant (apply + legal pages)
───────────────────────────────────────── */
.page-apply .nav,
.page-legal .nav {
    position: sticky; top: 0;
    padding: 1rem 2.5rem;
    background: rgba(250, 246, 240, 0.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(28,28,28,0.06);
}
.page-apply .nav-logo img,
.page-legal .nav-logo img { height: 36px; }

.nav-back { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: color .25s; }
.nav-back:hover { color: var(--coral); }

/* ─────────────────────────────────────────
   SHARED UTILITIES
───────────────────────────────────────── */
.sw { max-width: 1260px; margin: 0 auto; padding: 0 2.5rem; }

.s-rule {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.s-rule::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.s-title { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; letter-spacing: -0.01em; color: var(--ink); line-height: 1.05; margin-bottom: 0.55rem; }
.s-title .accent { color: var(--coral); }
.s-title .italic { font-style: italic; font-weight: 300; }
.s-lead { font-size: 1rem; font-weight: 300; color: var(--ink-60); max-width: 480px; line-height: 1.82; }

/* Wave section transitions */
.wave-break { line-height: 0; overflow: hidden; }
.wave-break svg { display: block; width: 100%; }

/* ─────────────────────────────────────────
   FOOTER — charcoal
───────────────────────────────────────── */
footer { background: var(--charcoal); border-top: 1px solid var(--charcoal-border); }
.ft-main { max-width: 1260px; margin: 0 auto; padding: 3.5rem 2.5rem 2.25rem; display: grid; grid-template-columns: auto 1fr auto; gap: 3rem; align-items: start; border-bottom: 1px solid var(--charcoal-border); }
.ft-logo img { height: 48px; width: auto; opacity: 0.85; }
.ft-tagline { font-size: 0.78rem; font-weight: 300; letter-spacing: 0.1em; color: rgba(250,246,240,0.35); margin-top: 0.5rem; }
.ft-links { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.2rem; }
.ft-links a { font-size: 0.82rem; font-weight: 300; letter-spacing: 0.04em; color: rgba(250,246,240,0.45); text-decoration: none; transition: color .25s; }
.ft-links a:hover { color: var(--coral); }
.ft-bottom { max-width: 1260px; margin: 0 auto; padding: 1.5rem 2.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.ft-legal { font-size: 0.74rem; font-weight: 300; color: rgba(250,246,240,0.2); line-height: 1.7; }
.ft-legal a { color: rgba(250,246,240,0.28); text-decoration: none; }
.ft-18 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; color: var(--coral); border: 1px solid rgba(255,107,91,0.28); padding: 0.28rem 0.75rem; border-radius: var(--r-pill); }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; } .rd2 { transition-delay: .2s; } .rd3 { transition-delay: .3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ─────────────────────────────────────────
   RESPONSIVE — shared breakpoints
───────────────────────────────────────── */
@media (max-width: 960px) {
    .nav-links {
        display: none;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(250, 246, 240, 0.98);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 2rem; z-index: 199;
    }
    .nav-links.open { display: flex; }
    .nav-links .nav-link { font-size: 1.1rem; }
    .nav-links .nav-cta { font-size: 1rem; padding: 0.85rem 2rem; }
    .nav-toggle { display: block; z-index: 201; }
    .ft-main { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .nav { padding: 1rem 1.25rem; }
    .sw { padding: 0 1.25rem; }
    .ft-main, .ft-bottom { padding-left: 1.25rem; padding-right: 1.25rem; }
    .ft-bottom { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════════
   HOMEPAGE (body.page-home)
   ═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    background: url('../img/socal-light-hero.webp') center/cover no-repeat var(--sand);
    overflow: hidden;
    display: flex; align-items: center;
}
/* Gradient overlay on hero image */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(255, 190, 70, 0.38) 0%,
            rgba(255, 150, 50, 0.12) 22%,
            transparent 46%),
        radial-gradient(circle at bottom left,
            rgba(255, 107, 91, 0.15) 0%,
            transparent 45%),
        linear-gradient(to right,
            rgba(250, 246, 240, 0.65) 0%,
            rgba(250, 246, 240, 0.4) 55%,
            rgba(250, 246, 240, 0.2) 100%),
        linear-gradient(to bottom,
            rgba(250, 246, 240, 0.45) 0%,
            rgba(250, 246, 240, 0.3) 50%,
            rgba(250, 246, 240, 0.5) 100%);
    pointer-events: none; z-index: 1;
}
.hero::after { content: none; }


.hero-inner {
    position: relative; z-index: 10;
    width: 100%; max-width: 1260px;
    margin: 0 auto; padding: 9rem 2.5rem 6rem;
    display: grid; grid-template-columns: 1fr 420px;
    gap: 4.5rem; align-items: center;
}

/* Hero copy */
.hero-kicker {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em;
    text-transform: uppercase; color: var(--teal);
    margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp .8s ease .08s forwards;
}
.k-bar { width: 24px; height: 1px; background: var(--teal); display: block; }

.hero-headline {
    font-size: clamp(3rem, 6.2vw, 5.8rem); font-weight: 800;
    line-height: 0.96; letter-spacing: -0.01em; color: var(--ink);
    margin-bottom: 1.75rem;
    text-shadow: 0 0 30px rgba(250, 246, 240, 0.8), 0 0 60px rgba(250, 246, 240, 0.4);
    opacity: 0; animation: fadeUp .8s ease .2s forwards;
}
.hl-block  { display: block; }
.hl-italic { display: block; font-style: italic; font-weight: 300; color: var(--ink); }
.hl-coral  { display: block; color: var(--teal); }

.hero-body {
    font-size: 1.0625rem; font-weight: 300; color: var(--ink);
    max-width: 400px; line-height: 1.82; margin-bottom: 2rem;
    opacity: 0; animation: fadeUp .8s ease .32s forwards;
}

.hero-trust {
    display: flex; flex-direction: column; gap: 0.55rem;
    opacity: 0; animation: fadeUp .8s ease .46s forwards;
}
.trust-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 400; color: var(--ink-60); }
.t-pip {
    width: 18px; height: 18px; border-radius: 50%;
    border: 1px solid rgba(10, 186, 181, 0.4);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.t-pip::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ─────────────────────────────────────────
   HERO FORM
───────────────────────────────────────── */
.hero-form { opacity: 0; animation: fadeUp .8s ease .28s forwards; }

.page-home .form-card {
    background: var(--white); border-radius: var(--r-lg);
    border: 1px solid var(--border);
    padding: 2.4rem 2.25rem;
    box-shadow: 0 2px 0 rgba(255,255,255,0.6) inset, 0 20px 60px rgba(28,28,28,0.09), 0 4px 16px rgba(28,28,28,0.05);
    position: relative; overflow: hidden;
}
.page-home .form-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral) 0%, var(--teal) 100%);
}

.fc-title { font-size: 1.75rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 0.3rem; line-height: 1.1; }
.fc-sub { font-size: 0.9rem; font-weight: 300; color: var(--ink-60); margin-bottom: 1.65rem; }
.fc-sub strong { color: var(--coral); font-weight: 500; }

.page-home .fg { margin-bottom: 0.9rem; }
.page-home .fg label { display: block; font-size: 0.67rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 0.38rem; }
.page-home .fg input,
.page-home .fg select {
    width: 100%; background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--r-sm); padding: 0.8rem 1rem;
    font-family: var(--font); font-size: 0.9375rem; font-weight: 400; color: var(--ink);
    outline: none; -webkit-appearance: none;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.page-home .fg input::placeholder { color: var(--ink-20); }
.page-home .fg input:focus,
.page-home .fg select:focus { border-color: var(--coral); background: var(--white); box-shadow: 0 0 0 3px var(--coral-muted); }
.page-home .fg select option { background: var(--white); color: var(--ink); }
.page-home .fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }

.btn-next {
    width: 100%; margin-top: 1.1rem;
    font-family: var(--font); font-size: 0.875rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-hover) 100%);
    border: none; border-radius: var(--r-pill); padding: 1.05rem 2rem;
    cursor: pointer; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: transform .2s, box-shadow .25s;
    box-shadow: 0 6px 18px var(--coral-glow);
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--coral-glow); }
.btn-next::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%); transform: translateX(-120%); transition: transform .5s; }
.btn-next:hover::before { transform: translateX(120%); }
.btn-arrow { transition: transform .25s; }
.btn-next:hover .btn-arrow { transform: translateX(4px); }
.fc-note { font-size: 0.72rem; font-weight: 400; color: var(--ink-40); text-align: center; margin-top: 0.75rem; }

/* ─────────────────────────────────────────
   WHY — white background
───────────────────────────────────────── */
.why { padding: 6rem 0 5rem; background: var(--white); }
.why-head { margin-bottom: 3.5rem; }

.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.pillar {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 2.5rem 2rem;
    position: relative; overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,28,28,0.08); border-color: var(--sand-border); }
.pillar::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--teal));
    transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.pillar:hover::after { transform: scaleX(1); }

.p-num { font-size: 5rem; font-weight: 800; font-style: italic; line-height: 1; color: var(--coral); opacity: 0.1; margin-bottom: 1.25rem; transition: opacity .3s; }
.pillar:hover .p-num { opacity: 0.2; }
.p-title { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.2; }
.p-body { font-size: 0.9375rem; font-weight: 300; color: var(--ink-60); line-height: 1.8; }

/* ─────────────────────────────────────────
   WHO — sand-darker background
───────────────────────────────────────── */
.who { padding: 6rem 0; background: var(--sand-darker); position: relative; overflow: hidden; }

.who-bg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
    font-size: clamp(120px, 18vw, 260px); font-weight: 800; font-style: italic;
    color: transparent; -webkit-text-stroke: 1.5px rgba(28,28,28,0.04);
    white-space: nowrap; pointer-events: none; user-select: none; line-height: 1;
}

.who-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.65rem; height: 520px; }
.m { border-radius: var(--r-md); overflow: hidden; position: relative; }
.m img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.88) contrast(1.05); transition: transform .6s, filter .6s; }
.m:hover img { transform: scale(1.05); filter: saturate(1.05) contrast(1.08); }
.m-tall { grid-row: span 2; }
.m-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,107,91,0.18) 0%, transparent 55%); }
.m::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,186,181,0.1) 0%, transparent 60%); opacity: 0; transition: opacity .4s; }
.m:hover::after { opacity: 1; }

.who-tag { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); border: 1px solid rgba(255,107,91,0.3); padding: 0.38rem 0.9rem; border-radius: var(--r-pill); margin-bottom: 1.5rem; }
.who-headline { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 1.25rem; }
.wh-italic { font-style: italic; font-weight: 300; color: var(--ink-60); }
.wh-coral { color: var(--coral); }

.who-body { font-size: 1rem; font-weight: 300; color: var(--ink-60); line-height: 1.85; margin-bottom: 1.75rem; }
.who-list { list-style: none; margin-bottom: 2.25rem; }
.who-list li { font-size: 0.9375rem; font-weight: 400; color: var(--ink-60); display: flex; align-items: center; gap: 0.85rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.who-list li:first-child { border-top: 1px solid var(--border); }
.li-dash { width: 18px; height: 1px; background: var(--coral); flex-shrink: 0; }

.btn-apply { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--charcoal); padding: 1rem 2.25rem; border-radius: var(--r-pill); text-decoration: none; transition: background .25s, transform .2s, box-shadow .25s; box-shadow: 0 6px 18px rgba(28,28,28,0.2); }
.btn-apply:hover { background: var(--charcoal-card); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(28,28,28,0.28); }

/* ─────────────────────────────────────────
   HOW — white
───────────────────────────────────────── */
.how { padding: 6rem 0; background: var(--white); }
.how-head { margin-bottom: 4rem; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 1.3rem;
    left: calc(16.66% + 0.75rem); right: calc(16.66% + 0.75rem); height: 1px;
    background: repeating-linear-gradient(90deg, var(--sand-border) 0, var(--sand-border) 5px, transparent 5px, transparent 12px);
}
.step-dot {
    width: 2.65rem; height: 2.65rem; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem; position: relative; z-index: 1;
    font-size: 0.875rem; font-weight: 700; font-style: italic; color: var(--teal);
    transition: background .25s, border-color .25s, color .25s;
}
.step:hover .step-dot { background: var(--teal); border-color: var(--teal); color: var(--white); font-style: normal; }
.step-title { font-size: 1.45rem; font-weight: 700; color: var(--ink); margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.step-body { font-size: 0.9375rem; font-weight: 300; color: var(--ink-60); line-height: 1.8; }

/* ─────────────────────────────────────────
   CTA BAND — charcoal
───────────────────────────────────────── */
.cta-band { background: url('../img/cta-background.webp') center/cover no-repeat var(--charcoal); padding: 5.5rem 0; position: relative; overflow: hidden; text-align: center; }
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at left,
            rgba(255, 107, 91, 0.25) 0%,
            transparent 50%),
        radial-gradient(circle at right,
            rgba(10, 186, 181, 0.2) 0%,
            transparent 50%),
        linear-gradient(to bottom,
            rgba(28, 28, 28, 0.6) 0%,
            rgba(28, 28, 28, 0.45) 50%,
            rgba(28, 28, 28, 0.65) 100%);
    pointer-events: none;
}
.cta-band::after { content: none; }

.cta-kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.2rem; display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.cta-kicker::before, .cta-kicker::after { content: ''; width: 28px; height: 1px; background: var(--teal); }

.cta-title { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; color: var(--sand); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 1rem; }
.cta-title .coral { color: var(--coral); }
.cta-title .italic { font-style: italic; font-weight: 300; }
.cta-sub { font-size: 1rem; font-weight: 300; color: rgba(250,246,240,0.65); max-width: 400px; margin: 0 auto 2.25rem; line-height: 1.8; }

.btn-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--white); background: linear-gradient(135deg, var(--coral), var(--coral-hover));
    padding: 1.1rem 2.5rem; border-radius: var(--r-pill); text-decoration: none;
    transition: transform .2s, box-shadow .25s; box-shadow: 0 8px 24px var(--coral-glow);
    position: relative; overflow: hidden;
}
.btn-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%); transform: translateX(-120%); transition: transform .5s; }
.btn-cta:hover::before { transform: translateX(120%); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 38px var(--coral-glow); }

/* ─────────────────────────────────────────
   HOMEPAGE RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 8rem; gap: 3rem; }
    .pillars { grid-template-columns: 1fr; }
    .who-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mosaic { height: 360px; }
    .steps { grid-template-columns: 1fr; gap: 2rem; }
    .steps::before { display: none; }
}
@media (max-width: 600px) {
    .hero { background: url('../img/mobile-hero.webp') center / cover no-repeat var(--sand); }
    .hero::before {
        background:
            radial-gradient(circle at top right,
                rgba(255, 190, 70, 0.25) 0%,
                transparent 50%),
            radial-gradient(circle at bottom left,
                rgba(255, 107, 91, 0.1) 0%,
                transparent 40%),
            linear-gradient(to bottom,
                rgba(250, 246, 240, 0.5) 0%,
                rgba(250, 246, 240, 0.35) 40%,
                rgba(250, 246, 240, 0.55) 100%);
    }
    .hero-inner { padding: 7rem 1.25rem 4rem; }
    .page-home .fg-row,
    .page-home .fg-row-3 { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr 1fr; height: 280px; }
}


/* ═══════════════════════════════════════════
   APPLY PAGE (body.page-apply)
   ═══════════════════════════════════════════ */

.page-apply { min-height: 100vh; }

/* Sun halo ambient — top right */
.page-apply::after {
    content: ''; position: fixed; top: -120px; right: -100px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(255,190,70,0.2) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none; z-index: 0;
}

/* ─────────────────────────────────────────
   PAGE LAYOUT
───────────────────────────────────────── */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 3.5rem 2rem 6rem; position: relative; z-index: 1; }

/* ─────────────────────────────────────────
   PROGRESS BAR
───────────────────────────────────────── */
.progress-wrap { margin-bottom: 2.75rem; }
.progress-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.progress-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 0.5rem; }
.progress-label::before { content: ''; width: 16px; height: 1px; background: var(--teal); }
.progress-step { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.1em; color: var(--ink-40); }
.progress-track { height: 4px; background: var(--border); border-radius: var(--r-pill); overflow: hidden; }
.progress-fill { height: 100%; width: 66%; background: linear-gradient(90deg, var(--coral) 0%, var(--teal) 100%); border-radius: var(--r-pill); transition: width .5s ease; }

/* ─────────────────────────────────────────
   PAGE HEADER
───────────────────────────────────────── */
.page-header { margin-bottom: 2.5rem; }
.page-kicker { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem; }
.page-kicker::before { content: ''; width: 20px; height: 1px; background: var(--teal); }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--ink); line-height: 1.0; letter-spacing: -0.01em; margin-bottom: 0.6rem; margin-top: 0.5rem; }
.page-title .italic { font-style: italic; font-weight: 300; color: var(--ink-60); }
.page-title .coral { color: var(--coral); }
.page-sub { font-size: 0.9375rem; font-weight: 300; color: var(--ink-60); line-height: 1.8; max-width: 500px; }
.page-sub strong { color: var(--teal); font-weight: 500; }

/* ─────────────────────────────────────────
   FORM CARD (apply page)
───────────────────────────────────────── */
.page-apply .form-card {
    background: var(--white); border-radius: var(--r-lg);
    overflow: hidden; border: 1px solid var(--border);
    box-shadow: 0 4px 0 rgba(255,255,255,0.5) inset, 0 24px 60px rgba(28,28,28,0.08), 0 4px 16px rgba(28,28,28,0.04);
    position: relative;
}
/* Coral→Teal top stripe */
.page-apply .form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--coral) 0%, var(--teal) 100%); z-index: 1; }

/* ─────────────────────────────────────────
   FORM SECTIONS
───────────────────────────────────────── */
.form-section { padding: 2.25rem 2.5rem; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { border-bottom: none; }

.section-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─────────────────────────────────────────
   FIELDS (apply page)
───────────────────────────────────────── */
.page-apply .fg { margin-bottom: 1.1rem; }
.page-apply .fg:last-child { margin-bottom: 0; }
.page-apply .fg label { display: block; font-size: 0.67rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 0.4rem; }
.fg label .req { color: var(--coral); margin-left: 2px; }
.page-apply .fg input,
.page-apply .fg select,
.page-apply .fg textarea {
    width: 100%; background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--r-sm); padding: 0.85rem 1rem;
    font-family: var(--font); font-size: 0.9375rem; font-weight: 400; color: var(--ink);
    outline: none; -webkit-appearance: none;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.page-apply .fg input::placeholder,
.page-apply .fg textarea::placeholder { color: var(--ink-20); }
.page-apply .fg input:focus,
.page-apply .fg select:focus,
.page-apply .fg textarea:focus { border-color: var(--coral); background: var(--white); box-shadow: 0 0 0 3px var(--coral-muted); }
/* Pre-filled teal tint */
.page-apply .fg input.pre-filled,
.page-apply .fg select.pre-filled { border-color: rgba(10,186,181,0.45); background: rgba(10,186,181,0.04); }
.page-apply .fg select option { background: var(--white); color: var(--ink); }
.page-apply .fg textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.page-apply .fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.fg-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.85rem; }

/* ─────────────────────────────────────────
   PILL SELECTORS
───────────────────────────────────────── */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 400; color: var(--ink-60); padding: 0.5rem 1rem; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); cursor: pointer; transition: background .22s, border-color .22s, color .22s; user-select: none; }
.pill input { display: none; }
.pill:has(input:checked) { background: var(--coral-muted); border-color: rgba(255,107,91,0.4); color: var(--ink); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-40); flex-shrink: 0; transition: background .2s, border-color .2s; }
.pill:has(input:checked) .pill-dot { background: var(--coral); border-color: var(--coral); }

/* ─────────────────────────────────────────
   UPLOAD ZONE
───────────────────────────────────────── */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--r-md); padding: 2rem 1.5rem; text-align: center; cursor: pointer; position: relative; background: var(--surface); transition: border-color .3s, background .3s; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--coral); background: var(--coral-muted); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.upload-hint { font-size: 0.8rem; font-weight: 300; color: var(--ink-40); }
.upload-chips { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.chip { font-size: 0.75rem; font-weight: 400; background: var(--teal-muted); border: 1px solid rgba(10,186,181,0.3); color: var(--teal); padding: 0.3rem 0.75rem; border-radius: var(--r-pill); }
.upload-note { font-size: 0.82rem; font-weight: 300; color: var(--ink-60); margin-bottom: 1.25rem; line-height: 1.7; }

/* ─────────────────────────────────────────
   CONSENT
───────────────────────────────────────── */
.consent-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.4rem 1.5rem; margin-bottom: 1rem; }
.consent-block:last-of-type { margin-bottom: 0; }
.consent-row { display: flex; gap: 0.875rem; align-items: flex-start; cursor: pointer; }
.consent-row input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--coral); cursor: pointer; }
.consent-text { font-size: 0.8125rem; font-weight: 300; color: var(--ink-60); line-height: 1.75; }
.consent-text strong { color: var(--ink); font-weight: 500; }
.consent-text a { color: var(--coral); text-decoration: none; }
.consent-text a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   SUBMIT
───────────────────────────────────────── */
.submit-section { padding: 2.25rem 2.5rem; background: var(--sand-darker); }

.btn-submit {
    width: 100%; font-family: var(--font); font-size: 0.95rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
    background: linear-gradient(135deg, var(--coral), var(--coral-hover));
    border: none; border-radius: var(--r-pill); padding: 1.15rem 2rem;
    cursor: pointer; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    transition: transform .2s, box-shadow .25s;
    box-shadow: 0 6px 20px var(--coral-glow);
}
.btn-submit::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%); transform: translateX(-120%); transition: transform .5s; }
.btn-submit:hover::before { transform: translateX(120%); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px var(--coral-glow); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-submit:hover:not(:disabled) .btn-arrow { transform: translateX(5px); }
.submit-note { font-size: 0.75rem; font-weight: 300; color: var(--ink-40); text-align: center; margin-top: 1rem; line-height: 1.7; }

/* ─────────────────────────────────────────
   SUCCESS STATE
───────────────────────────────────────── */
.success-state { display: none; text-align: center; padding: 5rem 2.5rem; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-muted); border: 1px solid rgba(10,186,181,0.35); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.75rem; }
.success-mark::after { content: '✓'; font-size: 1.5rem; color: var(--teal); font-weight: 300; }
.success-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--ink); line-height: 1.0; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.success-title .coral { color: var(--coral); }
.success-body { font-size: 1rem; font-weight: 300; color: var(--ink-60); max-width: 420px; margin: 0 auto 2rem; line-height: 1.85; }
.success-home { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); text-decoration: none; border: 1px solid var(--border); padding: 0.65rem 1.5rem; border-radius: var(--r-pill); transition: border-color .25s, color .25s; }
.success-home:hover { border-color: var(--coral); color: var(--coral); }

/* ─────────────────────────────────────────
   APPLY PAGE FOOTER
───────────────────────────────────────── */
.page-footer { text-align: center; margin-top: 3rem; }
.page-footer p { font-size: 0.74rem; font-weight: 300; color: rgba(28,28,28,0.25); line-height: 1.7; }
.page-footer a { color: rgba(28,28,28,0.35); text-decoration: none; }
.page-footer a:hover { color: var(--coral); }

/* ─────────────────────────────────────────
   APPLY RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 700px) {
    .page-apply .nav { padding: 1rem 1.25rem; }
    .page-wrap { padding: 2.5rem 1.25rem 5rem; }
    .form-section { padding: 1.75rem 1.25rem; }
    .submit-section { padding: 1.75rem 1.25rem; }
    .page-apply .fg-row,
    .fg-row-3 { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   LEGAL PAGES (body.page-legal)
   ═══════════════════════════════════════════ */

.legal-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 3.5rem 2rem 6rem;
    position: relative;
    z-index: 2;
}
.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.legal-updated {
    font-size: 0.8rem;
    color: var(--ink-40);
    margin-bottom: 3rem;
}
.legal-wrap h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--coral);
    margin: 2.5rem 0 0.75rem;
}
.legal-wrap p,
.legal-wrap li {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--ink-60);
    line-height: 1.82;
    margin-bottom: 1rem;
}
.legal-wrap ul {
    list-style: none;
    padding: 0;
}
.legal-wrap ul li {
    padding-left: 1.25rem;
    position: relative;
}
.legal-wrap ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 1px;
    background: var(--coral);
}
.legal-wrap a {
    color: var(--coral);
    text-decoration: none;
}
.legal-wrap a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .page-legal .nav { padding: 1rem 1.25rem; }
    .legal-wrap { padding: 2.5rem 1.25rem 5rem; }
}
