/* ==========================================================================
   MotoDef — shared stylesheet
   Bold Montserrat headlines, warm light surfaces, brand red + gold energy.
   ========================================================================== */

:root {
  --paper: #fbf8f3;
  --paper-2: #f4ede3;
  --white: #ffffff;
  --ink: #16130f;
  --ink-2: #4d4840;
  --ink-3: #847d71;
  --line: rgba(22, 19, 15, 0.1);
  --line-strong: rgba(22, 19, 15, 0.2);

  --red: #d1202b;
  --red-deep: #a3151d;
  --orange: #ee6a2c;
  --gold: #f3b530;
  --brand-grad: var(--red);

  --dark: #120f0c;
  --dark-2: #1e1914;
  --on-dark: #f7f2ea;
  --on-dark-2: rgba(247, 242, 234, 0.68);
  --line-dark: rgba(247, 242, 234, 0.13);

  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 128px);
  --radius: 8px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(22, 19, 15, 0.04), 0 12px 32px -12px rgba(22, 19, 15, 0.14);
  --shadow-lg: 0 2px 6px rgba(22, 19, 15, 0.05), 0 30px 60px -20px rgba(22, 19, 15, 0.28);
  --shadow-red: 0 14px 30px -10px rgba(209, 32, 43, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }

h1 em, h2 em, h3 em { font-style: normal; color: var(--red); }
.on-dark h2 em, .cta h2 em { color: var(--gold); }

p { margin: 0; }
.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); line-height: 1.7; max-width: 36em; }
.muted { color: var(--ink-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 10px;
  background: rgba(209, 32, 43, 0.08);
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(209, 32, 43, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(209, 32, 43, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(209, 32, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(209, 32, 43, 0); }
}
.on-dark .eyebrow, .cta .eyebrow { background: rgba(243, 181, 48, 0.12); color: var(--gold); }
.on-dark .eyebrow::before, .cta .eyebrow::before { background: var(--gold); }

/* ---------- Buttons & links ---------- */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  display: none;
  transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--red-deep); box-shadow: 0 20px 36px -12px rgba(209, 32, 43, 0.65); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.3s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow); }

.btn--light { background: var(--gold); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(243, 181, 48, 0.6); }
.btn--light:hover { background: #ffc94d; box-shadow: 0 20px 36px -12px rgba(243, 181, 48, 0.75); }
.btn--ghost-light { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost-light:hover { background: var(--on-dark); color: var(--ink); box-shadow: none; }
.btn:disabled { opacity: 0.6; cursor: default; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.35s var(--ease);
}
.link:hover { background-size: 100% 2px; }
.link .arrow { transition: transform 0.3s var(--spring); }
.link:hover .arrow { transform: translateX(4px); }
.on-dark .link { color: var(--gold); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--brand-grad);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(22, 19, 15, 0.35); background: rgba(255, 255, 255, 0.9); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
  transition: height 0.3s var(--ease);
}
.header.is-scrolled .header__inner { height: 70px; }
.brand img { height: 48px; width: auto; transition: transform 0.4s var(--spring), height 0.3s var(--ease); }
.header.is-scrolled .brand img { height: 42px; }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block;
  padding: 9px 16px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(22, 19, 15, 0.05); }
