/* ============================================================
   Canello Multimarcas — Home rebrand: "Atelier Vermelho"
   Neutral charcoal surfaces, deep classic red, editorial
   high-contrast serif. Scoped to body.home-canello.
   Loaded AFTER styles.css so these rules win on specificity.
   ============================================================ */

body.home-canello {
    /* Neutral charcoal surfaces — quieter, more refined */
    --ink: #0a0a0b;
    --ink-2: #141416;
    --ink-3: #1f1f22;
    --ink-soft: #2a2a2e;
    --paper: #141416;

    /* Bone — cleaner off-white, no cream cast */
    --bone: #ece9e6;
    --text: #c8c5c2;
    --text-soft: #8a8784;
    --text-dim: #5e5b58;
    --text-mute: #3e3b38;

    /* Classic deep red — automotive, premium, not crimson */
    --red: #c4202b;
    --red-deep: #8b1e2b;
    --red-soft: rgba(196, 32, 43, 0.10);
    --red-glow: rgba(196, 32, 43, 0.28);
    --wine: #4a0f15;

    --border: rgba(236, 233, 230, 0.08);
    --border-strong: rgba(236, 233, 230, 0.22);

    --dark: #000000;
    --dark-soft: #08070a;
    --dark-text: #c8c5c2;
    --dark-dim: #8a8784;
    --dark-border: rgba(236, 233, 230, 0.10);

    --font-display: 'Geist', 'Inter', system-ui, sans-serif;
    --font-serif: 'Geist', 'Inter', system-ui, sans-serif;
    --font-sans: 'Geist', 'Inter', system-ui, sans-serif;
    --font-body: 'Geist', 'Inter', system-ui, sans-serif;
    --font-mono: 'Geist Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    background: var(--ink);
    color: var(--text);
}

/* ============================================================
   GLOBAL TYPOGRAPHY (home page only)
   ============================================================ */
body.home-canello h1,
body.home-canello h2 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--bone);
}

body.home-canello h1 em,
body.home-canello h2 em,
body.home-canello .display-italic {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.035em;
    color: var(--red);
}

body.home-canello h3 {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.018em;
    color: var(--bone);
}

body.home-canello .eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

body.home-canello .eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
    display: inline-block;
}

/* ============================================================
   HERO — Cinematic centered hero with background video loop
   ============================================================ */
body.home-canello .hero {
    background: var(--ink);
    position: relative;
    overflow: hidden;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
}

/* Faint scan-line texture — paper grain, on top of video */
body.home-canello .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(245, 237, 224, 0.014) 2px,
        rgba(245, 237, 224, 0.014) 3px
    );
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

/* ---------- BACKGROUND: video + overlays ---------- */
body.home-canello .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Fallback gradient — visible until a video file lands in /assets */
    background:
        radial-gradient(ellipse at 50% 30%, rgba(196, 32, 43, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 12% 90%, rgba(139, 30, 43, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 88% 90%, rgba(139, 30, 43, 0.10) 0%, transparent 45%),
        linear-gradient(180deg, #14101a 0%, #0d0b0f 50%, #08070a 100%);
}

body.home-canello .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 0.5;
}

body.home-canello .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Slow Ken-Burns zoom — runs whenever the video loads */
    animation: heroKenBurns 28s var(--ease) infinite alternate;
    will-change: transform, opacity;
    background: transparent;
    opacity: 0;
    transition: opacity 0.9s var(--ease);
}

body.home-canello .hero-bg-video.is-playing { opacity: 1; }

/* Hide the broken-video placeholder when no source resolves */
body.home-canello .hero-bg-video:not([src]):empty { display: none; }

@keyframes heroKenBurns {
    0%   { transform: scale(1.04) translate3d(0, 0, 0); }
    100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Dark gradient overlay — drives contrast for text readability */
body.home-canello .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(8, 7, 10, 0.92) 0%,
            rgba(8, 7, 10, 0.72) 28%,
            rgba(8, 7, 10, 0.68) 55%,
            rgba(8, 7, 10, 0.85) 82%,
            rgba(8, 7, 10, 0.98) 100%),
        radial-gradient(ellipse at 50% 38%, rgba(196, 32, 43, 0.16) 0%, transparent 58%);
}

