/* =============================================
   HOMEPAGE — V3 barber-pole layout tweaks
   (loaded after home.css + theme-v3.css)
   ============================================= */

/* ===== ANNOUNCEMENT ===== */
.announcement-banner { background: var(--navy-deep); color: #DCE5F5; }
.announcement-banner p { font-family: var(--f-caps); font-weight: 600; letter-spacing: 0.14em; }
.banner-cta { color: #fff; border-bottom-color: var(--red); border-bottom-width: 2px; }

/* ===== HERO ===== */
.v3-hero { padding-bottom: 0; }
.v3-hero .hero-media {
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    margin: 0;
    height: 78%;
    opacity: 0.78;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
}
.v3-hero .hero-media video { filter: saturate(1.2) contrast(1.05) brightness(1.02); }
/* Soft white pool behind the headline keeps the type crisp while the footage stays vivid at the edges */
.v3-hero .hero-media::after {
    background:
        radial-gradient(ellipse 46% 52% at 50% 52%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05) 45%, #fff 100%);
}
.v3-hero .hero-copy { margin-top: calc(var(--nav-h) + 70px); }
.v3-hero-eyebrow, .v3-hero .hero-tag, .v3-hero .hero-desc {
    text-shadow: 0 0 14px #fff, 0 0 4px #fff, 0 0 2px #fff;
}
.v3-hero-eyebrow-sub { color: var(--ink); font-weight: 700; }

.v3-hero-eyebrow { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.v3-hero-eyebrow .cc-eyebrow { font-size: 15px; letter-spacing: 0.34em; color: var(--ink); }
.v3-hero-eyebrow-sub {
    font-family: var(--f-caps);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.v3-hero-logo {
    width: clamp(170px, 18vw, 240px);
    height: auto;
    margin: 22px auto 14px;
    filter: drop-shadow(0 18px 30px rgba(13, 20, 36, 0.18));
}
.v3-hero .hero-title { font-size: clamp(2.8rem, 6.2vw, 5.8rem); }
.v3-hero .hero-title .cc-line:last-child { margin-top: -0.04em; }
.v3-hero .v3-underline { margin-top: 20px; }
.v3-hero .hero-tag {
    margin-top: 18px;
    font-family: var(--f-body);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ink);
}
.v3-hero .hero-desc {
    margin-top: 12px;
    font-family: var(--f-body);
    font-size: 15.5px;
    color: var(--ink-soft);
    max-width: 560px;
}
.v3-hero .hero-buttons { margin-top: 30px; }

.v3-hero-van {
    position: relative;
    width: min(920px, 94vw);
    margin: clamp(28px, 4vw, 48px) auto 0;
}
.v3-van { position: relative; z-index: 1; width: 100%; height: auto; }
.v3-hero-van .cc-van-shadow { bottom: 2%; height: 30px; background: radial-gradient(ellipse at center, rgba(13, 20, 36, 0.28), transparent 70%); }

/* ===== FOUNDER: circle portrait with a red/blue ring ===== */
.founder { background: linear-gradient(180deg, #fff, var(--ivory)); }
.founder-grid { grid-template-columns: 0.85fr 1fr; }
.v3-portrait {
    position: relative;
    width: min(440px, 80vw);
    aspect-ratio: 1;
    margin: 0 auto;
}
.v3-portrait img {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    object-fit: cover;
    object-position: 50% 22%;
    border-radius: 50%;
    background: #EEF1F5;
}
.v3-portrait-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 200deg, var(--red) 0 50%, var(--blue) 50% 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: v3Ring 18s linear infinite;
}
@keyframes v3Ring { to { transform: rotate(360deg); } }
.founder-name { font-size: clamp(3rem, 6vw, 5rem); text-transform: none; }
.founder-name .cc-line:first-child > span { text-transform: uppercase; letter-spacing: 0.02em; }
.v3-underline--left { margin-left: 0; width: min(380px, 80%); }
.founder-copy .cc-eyebrow { color: var(--ink); }
.founder-credential {
    margin-top: 20px;
    font-family: var(--f-caps);
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}
.founder-bio { font-size: 1.05rem; color: var(--ink-soft); }
.founder-stats { border-top-width: 2px; border-bottom-width: 2px; border-color: var(--line-soft); }
.stat-value { font-weight: 700; color: var(--red); }
.founder-stat:nth-child(2) .stat-value { color: var(--navy); }
.stat-label { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; }
.founder-area { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; color: var(--navy); }
.founder-area svg { color: var(--red); }

/* ===== COVERAGE ===== */
.coverage { padding-bottom: clamp(88px, 11vw, 150px); background: #fff; }
.map-streets line { stroke: rgba(18, 48, 107, 0.1); }
.map-fill { fill: rgba(200, 32, 47, 0.08); }
.map-edge { stroke: var(--red); stroke-width: 2; }
.map-hwy { stroke: var(--navy); stroke-width: 4; }
.map-label { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; fill: var(--ink-soft); }
.map-label--hwy { fill: var(--navy); }
.map-compass path { fill: var(--red); }
.map-compass text { font-family: var(--f-caps); font-weight: 700; fill: var(--navy); }
.map-pin { background: var(--red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-pin::before, .map-pin::after { border-color: var(--red); border-radius: 50%; }
.coverage-bounds { border-top: 2px solid var(--navy); }
.bound .cc-eyebrow { color: var(--red); }
.bound strong { font-weight: 700; }

.v3-suite {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
    margin-top: clamp(64px, 8vw, 110px);
}
.v3-suite-photo {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px -40px rgba(10, 30, 71, 0.55);
}
.v3-suite-photo::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px);
}
.v3-suite-copy .coverage-suite {
    margin: 18px 0 0;
    padding: 0;
    max-width: 520px;
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-align: left;
}
.v3-suite-tag { margin-top: 22px; font-size: 1.1rem; font-weight: 500; color: var(--ink); }

/* ===== INTERVIEW ===== */
.interview { background: var(--ivory); }
.interview-video { border-radius: var(--radius-lg); border-color: var(--line-soft); box-shadow: 0 30px 60px -36px rgba(10, 30, 71, 0.5); }
.interview-video video { border-radius: var(--radius-sm); }
.corner { display: none; }
.interview-badge { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.18em; color: var(--red); }
.interview-meta { border-top: 2px solid var(--navy); }
.interview-meta li span { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; color: var(--red); }

/* ===== SERVICES ===== */
.services { background: #fff; }
.svc-card { border-radius: var(--radius-lg); }
.svc-photo { height: 260px; }
.svc-header {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "chip name" "chip price";
    column-gap: 16px;
    align-items: start;
    text-align: left;
    margin-top: -20px;
}
.svc-header .v3-pole-chip { grid-area: chip; align-self: stretch; height: auto; min-height: 84px; margin: 6px 0 4px; }
.svc-name { grid-area: name; font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.svc-price { grid-area: price; display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.svc-price .amount, .mem-price .amount { font-family: var(--f-display); font-weight: 700; color: var(--red); }
.svc-price .amount { font-size: clamp(2.2rem, 3.2vw, 2.8rem); }
.svc-price .cc-tick { display: none; }
.svc-price .period, .mem-card .period {
    font-family: var(--f-caps);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.svc-price .period::before { content: '/ '; }
.svc-features { border-top: 2px solid var(--line-soft); }
.icon-check, .feat-icon { width: 6px; height: 6px; border-radius: 50%; transform: translateY(-2px); background: var(--navy); }
.icon-x { background: var(--red); border-radius: 0; }
.feat-star { background: none; border: 1.5px solid var(--red); }
.svc-availability, .mem-availability { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; color: var(--navy); }

/* ===== MEMBERSHIPS: navy panel ===== */
.memberships {
    background:
        radial-gradient(ellipse 70% 60% at 85% 0%, rgba(37, 82, 184, 0.35), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
}
.memberships::before,
.memberships::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px);
}
.memberships::before { top: 0; }
.memberships::after { bottom: 0; }
.mem-intro-copy, .mem-intro-copy h2 { color: #fff; }
.mem-intro-copy .cc-italic { color: #fff; }
.mem-intro-copy .cc-eyebrow { color: #FFFFFF; }
.mem-intro-copy p:last-child { color: #DCE5F5; font-family: var(--f-body); font-size: 1.1rem; }
.v3-crown { width: 64px; height: 40px; color: #fff; margin-bottom: 16px; }
.mem-chair {
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
    border: 6px solid #fff;
}
.mem-intro-copy .cc-rule > span:first-child { background: var(--red); }
.mem-intro-copy .cc-rule > span:last-child { background: #8FB0F0; }
.mem-intro-copy .cc-rule > i { background: #fff; }
.mem-bracket { color: #fff; }
.mem-bracket::before { border-color: var(--red); }
.mem-bracket::after { border-color: #8FB0F0; }
.mem-card { border: none; color: var(--ink); }
.mem-card h3 { font-weight: 700; }
.mem-card .cc-tick { margin: 12px auto 8px; }
.mem-price-sub { font-family: var(--f-body); letter-spacing: 0; font-weight: 500; color: var(--ink-soft); }
.tier-executive { background: #fff; box-shadow: 0 0 0 3px var(--red), 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.popular-tag { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.18em; background: var(--red); border-radius: 0 0 6px 6px; }
.mem-more { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; color: var(--navy); border-bottom: 2px solid var(--line); }
.mem-note { color: #DCE5F5; }
.payment-badge { opacity: 1; }
.payment-badge img { mix-blend-mode: normal; background: #fff; padding: 8px 14px; border-radius: 6px; width: 170px; }

/* ===== PRODUCTS / BLOG / FEED ===== */
.products { background: #fff; }
.products-perk { font-family: var(--f-caps) !important; font-weight: 700; letter-spacing: 0.14em; color: var(--red) !important; border: 2px solid var(--red); border-radius: 999px; }
.prod-img { background-color: #EEF1F5; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.product-card .svc-header { display: block; text-align: center; margin-top: 24px; }
.product-card .svc-price { justify-content: center; }
.blog-preview { background: var(--ivory); }
.blog-card-media { border-radius: var(--radius-lg); }
.blog-card-category { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.16em; color: var(--red); }
.blog-card-title { font-weight: 700; }
.blog-card:hover .blog-card-title { color: var(--navy); }
.blog-card-img { filter: none; }
.gallery-item { border-radius: var(--radius-md); }
.gallery-overlay { background: linear-gradient(180deg, transparent 45%, rgba(10, 30, 71, 0.8)); }

/* ===== FINAL CTA ===== */
.final-cta { background: #fff; }
.final-photo { --r: 70%; width: min(680px, 94vw); aspect-ratio: 4 / 4.2; }
.final-photo img { object-position: 50% 35%; }
.final-copy h2 { font-weight: 700; }
.final-copy h2 .cc-italic { color: var(--red); }
.final-copy p { font-family: var(--f-body); font-size: 1.05rem; }
.v3-final-line {
    margin-top: 34px;
    font-family: var(--f-display);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}

/* ===== ANNOUNCEMENT MODAL ===== */
.announcement-modal { background: #fff; border: none; border-radius: var(--radius-xl); overflow: hidden; }
.announcement-modal::before { inset: 0 0 auto 0; height: 6px; border: none; background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px); }
.announcement-modal-close { border-radius: 50%; }
.announcement-modal h3 { font-weight: 700; }
.announcement-modal h3 .date { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .founder-grid, .v3-suite { grid-template-columns: 1fr; }
    .founder-copy .v3-underline--left { margin-left: auto; }
    .v3-suite-copy { text-align: center; }
    .v3-suite-copy .coverage-suite { text-align: center; margin-left: auto; margin-right: auto; }
    .v3-suite-copy .v3-underline--left { margin-left: auto; }
    .v3-suite-photo { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
    .v3-hero .hero-copy { margin-top: calc(var(--nav-h) + 52px); }
    .v3-hero-eyebrow .cc-eyebrow { font-size: 13px; letter-spacing: 0.24em; }
    .v3-hero-eyebrow-sub { font-size: 10px; letter-spacing: 0.32em; }
    .v3-hero .hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
    .svc-header { margin-left: 22px; margin-right: 22px; }
    .svc-price { flex-wrap: wrap; }
}

/* ===== HERO without the van: full-screen opener ===== */
.v3-hero { min-height: max(720px, 100svh); justify-content: center; padding-bottom: clamp(56px, 8vh, 96px); }
.v3-hero .hero-media { height: 100%; }

/* ===== WE COME TO YOU: title + van left, map right, bounds bar below (one view) ===== */
.coverage { padding-top: clamp(72px, 8vw, 110px); }
.v3-cov-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}
.v3-cov-copy .cc-eyebrow { display: block; margin-bottom: 16px; color: var(--red); }
.v3-cov-copy h2 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.98; }
.v3-cov-copy .v3-underline { margin-top: 18px; }
.v3-cov-sub { margin-top: 16px; font-size: 1.1rem; font-weight: 500; color: var(--ink-soft); }
.v3-cov-van { position: relative; width: min(560px, 100%); margin-top: clamp(20px, 3vw, 36px); }
.v3-cov-van .cc-van-shadow { bottom: 2%; height: 26px; background: radial-gradient(ellipse at center, rgba(13, 20, 36, 0.28), transparent 70%); }
.v3-cov-bar {
    grid-template-columns: repeat(4, 1fr) !important;
    margin-top: clamp(28px, 4vw, 48px);
}
.v3-cov-bar .bound { padding: 20px 16px !important; border-right: 1px solid var(--line-soft) !important; }
.v3-cov-bar .bound:nth-child(4) { border-right: none !important; }
.v3-cov-bar .coverage-note { grid-column: 1 / -1; padding-left: 16px; }

@media (max-width: 900px) {
    .v3-cov-grid { grid-template-columns: 1fr; }
    .v3-cov-copy { text-align: center; }
    .v3-cov-copy .v3-underline--left { margin-left: auto; }
    .v3-cov-van { margin-left: auto; margin-right: auto; }
    .v3-cov-bar { grid-template-columns: 1fr 1fr !important; }
    .v3-cov-bar .bound:nth-child(2) { border-right: none !important; }
}

/* ===== Membership cards: pole beside the tier name, price inline like the service cards ===== */
.mem-card-top {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "chip name" "chip price" "chip sub";
    column-gap: 16px;
    text-align: left;
}
.mem-card-top .v3-pole-chip { grid-area: chip; align-self: stretch; height: auto; min-height: 96px; margin: 6px 0 4px; }
.mem-card-top h3 { grid-area: name; }
.mem-card-top .mem-price { grid-area: price; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.mem-card-top .mem-price .period::before { content: '/ '; }
.mem-card-top .mem-price-sub { grid-area: sub; margin-top: 6px; }
.mem-card-top .cc-tick { display: none; }
.tier-executive .mem-card-top { padding-top: 10px; }

/* ===== HOW IT WORKS on the homepage (layout base; V3 card styling lives in theme-v3.css) ===== */
.how-it-works { background: var(--ivory); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
.step-card { text-align: center; }
.step-num { display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; border-radius: 50%; }
.step-card h3 { margin-bottom: 10px; }
.step-card p { line-height: 1.6; }
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ===== HOW IT WORKS over the Sprinter interior ===== */
.coverage { padding-bottom: clamp(64px, 8vw, 110px); }
.v3-hiw-photo { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; }
.v3-hiw-bg { position: absolute; inset: 0; z-index: 0; }
.v3-hiw-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.v3-hiw-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(10, 30, 71, 0.82) 0%, rgba(10, 30, 71, 0.62) 45%, rgba(10, 30, 71, 0.86) 100%),
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(37, 82, 184, 0.25), transparent 70%);
}
/* barber-stripe edges, like the membership panel */
.v3-hiw-photo::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6px;
    z-index: 1;
    background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px);
}
.v3-hiw-photo > .cc-wrap { position: relative; z-index: 1; }
.v3-hiw-photo .cc-head h2,
.v3-hiw-photo .cc-head h2 .cc-italic { color: #fff; }
.v3-hiw-photo .cc-head p { color: #DCE5F5; }
.v3-hiw-photo .cc-head p.cc-eyebrow { color: #FFFFFF; }
.v3-hiw-photo .v3-flank-head::after { background: #8FB0F0; }
.v3-hiw-photo .v3-route-van { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.v3-hiw-photo .v3-route-shadow { background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), transparent 70%); }
.cc-motion .v3-hiw-photo [data-route] .step-card:not(.is-lit) { opacity: 0.6; filter: saturate(0.15) brightness(0.92); }
.cc-motion .v3-hiw-photo [data-route] .step-card.is-lit { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.25); }
/* layer order: photo (0) < navy wash (1) < content + stripe edge (2) */
.v3-hiw-photo::before { z-index: 1; }
.v3-hiw-photo::after { z-index: 2; }
.v3-hiw-photo > .cc-wrap { z-index: 2; }
/* Taller photo layer so the stronger parallax never shows an edge */
.v3-hiw-bg { inset: -22% 0; }
/* Membership poles span only the price + visits lines, not the tier name */
.mem-card-top { grid-template-areas: ". name" "chip price" "chip sub"; }
.mem-card-top .v3-pole-chip { min-height: 0; margin: 10px 0 2px; }
@media (max-width: 900px) {
    .v3-crown { display: block; margin-left: auto; margin-right: auto; }
}
/* Accepted-cards badge: larger on desktop; mobile keeps its current size */
@media (min-width: 901px) {
    .payment-badge img { width: 340px; padding: 12px 22px; border-radius: 8px; }
}
/* Visits per month: a key selling point, so bold navy under the price */
.mem-card-top .mem-price-sub {
    margin-top: 8px;
    font-family: var(--f-body);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--navy);
}
.v3-cov-suite { margin-top: 14px; max-width: 470px; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 900px) { .v3-cov-suite { margin-left: auto; margin-right: auto; } }
/* Blog preview: three across down to small tablets, then one column */
.blog-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .blog-preview-grid { grid-template-columns: 1fr; } }
