/* =============================================
   CURBSIDE CUTS & SHAVE — V3 "BARBER POLE" THEME
   White paper, navy panels, barber red + blue.
   Loaded after global.css (and any page css); re-maps the
   shared tokens and swaps the hanger motifs for pole motifs.
   ============================================= */

:root {
    color-scheme: light;
    --paper: #FFFFFF;
    --ivory: #F5F7FB;
    --card: #FFFFFF;
    --cream-deep: #EDF1F7;
    --ink: #0D1424;
    --ink-soft: #3A4559;
    --muted: #6B7488;

    --navy: #12306B;
    --navy-deep: #0A1E47;
    --red: #C8202F;
    --red-deep: #A51824;
    --blue: #2552B8;

    /* Re-map the V2 roles: espresso → navy, copper → barber red */
    --brown: var(--navy);
    --brown-deep: var(--navy-deep);
    --copper: var(--red);
    --copper-bright: #E02F3E;
    --copper-soft: var(--red); /* was a salmon pink; every V2 "soft accent" now uses the one barber red */
    --pole-red: var(--red);
    /* V2 glows were brown; re-tint them to the barber palette */
    --accent-red-glow: rgba(200, 32, 47, 0.18);
    --accent-blue-glow: rgba(18, 48, 107, 0.16);
    --accent-gold-glow: rgba(200, 32, 47, 0.16);
    --copper-pale: #DCE5F5;
    --line: rgba(18, 48, 107, 0.2);
    --line-soft: rgba(18, 48, 107, 0.09);

    /* Seamless barber-pole tile: the red/white/blue/white run repeats twice per 48px square,
       so every tile edge meets the same color and the swirl reads as one continuous ribbon */
    --pole: linear-gradient(45deg, var(--red) 0 12.5%, #fff 12.5% 25%, var(--blue) 25% 37.5%, #fff 37.5% 50%, var(--red) 50% 62.5%, #fff 62.5% 75%, var(--blue) 75% 87.5%, #fff 87.5% 100%);

    --f-display: 'Source Serif 4', 'Georgia', 'Times New Roman', serif;
    --f-caps: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --f-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body { font-size: 16px; line-height: 1.7; }
body::after { display: none; }
::selection { background: #DCE5F5; color: var(--navy-deep); }

/* ===== TYPE ===== */
.heading-display,
.cc-display {
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.04;
    font-variation-settings: 'opsz' 60;
}
.cc-italic,
.heading-display .accent,
.heading-display .accent-word {
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.cc-burnish {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--ink);
    font-style: italic;
    font-weight: 600;
}
.label-text,
.cc-eyebrow {
    font-family: var(--f-caps);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--navy);
}
.cc-spaced { font-family: var(--f-body); font-style: normal; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }

/* Eyebrow flanked by a red line and a blue line, like "— BAKERSFIELD'S —" */
.v3-flank { display: inline-flex; align-items: center; gap: 14px; }
.v3-flank::before, .v3-flank::after { content: ''; width: 44px; height: 2px; background: var(--red); }
.v3-flank::after { background: var(--blue); }

/* ===== RULE: red half, blue half, navy pole chip ===== */
.cc-rule > span { height: 2px; background: var(--red); }
.cc-rule > span:last-child { background: var(--blue); }
.cc-rule > i {
    width: 8px;
    height: 8px;
    background: var(--navy);
}
.cc-tick { height: 2px; width: 40px; background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%); }
.cc-tick::after { display: none; }

/* Split underline under headings (half red / half blue) */
.v3-underline {
    display: block;
    width: min(520px, 80%);
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-out) 0.2s;
}
.cc-rule.is-in + .v3-underline, .v3-underline.is-in { transform: scaleX(1); }

/* Section head with flanking red/blue rules: "—— Services & Pricing ——" */
.v3-flank-head { text-align: center; }
.v3-flank-head::before, .v3-flank-head::after {
    content: '';
    display: inline-block;
    width: clamp(36px, 6vw, 90px);
    height: 2px;
    margin: 0 0.45em;
    vertical-align: middle;
    background: var(--red);
}
.v3-flank-head::after { background: var(--blue); }
@media (max-width: 640px) {
    .v3-flank-head::before, .v3-flank-head::after { display: none; }
}