.nav__links a[aria-current="page"] { color: var(--red); background: rgba(209, 32, 43, 0.08); }
.nav .btn { height: 46px; padding: 0 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 10px; background: #fff;
  transition: transform 0.35s var(--spring), opacity 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  /* backdrop-filter would trap the fixed menu inside the header */
  .header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header.is-scrolled { background: var(--white); }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 84px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px var(--gutter) 40px;
    background: var(--paper);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.5s var(--ease), visibility 0.5s;
  }
  .header.is-scrolled .nav { inset: 70px 0 0 0; }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  .menu-open .nav__links li { opacity: 1; transform: none; }
  .menu-open .nav__links li:nth-child(2) { transition-delay: 0.05s; }
  .menu-open .nav__links li:nth-child(3) { transition-delay: 0.1s; }
  .menu-open .nav__links li:nth-child(4) { transition-delay: 0.15s; }
  .menu-open .nav__links li:nth-child(5) { transition-delay: 0.2s; }
  .nav__links a {
    padding: 18px 4px;
    border-radius: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .nav__links a:hover, .nav__links a[aria-current="page"] { background: none; }
  .nav .btn { margin-top: 28px; height: 56px; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--alt { background: var(--paper-2); }
.section--dark {
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.section--dark .lede, .section--dark .muted { color: var(--on-dark-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.section-head h2 { margin-top: 18px; }
.section-head .lede { justify-self: end; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lede { justify-self: center; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
}

/* Floating brand blobs */
.blobs { display: none; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.blobs span:nth-child(1) { width: 520px; height: 520px; background: rgba(209, 32, 43, 0.28); top: -180px; right: -120px; }
.blobs span:nth-child(2) { width: 420px; height: 420px; background: rgba(243, 181, 48, 0.32); top: 160px; left: -160px; animation-duration: 22s; }
.blobs span:nth-child(3) { width: 360px; height: 360px; background: rgba(238, 106, 44, 0.22); bottom: -120px; left: 45%; animation-duration: 26s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}
.hero > .wrap, .fhero > .wrap, .page-intro > .wrap { position: relative; z-index: 1; }

/* ---------- Hero (home) ---------- */

.hero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px); overflow: hidden; }
.hero h1 { margin-top: 24px; max-width: 15em; }
.hero__side {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 64px;
  margin-top: clamp(28px, 3.5vw, 40px);
}
.hero__figure {
  margin: clamp(44px, 6vw, 72px) 0 0;
  position: relative;
  background: #050505;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.06);
  animation: kenburns 16s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  pointer-events: none;
}
.hero__caption {
  position: absolute; left: 28px; bottom: 24px; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.hero__caption::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.hero__badge {
  position: absolute; right: 24px; top: 24px; z-index: 1;
  display: grid; place-items: center; text-align: center;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 13px; line-height: 1.15; letter-spacing: -0.01em;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5);
  animation: spin-wobble 8s ease-in-out infinite;
}
.hero__badge b { display: block; font-size: 22px; }
@keyframes spin-wobble { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) scale(1.04); } }
@media (max-width: 900px) {
  .hero__figure img { aspect-ratio: 4 / 3; }
  .hero__badge { width: 84px; height: 84px; font-size: 11px; right: 14px; top: 14px; }
  .hero__badge b { font-size: 17px; }
}

/* ---------- Stats (dark panel, below hero photo) ---------- */

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  position: relative;
  padding: 44px 36px 40px;
  transition: background 0.4s var(--ease);
}
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--red);
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.stat:hover { background: var(--dark-2); }
.stat:hover::before { transform: scaleX(1); }
.stat__num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.stat__num sup {
  font-size: 0.5em;
  vertical-align: top;
  position: relative; top: 0.1em; margin-left: 4px;
  color: var(--gold);
}
.stat__label {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 26px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .stat__label { margin: 0; text-align: right; }
  .stat__num { font-size: 40px; white-space: nowrap; }
  .stat__label { font-size: 11px; }
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--brand-grad);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-1.2deg);
  margin: 0 -20px;
  box-shadow: 0 18px 40px -20px rgba(209, 32, 43, 0.7);
  position: relative;
  z-index: 3;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span::after { content: "✦"; color: rgba(255,255,255,0.75); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(48px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.split__media { position: relative; margin: 0; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 28px;
  border-radius: 10px;
  background: var(--brand-grad);
  z-index: -1;
  opacity: 0.9;
}
.split__media { isolation: isolate; }
.split__media figcaption {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink);
  box-shadow: var(--shadow);
}
.split__media figcaption span + span { color: var(--red); }
.split__media figcaption span + span::before { content: "• "; color: var(--ink-3); }
.split__body h2 { margin: 18px 0 24px; }
.split__body .lede + .lede { margin-top: 16px; }
.split__body .actions { margin-top: 36px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 4 / 3; }
  .split__media::before { inset: 16px -10px -10px 16px; }
}

