/**
 * Scopione Homepage Styles
 * Extracted from page-home.php for performance optimization
 * 
 * @package Scopione
 * @since 1.0.0
 */

/* ==========================================================================
   CSS VARIABLES (Consolidated from multiple :root blocks)
   ========================================================================== */
:root {
  --card-radius: 12px;
  --sc-yellow: #ffbe3d;
  --sc-dark: #0b0b0b;
  --sc-bg-card: #141414;
  --sc-bg-deep: #000;
  --sc-bg-panel: #0e0e0e;
  --sc-text-light: #fff;
  --sc-text-dim: #9f9f9f;
}

/* ==========================================================================
   HERO SECTION (lines 101-127)
   ========================================================================== */
  /* HERO spacing optimization for homepage only */
  .shop-header.page-title {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  @media (max-width: 768px) {
    .shop-header.page-title {
      padding-top: 2rem;
      padding-bottom: 3rem;
    }
    .hero-h1 {
      font-size: 1.8rem;
      line-height: 1.2;
    }
    .lead {
      font-size: 1rem;
      margin-bottom: 1.25rem;
    }
  }
  /* Smallest mobile screens only */
  @media (max-width: 400px) {
    .hero-trust li {
      font-size: 0.9rem;
    }
  }

/* ==========================================================================
   SHOP BY VEHICLE SECTION (lines 197-349)
   ========================================================================== */
/* Section bg + tight vertical rhythm */
.automakes {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,190,61,.08), transparent 80%),
    linear-gradient(180deg,#1a1a1a 0%,#0f0f0f 100%);
  position:relative;
  isolation:isolate;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.automakes .container {
  margin-bottom:0;
  padding-bottom:0;
  padding-top:3rem;
  padding-bottom:3rem;
}
.automakes h2 {
  margin-top:0;
  margin-bottom:1rem !important;
  line-height:1.25;
}
/* grid spacing under each tile */
.automakes .col {
  margin-top:0;
  margin-bottom:1rem;
}
/* Card shell */
.make-card {
  position:relative;
  background:#111;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--card-radius);
  overflow:hidden;
  padding:.2rem;
  transition:transform .3s ease, box-shadow .3s ease;
  box-shadow:0 0 0 rgba(0,0,0,0);
}
.make-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.15) 0%,rgba(0,0,0,0) 60%);
  opacity:.12;
  pointer-events:none;
  transition:opacity .3s ease;
}
.make-card:hover {
  transform:translateY(-4px);
  box-shadow:0 0 25px rgba(255,190,61,.3), 0 40px 80px rgba(0,0,0,.9);
}
.make-card:hover::before{
  opacity:.2;
}
/* Move and scale hover text inside Shop by Vehicle cards */
.make-card:hover .make-overlay span {
  transform: translateY(55%);
  font-size: clamp(1.8rem, 2vw, 2rem);
  transition: transform 0.35s ease, font-size 0.35s ease;
}
.make-overlay span {
  transform: translateY(0);
  transition: transform 0.35s ease, font-size 0.35s ease;
}
/* Thumbnail */
.make-thumb {
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:var(--card-radius);
  display:block;
  transition:transform .5s ease;
}
.make-card:hover .make-thumb {
  transform:scale(1.02);
}
/* Overlay */
.make-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%);
  color:#fff;
  opacity:0;
  font-size:clamp(1rem,1.5vw,1.4rem);
  line-height:1.4;
  font-weight:600;
  letter-spacing:.03em;
  transition:opacity .28s ease;
  border-radius:var(--card-radius);
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:1rem .75rem;
}
.make-card:hover .make-overlay {
  opacity:1;
}
/* Mobile - small phones only */
@media (max-width: 575px){
  :root {
    --card-radius:10px;
  }
  .automakes .container { 
    padding-left:1rem;
    padding-right:1rem;
  }
  .make-card{
    box-shadow:0 30px 60px rgba(0,0,0,.9);
  }
  .make-thumb{
    border-radius:var(--card-radius);
  }
  .make-overlay{
    display:none;
  }
  .make-card:hover .make-thumb {
    transform:none;
  }
}
/* Tablets - 2 columns + larger cards */
@media (min-width: 576px) and (max-width: 991px) {
  .automakes .container {
    max-width: 95%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .automakes .row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem;
  }
  .automakes .row > .col {
    flex: 0 0 calc(50% - 0.5rem) !important;
    max-width: calc(50% - 0.5rem) !important;
    width: auto !important;
  }
  .make-card{
    box-shadow:0 30px 60px rgba(0,0,0,.9);
  }
  .make-overlay{
    display:none;
  }
  .make-card:hover .make-thumb {
    transform:none;
  }
}

