  /* =====================================================================
     PAGE-SPECIFIC STYLES ONLY — everything shared (tokens, nav, buttons,
     mobile nav, footer, focus states) lives in faito-shared.css instead.
  ===================================================================== */
  :root{
    --search-bar-h:96px; /* the split-hero shrinks by exactly this much, so the
                             search bar always lands inside the first viewport
                             on load — see "SPLIT HERO" height below */
  }

  /* ===== SPLIT HERO (signature motif, top hero) ===== */
  .split-hero{
    position:relative;
    height:calc(100vh - var(--search-bar-h));
    min-height:560px;
    overflow:hidden;
    background:var(--near-black);
    --pa:58%; --pb:42%; /* shared diagonal boundary — single source of truth, so halves always touch */
  }
  .split-half{
    position:absolute; inset:0; width:100%; height:100%;
    display:flex; flex-direction:column; justify-content:flex-end;
    padding:64px; overflow:hidden;
    transition:clip-path .7s cubic-bezier(.65,0,.35,1);
    /* Defaults for the cursor-tilt/scroll custom properties JS sets on this
       element (see front-page.js) — declared here, not on .split-photo, so
       every stacked photo layer inside (hero rotation) inherits the same
       live value instead of each one being frozen at its own local default. */
    --tilt-x:0px; --tilt-y:0px; --scroll-y:0px;
  }
  @media(max-width:768px){
    .split-hero{height:auto;}
    .split-half{position:relative; padding:44px 26px; min-height:70vh; clip-path:none !important;}
  }
  .split-half.performance{clip-path:polygon(0 0, var(--pa) 0, var(--pb) 100%, 0 100%);}
  .split-half.lifestyle{clip-path:polygon(var(--pa) 0, 100% 0, 100% 100%, var(--pb) 100%);}
  .split-hero.hover-performance{--pa:74%; --pb:58%;}
  .split-hero.hover-lifestyle{--pa:42%; --pb:26%;}
  .split-eyebrow{font-size:12px; letter-spacing:0.22em; font-weight:600; margin-bottom:16px;}
  .performance .split-eyebrow{color:var(--scooter-cyan);}
  .lifestyle .split-eyebrow{color:var(--lifestyle-amber);}
  .split-title{font-size:clamp(30px,4vw,52px); text-transform:uppercase; margin-bottom:16px; transition:transform .5s ease;}
  .split-copy{font-family:'Inter'; color:var(--muted); font-size:15px; max-width:340px; margin-bottom:26px; line-height:1.6; transition:opacity .4s ease;}

  /* background photo layer — separated from the SVG accent layer and the scrim.
     --tilt-x/--tilt-y: cursor-tracked drift (desktop hover). --scroll-y: scroll
     parallax. --photo-scale: hover zoom. All three combine into one transform,
     and the transition below is what makes each of them feel smooth whichever
     one changes — see the JS at the bottom for how each is set. */
  .split-photo{
    position:absolute; inset:-8% -8%; z-index:0;
    background-repeat:no-repeat; background-position:center; background-size:cover;
    --photo-scale:1.06;
    transform:translate(var(--tilt-x), calc(var(--scroll-y) + var(--tilt-y))) scale(var(--photo-scale));
    transition:transform .5s cubic-bezier(.22,.7,.3,1), opacity var(--faito-hero-fade-duration, 1.4s) ease;
    will-change:transform, opacity;
    /* Hero photo rotation (Customize → Homepage Content → Hero Photos): with
       more than one photo per side, every .split-photo layer stacks here and
       only the .active one is visible — assets/js/front-page.js swaps which
       one carries this class every few seconds. A single photo (or none, the
       plain colour-wash state) is unaffected: it's just always .active. */
    opacity:0;
  }
  .split-photo.active{opacity:1;}
  .hover-performance .performance .split-photo{--photo-scale:1.11;}
  .hover-lifestyle .lifestyle .split-photo{--photo-scale:1.11;}
  /* mobile has no cursor to drive the tilt — a slow, subtle "breathing" scale
     substitutes for it, so the photo still feels alive without needing a tap.
     Disabled automatically by the reduced-motion rule in faito-shared.css. */
  @media(max-width:768px){
    .split-photo{animation:faitoPhotoBreathe 9s ease-in-out infinite;}
    .split-half.lifestyle .split-photo{animation-delay:-4.5s;}
  }
  @keyframes faitoPhotoBreathe{
    0%,100%{transform:translate(var(--tilt-x,0px), var(--scroll-y,0px)) scale(1.06);}
    50%{transform:translate(var(--tilt-x,0px), var(--scroll-y,0px)) scale(1.1);}
  }

  .split-scrim{
    position:absolute; inset:0; z-index:0;
    background:linear-gradient(180deg, rgba(11,13,16,0.15) 0%, rgba(11,13,16,0.55) 62%, rgba(11,13,16,0.92) 100%);
  }
  .split-half.performance .split-scrim{background:linear-gradient(180deg, rgba(15,26,44,0.15) 0%, rgba(15,26,44,0.6) 62%, rgba(11,13,16,0.93) 100%);}
  .split-half.lifestyle .split-scrim{background:linear-gradient(180deg, rgba(27,23,18,0.15) 0%, rgba(27,23,18,0.6) 62%, rgba(11,13,16,0.93) 100%);}

  /* brand-colour wash over the photo — sits above the photo, below the
     darkening scrim, so text legibility (handled by the scrim) is unaffected.
     mix-blend-mode:color applies the gradient's hue/saturation while keeping
     the photo's own light/dark detail, rather than just painting over it. */
  .split-tint{position:absolute; inset:0; z-index:0; mix-blend-mode:color; opacity:0.55; pointer-events:none; transition:opacity .4s ease;}
  .split-half.performance .split-tint{background:linear-gradient(135deg, var(--faito-blue) 0%, var(--scooter-cyan) 100%);}
  .split-half.lifestyle .split-tint{background:linear-gradient(135deg, var(--lifestyle-amber) 0%, #7a4f1f 100%);}
  .split-half:hover .split-tint{opacity:0;}
  @media(max-width:768px){ .split-tint{opacity:0.45;} }
  .split-graphic{position:absolute; inset:0; opacity:0.7; z-index:0; transition:transform .7s ease;}
  .hover-performance .performance .split-graphic{transform:scale(1.08);}
  .hover-lifestyle .lifestyle .split-graphic{transform:scale(1.08);}
  .split-half > *:not(.split-photo):not(.split-tint):not(.split-scrim):not(.split-graphic){position:relative; z-index:1;}
  .split-half.performance{align-items:flex-start; text-align:left;}
  .split-half.lifestyle{align-items:flex-end; text-align:right;}
  @media(max-width:768px){.split-half.lifestyle{align-items:flex-start; text-align:left;}}

  /* mouse-tracked spotlight — headlight motif, follows cursor within whichever half is hovered */
  .split-half::after{
    content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
    opacity:0; transition:opacity .35s ease;
  }
  .split-half.performance::after{background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(70,184,218,0.20), transparent 62%);}
  .split-half.lifestyle::after{background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(201,138,62,0.20), transparent 62%);}
  .split-half:hover::after{opacity:1;}

  /* ===== PRODUCT SEARCH — sits between the hero and the editorial section.
     Height is exactly --search-bar-h, and the hero above is shortened by the
     same amount, so this bar always lands inside the first viewport instead
     of requiring a scroll to discover it. ===== */
  .product-search{
    height:var(--search-bar-h);
    display:flex; align-items:center;
    background:var(--panel);
    border-bottom:1px solid var(--line);
  }
  @media(max-width:768px){
    .product-search{height:auto; padding:22px 0;}
  }

  /* ===== EDITORIAL (paper — the one light section on the page) ===== */
  .editorial{
    background:var(--paper); color:var(--paper-ink);
    padding:140px 0;
  }
  @media(max-width:768px){.editorial{padding:80px 0;}}
  .editorial .wrap{display:grid; grid-template-columns:1.1fr 0.9fr; gap:80px; align-items:center;}
  @media(max-width:900px){.editorial .wrap{grid-template-columns:1fr; gap:40px;}}
  .editorial-kicker{font-size:12px; letter-spacing:0.2em; font-weight:600; color:var(--faito-blue); margin-bottom:18px;}
  .editorial h2{font-size:clamp(34px,4.4vw,56px); margin-bottom:26px; letter-spacing:0;}
  .editorial p{font-size:16.5px; line-height:1.7; color:#41403A; max-width:480px; margin-bottom:14px;}
  .editorial-figure{
    position:relative; opacity:0; transform:translateY(28px) scale(0.96);
    transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1);
  }
  .editorial-figure.in-view{opacity:1; transform:translateY(0) scale(1);}
  .editorial-stat{
    display:flex; gap:36px; margin-top:30px; padding-top:26px; border-top:1px solid rgba(23,20,15,0.15);
  }
  .stat-num{font-family:'Rajdhani'; font-weight:700; font-size:34px; color:var(--faito-blue);}
  .stat-label{font-size:12px; color:#6b6a63; letter-spacing:0.04em; margin-top:4px;}
  .editorial-more{margin-top:30px; display:inline-block; color:var(--paper-ink);}
  .editorial-more:hover{background:rgba(41,87,164,0.08);}

  /* ===== RANGE RAIL ===== */
  .range{padding:120px 0 100px; background:var(--near-black);}
  .range-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:44px; gap:20px;}
  .range-head h2{font-size:clamp(30px,4vw,44px); text-transform:uppercase;}
  .range-head p{color:var(--muted); font-size:14.5px; max-width:340px;}
  .range-rail{
    display:flex; gap:1px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory;
    background:var(--line); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    -ms-overflow-style:none; scrollbar-width:none;
    cursor:grab; user-select:none;
  }
  .range-rail.dragging{cursor:grabbing; scroll-snap-type:none;}
  .range-rail.dragging .range-card{pointer-events:none;}
  .range-rail::-webkit-scrollbar{display:none;}
  .range-card{
    scroll-snap-align:start; flex:0 0 260px; background:var(--near-black);
    padding:34px 26px; min-height:280px; display:flex; flex-direction:column; justify-content:space-between;
    transition:background .3s ease, opacity .6s ease, transform .6s ease;
    opacity:0; transform:translateY(18px);
    color:inherit; text-decoration:none; cursor:pointer;
  }
  .range-card.in-view{opacity:1; transform:translateY(0);}
  .range-card:hover{background:var(--panel);}
  .range-card .rc-icon{width:38px; height:38px; opacity:0.9;}
  .range-card .rc-name-link{color:inherit; text-decoration:none; display:block; pointer-events:none;}
  .range-card .rc-name{font-family:'Rajdhani'; font-weight:600; font-size:20px; text-transform:uppercase;}
  .range-card .rc-tag{font-size:12px; color:var(--muted); margin-top:8px;}
  .range-card.lifestyle-card .rc-name{color:var(--lifestyle-amber);}

  /* ---- with a per-category card thumbnail set (Products → Categories → Edit) ---- */
  .range-card.has-image{
    background-size:cover; background-position:center; background-repeat:no-repeat;
  }
  .range-card.has-image::before{
    content:''; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(11,13,16,0.15) 0%, rgba(11,13,16,0.35) 45%, rgba(11,13,16,0.92) 100%);
    transition:opacity .3s ease;
  }
  .range-card.has-image{position:relative;}
  .range-card.has-image:hover::before{opacity:0.85;}
  .range-card.has-image:hover{background-color:transparent;}
  .range-card.has-image .rc-icon,
  .range-card.has-image > div{position:relative; z-index:1;}
  .range-card.has-image .rc-name,
  .range-card.has-image .rc-tag{color:var(--white); text-shadow:0 1px 6px rgba(0,0,0,0.5);}
  .range-card.has-image.lifestyle-card .rc-name{color:var(--white);}

  /* ===== PARTNERSHIP PANEL ===== */
  .partner{
    position:relative; padding:150px 0; overflow:hidden;
    background:linear-gradient(160deg, #10161F 0%, #0B0D10 60%);
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  }
  .partner-graphic{position:absolute; right:-6%; top:50%; width:56%; opacity:0.5; will-change:transform;}
  @media(max-width:900px){.partner-graphic{opacity:0.18; width:100%; right:0;}}
  .partner .wrap{position:relative; z-index:1;}
  .partner-eyebrow{font-size:12px; letter-spacing:0.22em; color:var(--scooter-cyan); font-weight:600; margin-bottom:20px;}
  .partner blockquote{
    font-family:'Rajdhani'; font-weight:600; font-size:clamp(26px,3.4vw,42px);
    max-width:760px; line-height:1.28; margin-bottom:30px;
  }
  .partner-attrib{font-size:13px; color:var(--muted); letter-spacing:0.04em;}
  .partner-attrib b{color:var(--white); font-weight:600;}


/* =====================================================================
   HERO SLIDES — per-slide text, transitions and the full-width layout.
   Markup comes from faito_render_hero_half() (inc/hero-slides.php). Each
   half holds one .split-slide per photo; only the .active one is visible.
   The photo/slide classes are switched together by assets/js/front-page.js.
   The headline/button transitions are chosen in Customize → Homepage
   Content → Hero Layout & Motion and arrive as #hero data attributes.
===================================================================== */
.split-slides{display:grid; grid-template-columns:minmax(0,1fr); align-content:end; max-width:100%;}
.split-slide{grid-area:1/1; align-self:end; visibility:hidden; pointer-events:none; transition:visibility 0s linear .5s;}
.split-slide.active{visibility:visible; pointer-events:auto; transition-delay:0s;}
.split-slide > *{opacity:0; transition:opacity .35s ease, transform .35s ease, filter .35s ease;}
.split-slide.active > *{
  opacity:1; transform:none; filter:none;
  transition:opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
}
.split-slide.active .split-eyebrow{transition-delay:.1s;}
.split-slide.active .split-title{transition-delay:.3s;}
.split-slide.active .split-copy{transition-delay:.5s;}
.split-slide.active .split-btn{transition-delay:var(--faito-hero-btn-delay, .7s);}
/* a slide's own accent beats the half's (matters in the full-width layout) */
.split-slide.side-performance .split-eyebrow{color:var(--scooter-cyan);}
.split-slide.side-lifestyle .split-eyebrow{color:var(--lifestyle-amber);}

/* starting state of each transition (what a slide animates FROM) */
.split-hero[data-title-anim="slide-up"] .split-slide:not(.active) .split-eyebrow,
.split-hero[data-title-anim="slide-up"] .split-slide:not(.active) .split-title,
.split-hero[data-title-anim="slide-up"] .split-slide:not(.active) .split-copy{transform:translateY(34px);}
.split-hero[data-title-anim="slide-left"] .split-slide:not(.active) .split-eyebrow,
.split-hero[data-title-anim="slide-left"] .split-slide:not(.active) .split-title,
.split-hero[data-title-anim="slide-left"] .split-slide:not(.active) .split-copy{transform:translateX(-46px);}
.split-hero[data-title-anim="slide-right"] .split-slide:not(.active) .split-eyebrow,
.split-hero[data-title-anim="slide-right"] .split-slide:not(.active) .split-title,
.split-hero[data-title-anim="slide-right"] .split-slide:not(.active) .split-copy{transform:translateX(46px);}
.split-hero[data-title-anim="zoom-in"] .split-slide:not(.active) .split-eyebrow,
.split-hero[data-title-anim="zoom-in"] .split-slide:not(.active) .split-title,
.split-hero[data-title-anim="zoom-in"] .split-slide:not(.active) .split-copy{transform:scale(.9);}
.split-hero[data-title-anim="blur-in"] .split-slide:not(.active) .split-eyebrow,
.split-hero[data-title-anim="blur-in"] .split-slide:not(.active) .split-title,
.split-hero[data-title-anim="blur-in"] .split-slide:not(.active) .split-copy{filter:blur(10px);}
.split-hero[data-button-anim="slide-up"] .split-slide:not(.active) .split-btn{transform:translateY(26px);}
.split-hero[data-button-anim="pop"] .split-slide:not(.active) .split-btn{transform:scale(.78);}

/* full-width layout: one half across the whole hero, no diagonal */
.split-half.is-full{clip-path:none; align-items:flex-start; text-align:left;}
.split-half.is-full[data-side="lifestyle"] .split-tint{background:linear-gradient(135deg, var(--lifestyle-amber) 0%, #7a4f1f 100%);}
@media (prefers-reduced-motion: reduce){
  .split-slide > *, .split-slide.active > *{transform:none !important; filter:none !important;}
}


/* =====================================================================
   HOME SECTIONS — extra sections added under Home Sections in the admin
   (inc/home-sections.php): Banner, Latest updates, Feature cards.
===================================================================== */
.home-sec{position:relative; padding:96px 0; overflow:hidden;}
.home-sec.bg-dark{background:var(--near-black); color:var(--white);}
.home-sec.bg-panel{background:var(--panel); color:var(--white);}
.home-sec.bg-light{background:var(--paper); color:var(--paper-ink);}
.home-sec.bg-blue{background:linear-gradient(135deg, var(--faito-blue) 0%, #1c3f78 100%); color:var(--white);}
.home-sec .wrap{position:relative; z-index:1;}
.home-sec-eyebrow{font-size:12px; letter-spacing:0.22em; font-weight:600; text-transform:uppercase; color:var(--scooter-cyan); margin-bottom:14px;}
.home-sec.bg-light .home-sec-eyebrow{color:var(--faito-blue);}
.home-sec-title{font-size:clamp(30px,4vw,52px); text-transform:uppercase; margin-bottom:14px;}
.home-sec-intro{font-family:'Inter'; font-size:16px; line-height:1.65; max-width:560px; color:var(--muted); margin-bottom:26px;}
.home-sec.bg-light .home-sec-intro{color:#5a574f;}
.home-sec.bg-blue .home-sec-intro{color:rgba(245,246,247,0.82);}
.home-sec-head{margin-bottom:38px;}
.home-sec-head .home-sec-intro{margin-bottom:0;}
.home-sec-foot{margin-top:38px;}
/* banner */
.home-sec--banner{display:flex; align-items:center; min-height:480px;}
.home-sec--banner.height-compact{min-height:300px; padding:64px 0;}
.home-sec--banner.align-center{text-align:center;}
.home-sec--banner.align-center .home-sec-inner{margin:0 auto;}
.home-sec--banner.align-center .home-sec-intro{margin-left:auto; margin-right:auto;}
.home-sec--banner .home-sec-inner{max-width:720px;}
.home-sec-photo{position:absolute; inset:0; background-size:cover; background-position:center; z-index:0;}
.home-sec-scrim{position:absolute; inset:0; z-index:0; background:linear-gradient(90deg, rgba(11,13,16,0.82) 0%, rgba(11,13,16,0.45) 60%, rgba(11,13,16,0.25) 100%);}
.home-sec--banner.has-photo{color:var(--white);}
.home-sec--banner.has-photo .home-sec-intro{color:rgba(245,246,247,0.85);}
.home-sec--banner.has-photo .home-sec-eyebrow{color:var(--scooter-cyan);}
/* cards */
.home-grid{display:grid; gap:24px; grid-template-columns:repeat(3,minmax(0,1fr));}
.home-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.home-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1000px){ .home-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:700px){ .home-grid, .home-grid.cols-2, .home-grid.cols-4{grid-template-columns:minmax(0,1fr);} .home-sec{padding:64px 0;} }
.home-card{display:flex; flex-direction:column; background:rgba(255,255,255,0.04); border:1px solid var(--line); color:inherit; text-decoration:none; transition:transform .3s ease, border-color .3s ease;}
.home-sec.bg-light .home-card{background:#fff; border-color:rgba(23,20,15,0.12);}
a.home-card:hover{transform:translateY(-4px); border-color:var(--scooter-cyan);}
.home-card-img{aspect-ratio:16/10; background:var(--panel) center/cover no-repeat;}
.home-card-body{padding:22px 22px 26px;}
.home-card-meta{font-size:12px; letter-spacing:0.08em; color:var(--muted); margin-bottom:10px; text-transform:uppercase;}
.home-card-title{font-size:24px; line-height:1.15; margin-bottom:10px;}
.home-card-text{font-family:'Inter'; font-size:14.5px; line-height:1.6; color:var(--muted);}
.home-sec.bg-light .home-card-text, .home-sec.bg-light .home-card-meta{color:#5a574f;}
.home-sec--note{padding:18px 0; background:#2a2410; color:#e8d9a0; font-size:13px;}
.home-sec--banner > .wrap{width:100%;}
