/* =====================================================================
   SUPERUS DETAILING — Design System
   Dark premium automotive theme. Chrome accents, monochrome luxury.
   Author: built for Superus, 2026.
   ===================================================================== */

/* ------------------------------------------------------------------ *
   0. Tokens
 * ------------------------------------------------------------------ */
:root {
  /* Surfaces */
  --bg:        #0a0a0b;
  --bg-2:      #0f0f12;
  --surface:   #151519;
  --surface-2: #1c1c21;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  /* Text */
  --text:      #f3f4f6;
  --muted:     #a4a8b0;
  --muted-2:   #71757d;

  /* Accent — restrained ice-blue used for focus / active states */
  --accent:    #7fb4e0;
  --accent-dim: rgba(127, 180, 224, .14);

  /* Chrome gradient for the brand feel */
  --chrome: linear-gradient(125deg, #ffffff 0%, #c4ccd6 28%, #f4f7fa 52%, #aab2bd 74%, #e9eef3 100%);

  /* Radii & shadow */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, .6);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 74px;

  /* Type */
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ *
   1. Reset & base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

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

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #06121d; }

/* Focus visibility for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------ *
   2. Typography
 * ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  font-family: var(--f-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  opacity: .7;
}

.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 62ch; }

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ *
   3. Layout helpers
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-2); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.divider { height: 1px; background: var(--line); border: 0; }

/* ------------------------------------------------------------------ *
   4. Buttons
 * ------------------------------------------------------------------ */
.btn {
  --b: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, #ffffff, #dfe4ea);
  color: #0a0a0b;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, .35);
}
.btn--primary:hover { background: #fff; box-shadow: 0 16px 38px -14px rgba(255, 255, 255, .5); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .04); }

.btn--accent {
  background: var(--accent);
  color: #06121d;
}
.btn--accent:hover { filter: brightness(1.08); }

.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ *
   5. Header / Nav
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 8, 9, .82) 0%, rgba(8, 8, 9, .28) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 10, 11, .9);
  border-bottom-color: var(--line);
}
.nav {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: .92rem;
  color: var(--muted);
  border-radius: 8px;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .76rem;
}
.lang-toggle button {
  background: transparent;
  color: var(--muted-2);
  border: 0;
  padding: 7px 12px;
  letter-spacing: .06em;
  transition: background .2s, color .2s;
}
.lang-toggle button.active { background: var(--text); color: #0a0a0b; }

/* Cart button */
.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}
.cart-btn:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  background: var(--accent);
  color: #06121d;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 100px;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
}
.cart-count.show { display: inline-flex; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px; height: 42px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px var(--gutter) 28px;
    background: rgba(10, 10, 11, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
}

/* ------------------------------------------------------------------ *
   6. Hero
 * ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.2) 35%, rgba(10,10,11,.85) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,11,.8) 0%, rgba(10,10,11,.15) 60%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin: 18px 0 0; }
.hero .lead { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
}
.stat .lbl { font-size: .82rem; color: var(--muted-2); margin-top: 8px; letter-spacing: .04em; }

/* Page hero (interior pages, shorter) */
.page-hero {
  position: relative;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(44px, 7vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .26;
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.6), var(--bg) 92%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { margin-top: 16px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { margin-top: 18px; }
.breadcrumb { font-size: .82rem; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--text); }

/* ------------------------------------------------------------------ *
   7. Cards (services / features)
 * ------------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); }

.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(127,180,224,.25);
  color: var(--accent);
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

/* Service card with price */
.service-card { display: flex; flex-direction: column; }
.service-card .price {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.service-card .price .from { font-size: .72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; }
.service-card .price .val { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--text); }
.service-card ul.includes { margin: 16px 0 0; display: grid; gap: 8px; }
.service-card ul.includes li {
  font-size: .9rem; color: var(--muted);
  padding-left: 26px; position: relative;
}
.service-card ul.includes li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}

/* Step / process cards */
.step { position: relative; padding-left: 0; }
.step .step-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line-2);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .92rem; }