/* ==========================================================================
   VALUE PROPS SECTION (lines 423-570)
   ========================================================================== */

.py-6 { padding-top:3rem; padding-bottom:4rem; }

/* Softer carbon + vignette; lighter than footer for separation */
.vp-section{
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,190,61,.08), transparent 60%),
    linear-gradient(180deg,#1a1a1a 0%, #0f0f0f 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 7px, rgba(255,255,255,0) 7px 14px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 7px, rgba(255,255,255,0) 7px 14px);
  position:relative; isolation:isolate;
}

/* Gentle moving sheen (disabled for reduced motion) */
.vp-sheen{
  position:absolute; inset:0; pointer-events:none; z-index:0;
  background:linear-gradient(75deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
  transform:translateX(-30%); animation:vpSheen 6s ease-in-out infinite;
  mix-blend-mode:screen;
}
@keyframes vpSheen{ 0%{transform:translateX(-30%)} 50%{transform:translateX(30%)} 100%{transform:translateX(-30%)} }
@media (prefers-reduced-motion:reduce){ .vp-sheen{animation:none} }

/* Ensure gutters even if a theme overrides Bootstrap */
.vp-row{ --bs-gutter-x:1.5rem; --bs-gutter-y:1.75rem; } /* single source of truth */
@media (max-width:576px){
.vp-row{ --bs-gutter-x:1.25rem; --bs-gutter-y:1.25rem; }
}

/* Premium card */
.vp-card{
  position:relative; background:rgba(255,255,255,.035);
  border-radius:12px; padding:2px; overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  transition:transform .25s ease, box-shadow .25s ease, border-color 0.22s ease;
}

/* Gradient border that never visually touches neighbors */
.vp-card::before{
  content:""; position:absolute; inset:0; border-radius:16px; padding:1px;
  background:linear-gradient(135deg, rgba(255,190,61,.7), rgba(255,190,61,.15) 40%, rgba(255,255,255,.08));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none;
}

.vp-card-body{
  position:relative; z-index:1; border-radius:15px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  padding:1.25rem 1.25rem 1.1rem;
  -webkit-backdrop-filter:saturate(140%) blur(6px);
          backdrop-filter:saturate(140%) blur(6px);
}

/* Icon + subtle glow */
.vp-icon{
  width:54px; height:54px; display:inline-flex; align-items:center; justify-content:center;
  color:var(--sc-yellow); margin-bottom:.5rem;
  filter:drop-shadow(0 0 10px rgba(255,190,61,.25));
}
.vp-card h3{ letter-spacing:.2px; }
.vp-card p{ line-height:1.55; color:#d7d7d7; }

/* Hover: tasteful lift, more glow */
.vp-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(255,190,61,.18) inset;
}

/* MOBILE TUNING — no touching, better ergonomics */
@media (max-width:576px){
  .py-6{ padding-top:3rem; padding-bottom:4rem; }
  .vp-card{ border-radius:12px; }
  .vp-card::before{ border-radius:12px; }
  .vp-card-body{ padding:1rem 1rem .9rem; } /* keep only here */
  .vp-icon svg{ width:36px; height:36px; }
}

/* Prevent container edges from appearing cramped on very small screens */
@media (max-width:420px){
  .vp-section .container{ padding-left:1rem; padding-right:1rem; }
}

/* Ensure columns stretch so margins/padding apply predictably */
.vp-row > .col { display:flex; }
.vp-row > .col > .vp-card { width:100%; }

/* === XS phones: give REAL space between stacked cards === */
@media (max-width:480px){
  .vp-row { --bs-gutter-y:2.5rem; }                  /* more space between rows */
  .vp-row > .col:not(:last-child) { margin-bottom:.5rem; }

  /* Soften the glow which makes edges look fused */
  .vp-card{
    box-shadow:0 10px 24px rgba(0,0,0,.45);
    margin-bottom:.25rem;                             /* hard gap insurance */
    background-clip:padding-box;                      /* stops glow bleed */
    border-radius:12px;
  }
  .vp-card::before{ border-radius:12px; }

  /* Smaller left icon for better composition */
  .vp-icon svg{ width:34px; height:34px; }
}
/* Small phones in portrait that are extra narrow */
@media (max-width:360px){
  .vp-row { --bs-gutter-y:2.75rem; }
  .vp-row > .col:not(:last-child) { margin-bottom:.9rem; }
  .vp-card{ margin-bottom:.8rem; }
}
@media (min-width:576px) and (max-width:991px){

  /* make the row itself wrap and center children */
  .vp-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    --bs-gutter-x:1.5rem;
    --bs-gutter-y:2rem;
  }

  /* each column becomes flex item we control manually */
  .vp-row > .col{
    display:flex;
    justify-content:center;
  }

  /* first two cards: sit side by side, about half width each */
  .vp-row > .col:nth-child(1),
  .vp-row > .col:nth-child(2){
    flex:0 0 48%;
    max-width:48%;
  }

  /* third card: drop to its own row and appear centered, slightly narrower */
  .vp-row > .col:nth-child(3){
    flex:0 0 70%;
    max-width:70%;
    margin-top:1rem;
  }

  /* ensure the card itself doesn’t stretch edge-to-edge inside that column */
  .vp-row > .col > .vp-card{
    max-width:100%;
  }
}