/* ---------- Pillars (cards) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.45s var(--spring), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.pillar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--brand-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar:hover::after { transform: scaleX(1); }
.pillar__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(209, 32, 43, 0.1);
  color: var(--red);
  margin-bottom: 22px;
  transition: transform 0.5s var(--spring), background 0.4s var(--ease), color 0.4s var(--ease);
}
.pillar:hover .pillar__icon { transform: rotate(-8deg) scale(1.08); background: var(--brand-grad); color: #fff; }
.pillar__num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em;
  color: var(--ink-3); opacity: 0.6; text-transform: uppercase;
}
.pillar h3 { margin: 0 0 10px; }
.pillar p { font-size: 15px; color: var(--ink-2); }
.on-dark .pillar { background: var(--dark-2); }
.on-dark .pillar p { color: var(--on-dark-2); }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 14px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--spring), box-shadow 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.product-card__media::before {
  content: "";
  position: absolute; left: 20%; right: 20%; bottom: 9%; height: 8%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.18), transparent 70%);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.product-card__media img {
  position: absolute;
  inset: 13%;
  width: 74%;
  height: 74%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--spring);
}
.product-card:hover .product-card__media img { transform: translateY(-10px) scale(1.06) rotate(-2deg); }
.product-card:hover .product-card__media::before { transform: scaleX(0.8); opacity: 0.6; }
.product-card__meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 22px; padding: 0 12px;
}
.product-card__tag {
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 10px;
  background: rgba(243, 181, 48, 0.18); color: #9a6a00; white-space: nowrap;
}
.product-card h3 { font-size: 21px; }
.product-card p { margin-top: 8px; padding: 0 12px; font-size: 15px; color: var(--ink-2); }
.product-card .more {
  margin: 18px 12px 0; display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--red);
}
.product-card .more .arrow { transition: transform 0.3s var(--spring); }
.product-card:hover .more .arrow { transform: translateX(5px); }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* ---------- Product catalogue (products page) ---------- */

.catalogue { display: grid; gap: 28px; }
.item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 5vw, 72px);
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  align-items: center;
  transition: box-shadow 0.4s var(--ease), transform 0.45s var(--spring);
}
.item:hover { box-shadow: var(--shadow-lg); }
.item__num {
  position: absolute;
  top: clamp(20px, 2.5vw, 28px); left: clamp(20px, 2.5vw, 28px);
  z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 15px;
}
.item__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.item__media::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 6px;
  background: var(--brand-grad);
}
.item__media img {
  position: absolute; inset: 10%; width: 80%; height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.8s var(--spring);
}
.item:hover .item__media img { transform: scale(1.06) translateY(-6px); }
.item__body { padding: 12px clamp(0px, 2vw, 24px) 12px 0; }
.item__body h2 { font-size: clamp(28px, 3.2vw, 42px); }
.item__body .lede { margin-top: 18px; font-size: 16px; }
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}
.specs div { padding: 14px 16px; border-radius: 10px; background: var(--paper-2); }
.specs dt { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.specs dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.item__body .actions { margin-top: 28px; }

.item:nth-child(even) .item__media { order: 2; }
.item:nth-child(even) .item__num { left: auto; right: clamp(20px, 2.5vw, 28px); }
.item:nth-child(even) .item__body { padding: 12px 0 12px clamp(0px, 2vw, 24px); }

@media (max-width: 960px) {
  .item { grid-template-columns: 1fr; gap: 20px; }
  .item:nth-child(even) .item__media { order: initial; }
  .item:nth-child(even) .item__num { left: clamp(20px, 2.5vw, 28px); right: auto; }
  .item__body, .item:nth-child(even) .item__body { padding: 4px 8px 12px; }
}

.index-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding: 0; list-style: none;
}
.index-list a {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 10px 18px 10px 10px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--display); font-weight: 600; font-size: 14px;
  transition: transform 0.35s var(--spring), background 0.3s var(--ease), color 0.3s var(--ease);
}
.index-list a span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(209, 32, 43, 0.1); color: var(--red); font-size: 11px; font-weight: 800;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.index-list a:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.index-list a:hover span { background: var(--red); color: #fff; }

/* ---------- Page intro ---------- */

.page-intro { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 6vw, 80px); }
.page-intro h1 { margin: 24px 0 0; max-width: 12em; }
.page-intro .lede { margin-top: 24px; }
.page-intro__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px 72px; align-items: end;
}
@media (max-width: 900px) { .page-intro__grid { grid-template-columns: 1fr; } }