/* ------------------------------------------------------------------ *
   8. Split / feature rows
 * ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 18px; }
.split__body .feat-list { margin-top: 24px; display: grid; gap: 14px; }
.split__body .feat-list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--muted); font-size: .96rem;
}
.split__body .feat-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.split__body .feat-list strong { display: block; color: var(--text); margin-bottom: 2px; }

/* ------------------------------------------------------------------ *
   9. Gallery
 * ------------------------------------------------------------------ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: .86rem;
  font-family: var(--f-display);
  font-weight: 500;
  transition: all .2s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--text); }
.filter-btn.active { background: var(--text); color: #0a0a0b; border-color: var(--text); }

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 540px) { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  display: block;
  background: var(--surface);
}
.gallery-item img {
  width: 100%;
  transition: transform .6s var(--ease), opacity .4s;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
  opacity: 0; transition: opacity .35s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--f-display); font-weight: 600;
  color: #fff; opacity: 0; transform: translateY(6px);
  transition: opacity .35s, transform .35s;
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery-item.hide { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 6, .94);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line-2);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.18); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 18px; }
.lightbox__nav.next { right: 18px; }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .lightbox__nav { width: 40px; height: 40px; } }

/* ------------------------------------------------------------------ *
   10. Shop
 * ------------------------------------------------------------------ */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 820px) { .shop-layout { grid-template-columns: 1fr; } }

.shop-cats { position: sticky; top: calc(var(--nav-h) + 20px); }
.shop-cats h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-2); margin-bottom: 14px; font-family: var(--f-display); }
.shop-cats button {
  display: block; width: 100%; text-align: left;
  background: transparent; border: 0; color: var(--muted);
  padding: 10px 14px; border-radius: 10px; font-size: .94rem;
  transition: background .2s, color .2s;
}
.shop-cats button:hover { color: var(--text); background: var(--surface); }
.shop-cats button.active { color: var(--text); background: var(--surface-2); font-weight: 600; }
@media (max-width: 820px) {
  .shop-cats { position: static; }
  .shop-cats .cat-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .shop-cats h4 { display: none; }
  .shop-cats button { width: auto; white-space: nowrap; border: 1px solid var(--line-2); border-radius: 100px; }
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.product:hover { transform: translateY(-4px); border-color: var(--line-2); }
.product__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #1a1a1f, #0e0e11);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.product__media { text-decoration: none; }
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; filter: drop-shadow(0 14px 24px rgba(0,0,0,.5)); transition: transform .35s ease; }
.product:hover .product__media img { transform: scale(1.05); }
.product__badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--f-display); font-weight: 700;
  background: var(--accent); color: #06121d;
  padding: 4px 9px; border-radius: 100px;
}
.product__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product__brand { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.product__name { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; margin: 6px 0 4px; }
a.product__name { display: block; color: inherit; text-decoration: none; transition: color .2s; }
a.product__name:hover { color: var(--accent); }
.product__desc { font-size: .85rem; color: var(--muted); flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; }
.product__price { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; }
.add-btn {
  background: var(--text); color: #0a0a0b;
  border: 0; border-radius: 100px;
  padding: 9px 16px; font-size: .82rem; font-weight: 600;
  font-family: var(--f-display);
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .2s, filter .2s;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.add-btn:hover { transform: translateY(-1px); }
.add-btn svg { width: 15px; height: 15px; }

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.cart-drawer.open { transform: translateX(0); }
.cart-overlay {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.15rem; }
.cart-close { background: transparent; border: 0; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.cart-close:hover { color: var(--text); background: var(--surface); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { text-align: center; color: var(--muted-2); padding: 60px 20px; font-size: .94rem; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { width: 60px; height: 60px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.cart-line__img img { width: 80%; height: 80%; object-fit: contain; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-size: .9rem; font-weight: 600; font-family: var(--f-display); }
.cart-line__price { font-size: .82rem; color: var(--muted-2); margin-top: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; margin-top: 8px; }
.qty button { background: transparent; border: 0; color: var(--text); width: 26px; height: 26px; font-size: 1rem; line-height: 1; }
.qty span { min-width: 26px; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.cart-line__remove { background: transparent; border: 0; color: var(--muted-2); align-self: flex-start; font-size: .8rem; }
.cart-line__remove:hover { color: #e0736f; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--bg); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total .amt { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; }
.cart-note { font-size: .76rem; color: var(--muted-2); margin-top: 12px; text-align: center; }

/* ------------------------------------------------------------------ *
   11. Forms
 * ------------------------------------------------------------------ */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.field .req { color: var(--accent); }
input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 10px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: .95rem;
  width: 100%;
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #16161c; }
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a4a8b0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  padding: 18px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(127,180,224,.4);
  border-radius: 12px;
  color: var(--text);
  font-size: .92rem;
}
.form-success.show { display: block; }

/* ------------------------------------------------------------------ *
   12. Misc components
 * ------------------------------------------------------------------ */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--f-display);
  letter-spacing: .02em;
}

.brand-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  opacity: .7;
}
.brand-strip span {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: .14em;
  font-size: clamp(.9rem, 1.6vw, 1.15rem);
  color: var(--muted);
}

/* Brand logo marquee */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-right: clamp(40px, 6vw, 88px);
}
.brand-logo { height: 40px; width: auto; opacity: .55; transition: opacity .25s var(--ease); flex: 0 0 auto; }
.brand-logo:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
}

/* ------------------------------------------------------------------ *
   Scroll progress bar + back-to-top
 * ------------------------------------------------------------------ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #ffffff);
  z-index: 200;
  transition: width .1s linear;
}
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--text); color: #0a0a0b; border: 0;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ *
   Price estimator
 * ------------------------------------------------------------------ */
.estimator { max-width: 780px; margin-inline: auto; }
.est-block { margin-bottom: 26px; }
.est-block > label {
  display: block; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted-2); margin-bottom: 12px;
  font-family: var(--f-display);
}
.est-sizes { display: flex; gap: 10px; }
.est-sizes button {
  flex: 1; background: transparent; border: 1px solid var(--line-2);
  color: var(--muted); padding: 13px; border-radius: 12px;
  font-family: var(--f-display); font-weight: 600; transition: all .2s var(--ease);
}
.est-sizes button:hover { color: var(--text); border-color: var(--text); }
.est-sizes button.active { background: var(--text); color: #0a0a0b; border-color: var(--text); }
.est-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .est-services { grid-template-columns: 1fr; } }
.est-service {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.est-service:hover { border-color: var(--line-2); }
.est-service input { width: auto; accent-color: var(--accent); flex: 0 0 auto; }
.est-service .nm { flex: 1; font-size: .92rem; color: var(--text); }
.est-service .pr { color: var(--muted-2); font-size: .82rem; white-space: nowrap; }
.est-service.checked { border-color: var(--accent); background: var(--accent-dim); }
.est-total {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 26px; padding-top: 24px;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.est-total .est-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 4px; }
.est-total .est-amount { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.3rem); }

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 32px);
  height: 100%;
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; }
.quote p { color: var(--text); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.quote .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--chrome); color: #0a0a0b;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem;
}
.quote .who .name { font-weight: 600; font-size: .92rem; font-family: var(--f-display); }
.quote .who .role { font-size: .8rem; color: var(--muted-2); }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.7), rgba(10,10,11,.92)); }
.cta-band__inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .hero__cta { justify-content: center; }

