/* ============================================================
   NANO CERAMIC PROS — Design System
   Luxury automotive: black / charcoal / white / metallic silver
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --card: #141416;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f5f7;
  --muted: #a2a7ae;
  --faint: #6e7278;
  --silver: #c9ced6;
  --metal: linear-gradient(120deg, #f2f3f5 0%, #b9bfc8 45%, #e8eaee 70%, #8f96a0 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 12vw, 160px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: #e8eaee; color: #0a0a0b; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.display-xl { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; }
.display-lg { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.display-md { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, #c9ced6, transparent);
}

.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 640px; }

.metal-text {
  background-image: linear-gradient(100deg, #9aa0a8 0%, #e8eaee 26%, #ffffff 42%, #d2d7de 56%, #9aa0a8 82%);
  background-size: 220% auto;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: metalSheen 6.5s linear infinite;
}
@keyframes metalSheen { from { background-position: 220% 0; } to { background-position: -120% 0; } }

/* ---------- Layout ---------- */

.wrap { max-width: 1340px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.section { padding-top: var(--section); padding-bottom: var(--section); position: relative; }
.section-tight { padding-top: calc(var(--section) * 0.6); padding-bottom: calc(var(--section) * 0.6); }
.section-dark2 { background: var(--bg-2); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 18px; }

.hairline { border: none; border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 34px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary { background: #f4f5f7; color: #0a0a0b; }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 12px 40px rgba(255,255,255,0.14); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #f4f5f7; transform: translateY(-2px); }

.btn-text {
  padding: 0;
  border: none;
  color: var(--silver);
  position: relative;
}
.btn-text::after { content: "→"; transition: transform 0.3s var(--ease); }
.btn-text:hover::after { transform: translateX(6px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px var(--pad);
  max-width: 1480px;
  margin: 0 auto;
  transition: padding 0.4s ease;
}
.nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.brand-name span { color: var(--faint); font-weight: 400; }

.brand-logo { height: 46px; width: auto; display: block; transition: height 0.4s ease; }
.nav.scrolled .brand-logo { height: 38px; }
footer .brand-logo { height: 58px; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.25s ease;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.active { color: #fff; }

.has-drop .drop {
  position: absolute; top: 100%; left: -24px;
  min-width: 230px;
  background: rgba(14, 14, 16, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
  display: block;
  padding: 11px 24px;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--muted);
  transition: all 0.2s ease;
}
.drop a:hover { color: #fff; background: rgba(255,255,255,0.04); padding-left: 30px; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 12px 24px; font-size: 0.72rem; }

.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-burger span { width: 24px; height: 1.5px; background: #fff; transition: all 0.3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 8, 9, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 600;
  padding: 10px 0;
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.3s var(--ease);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; padding-left: 12px; }
.mobile-menu a.sub { font-size: 1.05rem; font-weight: 400; padding: 12px 0 12px 20px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero.short { min-height: 78svh; }

.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,11,0.96) 0%, rgba(10,10,11,0.55) 38%, rgba(10,10,11,0.25) 65%, rgba(10,10,11,0.45) 100%);
}
.hero-scrim::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,11,0.75) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(56px, 9vh, 110px);
}
.hero-content .display-xl { max-width: 17ch; margin-bottom: 24px; }
.hero-content .lede { margin-bottom: 40px; }

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--silver); }

.hero-trust {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px 32px;
}
.hero-trust li {
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.hero-trust li::before { content: ""; width: 5px; height: 5px; background: var(--silver); transform: rotate(45deg); flex: none; }

.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 40px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 0.64rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex; align-items: center; gap: 14px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--silver), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

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

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ---------- Image cards / grids ---------- */

.img-cover { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }

.tile {
  position: relative;
  overflow: hidden;
  background: var(--card);
  display: block;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,9,0.85) 0%, transparent 55%);
  z-index: 1;
}
.tile:hover .img-cover { transform: scale(1.05); }
.tile-label {
  position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2;
}
.tile-label .t1 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; }
.tile-label .t2 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); margin-top: 4px; }
.tile-label .t3 { font-size: 0.82rem; color: var(--muted); margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: all 0.45s var(--ease); }
.tile:hover .tile-label .t3 { max-height: 80px; opacity: 1; }