/* Vignette — pulls focus to the centered type */
body.home-canello .hero-bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 25%, rgba(0, 0, 0, 0.75) 100%);
}

/* ---------- MASTHEAD ---------- */
body.home-canello .hero-masthead {
    position: relative;
    z-index: 3;
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(236, 233, 230, 0.10);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-soft);
    flex-shrink: 0;
}

body.home-canello .hero-mast-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

body.home-canello .hero-mast-block--end { justify-content: flex-end; }

body.home-canello .hero-mast-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 14px var(--red-glow);
    animation: pulseDot 2.4s var(--ease) infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

body.home-canello .hero-mast-sep {
    color: var(--text-mute);
    font-weight: 400;
}

body.home-canello .hero-mast-mono { color: var(--text-soft); }

/* ---------- HERO INNER (centered, fills the viewport below the nav) ---------- */
body.home-canello .hero-inner {
    position: relative;
    z-index: 3;
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    min-width: 0;                 /* override flex-item default min-width:auto */
    flex: 0 0 auto;
    /* Fill the first screen (viewport minus the sticky nav) so the video
       always covers the initial page; the stats strip falls below the fold. */
    min-height: calc(100vh - var(--nav-h, 72px));
    min-height: calc(100dvh - var(--nav-h, 72px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: clamp(0.75rem, 2vw, 1.75rem);
    padding-bottom: clamp(3.5rem, 8vw, 7rem);
}

/* ---------- FOLIO: rule — Nº 06 · Vitrine 2026 — rule ---------- */
body.home-canello .hero-folio {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

body.home-canello .hero-folio-num {
    color: var(--red);
    font-weight: 600;
}

body.home-canello .hero-folio-sep {
    color: var(--text-dim);
    opacity: 0.7;
}

body.home-canello .hero-folio-label {
    color: var(--text-soft);
}

body.home-canello .hero-folio-rule {
    flex: 0 0 clamp(36px, 5vw, 64px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 100%);
}

body.home-canello .hero-folio > .hero-folio-rule:last-child {
    background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
}

/* ---------- KICKER (rule — label — rule) ---------- */
body.home-canello .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: clamp(1.4rem, 2.6vw, 2.1rem);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-soft);
    white-space: nowrap;
}

body.home-canello .hero-kicker-rule {
    width: clamp(28px, 6vw, 64px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--text-dim) 100%);
}
body.home-canello .hero-kicker-rule:last-child {
    background: linear-gradient(90deg, var(--text-dim) 0%, transparent 100%);
}

/* ---------- DISPLAY HEADLINE — massive, masked per-line reveal ---------- */
body.home-canello .hero-display {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 7.6vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--bone);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
    width: 100%;                  /* constrain inside flex column so lines wrap */
    max-width: 100%;
    min-width: 0;                 /* override flex-item default min-width:auto */
    text-align: center;
    overflow-wrap: break-word;
}

/* Each line is a horizontal mask; the inner block slides up from below */
body.home-canello .hero-line {
    display: block;
    overflow: hidden;
    padding: 0.06em 0;            /* prevents glyph descenders being clipped */
}

body.home-canello .hero-line + .hero-line { margin-top: 0.02em; }

body.home-canello .hero-line-inner {
    display: block;               /* wraps long lines instead of clipping */
    will-change: transform, opacity;
}

/* Accent word "escolha" — italic, red, with a draw-on underline */
body.home-canello .hero-display em,
body.home-canello .hero-accent {
    font-style: italic;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.045em;
    text-shadow:
        0 0 32px rgba(196, 32, 43, 0.55),
        0 0 64px rgba(196, 32, 43, 0.25);
    position: relative;
    white-space: nowrap;
}

body.home-canello .hero-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.04em;
    height: 0.06em;
    background: linear-gradient(90deg, var(--red) 0%, var(--red-deep) 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    animation: heroAccentDraw 0.95s var(--ease) forwards;
    animation-delay: 0.95s;
    box-shadow: 0 0 22px rgba(196, 32, 43, 0.55);
}