/* ===== PHOTOS: clean white fades instead of warm cream vignettes ===== */
.cc-warm img, .cc-warm video { filter: none; }
.cc-feather {
    -webkit-mask-image: radial-gradient(ellipse var(--r) var(--r) at 50% 46%, #000 60%, transparent 100%);
    mask-image: radial-gradient(ellipse var(--r) var(--r) at 50% 46%, #000 60%, transparent 100%);
}

/* ===== CARDS: crisp white, soft shadow, pole stripe accent ===== */
.cc-frame {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 44px -30px rgba(13, 20, 36, 0.35);
}
.cc-frame::before { display: none; }
.cc-frame:hover {
    border-color: var(--line);
    box-shadow: 0 30px 60px -30px rgba(13, 20, 36, 0.4);
}
.v3-pole-chip {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 88px;
    border-radius: 3px;
    background:
        linear-gradient(90deg, rgba(13, 20, 36, 0.28), rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 68%, rgba(13, 20, 36, 0.28)),
        var(--pole);
    background-size: 100% 100%, 48px 48px;
    box-shadow: inset 0 0 0 1px rgba(13, 20, 36, 0.12);
    animation: v3ChipSpin 3.2s linear infinite;
}
/* Navy end caps, like a real pole */
.v3-pole-chip::before,
.v3-pole-chip::after {
    content: '';
    position: absolute;
    left: -3px;
    right: -3px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--navy-deep), #3B5590 50%, var(--navy-deep));
}
.v3-pole-chip::before { top: -5px; }
.v3-pole-chip::after { bottom: -5px; }
@keyframes v3ChipSpin { to { background-position: 0 0, 0 48px; } }
.cc-frame:hover .v3-pole-chip { animation-duration: 1.2s; }
@keyframes v3PoleSpin { to { background-position: 0 48px; } }

.cc-bracket { color: var(--navy); font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.28em; }
.cc-bracket::before { border-color: var(--red); border-top-width: 2px; border-left-width: 2px; }
.cc-bracket::after { border-color: var(--blue); border-top-width: 2px; border-right-width: 2px; }

/* ===== BUTTONS ===== */
/* Primary: navy plate with a barber-stripe edge and an arrow, like "SCHEDULE HAIRCUT →" */
.cc-btn,
.btn-hero-primary,
.btn-book-svc,
.btn-join,
.btn-shop {
    --shine: 130%;
    gap: 14px;
    padding: 18px 30px 18px 40px;
    font-family: var(--f-caps);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fff;
    background-color: var(--navy);
    background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 30px -16px rgba(10, 30, 71, 0.6);
    overflow: hidden;
}
.cc-btn::before,
.btn-hero-primary::before,
.btn-book-svc::before,
.btn-join::before,
.btn-shop::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 12px;
    background: var(--pole);
    background-size: 48px 48px;
    opacity: 1;
    animation: v3PoleSpin 2.4s linear infinite;
}
.cc-btn:hover::before,
.btn-hero-primary:hover::before,
.btn-book-svc:hover::before,
.btn-join:hover::before,
.btn-shop:hover::before { animation-play-state: running; }
.cc-btn::after,
.btn-hero-primary::after,
.btn-join::after {
    content: '';
    width: 18px;
    height: 10px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.5s var(--ease-out);
}
.cc-btn:hover::after,
.btn-hero-primary:hover::after,
.btn-join:hover::after { transform: translateX(5px); }
.cc-btn:hover,
.btn-hero-primary:hover,
.btn-book-svc:hover,
.btn-join:hover,
.btn-shop:hover {
    background-color: var(--navy-deep);
    box-shadow: 0 20px 40px -18px rgba(10, 30, 71, 0.7);
}
/* V2's "— text —" dashes become the arrow in V3 */
.cc-btn--dash::before { width: 12px; height: auto; opacity: 1; }
.cc-btn--dash:hover::before { width: 12px; }
.cc-btn--dash::after, .cc-btn--dash:hover::after { width: 18px; height: 10px; opacity: 1; }

.cc-btn--ghost,
.btn-hero-secondary {
    padding: 18px 30px;
    font-family: var(--f-caps);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--navy);
    background: #fff;
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    box-shadow: none;
}
.cc-btn--ghost:hover,
.btn-hero-secondary:hover { background: var(--navy); color: #fff; }

.cc-link { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.16em; color: var(--navy); }
.cc-link::after { height: 2px; background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%); }