/* ---------- Benefits (home teaser) ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--spring), box-shadow 0.4s var(--ease);
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.benefit__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-grad); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 14px;
}
.benefit h3 { font-size: 18px; }
.benefit p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Ledger (numbered tiles) ---------- */

.ledger {
  list-style: none; margin: 0; padding: 0; counter-reset: l;
  display: grid; gap: 12px;
}
.ledger li {
  counter-increment: l;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  padding: 16px 20px 16px 16px;
  border-radius: 10px;
  background: rgba(247, 242, 234, 0.05);
  border: 1px solid var(--line-dark);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--spring), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ledger li::before {
  content: counter(l, decimal-leading-zero);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(243, 181, 48, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.ledger li:hover { transform: translateX(6px); background: rgba(243, 181, 48, 0.1); border-color: rgba(243, 181, 48, 0.4); }
.ledger--light li { background: var(--white); border-color: transparent; box-shadow: var(--shadow); }
.ledger--light li::before { background: rgba(209, 32, 43, 0.1); color: var(--red); }
.ledger--light li:hover { background: var(--white); border-color: rgba(209, 32, 43, 0.3); }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.two-col-list .ledger:last-child { counter-reset: l 5; }
@media (max-width: 720px) { .two-col-list { grid-template-columns: 1fr; } }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center;
  padding: 14px 18px 14px 14px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 15px; font-weight: 500;
  transition: transform 0.4s var(--spring);
}
.checks li:hover { transform: translateX(6px); }
.checks svg {
  width: 36px; height: 36px; padding: 10px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
}

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 10px; box-shadow: var(--shadow-lg);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: end;
}
.gallery figcaption span + span { color: var(--gold); }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq .plus {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper-2);
  transition: background 0.3s var(--ease), transform 0.4s var(--spring);
}
.faq .plus::before, .faq .plus::after {
  content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; margin-top: -1px;
  background: var(--ink); border-radius: 10px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--red); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #fff; }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq__answer { padding: 0 24px 24px; color: var(--ink-2); max-width: 44em; animation: fadeDown 0.4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red); background: var(--white);
  box-shadow: 0 0 0 4px rgba(209, 32, 43, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.8; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2316130f' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--ink-3); }
.form__status { font-size: 14px; font-weight: 600; color: #1d7a3a; min-height: 1.4em; }

.panel {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--brand-grad);
}
.panel h3 { margin-bottom: 8px; font-size: clamp(22px, 2vw, 26px); font-weight: 800; }
.panel > p { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }

/* ---------- Contact ---------- */

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center;
  padding: 16px 20px 16px 16px;
  border-radius: 10px;
  background: rgba(247, 242, 234, 0.05);
  border: 1px solid var(--line-dark);
  transition: transform 0.4s var(--spring), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-list li:hover { transform: translateY(-4px); border-color: rgba(243, 181, 48, 0.45); background: rgba(243, 181, 48, 0.07); }
.contact-list .ic {
  width: 52px; height: 52px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-grad); color: #fff;
}
.contact-list .k { display: block; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.contact-list .v { display: block; margin-top: 2px; font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.4; }
.contact-list a.v:hover { color: var(--gold); }

.section--dark .panel { background: var(--dark-2); box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6); }
.section--dark .panel > p { color: var(--on-dark-2); }
.section--dark .field label { color: var(--on-dark-2); }
.section--dark .field input, .section--dark .field textarea, .section--dark .field select { background: rgba(247, 242, 234, 0.06); color: var(--on-dark); }
.section--dark .field input:hover, .section--dark .field textarea:hover, .section--dark .field select:hover { border-color: var(--line-dark); }
.section--dark .field input:focus, .section--dark .field textarea:focus, .section--dark .field select:focus {
  border-color: var(--gold); background: rgba(247, 242, 234, 0.08); box-shadow: 0 0 0 4px rgba(243, 181, 48, 0.15);
}
.section--dark .field input::placeholder, .section--dark .field textarea::placeholder { color: var(--on-dark-2); }
.section--dark .form__note { color: var(--on-dark-2); }
.section--dark .form__status { color: #7fdc9b; }
.section--dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23f7f2ea' stroke-width='1.6'/%3E%3C/svg%3E");
}
.section--dark .field select option { color: var(--ink); }