body.home-canello .hero-accent--two::after {
    animation-delay: 1.55s;
}

@keyframes heroAccentDraw {
    to { transform: scaleX(1); }
}

/* Terminal red period after "certa" — a small pulsing mark */
body.home-canello .hero-dot {
    display: inline-block;
    color: var(--red);
    margin-left: 0.02em;
    text-shadow:
        0 0 18px rgba(196, 32, 43, 0.75),
        0 0 36px rgba(196, 32, 43, 0.35);
    animation: heroDotPulse 2.4s var(--ease) 1.2s infinite;
}

@keyframes heroDotPulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50%      { opacity: 0.55; transform: translateY(-0.04em); }
}

/* ---------- LEDE (centered stack) ---------- */
body.home-canello .hero-sub {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    line-height: 1.6;
    color: var(--text);
    width: 100%;
    max-width: min(38rem, 100%);
    min-width: 0;
    margin: clamp(1.6rem, 2.8vw, 2.2rem) auto 0;
}

body.home-canello .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: clamp(1.8rem, 3vw, 2.4rem);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* ---------- TRUST ROW ---------- */
body.home-canello .hero-trust {
    list-style: none;
    margin: clamp(1.8rem, 3vw, 2.6rem) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.2rem);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}

body.home-canello .hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
}

body.home-canello .hero-trust-item + .hero-trust-item::before {
    content: '';
    position: absolute;
    left: calc(clamp(1rem, 2.4vw, 2.2rem) / -2);
    top: 50%;
    width: 1px;
    height: 12px;
    background: var(--border-strong);
    transform: translateY(-50%);
}

body.home-canello .hero-trust-mark {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
    flex-shrink: 0;
}

/* ---------- SCROLL AFFORDANCE ---------- */
body.home-canello .hero-scroll {
    position: absolute;
    bottom: clamp(1.4rem, 3vw, 2.2rem);
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    transition: color 0.25s var(--ease);
}

body.home-canello .hero-scroll:hover { color: var(--bone); }

body.home-canello .hero-scroll-line {
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, var(--text-dim) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

body.home-canello .hero-scroll-line::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--red);
    animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
    0%   { transform: translateY(0); opacity: 0; }
    30%  { opacity: 1; }
    100% { transform: translateY(62px); opacity: 0; }
}

/* ---------- EDITORIAL STATS STRIP — its own band below the video hero ---------- */
body.home-canello .hero-stats-strip {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
    flex-shrink: 0;
}

body.home-canello .hero-stats-strip .pillar {
    position: relative;
    padding: 1.8rem 1.6rem 1.9rem;
    border-right: 1px solid var(--border);
    text-align: left;
    transition: background 0.3s var(--ease);
}

body.home-canello .hero-stats-strip .pillar::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

body.home-canello .hero-stats-strip .pillar:hover {
    background: rgba(196, 32, 43, 0.035);
}

body.home-canello .hero-stats-strip .pillar:hover::before {
    transform: scaleX(1);
}

body.home-canello .hero-stats-strip .pillar:last-child {
    border-right: 0;
}

body.home-canello .pillar-folio {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 0.9rem;
}

body.home-canello .pillar-num-unit {
    font-size: 0.5em;
    color: var(--text-dim);
    margin-left: 0.15em;
    font-weight: 600;
    letter-spacing: 0;
}

@media (max-width: 820px) {
    body.home-canello .hero-stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    body.home-canello .hero-stats-strip .pillar:nth-child(2) { border-right: 0; }
    body.home-canello .hero-stats-strip .pillar:nth-child(odd) { border-right: 1px solid var(--border); }
    body.home-canello .hero-stats-strip .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 480px) {
    body.home-canello .hero-masthead {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        font-size: 0.6rem;
    }
    body.home-canello .hero-mast-block--end { justify-content: flex-start; }
    body.home-canello .hero-stats-strip {
        grid-template-columns: 1fr;
    }
    body.home-canello .hero-stats-strip .pillar {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
        padding: 1.4rem 1.2rem 1.5rem;
    }
    body.home-canello .hero-stats-strip .pillar:last-child { border-bottom: 0; }
}