/* ===== NAV ===== */
.nav { background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0)); }
.nav.scrolled { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--line-soft); }
.nav.scrolled::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: var(--pole);
    background-size: 48px 100%;
    background-image: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px);
    opacity: 0.9;
}
.nav-logo-text .brand { font-weight: 700; }
.nav-logo-text .tagline { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.2em; color: var(--red); }
.nav-menu > li > a { font-family: var(--f-caps); font-weight: 600; letter-spacing: 0.1em; color: var(--ink-soft); }
.nav-menu > li > a::after { height: 2px; background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%); }
.nav-submenu { border-radius: var(--radius-md); }
.nav-submenu::before { display: none; }
.submenu-name { font-weight: 600; }
.submenu-price { color: var(--red); font-weight: 700; }
.nav-cta .btn-book {
    font-family: var(--f-caps);
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 13px 22px 13px 30px;
    position: relative;
    overflow: hidden;
    background-color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: none;
}
.nav-cta .btn-book::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 10px;
    background: var(--pole);
    background-size: 48px 48px;
    animation: v3PoleSpin 2.4s linear infinite;
}
.nav-cta .btn-signin,
.nav-cta .btn-dashboard { padding: 8px 0 6px; background: none; color: var(--navy); border-bottom: 2px solid var(--line); }
.nav-cta .btn-signin::before,
.nav-cta .btn-dashboard::before { display: none; }
.mobile-menu-toggle { border-radius: var(--radius-sm); }
.mobile-nav-list > li > a,
.mobile-submenu-toggle > a { font-weight: 600; }
#mobileSignInLink a { font-family: var(--f-caps); font-weight: 700; color: var(--red); letter-spacing: 0.16em; }