/* Authority grid */
.authority-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.authority-grid .tile:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.authority-grid .tile:nth-child(2) { grid-column: span 5; }
.authority-grid .tile:nth-child(3) { grid-column: span 5; }
.authority-grid .tile:nth-child(4) { grid-column: span 4; }
.authority-grid .tile:nth-child(5) { grid-column: span 4; }
.authority-grid .tile:nth-child(6) { grid-column: span 4; }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.svc-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.svc-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.svc-card .img-cover { opacity: 0.45; }
.svc-card:hover .img-cover { opacity: 0.6; transform: scale(1.04); }
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,9,0.92) 10%, rgba(8,8,9,0.35) 60%, transparent);
}
.svc-body { position: relative; z-index: 2; }
.svc-num {
  position: absolute; top: 28px; left: 36px; z-index: 2;
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.3em;
  color: var(--faint);
}
.svc-body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.svc-body p { color: var(--muted); font-size: 0.92rem; max-width: 52ch; margin-bottom: 18px; }

.svc-card.featured { grid-column: span 12; min-height: 480px; padding: clamp(28px, 4vw, 56px); }
.svc-card.featured .svc-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.svc-card.featured .svc-body p { font-size: 1.05rem; max-width: 58ch; }
.svc-card.featured .svc-tag {
  display: inline-block;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: rgba(10,10,11,0.5);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  margin-bottom: 20px;
  color: var(--silver);
}
.svc-card.s2 { grid-column: span 6; }
.svc-card.s3 { grid-column: span 6; }
.svc-card.s4 { grid-column: span 6; }
.svc-card.s5 { grid-column: span 6; }

/* ---------- Why PPF / statements ---------- */

.statements { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.statement-list { display: flex; flex-direction: column; }
.statement {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 22px; align-items: baseline;
}
.statement:first-child { border-top: 1px solid var(--line); }
.statement .idx { font-family: var(--font-display); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.2em; flex: none; }
.statement p { font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; color: var(--text); }
.statement strong { font-weight: 600; color: #fff; }

/* ---------- Compare slider ---------- */

.compare {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #0e0e10;
}
.compare-base, .compare-top { position: absolute; inset: 0; background-size: cover; background-position: center; }
.compare-top { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }

.compare-damage { filter: saturate(0.55) brightness(0.82) contrast(1.05); }
.compare-damage::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 3px at 18% 62%, rgba(255,255,255,0.9) 0 1.4px, rgba(60,60,60,0.9) 1.6px 3px, transparent 3px),
    radial-gradient(circle 2.4px at 26% 55%, rgba(255,255,255,0.85) 0 1px, rgba(50,50,50,0.9) 1.2px 2.4px, transparent 2.6px),
    radial-gradient(circle 2px at 34% 68%, rgba(255,255,255,0.8) 0 0.9px, rgba(50,50,50,0.85) 1px 2px, transparent 2.2px),
    radial-gradient(circle 3.2px at 45% 58%, rgba(255,255,255,0.9) 0 1.5px, rgba(60,60,60,0.9) 1.7px 3.2px, transparent 3.4px),
    radial-gradient(circle 2px at 52% 70%, rgba(255,255,255,0.8) 0 0.9px, rgba(45,45,45,0.85) 1.1px 2px, transparent 2.2px),
    radial-gradient(circle 2.6px at 61% 52%, rgba(255,255,255,0.85) 0 1.2px, rgba(55,55,55,0.9) 1.4px 2.6px, transparent 2.8px),
    radial-gradient(circle 2px at 70% 64%, rgba(255,255,255,0.8) 0 0.9px, rgba(50,50,50,0.85) 1.1px 2px, transparent 2.2px),
    radial-gradient(circle 1.8px at 23% 72%, rgba(255,255,255,0.75) 0 0.8px, rgba(45,45,45,0.8) 1px 1.8px, transparent 2px),
    radial-gradient(circle 2.2px at 80% 58%, rgba(255,255,255,0.8) 0 1px, rgba(50,50,50,0.85) 1.2px 2.2px, transparent 2.4px),
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.16) 42.5%, transparent 43%),
    linear-gradient(75deg, transparent 60%, rgba(255,255,255,0.1) 60.4%, transparent 61%);
}
.compare-clean { filter: saturate(1.12) contrast(1.06) brightness(1.04); }
.compare-clean::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(255,255,255,0.14) 45%, transparent 60%);
}