/* Hero composition — small screens */
@media (max-width: 600px) {
    body.home-canello .hero-kicker {
        gap: 0.7rem;
        font-size: 0.6rem;
        letter-spacing: 0.18em;
        white-space: normal;
        text-align: center;
    }
    body.home-canello .hero-kicker-rule { display: none; }
    body.home-canello .hero-trust {
        gap: 0.5rem 1rem;
        font-size: 0.6rem;
    }
    body.home-canello .hero-trust-item + .hero-trust-item::before { display: none; }
    body.home-canello .hero-inner { padding-top: 1rem; }
}

body.home-canello .btn {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 1.05rem 1.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.home-canello .btn-primary {
    background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
    color: #fff;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow:
        0 10px 32px -10px rgba(196, 32, 43, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.home-canello .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 44px -12px rgba(196, 32, 43, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.home-canello .btn-ghost {
    background: transparent;
    color: var(--bone);
    border: 1px solid var(--border-strong);
}

body.home-canello .btn-ghost:hover {
    background: rgba(196, 32, 43, 0.08);
    color: var(--red);
    border-color: var(--red);
}

body.home-canello .btn-xl {
    padding: 1.25rem 2rem;
    font-size: 0.85rem;
}

/* ---------- featured hero card (preserve plumbing IDs) ---------- */
body.home-canello .hero-visual {
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow:
        0 30px 80px -30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(196, 32, 43, 0.06);
}

body.home-canello .hero-featured-tag,
body.home-canello .hf-arrow,
body.home-canello .hf-dots,
body.home-canello .hf-dot.active {
    /* Reuse warm tokens — these are already styled by the dark theme */
}

/* ---------- stats pillars — editorial display numerals ---------- */
body.home-canello .pillar-num {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--bone);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

body.home-canello .pillar-num .red {
    color: var(--red);
    font-weight: 700;
}

body.home-canello .pillar-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-top: 0.6rem;
    line-height: 1.4;
}

/* ============================================================
   FEATURED — inventory grid header restyle
   ============================================================ */
body.home-canello .featured {
    background: var(--ink-2);
    padding: clamp(4.5rem, 8vw, 8rem) var(--gutter);
}

body.home-canello .featured-head h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--bone);
}

body.home-canello .see-all {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--red);
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--red);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

body.home-canello .see-all:hover {
    color: var(--bone);
    border-bottom-color: var(--bone);
}

body.home-canello .featured-foot-sub {
    font-family: var(--font-body);
    color: var(--text-soft);
    font-size: 1rem;
    font-weight: 400;
}

body.home-canello .featured-foot-sub b {
    color: var(--red);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.05em;
    letter-spacing: 0.02em;
}

/* ============================================================
   PIPELINE — Compra · Venda · Troca · Financia
   The four-stroke engine of the dealership.
   ============================================================ */
.canello-pipeline {
    padding: clamp(4.5rem, 8vw, 8rem) var(--gutter);
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    position: relative;
    overflow: hidden;
}

.canello-pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
    opacity: 0.45;
}

.canello-pipeline-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
}

.canello-pipeline-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.canello-pipeline-head h2 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: var(--bone);
    margin-top: 1.2rem;
}

.canello-pipeline-tagline {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    line-height: 1.55;
    color: var(--text-soft);
    border-left: 1px solid var(--border-strong);
    padding-left: 1.4rem;
    max-width: 28rem;
}

.canello-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.canello-step {
    background: transparent;
    padding: 2.4rem 2rem 2.6rem;
    position: relative;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}

.canello-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.canello-step:hover {
    background: rgba(196, 32, 43, 0.04);
}

.canello-step:hover::before {
    transform: scaleX(1);
}

.canello-step:hover .canello-step-num {
    color: var(--red);
    text-shadow: 0 0 28px var(--red-glow);
}

.canello-step-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.6rem;
}