/* ===== FAB + CART ===== */
.fab {
    padding: 15px 22px 15px 30px;
    overflow: hidden;
    font-family: var(--f-caps);
    font-weight: 700;
    letter-spacing: 0.12em;
    background: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 40px -16px rgba(10, 30, 71, 0.6);
}
.fab::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--pole); background-size: 48px 48px; animation: v3PoleSpin 2.4s linear infinite; }
.fab-icon { color: #fff; }
.cart-fab { border-radius: 50%; color: var(--navy); background: #fff; }
.cart-fab-count { background: var(--red); }

/* ===== MODAL ===== */
.modal-overlay, .announcement-modal-overlay { background: rgba(10, 30, 71, 0.38); }
.modal { background: #fff; border: none; border-radius: var(--radius-xl); overflow: hidden auto; }
.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);
}
.modal-close { border-radius: 50%; }
.modal-header h2 { font-weight: 700; }
.modal-option { border-radius: var(--radius-lg); border-color: var(--line-soft); box-shadow: 0 16px 34px -26px rgba(13, 20, 36, 0.4); }
.modal-option:hover { border-color: var(--navy); }
.modal-option-icon { transform: none; border-radius: 50%; border: none; background: #EEF2FA; color: var(--navy); }
.modal-option-icon svg { transform: none; }
.option-session .modal-option-icon { background: #FBE9EA; color: var(--red); }
.modal-option h3 { font-weight: 700; }
.modal-option-btn { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; color: var(--navy); border-bottom: 2px solid var(--line); }
.option-session .modal-option-btn { color: var(--red); }
.modal-field label { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.14em; }
.modal-field input, .join-email-input { border-radius: var(--radius-sm); }
.modal-login-btn, .join-checkout-btn {
    font-family: var(--f-caps);
    font-weight: 700;
    letter-spacing: 0.14em;
    background: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: none;
}
.modal-login-btn:hover, .join-checkout-btn:hover { background: var(--navy-deep); }
.modal-login-help a { color: var(--red); }

/* ===== FOOTER ===== */
.global-footer { background: #fff; }
.footer-pole { display: none; }
.v3-swoosh { display: block; width: 100%; height: clamp(70px, 9vw, 130px); margin-bottom: -1px; }
.v3-swoosh path { fill: none; stroke-linecap: round; }
.footer-crest { padding-top: clamp(40px, 5vw, 64px); }
.footer-crest p { font-family: var(--f-display); font-style: italic; font-weight: 600; color: var(--ink); }
.footer-top { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.footer-brand strong { font-weight: 700; }
.footer-social a { border-radius: 50%; color: var(--navy); }
.footer-social a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.footer-col h4 { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.2em; color: var(--red); }
.footer-col a { background-image: linear-gradient(var(--blue), var(--blue)); }
.footer-info strong { font-family: var(--f-caps); font-weight: 700; letter-spacing: 0.16em; color: var(--navy); }
.footer-url {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin: 30px auto 30px;
    padding: 14px 34px;
    font-family: var(--f-caps);
    font-size: clamp(12px, 1.6vw, 16px);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    border-radius: 999px;
    box-shadow: 0 16px 30px -18px rgba(10, 30, 71, 0.7);
}
.footer-url::before {
    content: '';
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-url:hover { color: #fff; letter-spacing: 0.24em; background: var(--navy-deep); }

@media (max-width: 640px) {
    .footer-url { padding: 12px 20px; letter-spacing: 0.12em; }
    .v3-flank::before, .v3-flank::after { width: 22px; }
}

/* Footer: a small van rides the navy ribbon as it draws in */
.v3-swoosh-wrap { position: relative; }
.v3-swoosh-van {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(156px, 16vw, 248px);
    height: auto;
    opacity: 0;
    pointer-events: none;
    will-change: transform;
    filter: drop-shadow(0 6px 6px rgba(13, 20, 36, 0.22));
}
/* Let the bigger footer van rise above the footer edge without allowing sideways scroll */
.global-footer { overflow-x: clip; overflow-y: visible; }

/* =============================================
   HOW IT WORKS — van route (reusable: wrap steps in [data-route])
   Default (no JS / reduced motion): every step is lit.
   ============================================= */
.v3-route-wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.v3-route { position: relative; height: 110px; margin-bottom: 18px; }
.v3-route-road {
    position: absolute;
    left: 0; right: 0;
    bottom: 10px;
    height: 6px;
    border-radius: 3px;
    background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px);
    box-shadow: 0 1px 0 rgba(13, 20, 36, 0.08);
}
.v3-route-van {
    position: absolute;
    left: 0;
    bottom: 13px;
    width: 170px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 8px 8px rgba(13, 20, 36, 0.22));
    will-change: transform;
}
.v3-route-shadow {
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 170px;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(13, 20, 36, 0.3), transparent 70%);
    will-change: transform;
}

/* Step cards, V3 */
.theme-v3 .steps-grid { gap: 22px; }
.theme-v3 .steps-grid::before { display: none; }
.theme-v3 .step-card {
    position: relative;
    padding: 40px 30px 34px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 44px -32px rgba(13, 20, 36, 0.35);
    backdrop-filter: none;
    overflow: hidden;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s, opacity 0.6s, filter 0.6s;
}
.theme-v3 .step-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 24px, var(--blue) 24px 40px, #fff 40px 48px);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out);
}
.theme-v3 .step-num {
    width: 62px;
    height: 62px;
    font-family: var(--f-display);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    background: var(--navy);
    border: none;
    box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--red);
    transition: background 0.5s, box-shadow 0.6s var(--ease-out), color 0.5s, transform 0.6s var(--ease-out);
}
.theme-v3 .step-card h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.theme-v3 .step-card p { font-size: 15px; color: var(--ink-soft); }
.v3-step-van { display: none; }

/* Motion on: steps wait dark until the van reaches them */
.cc-motion [data-route] .step-card:not(.is-lit) {
    opacity: 0.55;
    filter: saturate(0.2);
    box-shadow: none;
}
.cc-motion [data-route] .step-card:not(.is-lit)::before { transform: scaleX(0); }
.cc-motion [data-route] .step-card:not(.is-lit) .step-num {
    background: #E6EAF2;
    color: var(--muted);
    box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--line);
}
.cc-motion [data-route] .step-card.is-lit {
    transform: translateY(-6px);
    border-color: rgba(37, 82, 184, 0.35);
    box-shadow: 0 30px 60px -28px rgba(10, 30, 71, 0.45), 0 0 0 1px rgba(37, 82, 184, 0.12);
}
.cc-motion [data-route] .step-card.is-lit .step-num { transform: scale(1.06); }

/* Phones: stacked cards, no road; a small van slides into each card as it lights */
@media (max-width: 900px) {
    .v3-route { display: none; }
    .v3-step-van {
        display: block;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 64px;
        height: 32px;
        background: url('/images/cc/van-640.webp') center / contain no-repeat;
        opacity: 0;
        transform: translateX(-60px);
        transition: transform 0.9s var(--ease-out), opacity 0.4s;
    }
    .cc-motion [data-route] .step-card.is-lit .v3-step-van { opacity: 1; transform: none; }
}
/* Steps are clickable: send the van to that stop */
[data-route] .step-card { cursor: pointer; }
[data-route] .step-card:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
/* Room above the ribbons so the footer van never runs into the content above it */
.global-footer { padding-top: clamp(70px, 9vw, 130px); }

/* Follow on Instagram: solid navy, turns barber red on hover */
.v3-ig-btn,
.theme-v3 .v3-ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--f-caps);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff !important;
    background: var(--navy) !important;
    border: none !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 30px -16px rgba(10, 30, 71, 0.6);
    transition: background 0.35s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.v3-ig-btn svg { width: 16px; height: 16px; flex: none; }