/* ==========================================================================
   FEATURED BUILDS SECTION (lines 644-888)
   ========================================================================== */

/* ===========================
   SECTION WRAPPER
   =========================== */
.featured-builds {
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(255,190,61,.07), transparent 70%),
    linear-gradient(180deg,#0c0c0c 0%,#1a1a1a 100%);
  padding-top:3rem;
  padding-bottom:4.5rem;
  color:#fff;
}

/* Headline + intro */
.featured-builds h2 {
  font-size:clamp(1.4rem,2vw,1.8rem);
  font-weight:700;
  letter-spacing:.035em;
  color:#fff;
  text-shadow:0 2px 6px rgba(0,0,0,.8);
  margin-bottom:1rem;
  text-transform:uppercase;
}
.featured-builds h2 span {
  color:var(--sc-yellow);
  letter-spacing:.02em;
}
.featured-builds .section-desc {
  font-size:.95rem;
  max-width:680px;
  line-height:1.5;
  margin:0 auto 2rem auto;
  color:#bfbfbf;
  text-align:center;
}

/* ===========================
   CARD WRAPPER
   =========================== */
.build-card {
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.06) 0%, rgba(0,0,0,0) 70%),
    rgba(20,20,20,.9);
  border:1px solid rgba(255,255,255,.05);
  box-shadow:0 30px 60px rgba(0,0,0,.8);
  transition:
    transform .35s cubic-bezier(.19,1,.22,1),
    box-shadow .35s ease;
  will-change:transform, box-shadow;
}

/* Car image block
   - match radius with card (12px not 16px)
*/
.build-card img {
  width:100%;
  height:auto;
  display:block;
  border-radius:12px 12px 0 0; /* synced to card radius */
  object-fit:cover;
  filter:brightness(.9) contrast(1.05);
  transition:transform .5s ease, filter .4s ease;
}

/* Lower content area under the car image
   - add more vertical padding at the top to let the headline breathe
*/
.build-overlay {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.06) 0%, rgba(0,0,0,0) 70%),
    var(--sc-bg-card);
  border-top:1px solid rgba(255,255,255,.07);
  border-radius:0 0 12px 12px;        /* synced radius */
  color:#fff;
  padding:1.5rem 1.25rem 1.5rem;      /* was 1.25 / 1.25 / 1.5 */
  display:flex;
  flex-direction:column;
}

/* Card heading (vehicle name) */
.build-overlay h3 {
  color:var(--sc-yellow);
  font-weight:600;
  font-size:1.05rem;
  line-height:1.35;
  letter-spacing:.02em;
  margin:0 0 .75rem;                 /* was margin:1rem 0 .5rem; 
                                        now headline sits a touch lower but feels cleaner */
}

/* Card description */
.build-overlay p {
  color:#cfcfcf;
  font-size:.95rem;
  line-height:1.5;
  margin:0;
}