.compare-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 1px;
  background: #fff;
  z-index: 3;
  transform: translateX(-0.5px);
}
.compare-handle::after {
  content: "⟨ ⟩";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  display: grid; place-items: center;
  font-size: 0.8rem; letter-spacing: 2px;
  color: #fff;
}
.compare-tag {
  position: absolute; bottom: 20px; z-index: 2;
  font-family: var(--font-display);
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 9px 18px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
}
.compare-tag.left { left: 20px; }
.compare-tag.right { right: 20px; color: var(--silver); }

/* ---------- Packages ---------- */

.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pkg {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: all 0.4s var(--ease);
  position: relative;
}
.pkg:hover { border-color: var(--line-strong); transform: translateY(-6px); background: var(--bg-3); }
.pkg.flagship {
  background: linear-gradient(160deg, #1b1c1f 0%, #101012 70%);
  border-color: rgba(201, 206, 214, 0.35);
}
.pkg.flagship::before {
  content: "Maximum Preservation";
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  background: var(--metal);
  color: #0a0a0b;
  padding: 7px 16px;
  white-space: nowrap;
}
.pkg h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pkg .pkg-sub { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.pkg dl { flex: 1; }
.pkg dt {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint);
  margin-top: 20px; margin-bottom: 6px;
}
.pkg dt:first-child { margin-top: 0; }
.pkg dd { font-size: 0.92rem; color: var(--muted); }
.pkg .btn { margin-top: 32px; justify-content: center; }

/* ---------- Process ---------- */

.process-list { counter-reset: step; max-width: 880px; }
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-step:first-child { border-top: 1px solid var(--line); }
.process-step .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

.process-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.process-side { position: sticky; top: 120px; }
.process-side .frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); }

/* ---------- Stats / trust ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat .val {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .val sup { font-size: 0.45em; }
.stat .label { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

.brand-strip {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 24px 48px;
}
.brand-strip span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.3s ease;
}
.brand-strip span:hover { color: var(--silver); }
.brand-strip .note { font-size: 0.62rem; font-weight: 400; letter-spacing: 0.2em; width: 100%; text-align: center; color: var(--faint); }

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

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--line-strong); color: #fff; }
.filter-btn.active { background: #f4f5f7; border-color: #f4f5f7; color: #0a0a0b; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid .tile { aspect-ratio: 4/3; }
.gallery-grid .tile.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-grid .tile.hidden { display: none; }

/* ---------- Academy ---------- */

.academy-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.academy-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding-top: var(--section); padding-bottom: var(--section); }
.program-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.program-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.program-list li::before { content: ""; width: 5px; height: 5px; background: var(--silver); transform: rotate(45deg); flex: none; }

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