/* ---------- CTA band ---------- */

.cta {
  background: var(--dark);
  border-top: 4px solid var(--red);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px 64px;
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}
.cta h2 { margin-top: 18px; }
.cta .lede { color: var(--on-dark-2); margin-top: 18px; }
.cta .actions { margin-top: 32px; }
.cta__media img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); animation: drive 6s ease-in-out infinite; }
@keyframes drive { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-14px); } }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  padding: 88px 0 32px;
}
.footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--brand-grad);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer__brand img { height: 54px; width: auto; }
.footer__brand p { margin-top: 22px; max-width: 22em; color: var(--on-dark-2); font-size: 16px; line-height: 1.6; }
.footer h4 {
  font-family: var(--display); font-size: 13px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { font-size: 15px; color: var(--on-dark-2); display: inline-block; transition: color 0.2s var(--ease), transform 0.3s var(--spring); }
.footer ul a:hover { color: var(--on-dark); transform: translateX(4px); }
.social { display: flex; gap: 10px; }
.social a {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(247, 242, 234, 0.07);
  transition: background 0.3s var(--ease), transform 0.4s var(--spring);
}
.social a:hover { background: var(--red); transform: translateY(-4px) rotate(-6deg); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--on-dark-2);
}
.to-top { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.to-top:hover { color: var(--gold); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Franchise hero ---------- */

.fhero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 var(--section); }
.fhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px clamp(40px, 5vw, 80px);
  align-items: start;
}
.fhero h1 { margin: 24px 0 24px; font-size: clamp(40px, 5.6vw, 76px); }
.fhero .actions { margin-top: 36px; }
.fhero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 48px;
}
.fhero__facts div {
  padding: 18px 18px 16px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--spring);
}
.fhero__facts div:hover { transform: translateY(-5px); }
.fhero__facts strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; line-height: 1.1; color: var(--red); }
.fhero__facts div > span { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.fhero__visual {
  position: relative;
  margin-top: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: #050505;
  box-shadow: var(--shadow-lg);
}
.fhero__visual img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
@media (max-width: 960px) { .fhero__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fhero__facts { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */

/* Uses the individual translate/scale properties so hover transforms keep working */
.reveal {
  opacity: 0;
  translate: 0 34px;
  transition: opacity 0.9s var(--ease) var(--d, 0s), translate 0.9s var(--ease) var(--d, 0s), scale 0.9s var(--ease) var(--d, 0s),
    transform 0.45s var(--spring), box-shadow 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.reveal--zoom { scale: 0.94; translate: 0 20px; }
.reveal--left { translate: -40px 0; }
.reveal--right { translate: 40px 0; }
.reveal.is-in { opacity: 1; translate: none; scale: none; }

/* Hero intro: word-by-word rise */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 0.07s + 0.1s); }
@keyframes rise { to { transform: none; } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal--zoom, .reveal--left, .reveal--right { opacity: 1; translate: none; scale: none; transition: none; }
  .split-words .w > span { transform: none; animation: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* Focus */
:focus-visible { outline: 3px solid rgba(209, 32, 43, 0.5); outline-offset: 3px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