/* CTA button */
.build-overlay .btn {
  border:1px solid var(--sc-yellow);
  color:#fff;
  background:rgba(255,190,61,.08);
  font-size:.9rem;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:.55rem 1.3rem;
  border-radius:6px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  transition:all .25s ease;
  margin-top:1.25rem;                /* was 1rem -> gives button its own block of space */
  box-shadow:0 0 0 rgba(0,0,0,0);
}
.build-overlay .btn:hover {
  background:var(--sc-yellow);
  color:#111;
  box-shadow:0 0 18px rgba(255,190,61,.45);
}

/* Hover state: lift card, brighten image, subtle Scopione glow */
.build-card:hover {
  transform:translateY(-4px);
  box-shadow:
    0 40px 80px rgba(0,0,0,.9),
    0 0 30px rgba(255,190,61,.18);
}
.build-card:hover img {
  transform:scale(1.05);
  filter:brightness(1.05) contrast(1.1);
}

/* Cinematic sweep highlight on hover */
.build-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    75deg,
    transparent 45%,
    rgba(255,255,255,.4) 50%,
    transparent 55%
  );
  mix-blend-mode:screen;
  opacity:0;
  transform:translateX(-100%);
  pointer-events:none;
}
.build-card:hover::after {
  animation:shine 2.4s ease-out forwards;
}
@keyframes shine {
  0%   {opacity:0; transform:translateX(-100%);}
  15%  {opacity:1;}
  100% {opacity:0; transform:translateX(100%);}
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width:768px){
  .featured-builds {
    padding-top:3rem;
    padding-bottom:3rem;
  }

  .featured-builds h2 {
    font-size:1.3rem;
    letter-spacing:.03em;
  }

  .featured-builds .section-desc {
    font-size:.9rem;
    margin-bottom:1.5rem;
    color:#bfbfbf;
  }

  /* mobile vertical spacing between cards */
  .featured-builds .row {
    row-gap:1.25rem;
  }
  .featured-builds .row > [class*="col"] {
    margin-bottom:1.25rem;
  }
  .featured-builds .row > [class*="col"]:last-child {
    margin-bottom:0;
  }

  .build-card {
    border-radius:14px;
    box-shadow:
      0 24px 40px rgba(0,0,0,.9),
      0 0 0 1px rgba(255,255,255,.07);
  }

  .build-card img {
    border-radius:14px 14px 0 0;
  }

  .build-overlay {
    border-radius:0 0 14px 14px;
    padding:1rem 1rem 1.25rem;
  }

  .build-overlay h3 {
    font-size:1rem;
    margin:.75rem 0 .5rem;
  }

  .build-overlay p {
    font-size:.9rem;
  }

  .build-overlay .btn {
    font-size:.8rem;
    padding:.5rem 1rem;
    margin-top:1rem;
  }

  /* kill hover "jump" on touch press */
  .build-card:hover {
    transform:none;
    box-shadow:
      0 24px 40px rgba(0,0,0,.9),
      0 0 0 1px rgba(255,255,255,.07);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .build-card::after {
    animation: none;
  }
}

/* ==========================================================================
   SHOP TICKER SECTION (lines 995-1179)
   ========================================================================== */
.sc-shop-ticker{
  --sc-yellow:#ffbe3d;
  --sc-speed: 20s;

  /* +30% presence */
  --sc-pad-y: 16px;
  --sc-font: 21px;

  /* Full-bleed breakout (works inside any centered container) */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  position: relative;
  display: block;
  overflow: hidden;
  z-index: 2;

  /* No added gaps */
  margin: 0 !important;

  /* Carbon-lux twill background */
  background:
    radial-gradient(120% 180% at 50% 35%, rgba(255,190,61,.10) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(10,10,10,.985), rgba(20,20,20,.985)),
    repeating-linear-gradient(45deg,
      rgba(255,255,255,.030) 0px,
      rgba(255,255,255,.030) 2px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 9px
    ),
    repeating-linear-gradient(-45deg,
      rgba(0,0,0,.40) 0px,
      rgba(0,0,0,.40) 3px,
      rgba(0,0,0,0) 3px,
      rgba(0,0,0,0) 10px
    );

  border: 0 !important;
  outline: 0 !important;

  box-shadow:
    0 18px 52px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.75);

  padding: var(--sc-pad-y) 0;
  box-sizing: border-box;
}