.faq { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 500;
  transition: color 0.25s ease;
}
.faq-q:hover { color: #fff; }
.faq-q .ico { font-size: 1.3rem; font-weight: 300; color: var(--faint); transition: transform 0.4s var(--ease); flex: none; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { color: var(--muted); padding-bottom: 28px; max-width: 70ch; }

/* ---------- PPF layer diagram ---------- */

.layer-diagram { width: 100%; height: auto; display: block; }
.layer-diagram text { font-family: var(--font-body); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit {
  border: 1px solid var(--line);
  padding: 34px 30px;
  background: var(--card);
  transition: all 0.35s var(--ease);
}
.benefit:hover { border-color: var(--line-strong); background: var(--bg-3); transform: translateY(-4px); }
.benefit .b-ico { font-size: 1.4rem; margin-bottom: 18px; color: var(--silver); }
.benefit h3 { font-size: 1.02rem; margin-bottom: 8px; }
.benefit p { font-size: 0.88rem; color: var(--muted); }

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

.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .hero-media { animation: none; }
.cta-band .cta-scrim { position: absolute; inset: 0; background: rgba(8, 8, 9, 0.78); }
.cta-inner { position: relative; z-index: 2; padding: var(--section) var(--pad); max-width: 880px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 18px; }
.cta-inner .lede { margin: 0 auto 40px; }
.cta-inner .btn-row { justify-content: center; }

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 16px 18px;
  transition: border-color 0.3s ease;
  width: 100%;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a2a7ae'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--silver);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.file-drop {
  border: 1px dashed var(--line-strong);
  background: var(--bg-2);
  padding: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.file-drop:hover { border-color: var(--silver); color: var(--text); }
.file-drop input { display: none; }

.form-success {
  display: none;
  border: 1px solid rgba(201, 206, 214, 0.4);
  background: var(--bg-3);
  padding: 48px;
  text-align: center;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  min-height: 64svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero .hero-content { padding-bottom: clamp(48px, 7vh, 80px); }

/* ---------- Split sections ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split .frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); }
.split .frame.wide { aspect-ratio: 4/3; }
.split h2 { margin-bottom: 18px; }
.split .lede { margin-bottom: 26px; }
.split p + p { margin-top: 16px; }
.split .body-copy { color: var(--muted); }

.checklist { list-style: none; margin-top: 26px; }
.checklist li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  display: flex; gap: 14px; align-items: baseline;
}
.checklist li::before { content: "—"; color: var(--silver); flex: none; }
.checklist li strong { color: var(--text); font-weight: 600; }

/* ---------- Vehicle marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  white-space: nowrap;
  position: relative;
}
.marquee-track { display: inline-flex; gap: 64px; animation: marquee 36s linear infinite; padding-right: 64px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--faint);
}
@keyframes marquee { to { transform: translateX(-50%); } }

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

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

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

footer {
  border-top: 1px solid var(--line);
  background: #060607;
  padding: clamp(56px, 8vw, 96px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-grid h4 {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-tag { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin-top: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .authority-grid { grid-auto-rows: 180px; }
  .authority-grid .tile:nth-child(1) { grid-column: span 12; grid-row: span 2; }
  .authority-grid .tile:nth-child(2), .authority-grid .tile:nth-child(3) { grid-column: span 6; }
  .authority-grid .tile:nth-child(4), .authority-grid .tile:nth-child(5), .authority-grid .tile:nth-child(6) { grid-column: span 4; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .process-wrap { grid-template-columns: 1fr; }
  .process-side { position: static; max-width: 480px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .academy-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .statements { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .frame { order: -1; aspect-ratio: 16/10; }
  .svc-card.s2, .svc-card.s3, .svc-card.s4, .svc-card.s5 { grid-column: span 12; }
  .pkg-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .tile.tall { grid-row: auto; aspect-ratio: 4/3; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .authority-grid .tile:nth-child(n) { grid-column: span 12; grid-row: auto; }
  .program-list { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .process-step { grid-template-columns: 56px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .metal-text { animation: none; }
}

/* ============================================================
   COOL EFFECTS LAYER
   ============================================================ */

/* ---- Lenis smooth scroll ---- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- Masked headline reveal (section heads) ---- */
.section-head.reveal h2 {
  clip-path: inset(0 0 108% 0);
  transform: translateY(10px);
  transition: clip-path 1.05s var(--ease) 0.06s, transform 1.05s var(--ease) 0.06s;
}
.section-head.reveal.in h2 { clip-path: inset(-0.14em 0 -0.14em 0); transform: none; }

/* ---- Film grain + vignette ---- */
.fx-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: radial-gradient(125% 125% at 50% 38%, transparent 56%, rgba(0,0,0,0.42) 100%);
  mix-blend-mode: multiply;
}
.fx-grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 61; opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.9s steps(5) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 20% { transform: translate(-5%,-4%); }
  40% { transform: translate(3%,-3%); } 60% { transform: translate(-3%,4%); }
  80% { transform: translate(4%,2%); } 100% { transform: translate(0,0); }
}

/* ---- Cursor spotlight on flat cards ---- */
.pkg, .benefit { position: relative; }
.card-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(201,206,214,0.18), transparent 62%);
}
.pkg > *:not(.card-glow), .benefit > *:not(.card-glow) { position: relative; z-index: 1; }
.pkg { will-change: transform; }