/* FAQ / accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--f-display); font-weight: 500; font-size: 1.05rem;
}
.faq-q .ic { flex-shrink: 0; transition: transform .3s var(--ease); color: var(--accent); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding-bottom: 22px; font-size: .96rem; }

/* Info tiles (contact) */
.info-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-tile svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.info-tile .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.info-tile .v { color: var(--text); margin-top: 3px; font-size: 1rem; }
.info-tile .v a:hover { color: var(--accent); }

.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 12; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) brightness(.9); }

/* Scheduler embed placeholder */
.scheduler {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  min-height: 640px;
  overflow: hidden;
}
.scheduler iframe { width: 100%; height: 660px; border: 0; }
.scheduler__placeholder {
  display: grid; place-items: center; text-align: center;
  min-height: 640px; padding: 40px;
}
.scheduler__placeholder .ic { width: 64px; height: 64px; color: var(--accent); margin-bottom: 20px; }
.scheduler__placeholder h3 { margin-bottom: 10px; }

/* ------------------------------------------------------------------ *
   13. Footer
 * ------------------------------------------------------------------ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-2); margin-bottom: 16px; font-family: var(--f-display); }
.footer-col a, .footer-col li { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--muted);
  transition: all .2s;
}
.social-row a:hover { color: var(--text); border-color: var(--text); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem; color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--text); }

/* ------------------------------------------------------------------ *
   14. Scroll reveal
 * ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
/* No-JS / failsafe: never hide content if scripts don't run */
html.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Terms / legal page */
.terms h2 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); margin: 38px 0 14px; }
.terms h2:first-child { margin-top: 0; }
.terms p { margin-bottom: 14px; line-height: 1.75; }

/* ------------------------------------------------------------------ *
   Before / After comparison slider
 * ------------------------------------------------------------------ */