.sc-shop-ticker,
.sc-shop-ticker *{ box-sizing: border-box; }

/* Overlays BEHIND content */
.sc-shop-ticker::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    /* top/bottom feather */
    linear-gradient(180deg,
      rgba(0,0,0,.52) 0%,
      rgba(0,0,0,0) 42%,
      rgba(0,0,0,0) 58%,
      rgba(0,0,0,.52) 100%
    ),
    /* left/right cinematic fade */
    linear-gradient(90deg,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,0) 16%,
      rgba(0,0,0,0) 84%,
      rgba(0,0,0,.92) 100%
    );
}

.sc-shop-ticker::after{
  content:"";
  position:absolute;
  left:-12%;
  right:-12%;
  top: 50%;
  height: 66%;
  transform: translateY(-50%);
  pointer-events:none;
  z-index:0;
  background: radial-gradient(60% 90% at 50% 45%, rgba(255,255,255,.06), rgba(255,255,255,0) 65%);
  opacity: .72;
}

/* Content above overlays */
.sc-shop-ticker__wrap{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:center;
  width:100%;
  overflow:hidden;
}

.sc-shop-ticker__track{
  display:flex;
  width:max-content;
  will-change: transform;
  animation: scShopTickerLux var(--sc-speed) linear infinite;
}

@keyframes scShopTickerLux{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* requires duplicated chunk */
}

@media (hover:hover) and (pointer:fine){
  .sc-shop-ticker:hover .sc-shop-ticker__track{
    animation-play-state: paused;
  }
}

.sc-shop-ticker__chunk{
  display:inline-flex;
  align-items:center;
  gap: 22px;
  padding: 0 26px;
}

.sc-shop-ticker__text{
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 900;
  font-size: var(--sc-font);
  line-height: 1;
  letter-spacing: .70px;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  text-shadow:
    0 14px 30px rgba(0,0,0,.55),
    0 1px 0 rgba(0,0,0,.55);
  white-space: nowrap;
}

.sc-shop-ticker__accent{
  color: var(--sc-yellow);
  text-shadow:
    0 14px 30px rgba(0,0,0,.60),
    0 0 22px rgba(255,190,61,.18);
}

/* Jewel dots */
.sc-shop-ticker__dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%),
    radial-gradient(circle at 50% 50%, rgba(255,190,61,.75), rgba(255,190,61,.20) 65%, rgba(255,190,61,0) 73%);
  box-shadow:
    0 0 0 2px rgba(255,190,61,.10),
    0 12px 26px rgba(0,0,0,.38);
  flex: 0 0 auto;
  opacity: .96;
}

/* Mobile tuning */
@media (max-width: 600px){
  .sc-shop-ticker{
    --sc-pad-y: 14px;
    --sc-font: 16px;
    --sc-speed: 18s;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .sc-shop-ticker__track{
    animation: none;
    transform: none;
  }
  .sc-shop-ticker__wrap{
    justify-content: center;
  }
}

/* ==========================================================================
   CARBON LAB SECTION (lines 1306-1672)
   ========================================================================== */

/* Section wrapper */
.sc-lab-block{
  position:relative;
  background:radial-gradient(1200px 600px at 20% -10%, rgba(255,190,61,.12) 0%, rgba(0,0,0,0) 70%),
             radial-gradient(800px 400px at 80% 110%, rgba(255,190,61,.06) 0%, rgba(0,0,0,0) 70%),
             linear-gradient(#111,#000 70%);
  padding:3rem 0 3rem;
  overflow:hidden;
  isolation:isolate;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}

/* inner 2-col layout */
.sc-lab-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,480px);
  gap:3rem;
  align-items:start;
  position:relative;
  z-index:2;
}

/* LEFT SIDE TEXT */
.sc-eyebrow{
  font-size:.8rem;
  letter-spacing:.1em;
  margin-bottom:.5rem;
}

.sc-headline{
  font-size:1.8rem;
  line-height:1.2;
  color:var(--sc-text-light);
  margin-bottom:1rem;
  letter-spacing:.02em;
}
.sc-headline .text-warning{
  color:var(--sc-yellow) !important;
}

.sc-lead{
  font-size:1rem;
  line-height:1.5;
  max-width:55ch;
  color:#d0d0d0;
  margin-bottom:2rem;
}