/* ---- Gallery grayscale → color ---- */
.gallery-grid .tile .img-cover {
  filter: grayscale(0.82) contrast(1.02);
  transition: filter 0.6s var(--ease), transform 1.1s var(--ease);
}
.gallery-grid .tile:hover .img-cover { filter: grayscale(0) contrast(1.05); }

/* ---- Self-healing scratch demo (PPF page) ---- */
.heal-demo { margin-top: 14px; }
.heal-panel {
  position: relative; height: 210px; overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(150% 130% at 28% 18%, #2b2e33 0%, #15171a 46%, #0b0c0e 100%);
}
.heal-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(118deg, transparent 38%, rgba(255,255,255,0.07) 50%, transparent 62%);
}
.heal-scratch {
  position: absolute; height: 2px; width: 150px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  transform: rotate(-22deg); opacity: 0;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.55));
}
.heal-s1 { top: 42%; left: 16%; animation: heal 5s ease-in-out infinite; }
.heal-s2 { top: 62%; left: 44%; width: 100px; animation: heal 5s ease-in-out infinite 1.4s; }
.heal-s3 { top: 30%; left: 60%; width: 126px; animation: heal 5s ease-in-out infinite 2.7s; }
@keyframes heal {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0); filter: none; }
  10%  { opacity: 1; clip-path: inset(0 0 0 0); }
  52%  { opacity: 1; clip-path: inset(0 0 0 0); filter: none; }
  84%  { opacity: 0; clip-path: inset(0 0 0 0); filter: blur(1.4px); }
  100% { opacity: 0; }
}
.heal-caption {
  position: absolute; left: 22px; bottom: 18px; z-index: 2;
  font-family: var(--font-display); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver);
}

@media (prefers-reduced-motion: reduce) {
  .fx-grain { animation: none; }
  .section-head.reveal h2 { clip-path: none; transform: none; transition: none; }
  .heal-scratch { animation: none; opacity: 0; }
}

/* ============================================================
   PREMIUM LOADER · PAGE TRANSITIONS · VIDEO · BUTTON GLOW
   ============================================================ */

/* Loader / transition curtain — covers by default, lifts on .loaded */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9000;
  background: #0a0a0b; pointer-events: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
body::after {
  content: ""; position: fixed; z-index: 9001; pointer-events: none;
  top: 50%; left: 50%;
  width: clamp(132px, 32vw, 178px); height: clamp(89px, 21.5vw, 120px);
  transform: translate(-50%, -50%) scale(0.96);
  background: url("images/logo-nano-ceramic-pros.png") center / contain no-repeat;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.7s var(--ease);
}
html::after {
  content: ""; position: fixed; z-index: 9001; pointer-events: none;
  top: calc(50% + clamp(58px, 15vw, 82px)); left: 50%;
  width: 150px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  opacity: 0;
}
/* First visit shows the branded logo intro */
html.intro body::after { opacity: 1; visibility: visible; animation: loaderPulse 1.7s ease-in-out infinite; }
html.intro::after { animation: loaderLine 1.5s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { opacity: 0.82; } 50% { opacity: 1; } }
@keyframes loaderLine {
  0% { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
}
/* Lift the curtain */
html.loaded body::before { opacity: 0; visibility: hidden; }
html.loaded body::after { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(1.05); animation: none; }
html.loaded::after { opacity: 0; animation: none; }
/* Quick re-cover on internal navigation */
html.leaving body::before { opacity: 1; visibility: visible; transition: opacity 0.32s var(--ease); }

/* Muted video background support */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}

/* Subtle button glow + ghost sheen */
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 10px 34px rgba(255,255,255,0.12); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.55), 0 16px 48px rgba(255,255,255,0.22); }
}
.btn-primary:hover { animation: btnGlow 2.4s ease-in-out infinite; }
.btn-ghost { position: relative; overflow: hidden; }
.btn-ghost::after {
  content: ""; position: absolute; top: 0; left: -150%;
  width: 70%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}
.btn-ghost:hover::after { left: 165%; transition: left 0.75s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after, html::after { transition: none !important; animation: none !important; }
  .btn-primary:hover { animation: none; }
  .btn-ghost::after { display: none; }
}