.ba { max-width: 980px; margin-inline: auto; }
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  box-shadow: var(--shadow);
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, .92);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, .55);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(10, 10, 11, .55);
  backdrop-filter: blur(6px);
  border: 1.5px solid #fff;
  display: grid; place-items: center;
  color: #fff;
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-label {
  position: absolute; bottom: 14px;
  font-family: var(--f-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; padding: 5px 12px; border-radius: 100px;
  background: rgba(10, 10, 11, .5);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; }
.ba-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ba-switch { display: flex; gap: 10px; margin-top: 18px; justify-content: center; flex-wrap: wrap; }
.ba-switch button {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--f-display); font-weight: 500; font-size: .84rem;
  transition: all .2s var(--ease);
}
.ba-switch button:hover { color: var(--text); border-color: var(--text); }
.ba-switch button.active { background: var(--text); color: #0a0a0b; border-color: var(--text); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 24px; }
.max-60 { max-width: 60ch; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hidden { display: none !important; }
@media (max-width: 980px) { .hide-mobile { display: none !important; } }

/* ------------------------------------------------------------------ *
   15. Booking system (service picker + scheduler + request form)
 * ------------------------------------------------------------------ */
.book-steps { max-width: 880px; margin-inline: auto; }
.book-step-label { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.book-step-label h3 { margin: 0; }
.step-dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--chrome); color: #0a0a0b;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center; flex-shrink: 0;
}
.svc-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .svc-pick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-pick { grid-template-columns: 1fr; } }
.svc-opt {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.svc-opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.svc-opt.active {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.svc-opt .svc-name { font-family: var(--f-display); font-weight: 600; font-size: .98rem; }
.svc-opt .svc-meta { font-size: .8rem; color: var(--muted-2); }
.svc-opt.active .svc-meta { color: var(--muted); }

.book-form-wrap { padding: clamp(22px, 4vw, 36px); }
.book-form-note { font-size: .92rem; margin-bottom: 22px; }
.form-error {
  display: none;
  padding: 14px 18px;
  background: rgba(224, 115, 111, .12);
  border: 1px solid rgba(224, 115, 111, .45);
  border-radius: 12px;
  color: #f1b3b0;
  font-size: .9rem;
}
.form-error.show { display: block; }

/* ------------------------------------------------------------------ *
   16. Shop checkout extras
 * ------------------------------------------------------------------ */
.buy-now {
  display: block;
  text-align: center;
  margin: 10px 18px 16px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--f-display); font-weight: 600; font-size: .8rem;
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.buy-now:hover { border-color: var(--accent); background: var(--accent-dim); }
.pay-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 12px 0;
  color: var(--muted-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em;
}
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------------------------------------------ *
   17. Design elevation pass
 * ------------------------------------------------------------------ */
/* Film grain — subtle texture over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Bigger, chromed hero headline with a slow sheen sweep */
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  letter-spacing: -.03em;
  background: linear-gradient(115deg, #ffffff 0%, #c9d1da 25%, #ffffff 42%, #aab2bd 60%, #f2f5f8 78%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chrome-sheen 9s linear infinite;
}
@keyframes chrome-sheen { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 { animation: none; } }

/* Primary buttons get the chrome treatment */
.btn--primary { background: var(--chrome); }

/* Cards: hairline accent appears on hover */
.card::before, .product::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.product { position: relative; }
.card:hover::before, .product:hover::before { opacity: .8; }

/* Hero scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 3;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 16px;
}
.scroll-cue::after {
  content: "";
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; top: 8px; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* Sticky mobile action bar (Book + Call) */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  padding: 10px max(12px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, .92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  gap: 10px;
}
.mobile-bar .btn { flex: 1; padding: 12px 10px; font-size: .88rem; }
@media (max-width: 980px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .to-top { bottom: 84px; }
}

/* ==================================================================== *
   V3 — SHOWCASE LAYER
   Reworked design system: deeper blacks, kinetic type, scroll-driven
   animation, view transitions, custom cursor, signature components.
 * ==================================================================== */

:root {
  --bg:        #050506;
  --bg-2:      #0a0a0c;
  --surface:   #101013;
  --surface-2: #16161a;
  --maxw: 1320px;
}

/* ---- Cross-document view transitions (newest CSS — safe fallback) -- */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(14px); } }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.22,.61,.36,1) both; }
::view-transition-new(root) { animation: vt-in  .34s cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------------------------- Custom cursor ------------------------ */
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.2px solid rgba(255,255,255,.55);
  mix-blend-mode: difference;
  transition: width .3s, height .3s, margin .3s, border-color .3s, background .3s;
}
.cursor-ring.grow {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(255,255,255,.9);
}
.cursor-ring.drag {
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(2px);
}
.cursor-ring.down { transform-origin: center; border-color: #fff; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ----------------------- Kinetic split text ------------------------ */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-split] .wi {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  transition: transform .9s cubic-bezier(.22,.61,.36,1);
}
[data-split].split-in .wi { transform: none; }
html.no-js [data-split] .wi { transform: none; }