/* METRICS ROW */
.sc-metrics{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  margin-bottom:2rem;
}
.sc-metric-value{
  font-size:1.4rem;
  line-height:1.1;
  font-weight:600;
  color:var(--sc-yellow);
  text-shadow:0 0 18px rgba(255,190,61,.4);
}
.sc-metric-label{
  font-size:.8rem;
  line-height:1.4;
  color:var(--sc-text-dim);
  max-width:12rem;
}

/* CTAs */
.sc-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem 1rem;
  margin-bottom:1.5rem;
}
.sc-cta-primary{
  display:inline-block;
  background:var(--sc-yellow);
  color:#111;
  font-weight:600;
  font-size:.9rem;
  line-height:1.2;
  padding:.7rem 1rem;
  border-radius:8px;
  text-decoration:none;
  box-shadow:0 0 24px rgba(255,190,61,.45);
  border:1px solid var(--sc-yellow);
  transition:all .2s ease;
}
.sc-cta-primary:hover{
  box-shadow:0 0 36px rgba(255,190,61,.6);
  transform:translateY(-2px);
  color:#000;
}
.sc-cta-secondary{
  display:inline-block;
  background:rgba(255,255,255,.05);
  color:#fff;
  font-weight:500;
  font-size:.9rem;
  line-height:1.2;
  padding:.7rem 1rem;
  border-radius:8px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 0 24px rgba(0,0,0,.9);
  transition:all .2s ease;
}
.sc-cta-secondary:hover{
  background:#fff;
  color:#000;
  box-shadow:0 0 32px rgba(255,255,255,.4);
  transform:translateY(-2px);
}

/* TRUST BADGES */
.sc-trust{
  display:flex;
  flex-wrap:wrap;
  gap:1rem 2rem;
  padding:0;
  margin:0;
  list-style:none;
  font-size:.8rem;
  color:var(--sc-text-dim);
}
.sc-trust li{
  position:relative;
  padding-left:1.25rem;
  line-height:1.4;
}
.sc-trust li::before{
  content:"✓";
  color:var(--sc-yellow);
  font-weight:600;
  position:absolute;
  left:0;
  top:0;
  text-shadow:0 0 12px rgba(255,190,61,.5);
}

/* RIGHT SIDE CARD */
.sc-lab-right{
  display:flex;
  justify-content:center;
}

.sc-part-card{
  background:radial-gradient(circle at 20% 0%,rgba(255,190,61,.12) 0%,rgba(0,0,0,0) 60%),
             rgba(17,17,17,.8);
  border:1px solid rgba(255,255,255,.08);
  border-radius:1rem;
  box-shadow:
    0 50px 120px rgba(0,0,0,.9),
    0 0 60px rgba(255,190,61,.18);
  max-width:480px;
  width:100%;
  overflow:hidden;
  position:relative;
}

/* product media area */
.sc-part-media{
  position:relative;
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.sc-part-img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  filter:brightness(1.05) contrast(1.1);
}

/* moving gloss sweep */
.sc-gloss-pass{
  pointer-events:none;
  position:absolute;
  inset:0;
  background:linear-gradient(75deg,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,.4) 50%,
    rgba(255,255,255,0) 55%);
  mix-blend-mode:screen;
  opacity:0;
  animation:glossSweep 4s ease-in-out infinite;
}
@keyframes glossSweep{
  0%   {opacity:0; transform:translateX(-120%);}
  20%  {opacity:1;}
  60%  {opacity:0; transform:translateX(120%);}
  100% {opacity:0; transform:translateX(120%);}
}

/* text under media */
.sc-part-info{
  padding:1rem 1.25rem 1.25rem;
}
.sc-part-tag{
  font-size:.7rem;
  letter-spacing:.08em;
  margin-bottom:.5rem;
}
.sc-part-name{
  font-size:1rem;
  line-height:1.4;
  color:#fff;
}
.sc-part-desc{
  font-size:.85rem;
  line-height:1.4;
  color:#bfbfbf;
  margin:.5rem 0 1rem;
}
.sc-view-link{
  font-size:.8rem;
  line-height:1.2;
  text-decoration:none;
  color:var(--sc-yellow);
  display:inline-block;
}
.sc-view-link:hover{
  text-shadow:0 0 16px rgba(255,190,61,.6);
  color:var(--sc-yellow);
}