.canello-step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: 1;
    color: var(--bone);
    transition: color 0.35s var(--ease), text-shadow 0.35s var(--ease);
    text-transform: none;
    letter-spacing: -0.035em;
}

.canello-step-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--red);
    margin-top: 0.4rem;
    letter-spacing: -0.005em;
}

.canello-step p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 1.1rem;
    flex-grow: 1;
}

.canello-step-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.6rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: var(--bone);
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 0.4rem;
    align-self: flex-start;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.canello-step-link:hover {
    color: var(--red);
    border-bottom-color: var(--red);
    gap: 0.9rem;
}

@media (max-width: 980px) {
    .canello-pipeline-head { grid-template-columns: 1fr; }
    .canello-pipeline-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .canello-pipeline-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION NUMBER — overhead editorial marker
   ============================================================ */
.canello-section-num {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.6rem;
}

.canello-section-num::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--red);
    display: inline-block;
}

/* ============================================================
   SPOTLIGHT — dedicated featured-vehicle section
   ============================================================ */
.canello-spotlight {
    padding: clamp(4rem, 7vw, 7rem) var(--gutter);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(196, 32, 43, 0.10) 0%, transparent 55%),
        var(--ink);
    border-top: 1px solid var(--border);
    position: relative;
}

.canello-spotlight-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.canello-spotlight-head {
    text-align: center;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.canello-spotlight-head h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--bone);
}

.canello-spotlight-sub {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 40rem;
    margin: 1.2rem auto 0;
}

.canello-spotlight-card {
    max-width: 1080px;
    margin: 0 auto;
}

/* ============================================================
   MANIFESTO — numbered editorial list (replaces 6-card values grid)
   ============================================================ */
.canello-manifesto {
    padding: clamp(5rem, 8vw, 9rem) var(--gutter);
    background: var(--ink);
    position: relative;
}

.canello-manifesto-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.canello-manifesto-head {
    position: sticky;
    top: 7rem;
    align-self: start;
}

.canello-manifesto-head h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    color: var(--bone);
}

.canello-manifesto-lede {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.98rem, 1.2vw, 1.05rem);
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 26rem;
    margin-top: 1.4rem;
}

.canello-manifesto-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
}

.canello-manifesto-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}

.canello-manifesto-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1.6rem;
    width: 2px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease);
}

.canello-manifesto-item:hover {
    padding-left: 1rem;
    padding-right: 1rem;
}

.canello-manifesto-item:hover::before {
    transform: scaleY(1);
}

.canello-manifesto-item:hover .manifesto-num {
    color: var(--red);
}

.manifesto-num {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    padding-top: 0.4rem;
    min-width: 2.4rem;
    transition: color 0.35s var(--ease);
}

.manifesto-body h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    color: var(--bone);
    line-height: 1.2;
    margin: 0;
}

.manifesto-body p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0.55rem 0 0;
    max-width: 44rem;
}

.manifesto-tag {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
    padding-top: 0.55rem;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .canello-manifesto-inner {
        grid-template-columns: 1fr;
    }
    .canello-manifesto-head {
        position: static;
    }
    .canello-manifesto-item {
        grid-template-columns: auto 1fr;
        gap: 1.2rem 1.4rem;
    }
    .manifesto-tag {
        grid-column: 2;
        padding-top: 0;
        margin-top: 0.4rem;
    }
}

/* ============================================================
   LEGACY VALUES (unused on home now — kept defensively)
   ============================================================ */
body.home-canello .values {
    background: var(--ink);
    padding: clamp(4.5rem, 7vw, 7rem) 0;
}

body.home-canello .values-head h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--bone);
}

body.home-canello .section-lede {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 34rem;
    margin-top: 1.2rem;
}

body.home-canello .value-cell {
    background: var(--ink-2);
    border: 1px solid var(--border);
    padding: 2.1rem 1.8rem;
    position: relative;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

body.home-canello .value-cell:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    background: rgba(196, 32, 43, 0.03);
}

body.home-canello .value-num {
    font-family: var(--font-mono);
    color: var(--red);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 500;
    text-transform: uppercase;
}