/* ------------------------------ Hero v3 ---------------------------- */
.hero-v3 {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hero-slides .slide.on {
  opacity: 1;
  animation: kenburns 8s linear forwards;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
@media (prefers-reduced-motion: reduce) { .hero-slides .slide.on { animation: none; transform: none; } }
.hero-v3 .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,6,.62) 0%, rgba(5,5,6,.12) 38%, rgba(5,5,6,.78) 82%, var(--bg) 100%),
    radial-gradient(120% 90% at 18% 88%, rgba(5,5,6,.66) 0%, transparent 55%);
}
.hero-v3 .container { position: relative; z-index: 2; }
.hero-v3 h1 {
  font-size: clamp(2.2rem, 8.2vw, 7rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 20px;
  max-width: 13ch;
  background: none; color: var(--text); animation: none; /* v3: solid, split-animated */
}
.hero-v3 h1 .thin { font-weight: 400; color: var(--muted); }
.hero-v3 .lead { margin-top: 26px; max-width: 56ch; }
.hero-v3 .hero__cta { margin-top: 36px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: 9px 18px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.05);
}
.hero-kicker .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #9fe3a8;
  box-shadow: 0 0 0 0 rgba(159,227,168,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(159,227,168,0); } 100% { box-shadow: 0 0 0 0 rgba(159,227,168,0); } }
.hero-foot {
  position: relative; z-index: 2;
  margin-top: clamp(36px, 6vw, 72px);
  border-top: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  background: rgba(5,5,6,.4);
}
.hero-foot .container {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding-block: 18px;
}
.hero-foot .stat { display: flex; align-items: baseline; gap: 10px; }
.hero-foot .stat .num { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.hero-foot .stat .lbl { margin: 0; font-size: .78rem; }
.hero-foot .slide-dots { margin-left: auto; display: flex; gap: 8px; }

/* ------------------------------ Ticker ----------------------------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  background: var(--bg-2);
}
.ticker__track {
  display: flex; width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: 0 0 auto; }
.ticker__group span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.34);
  padding-inline: 28px;
  white-space: nowrap;
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.ticker__group span:hover { color: var(--text); -webkit-text-stroke-color: transparent; }
.ticker__group i {
  font-style: normal; color: var(--accent); font-size: .8em;
}
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; } }

/* ------------------------ Section heads v3 ------------------------- */
.head-v3 { position: relative; margin-bottom: clamp(40px, 6vw, 72px); }
.head-v3 .ghost {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.head-v3 h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -.03em;
  text-transform: uppercase;
  max-width: 18ch;
}
.head-v3 .eyebrow { margin-bottom: 14px; }
.head-v3 p { margin-top: 16px; max-width: 58ch; }

/* ---------------------- Sticky stacking cards ---------------------- */
.stack { display: grid; gap: 18px; }
.stack-card {
  position: sticky;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  overflow: hidden;
  box-shadow: 0 -18px 40px -28px rgba(0,0,0,.9);
}
.stack-card::after { /* spotlight */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.055), transparent 42%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.stack-card:hover::after { opacity: 1; }
.stack-card .idx {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255,255,255,.3);
  align-self: start;
}
.stack-card h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.stack-card p { margin-top: 10px; max-width: 60ch; font-size: .96rem; }
.stack-card .meta {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: .8rem; color: var(--muted-2);
  font-family: var(--f-display); letter-spacing: .08em; text-transform: uppercase;
}
.stack-card .meta b { color: var(--text); font-weight: 600; }
.stack-card .go {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--text);
  transition: background .3s, color .3s, transform .3s, border-color .3s;
  flex-shrink: 0;
}
.stack-card .go svg { width: 22px; height: 22px; transition: transform .3s; }
.stack-card:hover .go { background: var(--text); color: #0a0a0b; border-color: var(--text); }
.stack-card:hover .go svg { transform: rotate(-45deg); }
@media (max-width: 700px) {
  .stack-card { grid-template-columns: 1fr; gap: 12px; }
  .stack-card .go { display: none; }
}

/* --------------------- Horizontal gallery strip -------------------- */
.h-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.h-scroll .shot {
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 32vw, 420px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: var(--surface);
}
.h-scroll .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.h-scroll .shot:hover img { transform: scale(1.06); }
.h-scroll .shot .cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--f-display); font-weight: 600;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.h-scroll .shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6));
  opacity: 0; transition: opacity .35s;
}
.h-scroll .shot:hover::after { opacity: 1; }
.h-scroll .shot:hover .cap { opacity: 1; transform: none; }
.h-hint {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: var(--muted-2);
  letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--f-display);
  margin-top: 4px;
}
.h-hint svg { width: 18px; height: 18px; animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------------------- Testimonials marquee ----------------------- */
.t-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.t-marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.t-marquee:hover .t-marquee__track { animation-play-state: paused; }
.t-marquee .quote { width: clamp(300px, 36vw, 440px); flex: 0 0 auto; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .t-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* -------------------------- Image reveal --------------------------- */
.img-reveal { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-reveal::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: var(--bg);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 1s cubic-bezier(.22,.61,.36,1) .1s;
}
.img-reveal.in::before { transform: scaleY(0); }
html.no-js .img-reveal::before { display: none; }

/* ----------------- CSS scroll-driven animations -------------------- */
@supports (animation-timeline: view()) {
  .sd-rise {
    animation: sd-rise both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  @keyframes sd-rise {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: none; }
  }
  .hero-v3 .veil { /* deepen veil as you scroll past hero */
    animation: veil-dim both linear;
    animation-timeline: scroll();
    animation-range: 0 100svh;
  }
  @keyframes veil-dim { to { background-color: rgba(5,5,6,.72); } }
}

/* ----------------------- Giant footer wordmark --------------------- */
.footer-giant {
  display: block;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9.4vw, 9rem);
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.16);
  padding-block: clamp(28px, 5vw, 56px) 0;
  user-select: none;
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}
.footer-giant:hover {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke-color: transparent;
}