/* animated textured background behind block */
.sc-carbon-bg{
  position:absolute;
  inset:0;
  background:
  radial-gradient(1200px 600px at 10% -10%, rgba(255,190,61,.08), transparent 60%),
  linear-gradient(180deg,#1a1a1a 0%, #0f0f0f 100%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 7px, rgba(255,255,255,0) 7px 14px),
  repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 7px, rgba(255,255,255,0) 7px 14px);
background-position:center;
background-size:cover;
  opacity:.2;
  mix-blend-mode:overlay;
  animation:carbonDrift 30s linear infinite alternate;
  z-index:0;
}
@keyframes carbonDrift{
  from{transform:scale(1) translateY(0);}
  to{transform:scale(1.07) translateY(-2%);}
}

/* edge vignettes so content feels spotlighted */
.sc-vignette-top,
.sc-vignette-bottom{
  position:absolute;
  left:0;
  right:0;
  height:6rem;
  pointer-events:none;
  z-index:1;
}
.sc-vignette-top{
  top:0;
  background:linear-gradient(#000 0%,rgba(0,0,0,0) 100%);
  opacity:.6;
}
.sc-vignette-bottom{
  bottom:0;
  background:linear-gradient(rgba(0,0,0,0) 0%,#000 100%);
  opacity:.8;
}

/* RESPONSIVE */
@media (max-width:992px){

  /* layout becomes 1-column and centers */
  .sc-lab-inner{
    grid-template-columns:1fr;
    text-align:center;
    max-width:600px;
  }

  .sc-lab-right{
    order:-1;
    justify-content:center;
  }

  /* headline scales down slightly */
  .sc-headline{
    font-size:1.5rem;
  }

  /* intro text centered and not crazy wide */
  .sc-lead{
    margin-left:auto;
    margin-right:auto;
    max-width:38ch;
    text-align:center;
  }

  /* metrics become vertical "spec list", centered */
  .sc-metrics{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:1.25rem;
    margin-left:auto;
    margin-right:auto;
  }
  .sc-metric-value{
    font-size:1.3rem;
  }
  .sc-metric-label{
    max-width:20rem;
  }

  /* ctas stack full-width-ish and center */
  .sc-cta-row{
    justify-content:center;
  }
  .sc-cta-primary,
  .sc-cta-secondary{
    width:100%;
    max-width:320px;
    text-align:center;
  }

  /* Center trust badges on smaller screens */
  .sc-trust{
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
    gap:.75rem;
    margin:1rem auto 0;
    padding:0;
  }
  .sc-trust li{
    padding-left:0;
    position:relative;
    list-style:none;
  }
  .sc-trust li::before{
    position:relative;
    display:inline-block;
    margin-right:.5rem;
    left:auto;
    top:auto;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .sc-gloss-pass,
  .sc-carbon-bg {
    animation: none;
  }
}

/* ==========================================================================
   KNOWLEDGE CARDS SECTION (lines 1771-2012)
   ========================================================================== */

/* ===========================
   SECTION WRAPPER
   =========================== */
.sc-knowledge {
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(255,190,61,.07), transparent 70%),
    linear-gradient(180deg,#0c0c0c 0%,#1a1a1a 100%);
  padding-top:2rem;
  padding-bottom:.5rem;
  color:#fff;
}

/* Headline + intro */
.sc-knowledge h2 {
  font-size:clamp(1.4rem,2vw,1.8rem);
  font-weight:700;
  letter-spacing:.035em;
  color:#fff;
  text-shadow:0 2px 6px rgba(0,0,0,.8);
  margin-bottom:1rem;
  text-transform:uppercase;
}
.sc-knowledge h2 span {
  color:var(--sc-yellow);
  letter-spacing:.02em;
}
.sc-knowledge .section-desc {
  font-size:.95rem;
  max-width:680px;
  line-height:1.5;
  margin:0 auto 2rem auto;
  color:#bfbfbf;
  text-align:center;
}

/* ===========================
   CARD WRAPPER
   =========================== */
.knowledge-card {
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.06) 0%, rgba(0,0,0,0) 70%),
    rgba(20,20,20,.9);
  border:1px solid rgba(255,255,255,.05);
  box-shadow:0 30px 60px rgba(0,0,0,.8);
  transition:
    transform .35s cubic-bezier(.19,1,.22,1),
    box-shadow .35s ease;
  will-change:transform, box-shadow;
}

/* Thumbnail */
.knowledge-card .knowledge-img {
  width:100%;
  height:auto;
  display:block;
  border-radius:12px 12px 0 0;
  object-fit:cover;
  filter:brightness(.9) contrast(1.05);
  transition:transform .5s ease, filter .4s ease;
  max-height:220px;
}

/* Text area */
.knowledge-overlay {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.06) 0%, rgba(0,0,0,0) 70%),
    var(--sc-bg-card);
  border-top:1px solid rgba(255,255,255,.07);
  border-radius:0 0 12px 12px;
  color:#fff;
  padding:1.5rem 1.25rem 1.5rem;
  display:flex;
  flex-direction:column;
}