body.home-canello .value-cell h3 {
    font-size: 1.45rem;
    color: var(--bone);
    margin-top: 0.7rem;
    line-height: 1.15;
}

body.home-canello .value-cell p {
    color: var(--text-soft);
    margin-top: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ============================================================
   QUOTE STRIP — italic pull line between values and footer
   ============================================================ */
.canello-quote {
    padding: clamp(4rem, 7vw, 6rem) var(--gutter);
    background:
        radial-gradient(circle at 20% 50%, rgba(196, 32, 43, 0.06) 0%, transparent 60%),
        var(--ink-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.canello-quote::before,
.canello-quote::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 60px;
    height: 1px;
    background: var(--red);
    transform: translateX(-50%);
    opacity: 0.6;
}

.canello-quote::before { top: 2.5rem; }
.canello-quote::after  { bottom: 2.5rem; }

.canello-quote-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 0.8;
    color: var(--red);
    margin-bottom: 0.4rem;
}

.canello-quote blockquote {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
    line-height: 1.25;
    color: var(--bone);
    max-width: 48rem;
    margin: 0 auto;
    letter-spacing: -0.025em;
}

.canello-quote blockquote em {
    font-style: normal;
    font-weight: 700;
    color: var(--red);
}

.canello-quote-cite {
    display: block;
    margin-top: 1.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* ============================================================
   CTA STRIP — sunset gradient
   ============================================================ */
body.home-canello .cta-strip {
    background:
        radial-gradient(circle at 85% 30%, rgba(196, 32, 43, 0.16) 0%, transparent 50%),
        linear-gradient(135deg, #160d0e 0%, #0a0a0b 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

body.home-canello .cta-strip h2 {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: var(--bone);
}

body.home-canello .cta-strip h2 em {
    color: var(--red);
    font-style: normal;
    font-weight: 700;
}

body.home-canello .cta-strip .btn-ghost {
    border-color: var(--border-strong);
    color: var(--bone);
}

body.home-canello .cta-strip .btn-ghost:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ============================================================
   PAGE LOAD ANIMATION — staggered hero reveal
   Headline uses a masked per-line lift (cinematic), while
   the supporting chrome (folio, sub, CTAs) gently fade up.
   ============================================================ */
@keyframes canelloFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

@keyframes canelloLineLift {
    from { opacity: 0; transform: translateY(108%); }
    to   { opacity: 1; transform: translateY(0); }
}

body.home-canello .hero-masthead,
body.home-canello .hero-folio,
body.home-canello .hero-kicker,
body.home-canello .hero-sub,
body.home-canello .hero-cta,
body.home-canello .hero-trust,
body.home-canello .hero-scroll,
body.home-canello .hero-stats-strip {
    opacity: 0;
    animation: canelloFadeUp 0.95s var(--ease) forwards;
}

body.home-canello .hero-masthead                  { animation-delay: 0.05s; }
body.home-canello .hero-folio                     { animation-delay: 0.18s; }
body.home-canello .hero-kicker                    { animation-delay: 0.16s; }
body.home-canello .hero-sub                       { animation-delay: 0.78s; }
body.home-canello .hero-cta                       { animation-delay: 0.90s; }
body.home-canello .hero-trust                     { animation-delay: 1.02s; }
body.home-canello .hero-scroll                    { animation-delay: 1.18s; }
body.home-canello .hero-stats-strip               { animation-delay: 1.05s; }

/* Per-line masked lift — staggered so each line "rises" into place */
body.home-canello .hero-line-inner {
    opacity: 0;
    transform: translateY(108%);
    animation: canelloLineLift 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.home-canello .hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.32s; }
body.home-canello .hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.46s; }
body.home-canello .hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
    body.home-canello .hero-bg-video,
    body.home-canello .hero-scroll-line::before,
    body.home-canello .hero-dot { animation: none !important; }
    body.home-canello .hero-accent::after { animation: none !important; transform: scaleX(1); }
    body.home-canello [class*="hero-"],
    body.home-canello .hero-line-inner,
    body.home-canello .hero-stats-strip { animation: none !important; opacity: 1; transform: none; }
}