/* --------------------------- CTA v3 band --------------------------- */
.cta-v3 {
  position: relative;
  text-align: center;
  padding-block: clamp(80px, 12vw, 150px);
  overflow: hidden;
}
.cta-v3 .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: .22;
}
.cta-v3 .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, transparent 0%, var(--bg) 90%); }
.cta-v3 .container { position: relative; z-index: 2; }
.cta-v3 h2 {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: 1.02;
  max-width: 16ch;
  margin-inline: auto;
}
.cta-v3 .hero__cta { justify-content: center; margin-top: 38px; }

/* ------------------------- Header refinements ---------------------- */
.site-header { transition: background .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease); }
.site-header.tucked { transform: translateY(-100%); }
.site-header.tucked:focus-within { transform: none; }

/* -------------------------- Big intro line ------------------------- */
.manifesto {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--text);
  max-width: 30ch;
}
.manifesto em { font-style: normal; color: var(--muted-2); }

/* spotlight on generic cards too */
.card::after, .product::after, .quote::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.05), transparent 45%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.quote { position: relative; overflow: hidden; }
.card:hover::after, .product:hover::after, .quote:hover::after { opacity: 1; }

/* ==================================================================== *
   V4 — REACTIVE SCROLL LAYER
   Info flows in with scroll, refined markers, reworked inner pages.
 * ==================================================================== */