/* Card heading */
.knowledge-overlay h3 {
  color:var(--sc-yellow);
  font-weight:600;
  font-size:1.05rem;
  line-height:1.35;
  letter-spacing:.02em;
  margin:0 0 .75rem;
}

/* Card description */
.knowledge-overlay p {
  color:#cfcfcf;
  font-size:.95rem;
  line-height:1.5;
  margin:0;
}

/* CTA button */
.knowledge-overlay .btn {
  border:1px solid var(--sc-yellow);
  color:#fff;
  background:rgba(255,190,61,.08);
  font-size:.9rem;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:.55rem 1.3rem;
  border-radius:6px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  transition:all .25s ease;
  margin-top:1.25rem;
  box-shadow:0 0 0 rgba(0,0,0,0);
}
.knowledge-overlay .btn:hover {
  background:var(--sc-yellow);
  color:#111;
  box-shadow:0 0 18px rgba(255,190,61,.45);
}

/* Hover state */
.knowledge-card:hover {
  transform:translateY(-4px);
  box-shadow:
    0 40px 80px rgba(0,0,0,.9),
    0 0 30px rgba(255,190,61,.18);
}
.knowledge-card:hover .knowledge-img {
  transform:scale(1.05);
  filter:brightness(1.05) contrast(1.1);
}

/* Cinematic shine sweep */
.knowledge-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    75deg,
    transparent 45%,
    rgba(255,255,255,.4) 50%,
    transparent 55%
  );
  mix-blend-mode:screen;
  opacity:0;
  transform:translateX(-100%);
  pointer-events:none;
}
.knowledge-card:hover::after {
  animation:shine 2.4s ease-out forwards;
}

@keyframes shine {
  0%   {opacity:0; transform:translateX(-100%);}
  15%  {opacity:1;}
  100% {opacity:0; transform:translateX(100%);}
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width:768px){
  .sc-knowledge {
    padding-top:2.5rem;
    padding-bottom:0rem;
  }

  .sc-knowledge h2 {
    font-size:1.3rem;
    letter-spacing:.03em;
  }

  .sc-knowledge .section-desc {
    font-size:.9rem;
    margin-bottom:1.5rem;
    color:#bfbfbf;
  }

  .sc-knowledge .row {
    row-gap:1.25rem;
  }
  .sc-knowledge .row > [class*="col"] {
    margin-bottom:1.25rem;
  }
  .sc-knowledge .row > [class*="col"]:last-child {
    margin-bottom:0;
  }

  .knowledge-card {
    border-radius:14px;
    box-shadow:
      0 24px 40px rgba(0,0,0,.9),
      0 0 0 1px rgba(255,255,255,.07);
  }

  .knowledge-card .knowledge-img {
    border-radius:14px 14px 0 0;
    max-height:200px;
    object-fit:cover;
  }

  .knowledge-overlay {
    border-radius:0 0 14px 14px;
    padding:1rem 1rem 1.25rem;
  }

  .knowledge-overlay h3 {
    font-size:1rem;
    margin:.75rem 0 .5rem;
  }

  .knowledge-overlay p {
    font-size:.9rem;
  }

  .knowledge-overlay .btn {
    font-size:.8rem;
    padding:.5rem 1rem;
    margin-top:1rem;
  }

  .knowledge-card:hover {
    transform:none;
    box-shadow:
      0 24px 40px rgba(0,0,0,.9),
      0 0 0 1px rgba(255,255,255,.07);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .knowledge-card::after {
    animation: none;
  }
}