.v3-ig-btn:hover,
.theme-v3 .v3-ig-btn:hover {
    background: var(--red) !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 36px -18px rgba(200, 32, 47, 0.6);
}

/* ===== INSTAGRAM FEED TILES (homepage + gallery) ===== */
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ig-tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #EEF1F5;
    box-shadow: 0 16px 34px -26px rgba(13, 20, 36, 0.45);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ig-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 30, 71, 0.82));
    opacity: 0;
    transition: opacity 0.45s var(--ease-out);
}
.ig-tile-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
}
.ig-tile-cap {
    position: absolute;
    left: 14px; right: 14px; bottom: 12px;
    z-index: 2;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover::after, .ig-tile:focus-visible::after { opacity: 1; }
.ig-tile:hover .ig-tile-cap, .ig-tile:focus-visible .ig-tile-cap { opacity: 1; transform: none; }

/* Gallery page sections */
.ig-latest { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 56px; }
.ig-latest-head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.ig-latest-head .cc-eyebrow { display: block; margin-bottom: 12px; color: var(--red); }
.ig-latest-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.ig-latest-head p:not(.cc-eyebrow) { margin-top: 12px; color: var(--ink-soft); }
.ig-suite-head { margin-top: 24px; }

@media (max-width: 700px) {
    .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ig-tile-cap { display: none; }
}

/* ===== "AS SEEN ON STUDIO 17" SEAL ===== */
/* Tilted stamp pinned top left under the nav (injected by nav.js); sits below the nav (1000) and modals */
.tv-seal {
    position: fixed; left: 18px; top: 96px; z-index: 990;
    width: 112px; height: 112px; border-radius: 50%;
    transform: rotate(-12deg);
    filter: drop-shadow(0 8px 18px rgba(10, 30, 71, 0.28));
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1.2), filter 0.35s;
    animation: tvSealStamp 0.6s cubic-bezier(.2, .8, .3, 1.15) 0.6s backwards;
}
.tv-seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tv-seal:hover, .tv-seal:focus-visible {
    transform: rotate(-4deg) scale(1.07);
    filter: drop-shadow(0 12px 24px rgba(10, 30, 71, 0.36));
}
.tv-seal:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.tv-seal-face { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.tv-seal-ring { fill: none; stroke-width: 2.2; stroke-dasharray: 6 6; }
.tv-seal-ring-red { stroke: var(--red); }
.tv-seal-ring-blue { stroke: var(--blue); stroke-dashoffset: 6; }
.tv-seal-arc { font-family: var(--f-caps); font-weight: 700; font-size: 9.6px; letter-spacing: 2.6px; fill: var(--navy); }
.tv-seal-stars { font-size: 8px; letter-spacing: 3px; fill: var(--red); }
.tv-seal-inner { fill: none; stroke: var(--navy); stroke-width: 1.2; }
@keyframes tvSealStamp {
    0% { opacity: 0; transform: rotate(-24deg) scale(1.7); }
    70% { opacity: 1; transform: rotate(-10deg) scale(0.94); }
    100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .tv-seal { animation: none; } }
@media (max-width: 700px) {
    .tv-seal { left: 10px; width: 70px; height: 70px; transition: transform 0.35s, opacity 0.3s, visibility 0.3s; }
    .tv-seal.is-tucked { opacity: 0; visibility: hidden; transform: rotate(-12deg) scale(0.8); }
}
@media print { .tv-seal { display: none; } }
