@charset "utf-8";
/* CSS Document */

:root{
  --bg:#ffffff;
  --ink:#111111;
  --cta:#c8102e;
  --overlay: rgba(0,0,0,.5);
  --gap: 16px;
  --radius: 10px;
}

html,body{
  margin:0; padding:0;
  background:var(--bg); color:var(--ink);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif
}
img{ max-width:100%; display:block; height:auto; }

/* 1280px desktop container cap */
.wrap{ max-width:1280px; margin:0 auto; padding:0 16px 20px }


/* Base button */
.btn{
  display:inline-block;
  font-weight:800;
  text-decoration:none;
  line-height:1.2;                     /* gives text a little breathing room */
  font-size:clamp(1rem, 1.2vw, 1.25rem); /* scales from 16px → ~20px */
  padding:clamp(.75rem, 1vw, 1rem) clamp(1.25rem, 2vw, 2rem);
  border-radius:.75rem;                 /* default rounded */
}

/* Shape */
.btn--pill{ border-radius:9999px; }

/* Variants */
.btn--cta{
  background: var(--cta);
  color:#fff;
}
.btn--cta:hover{ background:#e01836; }
.btn--cta:active{ background:#b50e27; transform: translateY(1px); }

.btn--dark{
  background: rgba(0,0,0,.55);
  color:#fff;
}
.btn--dark:hover{ background: rgba(0,0,0,.65); }



/* 2) keep section spacing tiny */

.pdp-specs-grid,
.pdp-feature-block{ margin-block: 8px; }

/* 3) no extra vertical padding on the specs grid */
.pdp-specs-grid{ padding-block: 0; }

/* Header */
/* Header: sticky baseline */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;                     /* ensure above full-bleed sections */
  background: var(--bg);
  color: #111;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, padding .25s ease;
}

/* Scrolled state: turn red + white logo/text */
.site-header.is-scrolled{
  background: var(--cta);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* If your hamburger uses lines */
.site-header.is-scrolled .ham-line{ background:#fff; }
.bar{
  display:grid; grid-template-columns:1fr auto; align-items:center;
  padding:0; min-height:30px;
}

.logo{
  justify-self:center; position:relative;
  height:30px;        /* visible logo height */
  width:max-content;  /* wrapper sizes from in-flow content */
}
.logo img, .logo svg{ height:100%; width:auto; display:block; }

.logo .logo-default{
  position:static; opacity:1; transition:opacity .18s ease;
}
/* Scrolled logo: stacked on top, hidden initially */
.logo .logo-scrolled{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%, -50%);
  opacity:0; transition:opacity .18s ease;
}

.site-header .bar{
  display:grid; grid-template-columns:1fr auto; align-items:center;
  padding:14px 0 10px; transition:padding .25s ease;
}
/* When scrolled, shrink height */
.site-header.is-scrolled .bar{ padding:3px 0; }

.site-header .wrap{ padding: 0 16px; } /* no bottom padding */

/* Tighter header spacing + shrink on scroll */
.site-header .bar{ padding: 8px 0; }
.site-header.is-scrolled .bar{ padding: 3px 0; }

/* Optional: shrink logo on scroll too */
.site-header .logo { height: 28px; }
.site-header.is-scrolled .logo { height: 24px; }

/* On scroll: fade default out, scrolled in */
.site-header.is-scrolled .logo .logo-default{ opacity:0; }
.site-header.is-scrolled .logo .logo-scrolled{ opacity:1; }

@media (prefers-reduced-motion: reduce){
  .logo .logo-default, .logo .logo-scrolled{ transition:none; }
}


/* --- Centering upgrade: keep scroll behavior, perfect middle logo --- */
.site-header .bar{
  /* change from 1fr auto → 1fr auto 1fr */
  grid-template-columns: 1fr auto 1fr;  /* L | CENTER | R */
  align-items: center;                   /* keep vertical centering */
}

/* Put the logo in the middle column */
.site-header .logo{
  grid-column: 2;
  justify-self: center;
}

/* Right edge controls (hamburger on mobile, nav on desktop) */
.site-header .hamburger{ grid-column: 3; justify-self: end; }
.site-header .nav-main { grid-column: 3; justify-self: end; } /* if you show a desktop nav */

/* Optional: if you ever add a left utility (back button, phone, etc.) */
.site-header .left-utility{ grid-column: 1; justify-self: start; }



.hamburger{ appearance:none; border:0; background:transparent; padding:8px; margin:0; line-height:0; cursor:pointer }
.ham-box{ width:28px; height:20px; position:relative; display:inline-block }
.ham-line{ position:absolute; left:0; right:0; height:2px; background:#000; border-radius:2px; transition:transform .25s,opacity .2s,top .25s }
.ham-line:nth-child(1){ top:0 }
.ham-line:nth-child(2){ top:9px }
.ham-line:nth-child(3){ top:18px }
.hamburger[aria-expanded="true"] .ham-line:nth-child(1){ top:9px; transform:rotate(45deg) }
.hamburger[aria-expanded="true"] .ham-line:nth-child(2){ opacity:0 }
.hamburger[aria-expanded="true"] .ham-line:nth-child(3){ top:9px; transform:rotate(-45deg) }

/* Drawer */
.drawer{ position:fixed; inset:0; pointer-events:none }
.drawer.is-open{ pointer-events:auto }
.drawer .scrim{
  position:absolute; inset:0; background:var(--overlay);
  opacity:0; transition:opacity .25s
}
.drawer.is-open .scrim{ opacity:1 }
.drawer-panel{
  position:absolute; top:0; right:0; width:82%; max-width:320px; height:100%;
  background:#fff; box-shadow:-6px 0 20px rgba(0,0,0,.12);
  transform:translateX(100%); transition:transform .25s; padding:24px 20px 24px 24px
}
.drawer.is-open .drawer-panel{ transform:translateX(0) }
.nav a{ display:block; padding:12px 0; text-decoration:none; color:var(--ink); font-weight:600; border-bottom:1px solid #eee }
.nav a:last-child{ border-bottom:0 }

/* Close “X” inside drawer */
.close-btn{
  position:absolute; top:6px; right:6px; border:0; background:transparent; cursor:pointer;
  padding:10px; line-height:0; border-radius:10px
}
.close-btn:focus-visible{ outline:2px solid #000; outline-offset:2px }
.close-btn svg{ width:24px; height:24px; display:block }

/* Feature Grid: ALWAYS 2 columns (50/50), even on very small phones */
.grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); margin:6px 0 var(--gap) }
.tile{ position:relative; border-radius:var(--radius); overflow:hidden; background:#f2f2f2 }
.tile .img{ width:100%; aspect-ratio:1.25/1; object-fit:cover }

.badge{
  position:absolute; top:10px; left:10px;
  background:rgba(0,0,0,0.75); color:#fff;
  padding:4px 8px; border-radius:6px; font-weight:700; letter-spacing:.05em;
  font-size:.75rem; line-height:1.2;
}
/* bump size and padding on larger screens */
@media (min-width: 768px){
  .badge{ font-size: 1.9rem; padding: 6px 12px; }
}
@media (min-width: 1200px){
  .badge{ font-size: 3.1rem; padding: 8px 14px; }
}

/* Banner: stays on second row and spans full width of the 2-col grid */
.banner{ grid-column:1 / -1; position:relative; border-radius:var(--radius); overflow:hidden }
.banner .img{ aspect-ratio:2.2/1; object-fit:cover }
.banner .copy{
  position:absolute; bottom:10px; left:10px; right:10px; color:#fff;
  font-weight:900; text-transform:uppercase; line-height:1.05;
  text-align: right; text-shadow:0 2px 6px rgba(0,0,0,.55)
}
.banner .kicker{ display:block; font-size:14px; font-weight:800; opacity:.95; margin-top:6px }

.banner .pill{
  position:absolute; top:50%; left:50%; transform:translate(-50%, -50%);
  display:inline-block; padding:8px 16px; border-radius:999px;
  background:rgba(200,16,46,.85); color:#fff; font-weight:800; text-transform:uppercase;
  font-size:13px; white-space:nowrap; text-shadow:0 2px 6px rgba(0,0,0,.55); z-index:2;
}
/* bump up size on larger screens */
@media (min-width: 768px){
  .banner .pill{ font-size: 24px; padding: 10px 22px; }
}

/* ===== CTA HERO (final) ===== */
.cta-hero{
  margin-top: var(--gap);
  position: relative;
  overflow: hidden;             /* clip bg + overlay to rounded corners */
  border-radius: var(--radius);
  min-height: 200px;
}
.cta-hero .bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.cta-hero .bg img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.cta-hero::before{
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,.05));
}
.cta-hero .cta{
  background:transparent; color:#fff; text-decoration:none;
  position:absolute; inset:0; z-index:2;
  display:flex; align-items:center; justify-content:center; text-align:center; font-weight:800;
  padding:0 24px; min-height:0; border-radius:0; text-shadow:0 2px 8px rgba(0,0,0,.35);
}
.cta-hero .cta .pill{ display:inline-block; padding:10px 16px; border-radius:999px; background:rgba(200,16,46,.85); }
@media (min-width:1024px){
  .cta-hero{ height:400px; min-height:unset; }
}

/* Row 4: three CTAs (stack on mobile, 3-up on ≥768px) */
.cta-grid{ display:grid; gap:var(--gap); grid-template-columns:1fr; margin-top:var(--gap); }
@media (min-width: 992px){ .cta-grid{ grid-template-columns: repeat(3, 1fr); } }

.cta-row{
  position:relative; margin-top:var(--gap);
  border-radius:var(--radius); overflow:hidden;
  padding:40px 20px; text-align:center;
  display:grid; gap:var(--gap); place-items:center; grid-template-columns:1fr;
  min-height:220px; box-shadow:0 4px 12px rgba(0,0,0,.15);
  transition: transform .25s ease; text-decoration:none; color:inherit; cursor:pointer;
}
.cta-row:hover{ transform: scale(1.03); }
.cta-row .cta-link{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  text-decoration:none; color:inherit; cursor:pointer;
}
.cta-row .cta{
  background: rgba(0,0,0,0.55); color:#fff; border-radius: var(--radius);
  padding:18px 28px; font-weight:800; text-decoration:none; position:relative; z-index:1;
  transition: transform .2s ease, background .2s ease;
}
.cta-row .cta:hover{ background: rgba(0,0,0,.65); }
.cta-row .cta:active{ transform: translateY(1px); }
.cta-row .cta small{ display:block; font-weight:600; opacity:.9; }
.cta-row::before{ content:""; position:absolute; inset:0; background:rgba(0,0,0,.10); pointer-events:none; z-index:0; }

/* Per-row backgrounds */
.cta-row--wheels  { background: url("../images/cta-banner-wheels.webp") center/cover no-repeat; }
.cta-row--lifts   { background: url("../images/cta-banner-lifts1.webp") center/cover no-repeat; }
.cta-row--dealers { background: url("../images/cta-dealers.webp") center/cover no-repeat; }
.cta-row--225     { background: url("../images/cta-225.webp") center/cover no-repeat; }
.cta-row--245     { background: url("../images/cta-245.webp") center/cover no-repeat; }
.cta-row--305     { background: url("../images/cta-305.webp") center/cover no-repeat; }

/* Mobile behavior: make the CTA fill the row width */
@media (max-width: 767.98px){
  .cta-row .cta{ width:100%; max-width:none; }
}

/* If you ever want a row with 3 CTAs side-by-side on tablet+ */
@media (min-width: 768px){
  .cta-row--triple { grid-template-columns: repeat(3, 1fr); }
  .cta-row--triple .cta { width: 100%; }
}

/* Hero Banner (short top unit) */
.hero-banner{
  --hero-h: clamp(140px, 22vw, 200px);
  position: relative; height: var(--hero-h);
  border-radius: var(--radius); overflow: hidden;
}
.hero-banner .img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; aspect-ratio:auto;
}
.hero-banner .pill, .hero-banner .badge, .hero-banner .copy{ z-index:2; position:relative; }
.hero-banner .pill{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  display:inline-block; padding:8px 16px; border-radius:999px; background:rgba(200,16,46,.85);
  color:#fff; font-weight:800; text-transform:uppercase; font-size:13px; white-space:nowrap; text-shadow:0 2px 6px rgba(0,0,0,.55);
}
@media (min-width:768px){ .hero-banner .pill{ font-size: 20px; padding: 10px 22px; } }
.hero-banner .badge{
  position:absolute; top:10px; left:10px; background:rgba(0,0,0,.75); color:#fff;
  padding:4px 8px; border-radius:6px; font-weight:700; letter-spacing:.05em; font-size:.75rem; line-height:1.2;
}
@media (min-width:768px){ .hero-banner .badge{ font-size:1.95rem; padding:6px 12px; } }
@media (min-width:1200px){ .hero-banner .badge{ font-size:3.1rem; padding:8px 14px; } }
.hero-banner .copy{
  position:absolute; bottom:8px; right:10px; left:10px; color:#fff; font-weight:900; text-transform:uppercase; line-height:1.05;
  text-align:right; text-shadow:0 2px 6px rgba(0,0,0,.55);
}
.hero-banner .copy div{ font-size:20px; }
.hero-banner .kicker{ display:block; font-size:12px; font-weight:800; opacity:.95; margin-top:6px; }

/* ===== Feature row (image + copy) ===== */
.feature-row{
  display:grid; grid-template-columns: 3fr 5fr; gap: var(--gap);
  margin: var(--gap) 0; align-items: stretch;
}
.feature-media{
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.feature-media img{
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px;
}
.feature-copy{
  border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.12);
  background: #fff; padding: clamp(14px, 2.2vw, 28px);
  display:flex; flex-direction:column; justify-content:center; gap:10px;
}
.feature-copy .eyebrow{ font-weight:900; text-transform:uppercase; letter-spacing:.02em; opacity:.9; }
.feature-copy h2{ margin:0 0 6px; font-size: clamp(22px, 2.6vw, 36px); line-height:1.05; font-weight:900; text-transform:uppercase; }
.feature-copy p{ margin:0; font-weight:700; line-height:1.35; }

/* Responsive: stack on mobile */
@media (max-width: 767.98px){
  .feature-row{ grid-template-columns:1fr; }
  .feature-media{ height: clamp(180px, 45vw, 280px); }
  .feature-media img{ height:100%; min-height:0; }
  .feature-copy{ padding:16px; }
}

/* ===== Alternating layout for .feature-row ===== */
/* Swap the order of media and copy on desktop/tablet */
.feature-row--reverse .feature-media { order: 2; }
.feature-row--reverse .feature-copy  { order: 1; }

/* Keep the same column sizes as the normal row */
.feature-row--reverse {
  grid-template-columns: 3fr 5fr; /* matches .feature-row */
}

/* On mobile you already stack; reset the ordering there */
@media (max-width: 767.98px){
  .feature-row--reverse .feature-media,
  .feature-row--reverse .feature-copy { order: unset; }
}
/* Fix oversized image in alternating feature rows */
@media (min-width: 768px){
  /* Give media a predictable box on tablet/desktop */
  .feature-row .feature-media{
    aspect-ratio: 4 / 3;         /* try 16/9 if you prefer shorter cards */
  }
  .feature-row .feature-media img{
    height: 100%;                 /* fill the box */
    min-height: 0;                /* cancel the global 220px floor */
    object-fit: cover;            /* crop nicely */
  }
}

/* (Optional) If you want a slightly taller crop on big screens */
@media (min-width: 1200px){
  .feature-row .feature-media{
    aspect-ratio: 5 / 4;          /* comment out if you like 4/3 */
  }
}

/* ==== PDP: Gallery (Horizontal Rail) ==== */
.pdp-hero{ position: relative; background:#151515; overflow:hidden; }

.pdp-hero{
  /* match the rail padding so fades line up exactly */
  --pad-x: 18px;   /* rail padding-inline on mobile */
  --pad-y: 18px;   /* rail padding-top/bottom */
}
@media (min-width:992px){
  .pdp-hero{ --pad-x: 8px; }  /* rail padding-inline on desktop */
}

.pdp-hero::before,
.pdp-hero::after{
  content:"";
  position:absolute;
  top: var(--pad-y);
  bottom: var(--pad-y);
  width: 40px;               /* was 60px; adjust to taste */
  pointer-events:none;
  z-index: 15;               /* above images, below buttons */
}

.pdp-hero::before{
  left: var(--pad-x);
  background: linear-gradient(90deg, rgba(21,21,21,.9), rgba(21,21,21,0));
}
.pdp-hero::after{
  right: var(--pad-x);
  background: linear-gradient(270deg, rgba(21,21,21,.9), rgba(21,21,21,0));
}

/* Scrollable, draggable rail */
.pdp-rail{
  position: relative; display:flex;
  touch-action: pan-y;             /* vertical page scroll allowed; we handle horizontal */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* old Edge */
  background:#151515;
  padding:18px; gap:18px;
}
.pdp-rail::-webkit-scrollbar{ display:none; } /* WebKit */

.pdp-rail.is-dragging{ cursor:grabbing; scroll-snap-type:none; }
.pdp-rail.is-dragging *{ user-select:none; -webkit-user-select:none; }

.rail-nav{
  position: absolute;
  inset: 0;                               /* stretch over the rail */
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;                   /* only buttons clickable */
  z-index: 20;
  padding: 0 12px;
}

/* Frames & images */
.pdp-frame{
  flex:0 0 100%; /* 1-up on mobile */
  scroll-snap-align:center; scroll-snap-stop:always; /* stronger snap */
  border-radius: var(--radius); overflow:hidden;
  background:#0e0e0e;
  aspect-ratio:16/9;
  display:flex; align-items:center; justify-content:center;
}
.pdp-img{
  width:100%; height:100%; object-fit:contain; background:#0e0e0e;
  -webkit-user-drag:none; -webkit-user-select:none; -webkit-touch-callout:none;
  user-select:none; pointer-events:none;          /* gestures hit the rail */
}

/* Desktop: compact 3-up with trimmed padding/gaps */
@media (min-width: 992px){
  /* smaller spacing between pictures, smaller rail side padding */
  .pdp-rail{
    gap: 8px;
    padding-inline: 8px;
  }
  /* 3 frames + 2 gaps = 100% width */
  .pdp-frame{
    flex: 0 0 calc((100% - 16px) / 3);
    aspect-ratio: 4 / 3;   /* taller than 16/9, so images feel bigger */
  }
}
/* Big red circular arrows (crisp SVG chevrons) */
.rail-prev,
.rail-next{
  pointer-events:auto;
  appearance:none;
  border:none;
  border-radius:50%;
  width: clamp(52px, 6vw, 72px);
  height: clamp(52px, 6vw, 72px);
  background: var(--cta);               /* red circle */
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  position: relative;
  color: transparent;                   /* hide the ‹ › glyph in the HTML */
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}

/* giant chevron icon */
.rail-prev::before,
.rail-next::before{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width: 42%;                           /* size of the chevron inside the circle */
  height: 42%;
  background:#fff;                      /* chevron color */
  /* mask = crisp vector arrow */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>') center/contain no-repeat;
}

/* flip chevron for "next" */
.rail-next::before{ transform: scaleX(-1); }

/* states */
.rail-prev:hover, .rail-next:hover{ background: #e01836; transform: scale(1.06); }
.rail-prev:active, .rail-next:active{ background: #b50e27; transform: scale(0.95); }
.rail-prev:focus-visible, .rail-next:focus-visible{
  outline: 3px solid #fff; outline-offset: 2px;
}



/* ==== PDP: Quantity + ATC ==== */
.qty{
  display:flex; gap:8px; align-items:center; flex-wrap:wrap;
}
.qty .qty-btn{
  appearance:none; border:2px solid #111; background:#fff; color:#111;
  font-weight:800; padding:10px 16px; border-radius:10px; min-width:54px; text-align:center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .05s;
}
.qty .qty-btn:active{ transform: translateY(1px); }
.qty .qty-btn.is-selected, .qty .qty-btn[aria-pressed="true"]{
  background:var(--cta); border-color:var(--cta); color:#fff;
}

.pdp-atc{
  appearance:none; border:0; border-radius:12px; background:#111; color:#fff;
  font-weight:900; text-transform:uppercase; padding:16px 20px; width:100%; letter-spacing:.02em;
}
.pdp-atc:active{ transform: translateY(1px); }

/* ===== PDP main body grid ===== */
.pdp-body{
  display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); margin:var(--gap) 0;
}
@media (max-width: 1023.98px){
  .pdp-body{ grid-template-columns:1fr; }
}

/* ===== Full-bleed WITHOUT horizontal scrollbar (accounts for scrollbar width) ===== */
.full-bleed{
  /* scrollbar width = 100vw - 100% */
  --sbw: calc(100vw - 100%);
  width: calc(100vw - var(--sbw));
  margin-left: calc(50% - 50vw + var(--sbw) / 2);
}
@supports (width: 100svw){
  .full-bleed{
    width: 100svw;
    margin-left: calc(50% - 50svw);
  }
}

/* Hard stop any sideways overflow from the hero & globally as fallback */
.pdp-hero{ overflow-x: hidden; }
html, body{ overflow-x: clip; } /* fallback: use hidden if clip isn’t supported */
/* html, body{ overflow-x: hidden; } */

/* If .full-bleed sits inside a padded .wrap, prevent padding from causing overflow */
.wrap > .full-bleed{ padding-left: 0; padding-right: 0; }

/* 2-col on desktop, stack on mobile */
.pdp-specs-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin: var(--gap) 0;
}
@media (min-width: 992px){
  .pdp-specs-grid{ grid-template-columns: 1fr 1fr; }
}

/* Red specs/list card */
.pdp-specs-card{
  background: var(--cta);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(16px, 2.2vw, 28px);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.pdp-specs-card h3{
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Dotted “spec —— value” look */
.pdp-specs-list{
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 10px;
  font-weight: 900;
}
.pdp-specs-list li{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  border-bottom: 2px dotted rgba(255,255,255,.45);
  padding-bottom: 6px;
}
.pdp-specs-list .k{ opacity: .95; border-bottom: 2px dotted #FF0004; }
.pdp-specs-list .v{ margin-left: 16px; }

/* Red image block */
.pdp-specs-media{
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  display: grid; place-items: center;
  min-height: clamp(220px, 42vw, 420px);
}
.pdp-specs-media__ph{
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: var(--cta);
  color: #fff;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: clamp(24px, 4vw, 48px);
}
.pdp-specs-media img{
  width: 100%; height: 100%; object-fit: cover;
}
/* Base: single column + vertical padding */
.pdp-specs-grid{
  display: grid;
  grid-template-columns: 1fr;      /* mobile stack */
  gap: var(--gap);
  margin: var(--gap) 0;
  padding-block: clamp(20px, 4vw, 50px);  /* vertical breathing room */
}

/* Desktop: 2 columns */
@media (min-width: 992px){
  .pdp-specs-grid{
    grid-template-columns: 1fr 1fr; /* desktop two-up */
    align-items: stretch;
  }
}

.pdp-feature-block{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:flex-start;
  gap: clamp(15px, 2vw, 30px);
  margin-block: clamp(10px, 2vw, 25px);
}

.pdp-feature-media img{
  display:block;
  width:100%;
  height:auto;
  border-radius: var(--radius, 12px);
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}

.pdp-feature-text h2{
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 12px;
}

.pdp-feature-text p{
  margin-bottom: 16px;
  line-height:1.5;
}

.pdp-feature-block--reverse{
  grid-template-columns: 1fr 1fr;
}

.pdp-feature-block--reverse .pdp-feature-media{
  order:1;   /* put image first */
}

.pdp-feature-block--reverse .pdp-feature-text{
  order:2;   /* text second */
}

/* mobile stack */
@media(max-width:768px){
  .pdp-feature-block,
  .pdp-feature-block--reverse{
    grid-template-columns:1fr;
  }
  .pdp-feature-media,
  .pdp-feature-text{
    order:unset;
  }
}

/* ===== Founders Gallery ===== */
.fg-title{ margin: 0 0 10px; font-weight: 900; }

/* Grid: 6 across desktop */
.fg-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap, 16px);
  list-style:none;
  margin:0;
  padding:0;
}

/* Tiles */
.fg-item a{
  display:block;
  border-radius: var(--radius, 10px);
  overflow:hidden;
  background:#f6f6f6;
  box-shadow:0 6px 16px rgba(0,0,0,.10);
  aspect-ratio: 4 / 3; /* uniform thumbs */
}
.fg-item img{
  width:100%; height:100%;
  object-fit:cover; display:block;
  transition: transform .22s ease;
}
.fg-item a:hover img{ transform: scale(1.03); }

/* 2 across on tablet/phones */
@media (max-width: 768px){
  .fg-grid{ grid-template-columns: repeat(2, 1fr); }
}
/* 1 across on very small screens */
@media (max-width: 420px){
  .fg-grid{ grid-template-columns: 1fr; }
}

/* ===== Lightbox ===== */
.fg-lightbox{
  position:fixed; inset:0;
  background:rgba(0,0,0,.95);
  z-index:9999;
  display:grid; place-items:center;
  opacity:0; pointer-events:none;
  transition: opacity .18s ease;
}
.fg-lightbox.is-open{ opacity:1; pointer-events:auto; }

.fg-stage{ margin:0; max-width:92vw; max-height:92vh; display:grid; place-items:center; }
.fg-full{ max-width:92vw; max-height:92vh; object-fit:contain; border-radius:6px; }

/* Counter + close */
.fg-count{
  position:fixed; top:10px; left:10px;
  color:#fff; font-weight:700; font-size:14px; opacity:.85;
}
.fg-close{
  position:fixed; top:10px; right:10px;
  appearance:none; border:0; cursor:pointer;
  width:40px; height:40px; border-radius:999px;
  background: rgba(255,255,255,.14); color:#fff; font-size:22px;
  display:grid; place-items:center;
}
.fg-close:hover{ background: rgba(255,255,255,.22); }

/* Arrows (red circles using --cta) */
.fg-arrow{
  position:fixed; top:50%; transform:translateY(-50%);
  appearance:none; border:0; cursor:pointer;
  width: clamp(48px, 6vw, 64px); height: clamp(48px, 6vw, 64px);
  border-radius:999px;
  background: var(--cta, #c8102e);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.fg-prev{ left:14px; }
.fg-next{ right:14px; }
.fg-arrow::before{
  content:""; position:absolute; inset:0; margin:auto;
  width:42%; height:42%; background:#fff;
  -webkit-mask:center/contain no-repeat;
          mask:center/contain no-repeat;
}
.fg-prev::before{
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>');
}
.fg-next::before{
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="m8.59 16.59 1.41 1.41 6-6-6-6-1.41 1.41L13.17 12z"/></svg>');
          mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="m8.59 16.59 1.41 1.41 6-6-6-6-1.41 1.41L13.17 12z"/></svg>');
}

/* Footer */
.site-footer{
  background: var(--cta, #c8102e); /* your red */
  color: #fff;
  margin-top: 4rem;
}
.site-footer a{ color:#fff; text-decoration:none; opacity:.9; }
.site-footer a:hover{ opacity:1; text-decoration:underline; }

.footer-grid{
  display: grid;
  gap: 2rem;
  padding: 3rem 1.5rem;
  grid-template-columns: 1fr;
}
.footer-title{
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .75rem;
}
.footer-list{ list-style: none; margin:0; padding:0; }
.footer-list li{ margin:.4rem 0; }

.newsletter .nl-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  margin-top: .5rem;
}
.newsletter input{
  height: 44px;
  border-radius: .75rem;
  border: 0;
  padding: 0 .9rem;
  background: rgba(255,255,255,.15);
  color: #fff;
  outline: none;
}
.newsletter input::placeholder{ color: rgba(255,255,255,.8); }
.newsletter input:focus{
  box-shadow: 0 0 0 3px rgba(255,255,255,.35);
}
.btn-nl{
  height: 44px;
  border: 0;
  border-radius: .75rem;
  padding: 0 1rem;
  background: #fff;
  color: var(--cta, #c8102e);
  font-weight: 700;
  cursor: pointer;
}
.btn-nl:focus-visible{
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.nl-hint{
  margin:.5rem 0 0;
  font-size:.85rem;
  opacity:.9;
}

/* Bottom bar */
.footer-bottom{
  background: rgba(0,0,0,.12);
}
.footer-bottom-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: .9rem 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom .legal{
  display:flex; gap:1rem;
}
.footer-bottom .legal a{
  opacity:.9;
}
.footer-bottom .legal a:hover{ opacity:1; }

/* Responsive: 3 columns on tablet+ */
@media (min-width: 768px){
  .footer-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

:root { --card-bw: 3px; } /* border width used by the tab bleed */

/* ===== Borders (3px) ===== */
.border-green  { border: var(--card-bw) solid #20a653; }
.border-red    { border: var(--card-bw) solid #c93a4a; }
.border-blue   { border: var(--card-bw) solid #2457d3; }
.border-purple { border: var(--card-bw) solid #8e54d9; }
.border-cyan { border: var(--card-bw) solid #29c7d6; }   /* teal/cyan */
.border-dark   { border: var(--card-bw) solid #111; }

/* ===== Cards: layout, spacing, typography ===== */
.padded-lg { padding: clamp(24px, 3vw, 40px); }
.zone-lg .pdp-specs-card { margin: 10px 0; }

.zone-lg .pdp-specs-card h3 {
  font-size: clamp(16px, 1.8vw, 22px);
  margin: 0 0 6px;
}
.zone-lg .pdp-specs-card p {
  font-size: clamp(14px, 1.6vw, 16px);
  margin: 0;
}

/* Card base (kept white), plus base padding */
.pdp-specs-card {
  position: relative;
  background: #fff;
  color: var(--ink);
  overflow: hidden;                  /* clips corner tab to radius */
  border-radius: var(--radius, 10px);
  padding: clamp(16px, 2.2vw, 24px); /* base padding */
}

/* Extra top padding ONLY when the number tab exists */
.pdp-specs-card[data-num] {
  padding-top: calc(clamp(16px, 2.2vw, 24px) + 18px);
}

/* Corner tab with number — bleed under border so no white crescent */
.pdp-specs-card[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: calc(var(--card-bw) * -1);
  left: calc(var(--card-bw) * -1);
  width: calc(70px + var(--card-bw) * 2);
  height: calc(30px + var(--card-bw) * 2);
  border-top-left-radius: var(--radius, 10px);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; line-height: 1; color: #fff;
}

/* Tab colors (match border colors) */
.border-green::before  { background:#20a653; }
.border-red::before    { background:#c93a4a; }
.border-blue::before   { background:#2457d3; }
.border-purple::before { background:#8e54d9; }
.border-cyan::before { background:#29c7d6; }
.border-dark::before   { background:#111; }

/* ===== Image behavior ===== */
/* Desktop/default */
.pdp-feature-media {               /* added so we can absolutely-position child on mobile */
  position: relative;
}
.pdp-feature-media > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;         /* centered on desktop */
}

/* Tablet-ish: start shortening the image and anchor bottom */
@media (max-width: 900px) {
  .pdp-feature-media {
    position: relative;            /* ensure positioned ancestor */
    height: clamp(260px, 48vw, 300px);
    overflow: hidden;
  }
  .pdp-feature-media > img {
    position: absolute;            /* force deterministic crop */
    inset: 0;                      /* top/right/bottom/left: 0 */
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 100% !important; /* bottom-center: keep bottom, crop top */
  }
}

/* Small phones (~≤700px): shorter and still anchored to bottom */
@media (max-width: 700px) {
  .pdp-feature-media {
    height: clamp(210px, 56vw, 380px);
    overflow: hidden;
  }
  .pdp-feature-media > img {
    object-position: 50% 100% !important; /* still anchor bottom */
  }
}

/* Summary card (dark) – safe to place higher thanks to higher specificity */
.pdp-specs-card.border-dark { 
  --sum-pad: clamp(20px, 2.8vw, 32px);
  --sum-label-w: 12ch;
  padding: var(--sum-pad);
}

/* Headline: lighter & slightly smaller */
.pdp-specs-card.border-dark h3 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(18px, 2.1vw, 24px);
  letter-spacing: .01em;
}

/* Use a clean 2-column grid for the list */
.pdp-specs-card.border-dark .pdp-specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: var(--sum-label-w) 1fr;
  column-gap: 16px;
  row-gap: 10px;
}

/* Override any generic row styling (dotted borders, padding, etc.) */
.pdp-specs-card.border-dark .pdp-specs-list li {
  display: contents;               /* let .k and .v occupy grid cells */
  border: 0;                       /* kills dotted lines from global rule */
  padding: 0;
}

/* Left labels */
.pdp-specs-card.border-dark .pdp-specs-list .k {
  font-weight: 700;
  opacity: .85;
  line-height: 1.3;
}

/* Right values */
.pdp-specs-card.border-dark .pdp-specs-list .v {
  font-weight: 600;
  line-height: 1.4;
}

/* Stack nicely on narrow screens */
@media (max-width: 520px) {
  .pdp-specs-card.border-dark .pdp-specs-list {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .pdp-specs-card.border-dark .pdp-specs-list .k { margin-bottom: 2px; }
}

/* Layout niceties if you have many buttons */
.qty { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Base qty button look (tweak to match your design) */
.qty-btn {
  appearance: none; border: 0; border-radius: 10px;
  padding: 8px 12px; font-weight: 800; cursor: pointer;
  background: #f3f4f6; color: #111; box-shadow: 0 1px 0 rgba(0,0,0,.06) inset;
}
.qty-btn:is(:hover,:focus-visible){ outline: 0; background:#e8e9ee; }
.qty-btn.is-selected{ background: var(--cta); color:#fff; }

/* “More” pill variant */
.qty-more{
  background: #fff; border: 2px dashed rgba(0,0,0,.2);
}
.qty-more:is(:hover,:focus-visible){ background:#fff; border-color: rgba(0,0,0,.35); }

/* Popover */
.qty-popover {
  position: absolute;
  z-index: 60;
  min-width: 260px;
  max-width: min(90vw, 340px);       /* NEW: cap width for mobile */
  padding: 14px;
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);

  /* CHANGED: center under trigger */
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);

  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}

/* little arrow */
.qty-popover::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;                                   /* CHANGED */
  transform: translateX(-50%) rotate(45deg);   /* CHANGED */
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.08);
  border-top: 1px solid rgba(0,0,0,.08);
}

/* open state */
.qty-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);  /* CHANGED */
}

/* NEW: flipped above when needed */
.qty-popover.is-flipped {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 0);
}
.qty-popover.is-flipped::before {
  top: auto;
  bottom: -8px;
  transform: translateX(-50%) rotate(225deg);
}

/* Form bits */
.qty-form {
  display: grid;
  gap: 10px;
}

.qty-label {
  font-size: .9rem;
  font-weight: 800;
}

.qty-input {
  font: inherit;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  width: 5.5em; /* compact size */
}

.qty-input:focus {
  outline: 0;
  border-color: var(--cta, #111);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

/* hide native spinners */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input[type=number] {
  -moz-appearance: textfield;
}

.qty-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.qty-cancel {
  border: 0;
  background: #f3f4f6;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.qty-apply {
  border: 0;
  background: var(--cta, #111);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

/* Positioning: popover anchored to the “More” button */
.qty {
  position: relative;
}

/* ===== Dealer Page (scoped) ===== */


/* ===== Dealer Page (scoped) ===== */
#dealer-program { margin-top: var(--gap, 16px); }

/* Card */
.dealer-card {
  border: var(--card-bw, 3px) solid var(--cta, #c8102e);
  border-radius: var(--radius, 10px);
  background: #fff;
  padding: clamp(20px, 2.8vw, 32px); /* more inner space so fields don't feel cramped */
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.dealer-card h3 { margin: 0 0 10px; font-weight: 900; text-transform: uppercase; }

/* Form grid */
.dealer-form {
  display: grid;
  grid-template-columns: 24ch 1fr;  /* wider label column */
  column-gap: 22px;
  row-gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ensure nothing inside the form can overflow its grid cell */
.dealer-form, .dealer-form * { box-sizing: border-box; }

.dealer-form li { display: contents; }

/* Labels */
.dealer-label { font-weight: 700; line-height: 1.3; }

/* Fields */
.dealer-field {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dealer-field:focus {
  outline: 0;
  border-color: var(--cta, #c8102e);
  box-shadow: 0 0 0 3px rgba(200,16,46,.15);
}

/* Submit */
.dealer-submit {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: var(--ink, #111);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 20px;
  width: 100%;
  letter-spacing: .02em;
  cursor: pointer;
}
.dealer-submit:active { transform: translateY(1px); }
.dealer-hint { margin: .6rem 0 0; font-size: .9rem; opacity: .8; }

/* Mobile */
@media (max-width: 768px) {
  .dealer-form {
    grid-template-columns: 1fr;      /* stack labels over fields */
    row-gap: 18px;
  }
  .dealer-label { margin-bottom: 6px; }
  .dealer-field { padding: 14px; }   /* bigger tap target */
}


/* Optional: accent border variant if you want the red frame */
.dealer-card--accent {
  border-color: var(--cta, #c8102e);
}

/* --- full-bleed utility inside a centered .wrap container --- */
.fullbleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* --- Confidence Hero --- */
.trust-hero {
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
	background-color: #a00000; /* fallback color */

  border-radius: 0;           /* keep edges crisp on full-bleed */
background-image: url("../images/logo-bg.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 90% auto;  /* 90% of width, keep aspect ratio */                                                  /* fallback */
}

/* Slides */
.trust-hero__slides { position: absolute; inset: 0; }
.trust-hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: trustFade 18s infinite;
}
.trust-hero__slide.s1 { animation-delay: 0s;  }
.trust-hero__slide.s2 { animation-delay: 6s;  }
.trust-hero__slide.s3 { animation-delay: 12s; }

/* Soft gradient to improve text contrast */
.trust-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}

/* Copy block */
.trust-hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  align-content: end;         /* anchor text near bottom */
  gap: 0.5rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: #fff;
}
.trust-hero__headline {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 800;
}
.trust-hero__sub {
  margin: 0.25rem 0 0 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 62ch;
  opacity: 0.95;
}
.trust-hero__points {
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  margin: .75rem 0 0 0; padding: 0; list-style: none;
}
.trust-hero__points li {
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: saturate(120%) blur(2px);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(.85rem, 1.3vw, .95rem);
  white-space: nowrap;
}

/* Crossfade animation */
@keyframes trustFade {
  0%   { opacity: 0 }
  6%   { opacity: 1 }
  28%  { opacity: 1 }
  34%  { opacity: 0 }
  100% { opacity: 0 }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .trust-hero__slide { animation: none; opacity: 1; }
  .trust-hero__slides { display: none; }           /* show overlay color only */
  .trust-hero { background:#111; }                 /* fallback backdrop */
}

.trust-hero__texts {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: end;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: #fff;
}

.trust-hero__text {
  position: absolute;
  bottom: auto;      /* remove bottom lock */
  top: 50%;          /* center vertically */
  transform: translateY(-30%); /* shift upward slightly */
  left: clamp(1rem, 4vw, 3rem);
  right: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  animation: trustFade 18s infinite;
}
.trust-hero__text h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}
.trust-hero__text p {
  margin-top: .5rem;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  max-width: 62ch;
  opacity: .95;
}

/* Offset delays to sync with image slides */
.trust-hero__text.s1 { animation-delay: 0s; }
.trust-hero__text.s2 { animation-delay: 6s; }
.trust-hero__text.s3 { animation-delay: 12s; }


/* ===== Rim chooser (3-up cards) ===== */
.rim-section { margin-top: var(--gap); }

.rim-grid{
  list-style:none; margin: 0; padding: 0;
  display:grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: 1fr;                 /* mobile stack */
}

@media (min-width: 700px){
  .rim-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px){
  .rim-grid{ grid-template-columns: repeat(3, 1fr); }
}

.rim-card{
  display:grid;
  grid-template-rows: auto 1fr;               /* media then body fills */
  border-radius: var(--radius, 10px);
  background:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  overflow:hidden;
}

/* Image area: consistent box, center the wheel, no crop */
.rim-media{
  background:#f6f6f6;
  display:grid; place-items:center;
  aspect-ratio: 1 / 1;                        /* square, keeps 3-up harmony */
  padding: clamp(10px, 2vw, 16px);
}
.rim-media img{
  width: 92%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.10));  /* subtle lift */
}

/* Copy area */
.rim-body{
  display:grid; gap: 10px;
  padding: clamp(14px, 2vw, 18px);
}
.rim-name{
  margin:0;
  font-weight:900;
  text-transform:uppercase;
  font-size: clamp(22px, 2.6vw, 38px);        /* matches your feature headings vibe */
  line-height:1.05;
}
.rim-copy{
  margin:0;
  font-weight:700;
  line-height:1.35;
  opacity:.95;
}

/* Button spans full width on mobile, shrinks to content on desktop */
.rim-body .btn{ 
  justify-self: start; 
}

@media (max-width: 767.98px){
  .rim-body .btn{
    display: block;              /* fix inline overflow */
    width: 100%;                 /* fill text area */
    max-width: 100%;             /* prevent any bleed */
    box-sizing: border-box;      /* include padding in width */
    text-align: center;
    margin: 0;
  }
}

/* Full-width CTA button */
.cta-full {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--cta);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius, 10px);
  padding: clamp(14px, 2.5vw, 22px);
  font-size: clamp(1rem, 2.8vw, 1.6rem); /* scales text */
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: background .25s ease, transform .15s ease;
}

/* Hover/active states */
.cta-full:hover { background:#e01836; }
.cta-full:active { background:#b50e27; transform: translateY(1px); }

/* === Gallery captions (safe final version) === */
.fg-caption {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: clamp(.85rem, 1.4vw, 1rem);
  margin-top: 6px;
  color: var(--ink, #111);
}

/* keep the image link a proper 4:3 tile */
.fg-item a {
  display: block;
  text-decoration: none;
}

/* when hovering the image, highlight the caption */
.fg-item a:hover + .fg-caption {
  color: var(--cta);
}