/* ---- 1. Kill the big checkmarks → thin accent dashes / dots -------- */
.feat-list li > svg, .split__body .feat-list svg { display: none !important; }
.feat-list li::before {
  content: "";
  flex: 0 0 20px;
  height: 1px;
  margin-top: .8em;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.service-card ul.includes li { padding-left: 18px; }
.service-card ul.includes li::before {
  width: 5px; height: 5px;
  border: 0; border-radius: 50%;
  background: var(--accent);
  transform: none;
  top: .58em;
  opacity: .8;
}

/* ---- 2. Reveal variants (information flows in) --------------------- */
[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal].in { transform: none; }

/* Scroll-LINKED entrances in modern browsers: elements glide in tied
   to scroll position itself (not a one-shot trigger). */
@supports (animation-timeline: view()) {
  [data-reveal] {
    opacity: 1; transform: none; transition: none;
    animation: flow-up both;
    animation-timeline: view();
    animation-range: entry 0% entry 75%;
  }
  [data-reveal="left"]  { animation-name: flow-left; }
  [data-reveal="right"] { animation-name: flow-right; }
  [data-reveal="scale"] { animation-name: flow-scale; }
  .gallery-grid .gallery-item, .faq-item, .info-tile, .pill-row .pill {
    animation: flow-up both;
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }
  .step, .est-service {
    animation: flow-up both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  @keyframes flow-up    { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
  @keyframes flow-left  { from { opacity: 0; transform: translateX(-64px); } to { opacity: 1; transform: none; } }
  @keyframes flow-right { from { opacity: 0; transform: translateX(64px); } to { opacity: 1; transform: none; } }
  @keyframes flow-scale { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }

  /* Hero content drifts up & fades as you scroll away — feels alive */
  .hero-v3 > .container {
    animation: hero-away both linear;
    animation-timeline: scroll();
    animation-range: 0 90svh;
  }
  @keyframes hero-away { to { opacity: .1; transform: translateY(-70px); } }

  /* Page heroes: background slowly zooms with scroll */
  .page-hero__bg {
    animation: ph-zoom both linear;
    animation-timeline: scroll();
    animation-range: 0 70svh;
  }
  @keyframes ph-zoom { from { transform: scale(1.0); } to { transform: scale(1.09); } }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .gallery-grid .gallery-item, .faq-item, .info-tile,
  .step, .est-service, .hero-v3 > .container, .page-hero__bg { animation: none !important; }
}

/* ---- 3. Rotating headline word ------------------------------------ */
.hero-v3 h1 { display: block; }
.hero-v3 h1 .line { display: block; }
.rotator {
  display: grid;
  overflow: hidden;
}
.rotator > span {
  grid-area: 1 / 1;
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .75s cubic-bezier(.22,.61,.36,1), opacity .5s;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.rotator > span.cur { transform: none; opacity: 1; }
.rotator > span.out { transform: translateY(-110%); opacity: 0; }
html.no-js .rotator > span:first-child { transform: none; opacity: 1; }

/* ---- 4. Hero slide dots ------------------------------------------- */
.slide-dots { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.slide-dots button {
  width: 26px; height: 4px;
  border: 0; border-radius: 4px;
  background: rgba(255,255,255,.22);
  padding: 0;
  transition: background .3s, width .3s;
}
.slide-dots button.cur { background: #fff; width: 38px; }

/* ---- 5. Scroll-velocity skew hooks --------------------------------- */
.ticker, .t-marquee { transition: transform .25s ease-out; will-change: transform; }

/* ---- 6. Page-hero v4 — cinematic inner-page headers ---------------- */
.page-hero {
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(110px, 16vw, 180px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.page-hero__bg { opacity: .42; background-position: center 38%; }
.page-hero__bg::after {
  background:
    linear-gradient(180deg, rgba(5,5,6,.66) 0%, rgba(5,5,6,.25) 40%, var(--bg) 96%),
    radial-gradient(110% 80% at 14% 90%, rgba(5,5,6,.6) 0%, transparent 60%);
}
.page-hero h1 {
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6.6vw, 5.2rem);
  letter-spacing: -.03em;
  line-height: 1;
}
.page-hero .ghost-hero {
  position: absolute;
  right: max(2vw, 12px); bottom: 6px;
  z-index: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  padding: 6px 14px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  margin-bottom: 8px;
}

/* ---- 7. Scroll cue (reusable) -------------------------------------- */
.hero-v3 .scroll-cue { z-index: 3; }

/* ==================================================================== *
   V4.1 — fixes: feat-list spacing, estimator polish, custom calendar
 * ==================================================================== */

/* feat-list works anywhere (not only inside .split__body) */
.feat-list { display: grid; gap: 14px; }
.feat-list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--muted); font-size: .96rem;
}
.feat-list li strong {
  display: block;
  color: var(--text);
  margin-bottom: 3px;
}
.feat-list li > span { display: block; }
.feat-list li > span > span { display: block; }

/* ------------------------- Custom calendar ------------------------- */
.cal-widget {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--bg-2);
  padding: 16px;
  transition: border-color .25s;
}
.cal-widget.err { border-color: #e0736f; }
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.cal-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: capitalize;
}
.cal-nav {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, opacity .2s;
}
.cal-nav:hover { background: var(--surface-2); border-color: var(--text); }
.cal-nav:disabled { opacity: .25; pointer-events: none; }
.cal-dow, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow span {
  text-align: center;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-family: var(--f-display);
  padding-block: 6px;
}
.cal-grid button {
  aspect-ratio: 1;
  border: 0; border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
  display: grid; place-items: center;
  transition: background .15s, color .15s, box-shadow .15s;
}
.cal-grid button:hover:not(:disabled):not(.sel) { background: var(--surface-2); }
.cal-grid button:disabled { color: rgba(255,255,255,.16); cursor: default; }
.cal-grid button.sel {
  background: var(--text);
  color: #0a0a0b;
  font-weight: 700;
}
.cal-grid button.today:not(.sel) { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-grid .blank { visibility: hidden; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  margin-top: 14px;
  border-radius: var(--r);
  transition: outline-color .25s;
  outline: 1px solid transparent;
  outline-offset: 6px;
}
.time-slots.err { outline-color: #e0736f; }
.time-slots .slot {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  border-radius: 100px;
  padding: 10px 4px;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  font-family: var(--f-display);
  transition: background .15s, color .15s, border-color .15s;
}
.time-slots .slot:hover { border-color: var(--text); }
.time-slots .slot.cur {
  background: var(--text);
  color: #0a0a0b;
  border-color: var(--text);
  font-weight: 700;
}
.time-slots .hint {
  grid-column: 1 / -1;
  font-size: .84rem;
  color: var(--muted-2);
  padding: 10px 2px;
}
.cal-summary {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--muted);
  min-height: 1.4em;
}
.cal-summary b { color: var(--text); font-family: var(--f-display); }

/* =====================================================================
   PRODUCT DETAIL PAGE (PDP)
   ===================================================================== */
.page-hero--slim { padding: calc(var(--nav-h) + 28px) 0 4px; min-height: 0; }
.page-hero--slim .breadcrumb { margin: 0; }
.section--tight { padding-top: 18px; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.pdp__media {
  aspect-ratio: 1 / 1; border-radius: var(--radius, 18px);
  background: linear-gradient(160deg, #1a1a1f, #0e0e11);
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
@media (max-width: 820px) { .pdp__media { position: static; } }
.pdp__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 22px 40px rgba(0,0,0,.55)); }
.pdp__info .product__brand { font-size: .78rem; }
.pdp__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.12; margin: 8px 0 14px; }
.pdp__price { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; margin-bottom: 22px; }
.pdp-sizes { margin: 0 0 22px; }
.pdp-sizes__label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-2); margin-bottom: 10px; font-family: var(--f-display); }
.pdp-sizes__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-size {
  border: 1px solid var(--line-2); background: var(--surface); color: var(--muted);
  border-radius: 100px; padding: 9px 16px; font-size: .85rem; font-weight: 600;
  font-family: var(--f-display); cursor: pointer; transition: all .2s;
}
.pdp-size:hover { color: var(--text); border-color: var(--text); }
.pdp-size.active { background: var(--text); color: #0a0a0b; border-color: var(--text); }
.pdp__actions { margin-bottom: 26px; }
.add-btn--lg { padding: 14px 30px; font-size: .95rem; }
.pdp__desc { color: var(--muted); line-height: 1.7; font-size: .95rem; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 18px; white-space: pre-line; }
.pdp__meta { font-size: .85rem; color: var(--muted-2); margin-bottom: 18px; }
.pdp__meta a { color: var(--muted); text-decoration: none; }
.pdp__meta a:hover { color: var(--accent); }
.pdp-related { margin-top: clamp(48px, 7vw, 88px); }
.pdp-related__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 22px; }
.pdp-related .grid.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 22px); }
@media (max-width: 980px) { .pdp-related .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pdp-related .grid.cols-4 { grid-template-columns: 1fr; } }

/* PDP accordions (usage / safety / composition / professional) */
.pdp-accordions { margin: 34px 0 0; max-width: 820px; }
.pdp-acc { border-top: 1px solid var(--line); }
.pdp-acc:last-child { border-bottom: 1px solid var(--line); }
.pdp-acc > summary {
  cursor: pointer; list-style: none; padding: 16px 2px;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pdp-acc > summary::-webkit-details-marker { display: none; }
.pdp-acc > summary::after {
  content: "+"; font-size: 1.3rem; color: var(--muted-2); line-height: 1;
  transition: transform .25s ease;
}
.pdp-acc[open] > summary::after { transform: rotate(45deg); }
.pdp-acc__body { padding: 0 2px 20px; color: var(--muted); line-height: 1.75; font-size: .92rem; white-space: pre-line; }
