/* ==========================================================================
   Michigan Tinting & Protective Films — design system
   Charcoal + brand orange #FF6300 · Clash Display + Satoshi
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/clash-display-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/clash-display-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/clash-display-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0B0A08;
  --ink-2: #131110;
  --ink-3: #1C1917;
  --paper: #F7F5F1;
  --paper-2: #FFFFFF;
  --orange: #FF6300;
  --orange-soft: #FF8A3D;
  --orange-deep: #E15F29;
  --t-strong: #F5F2EC;
  --t-body: rgba(245, 242, 236, 0.72);
  --t-dim: rgba(245, 242, 236, 0.45);
  --d-strong: #16130F;
  --d-body: rgba(22, 19, 15, 0.75);
  --d-dim: rgba(22, 19, 15, 0.48);
  --hair-l: rgba(255, 255, 255, 0.1);
  --hair-d: rgba(20, 16, 10, 0.09);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-lg: 1.75rem;
  --r-md: 1.1rem;
  --wrap: 1200px;
  --sec-pad: clamp(5.5rem, 10vw, 9.5rem);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* The hidden attribute must always win, even over components that set their
   own display (lightbox, quote sheet). Without this, an element styled
   display:flex stays visible and click-blocking while "hidden". */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  background: var(--ink);
  color: var(--t-body);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }
.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
@media (max-width: 767px) { .wrap { width: calc(100% - 2.5rem); } }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--orange); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 0.5rem 0; }
.skip-link:focus { left: 0; }

::selection { background: var(--orange); color: #fff; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: 'Clash Display', 'Satoshi', sans-serif; color: var(--t-strong); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }
h2 em, h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 1.125rem; max-width: 34rem; }
.eyebrow {
  display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange);
  padding: 0.35rem 0.85rem; border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent);
  border-radius: 999px; margin-bottom: 1.25rem; background: color-mix(in srgb, var(--orange) 7%, transparent);
}
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-sub { margin-top: 1.1rem; max-width: 38rem; }

/* Light sections flip the palette */
.light { background: var(--paper); color: var(--d-body); }
.light h1, .light h2, .light h3 { color: var(--d-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  border-radius: 999px; font-weight: 700; font-size: 0.9375rem; line-height: 1;
  padding: 0.55rem 0.6rem 0.55rem 1.4rem; white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 999px; font-size: 1rem;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn-ico { transform: translate(3px, -1px) scale(1.06); }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-deep); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--t-strong); border: 1px solid var(--hair-l); padding-right: 1.4rem; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-line { border: 1px solid currentColor; padding-right: 0.6rem; color: inherit; }
.light .btn-line { color: var(--d-strong); }
.btn-line .btn-ico { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-lg { font-size: 1rem; padding: 0.7rem 0.7rem 0.7rem 1.6rem; }
.btn-lg .btn-ico { width: 2.4rem; height: 2.4rem; }
.btn-lg.btn-ghost, .btn-ghost.btn-lg { padding-right: 1.6rem; }

.link-more { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.9375rem; color: var(--orange); }
.link-more .btn-ico { width: 1.8rem; height: 1.8rem; background: color-mix(in srgb, var(--orange) 12%, transparent); }
a:hover .link-more .btn-ico, .link-more:hover .btn-ico { transform: translate(3px, -1px); }

.tag {
  display: inline-block; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 0.6rem;
}

/* ---------- Bezel (double frame) ---------- */
.bezel {
  background: rgba(20, 16, 10, 0.05); border: 1px solid var(--hair-d);
  border-radius: var(--r-lg); padding: 0.45rem;
}
.bezel > * { border-radius: calc(var(--r-lg) - 0.45rem); overflow: hidden; }
.dark .bezel, .ppf .bezel, .quote .bezel { background: rgba(255, 255, 255, 0.05); border-color: var(--hair-l); }
.bezel-dark { background: rgba(255, 255, 255, 0.05); border-color: var(--hair-l); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header.is-solid { background: rgba(11, 10, 8, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--hair-l); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { width: min(1320px, calc(100% - 2.5rem)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; padding: 0.8rem 0; }
.brand img { width: 140px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0.4rem; }
.main-nav li { position: relative; }
.main-nav li > a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.9rem;
  color: var(--t-body); font-weight: 500; font-size: 0.9375rem; border-radius: 999px;
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.main-nav li > a:hover { color: var(--t-strong); background: rgba(255, 255, 255, 0.07); }
.main-nav svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: 0.6; transition: transform 0.4s var(--ease); }
.has-drop:hover svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 0.6rem); left: 0; min-width: 240px;
  background: rgba(19, 17, 16, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hair-l); border-radius: 1.1rem; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  z-index: 5;
}
/* invisible bridge over the gap so the menu doesn't close while the
   pointer travels from the nav link down into the panel */
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 0.6rem 0.9rem; border-radius: 0.7rem; font-size: 0.9rem; color: var(--t-body); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.drop a:hover { background: rgba(255, 255, 255, 0.08); color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.phone-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.9375rem; color: var(--t-strong); transition: color 0.3s var(--ease); }
.phone-link svg { width: 15px; height: 15px; fill: var(--orange); }
.phone-link:hover { color: var(--orange); }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--hair-l); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--t-strong); border-radius: 2px; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(11, 10, 8, 0.92);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-scroll { height: 100%; overflow-y: auto; padding: 6.5rem 2rem 3rem; display: flex; flex-direction: column; gap: 1.6rem; }
.mm-group { display: flex; flex-direction: column; gap: 0.1rem; }
.mm-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.mm-group a { font-family: 'Clash Display', sans-serif; font-size: 1.35rem; font-weight: 500; color: var(--t-strong); padding: 0.3rem 0; opacity: 0; transform: translateY(14px); }
.mobile-menu.is-open .mm-group a { opacity: 1; transform: translateY(0); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.mm-cta { align-self: flex-start; }
.mm-phone { font-size: 1.1rem; font-weight: 700; color: var(--orange); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: clip; }
.hero-media { position: absolute; inset: 0; background: #0B0A08; }
/* Native video, object-fit cover: no letterbox band and no seam under the header
   at any aspect ratio (the old iframe embed could not do this). */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Scrim has to hold white text over ANY frame of the footage, including the
   bright ceramic-coating close-ups. Weighted to the left where the copy sits. */
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11, 10, 8, 0.78) 0%, rgba(11, 10, 8, 0.55) 42%, rgba(11, 10, 8, 0.92) 100%),
  linear-gradient(100deg, rgba(11, 10, 8, 0.86) 0%, rgba(11, 10, 8, 0.62) 38%, rgba(11, 10, 8, 0.18) 68%, transparent 100%); }
.hero-inner { position: relative; z-index: 2; padding: 9rem 0 7rem; }
.hero-title { font-size: clamp(2.9rem, 8vw, 5.9rem); font-weight: 700; text-transform: none; letter-spacing: -0.015em; }
.hero-title .line { display: block; overflow: clip; }
.hero-title .line-in { display: block; }
.hero-sub { margin-top: 1.5rem; max-width: 33rem; font-size: 1.125rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 2.6rem; font-size: 0.9375rem; color: var(--t-dim); }
.hero-proof strong { color: var(--t-strong); }
.stars { color: var(--orange); letter-spacing: 0.12em; font-size: 0.9rem; }
.hero-proof .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--t-dim); }

/* ---------- Brands ticker ---------- */
/* Marquee rails are wider than the screen by design; clip them here so the
   PAGE never scrolls sideways (body overflow alone does not contain them). */
.brands, .clients { overflow: clip; }
.brands { background: var(--ink); border-block: 1px solid var(--hair-l); padding: 1.6rem 0; }
.brands-label { text-align: center; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--t-dim); margin-bottom: 1.2rem; font-weight: 700; }
.tape { display: flex; width: max-content; }
.tape .half { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); padding-right: clamp(2.5rem, 6vw, 5rem); }
.brands .half img { height: 30px; width: auto; opacity: 0.55; filter: grayscale(1) brightness(1.6); transition: opacity 0.4s var(--ease), filter 0.4s var(--ease); }
.brands .half img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ---------- Sections base ---------- */
.section { padding-block: var(--sec-pad); }

/* ---------- Pillars ---------- */
.pillars { background: var(--paper); color: var(--d-body); }
.pillars h2, .pillars h3 { color: var(--d-strong); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar-card { display: block; }
.pillar-shell {
  background: var(--paper-2); border: 1px solid var(--hair-d); border-radius: var(--r-lg);
  padding: 0.45rem; height: 100%; display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: 0 1px 2px rgba(20, 16, 10, 0.04);
}
.pillar-card:hover .pillar-shell { transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(20, 16, 10, 0.25); }
.pillar-img { border-radius: calc(var(--r-lg) - 0.45rem) calc(var(--r-lg) - 0.45rem) 0.5rem 0.5rem; overflow: hidden; aspect-ratio: 4 / 2.7; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar-card:hover .pillar-img img { transform: scale(1.05); }
.pillar-body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pillar-body p { font-size: 0.9688rem; flex: 1; }
.pillar-body .link-more { margin-top: 0.7rem; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); border-block: 1px solid var(--hair-l); padding-block: clamp(3.5rem, 6vw, 5.5rem); position: relative; overflow: clip; }
.stats::after { content: ''; position: absolute; inset: -40% -10% auto auto; width: 40%; height: 180%; background: linear-gradient(105deg, transparent 40%, rgba(255, 99, 0, 0.07) 40.5%, rgba(255, 99, 0, 0.07) 52%, transparent 52.5%); transform: skewX(-18deg); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-num { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--t-strong); line-height: 1; display: block; }
.stat-num { font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 0.6rem; font-size: 0.9375rem; color: var(--t-dim); max-width: 13rem; }
.stat-note { display: inline-block; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 700; color: var(--orange); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Why ---------- */
.why { background: var(--paper); color: var(--d-body); }
.why h2 { color: var(--d-strong); }
.why-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.checklist { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; align-items: center; gap: 0.85rem; font-weight: 500; color: var(--d-strong); font-size: 1rem; }
.checklist svg { width: 22px; height: 22px; flex: none; }
.checklist .ck { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.why-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.why .bezel { background: rgba(20, 16, 10, 0.05); }
.yt-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.5s var(--ease), transform 1s var(--ease); }
.yt-facade:hover img { opacity: 1; transform: scale(1.03); }
.yt-facade .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 92%, black); display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
  box-shadow: 0 12px 40px -8px rgba(255, 99, 0, 0.55);
}
.yt-facade:hover .play { transform: scale(1.08); }
.yt-facade .play svg { width: 30px; height: 30px; fill: #fff; margin-left: 3px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.why-video-cap { margin-top: 0.9rem; font-size: 0.875rem; color: var(--d-dim); text-align: center; }
/* the same caption on DARK sections (PPF self-healing demo, schools brochure) needs the light dim, or it vanishes */
.heal-sec .why-video-cap, .brochure-grid .why-video-cap { color: var(--t-dim); }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(11, 10, 8, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--hair-l);
  }
  .mb-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 52px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  }
  .mb-call { border: 1px solid rgba(255, 255, 255, 0.28); color: var(--t-strong); }
  .mb-call svg { width: 16px; height: 16px; fill: var(--orange); }
  .mb-quote { background: var(--orange); color: #fff; }
  .mb-btn:active { transform: scale(0.97); }
  body { padding-bottom: 84px; }
  .mobile-menu { padding-bottom: 84px; }
}

/* ---------- Full-screen quote sheet (phones) ---------- */
.tw-sheet {
  position: fixed; inset: 0; z-index: 120; background: #fff;
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform 0.5s var(--ease);
}
.tw-sheet.is-open { transform: translateY(0); }
.tw-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1rem; background: var(--ink); color: var(--t-strong);
  font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 1.05rem;
  padding-top: calc(0.9rem + env(safe-area-inset-top)); flex: none;
}
.tw-close { font-size: 2rem; line-height: 1; color: var(--t-strong); width: 44px; height: 44px; }
.tw-sheet-body { flex: 1; min-height: 0; }
.tw-sheet-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Catalog ---------- */
.catalog { background: var(--ink); position: relative; overflow: clip; }
.catalog::before { content: ''; position: absolute; left: -8vw; top: -10%; width: 30vw; height: 60%; background: linear-gradient(105deg, transparent 30%, rgba(255, 99, 0, 0.05) 30.5%, rgba(255, 99, 0, 0.05) 46%, transparent 46.5%); transform: skewX(-18deg); pointer-events: none; }
.cat-list { border-top: 1px solid var(--hair-l); }
.cat-row {
  position: relative; display: grid;
  grid-template-columns: 5.5rem 1.15fr 1.5fr 8.5rem 2.5rem;
  grid-template-areas: "num main text thumb arrow";
  gap: 2rem; align-items: center; padding: 1.9rem 0.5rem; border-bottom: 1px solid var(--hair-l);
  transition: background-color 0.5s var(--ease);
}
.cat-num { grid-area: num; }
.cat-thumb { grid-area: thumb; }
.cat-main { grid-area: main; }
.cat-text { grid-area: text; }
.cat-arrow { grid-area: arrow; }
.cat-row:hover { background: rgba(255, 255, 255, 0.03); }
.cat-num { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 99, 0, 0.75); letter-spacing: 0.02em; }
.cat-title { display: block; font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--t-strong); transition: color 0.4s var(--ease); }
.cat-row:hover .cat-title { color: var(--orange); }
.cat-sub { display: block; margin-top: 0.3rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-dim); }
.cat-text { font-size: 0.9688rem; color: var(--t-body); max-width: 30rem; }
.cat-thumb { border-radius: 0.9rem; overflow: hidden; aspect-ratio: 4 / 3; opacity: 0.55; transform: scale(0.96); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-row:hover .cat-thumb { opacity: 1; transform: scale(1); }
.cat-arrow { font-size: 1.4rem; color: var(--t-dim); transition: transform 0.5s var(--ease), color 0.5s var(--ease); }
.cat-row:hover .cat-arrow { transform: translateX(6px); color: var(--orange); }

/* ---------- PPF picker ---------- */
.ppf { background: var(--ink-2); border-block: 1px solid var(--hair-l); }
.ppf-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.ppf-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.ppf-tab {
  position: relative; padding: 0.62rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.875rem;
  border: 1px solid var(--hair-l); color: var(--t-body);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.ppf-tab:hover { border-color: rgba(255, 99, 0, 0.5); color: var(--t-strong); }
.ppf-tab.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.ppf-badge {
  position: absolute; top: -0.65rem; right: -0.4rem; font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 999px;
  background: var(--t-strong); color: var(--ink);
}
.ppf-desc { margin-top: 1.3rem; min-height: 3.2em; max-width: 30rem; color: var(--t-body); }
.ppf-stage .bezel > div:first-child { background: radial-gradient(120% 100% at 50% 0%, #232019 0%, #16130F 70%); }
.ppf-car { position: relative; aspect-ratio: 1000 / 667; }
.ppf-car img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(0.97); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.ppf-car img.is-active { opacity: 1; transform: scale(1); }
.ppf-note { text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-dim); padding: 0.9rem 0 0.6rem; font-weight: 700; }

/* ---------- Architectural + compare ---------- */
.arch { background: var(--paper); color: var(--d-body); }
.arch h2, .arch h3 { color: var(--d-strong); }
.arch-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.compare-stage { position: relative; aspect-ratio: 16 / 10.5; user-select: none; -webkit-user-select: none; }
.compare-img { width: 100%; height: 100%; object-fit: cover; }
.compare-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 16, 0.38), rgba(9, 12, 16, 0.3));
  backdrop-filter: saturate(1.05) contrast(1.02);
  clip-path: inset(0 0 0 50%);
}
.compare-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, 0.35); }
.compare-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(255, 99, 0, 0.6);
}
.compare-handle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare-tag {
  position: absolute; top: 1rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(11, 10, 8, 0.55); color: #fff; backdrop-filter: blur(6px);
}
.tag-before { left: 1rem; }
.tag-after { right: 1rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.arch-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.arch-card {
  background: var(--paper-2); border: 1px solid var(--hair-d); border-radius: var(--r-lg); padding: 0.45rem;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); box-shadow: 0 1px 2px rgba(20, 16, 10, 0.04);
  display: flex; flex-direction: column;
}
.arch-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -24px rgba(20, 16, 10, 0.25); }
.arch-card-img { border-radius: calc(var(--r-lg) - 0.45rem) calc(var(--r-lg) - 0.45rem) 0.5rem 0.5rem; overflow: hidden; aspect-ratio: 4 / 2.5; }
.arch-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-card:hover .arch-card-img img { transform: scale(1.05); }
.arch-card-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.arch-card-body p { font-size: 0.9375rem; flex: 1; }

/* ---------- Clients ---------- */
.clients { background: var(--paper); color: var(--d-body); border-top: 1px solid var(--hair-d); padding-bottom: calc(var(--sec-pad) * 0.8); }
.clients .sec-head { max-width: 52rem; }
.clients h2 { color: var(--d-strong); }
.tape-clients { margin-top: 1rem; }
.tape-clients .half { gap: clamp(1.5rem, 4vw, 3rem); padding-right: clamp(1.5rem, 4vw, 3rem); }
.tape-clients img { height: 64px; width: auto; opacity: 0.75; transition: opacity 0.4s var(--ease); }
.tape-clients img:hover { opacity: 1; }

/* ---------- Reviews ---------- */
.reviews-sec { background: var(--ink); border-top: 1px solid var(--hair-l); overflow: clip; }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.rev-score { display: flex; align-items: center; gap: 1.1rem; }
.rev-big { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: clamp(3.4rem, 6vw, 5rem); color: var(--t-strong); line-height: 0.9; }
.rev-meta { font-size: 0.9375rem; color: var(--t-dim); line-height: 1.5; }
.rev-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.rev-tag { font-size: 0.8125rem; font-weight: 700; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--hair-l); color: var(--t-body); }
.rev-scroller {
  display: flex; gap: 1.2rem; margin-top: 2.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem; scrollbar-width: none;
}
.rev-scroller::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 min(380px, 82vw); scroll-snap-align: start;
  background: var(--ink-3); border: 1px solid var(--hair-l); border-radius: var(--r-md);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.rev-stars { color: var(--orange); letter-spacing: 0.14em; font-size: 0.9375rem; }
.rev-card blockquote { font-size: 0.9688rem; color: var(--t-body); flex: 1; }
.rev-card figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.rev-card figcaption strong { color: var(--t-strong); font-size: 0.9688rem; }
.rev-card figcaption span { font-size: 0.8125rem; color: var(--t-dim); }
.rev-actions { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; }
.rev-btn {
  width: 2.9rem; height: 2.9rem; border-radius: 999px; border: 1px solid var(--hair-l); color: var(--t-strong);
  font-size: 1.05rem; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rev-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 99, 0, 0.6); }
.rev-btn:active { transform: scale(0.94); }
.rev-actions .btn-line { margin-left: auto; color: var(--t-strong); }

/* ---------- Quote ---------- */
.quote { background: var(--ink-2); border-top: 1px solid var(--hair-l); position: relative; overflow: clip; }
.quote::after { content: ''; position: absolute; right: -10vw; top: -20%; width: 44vw; height: 150%; background: linear-gradient(105deg, transparent 30%, rgba(255, 99, 0, 0.06) 30.5%, rgba(255, 99, 0, 0.06) 44%, transparent 44.5%); transform: skewX(-18deg); pointer-events: none; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; position: relative; z-index: 1; }
.quote-facts { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.qf { display: flex; flex-direction: column; gap: 0.15rem; }
.qf-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-dim); }
.qf a, .qf > span:last-child { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--t-strong); }
.qf a:hover { color: var(--orange); }
.tw-facade { position: relative; background: radial-gradient(120% 120% at 50% 0%, #232019 0%, #14110E 70%); min-height: 430px; display: flex; align-items: center; justify-content: center; }
.tw-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.tw-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem; }
.tw-inner p strong { font-family: 'Clash Display', sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--t-strong); }
.tw-sub { color: var(--t-dim); font-size: 0.9375rem; margin-bottom: 1rem; }
.tw-alt { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--t-dim); text-decoration: underline; text-underline-offset: 3px; }
.tw-alt:hover { color: var(--orange); }
.tw-facade.is-loaded .tw-inner { display: none; }
.tw-facade.is-loaded { min-height: 1040px; }

/* ---------- Footer ---------- */
.site-footer { background: #080706; border-top: 1px solid var(--hair-l); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.f-col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9375rem; }
.f-brand img { width: 150px; margin-bottom: 0.8rem; }
.f-hours span { color: var(--t-dim); font-size: 0.8438rem; }
.f-phone { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 1.3rem; color: var(--orange); margin-top: 0.4rem; }
.f-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-dim); margin-bottom: 0.5rem; }
.f-col a { color: var(--t-body); transition: color 0.3s var(--ease); }
.f-col a:hover { color: var(--orange); }
.f-social { display: flex; gap: 0.7rem; margin-bottom: 0.6rem; }
.f-social a { width: 2.6rem; height: 2.6rem; border-radius: 999px; border: 1px solid var(--hair-l); display: flex; align-items: center; justify-content: center; transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.f-social a:hover { border-color: var(--orange); background: rgba(255, 99, 0, 0.1); }
.f-social svg { width: 17px; height: 17px; fill: var(--t-body); }
.f-map { font-weight: 700; color: var(--orange) !important; }
.footer-legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding: 1.4rem 0; border-top: 1px solid var(--hair-l); font-size: 0.8125rem; color: var(--t-dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Reveal states (JS present only) ---------- */
html.js .rv { opacity: 0; transform: translateY(28px); }
html.js .hero-title .line-in { transform: translateY(112%); }
html.js .checklist .ck { stroke-dasharray: 24; stroke-dashoffset: 24; }

/* Screenshot test hook: #shot caps viewport-height sections and skips
   animation states so full-page captures show the finished page */
html.shot .hero { min-height: 900px; }
html.shot .page-hero.has-img { min-height: 640px; }
html.shot .rv, html.shot .hero-title .line-in { opacity: 1 !important; transform: none !important; }
html.shot .checklist .ck { stroke-dashoffset: 0 !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .hero-title .line-in { opacity: 1; transform: none; }
  html.js .checklist .ck { stroke-dashoffset: 0; }
  .tape { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .main-nav + .header-cta { margin-left: 0; }
  .cat-row {
    grid-template-columns: 3.2rem 1fr 6.5rem 2.2rem;
    grid-template-areas: "num main thumb arrow";
    gap: 1.2rem;
  }
  .cat-text { display: none; }
  .why-grid, .ppf-grid, .arch-grid, .quote-grid { grid-template-columns: 1fr; }
  .pillar-grid, .arch-cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
}

/* ============================================================
   PHONES — designed for touch, not shrunk from desktop
   ============================================================ */
@media (max-width: 767px) {
  :root { --sec-pad: 4.25rem; --r-lg: 1.35rem; }
  body { font-size: 1rem; }
  h2 { font-size: clamp(1.85rem, 8vw, 2.35rem); line-height: 1.08; }
  .lede, .sec-sub, .hero-sub { font-size: 1.0313rem; }
  .sec-head { margin-bottom: 2rem; }

  /* Eyebrow pills wrap cleanly instead of spilling past the border */
  .eyebrow {
    display: block; width: fit-content; max-width: 100%;
    font-size: 0.625rem; letter-spacing: 0.16em; line-height: 1.5;
    padding: 0.45rem 0.8rem; border-radius: 0.9rem; margin-bottom: 1rem;
  }

  /* Header: logo + phone + menu, comfortably tappable */
  .brand img { width: 112px; }
  .phone-link { font-size: 0.9375rem; }
  .header-inner { width: calc(100% - 1.6rem); gap: 0.75rem; padding: 0.6rem 0; }

  /* Hero: copy runs full width on a phone, so the scrim is near-uniform */
  .hero-shade { background:
    linear-gradient(180deg, rgba(11, 10, 8, 0.86) 0%, rgba(11, 10, 8, 0.66) 30%, rgba(11, 10, 8, 0.82) 62%, rgba(11, 10, 8, 0.95) 100%); }
  .hero { min-height: 92dvh; }
  .hero-inner { padding: 7rem 0 3.5rem; }
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero-sub { margin-top: 1.1rem; }
  .hero-ctas { margin-top: 1.8rem; gap: 0.7rem; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; min-height: 54px; }
  .hero-ctas .btn-ghost { flex-basis: 100%; }
  .hero-proof { margin-top: 1.6rem; gap: 0.5rem 0.6rem; font-size: 0.875rem; }
  .hero-proof .dot { display: none; }
  .hero-proof > span:last-child { flex-basis: 100%; }

  /* Buttons: full-width and thumb-sized where it helps */
  .btn { min-height: 50px; }
  .why-ctas .btn, .rev-actions .btn-line { flex: 1 1 100%; justify-content: center; }

  /* Cards: one column, obvious tap target */
  .pillar-grid, .arch-cards { grid-template-columns: 1fr; gap: 1rem; }
  .pillar-body, .arch-card-body { padding: 1.2rem 1.15rem 1.3rem; }
  .pillar-card:active .pillar-shell, .arch-card:active { transform: scale(0.985); }
  .link-more { font-size: 1rem; }

  /* Service catalog: reads as a tappable list, not a paragraph */
  .cat-row {
    grid-template-columns: 4.6rem 1fr 2rem;
    grid-template-areas: "thumb main arrow";
    gap: 1rem; padding: 1.1rem 0.25rem; align-items: center;
  }
  .cat-num { display: none; }
  .cat-thumb { display: block; opacity: 1; transform: none; aspect-ratio: 1; border-radius: 0.8rem; }
  .cat-title { font-size: 1.125rem; }
  .cat-sub { font-size: 0.6875rem; letter-spacing: 0.1em; margin-top: 0.25rem; }
  .cat-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 999px; font-size: 0.9rem;
    background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange);
  }
  .cat-row:active { background: rgba(255, 255, 255, 0.05); }

  /* PPF picker: tabs in a 2-up grid so badges never collide */
  /* Column gap tight, row gap generous so the floating badges clear the row above */
  .ppf-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 0.5rem; margin-top: 2rem; }
  .ppf-tab { min-height: 52px; padding: 0.6rem 0.7rem; font-size: 0.8125rem; }
  .ppf-badge { top: -0.5rem; right: 50%; transform: translateX(50%); font-size: 0.5rem; white-space: nowrap; }
  .ppf-desc { min-height: 0; margin-top: 1.1rem; }

  /* Compare slider: vertical swipes scroll the page, horizontal drags compare */
  .compare-range { touch-action: pan-y; }
  .compare-handle { width: 58px; height: 58px; }
  .compare-tag { font-size: 0.5625rem; padding: 0.35rem 0.6rem; }

  /* Reviews */
  .rev-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .rev-card { flex-basis: 84vw; padding: 1.3rem 1.2rem; }
  .rev-actions { flex-wrap: wrap; gap: 0.7rem; }
  .rev-btn { width: 3.1rem; height: 3.1rem; }
  .rev-actions .btn-line { order: 3; margin-left: 0; }

  /* Quote: the form opens full screen instead of scrolling inside a box */
  .quote-facts { margin-top: 1.8rem; }
  .tw-facade { min-height: 0; }
  .tw-facade.is-loaded { min-height: 0; }
  .tw-inner { padding: 2.2rem 1.4rem; }

  /* Footer: links get real tap height */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .f-col a:not(.f-phone):not(.f-map) { padding: 0.4rem 0; }
  .f-social a { width: 3rem; height: 3rem; }
  .f-map { padding: 0.4rem 0; }
  .tw-alt { padding: 0.5rem 0; display: inline-block; }
  .footer-legal { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .stat-num { font-size: 2.4rem; }
  .stat-label { font-size: 0.875rem; }
  .why-video-cap { text-align: left; }
}

@media (max-width: 380px) {
  .ppf-tabs { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 10rem 0 5rem; background: var(--ink); overflow: clip; }
.page-hero.has-img { min-height: 62dvh; display: flex; align-items: flex-end; }
.ph-media { position: absolute; inset: 0; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,10,8,0.82) 0%, rgba(11,10,8,0.45) 45%, rgba(11,10,8,0.94) 100%),
  linear-gradient(100deg, rgba(11,10,8,0.8) 0%, rgba(11,10,8,0.45) 45%, transparent 80%); }
.ph-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; max-width: 18ch; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.ph-sub { margin-top: 1.3rem; max-width: 38rem; font-size: 1.0938rem; }
.page-hero .hero-ctas { margin-top: 2rem; }

/* ---------- Numbered benefits grid ----------
   Flex with centered wrapping: partial last rows (5 items = 3+2) sit centered
   instead of leaving a lonely orphan on the left. .num-4 fits all 4 on one row. */
.num-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 2rem; margin-top: 1rem; }
.num-item { flex: 0 1 calc((100% - 4rem) / 3); min-width: 230px; border-top: 1px solid var(--hair-l); padding-top: 1.4rem; }
.num-grid.num-4 .num-item { flex-basis: calc((100% - 6rem) / 4); min-width: 200px; }
.num-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.num-ic {
  width: 3rem; height: 3rem; border-radius: 999px; flex: none;
  background: rgba(255, 99, 0, 0.1); border: 1px solid rgba(255, 99, 0, 0.35);
  display: inline-flex; align-items: center; justify-content: center; color: var(--orange);
}
.num-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.light .num-item, .paper-sec .num-item { border-top-color: var(--hair-d); }
.num-badge { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 1.25rem; color: transparent; -webkit-text-stroke: 1px rgba(255,99,0,0.8); }
.num-item h3 { font-size: 1.15rem; }
.num-sub { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0.35rem 0 0.6rem; }
.num-item p { font-size: 0.9375rem; }

/* ---------- FAQ accordion ---------- */
.faq-sec { background: var(--ink); }
.faq-list { max-width: 54rem; }
.faq-item { border-bottom: 1px solid var(--hair-l); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0.2rem; cursor: pointer; list-style: none;
  font-family: 'Clash Display', sans-serif; font-weight: 500; font-size: 1.15rem; color: var(--t-strong);
  transition: color 0.4s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }
.faq-ico { position: relative; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 999px; border: 1px solid var(--hair-l); transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; inset: 0; margin: auto; background: currentColor; transition: transform 0.5s var(--ease); }
.faq-ico::before { width: 12px; height: 2px; }
.faq-ico::after { width: 2px; height: 12px; }
.faq-item[open] .faq-ico { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: scaleY(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0.2rem 3.8rem 1.5rem 0.2rem; max-width: 46rem; }

/* ---------- Film tier picker (auto tint) ---------- */
.tier-sec { background: var(--ink-2); border-block: 1px solid var(--hair-l); }
.tier-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.tier-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.tier-desc { margin-top: 1.3rem; max-width: 30rem; }
.tier-stage .bezel > div { background: radial-gradient(120% 100% at 50% 0%, #232019 0%, #16130F 70%); padding: 1.6rem 1.5rem 1.4rem; }
.tier-name { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.4rem; }
.tier-name strong { font-family: 'Clash Display', sans-serif; font-size: 1.6rem; font-weight: 600; color: var(--t-strong); }
.tier-name span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.spec { margin-bottom: 1.1rem; }
.spec-label { display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; color: var(--t-body); margin-bottom: 0.45rem; }
.spec-label b { color: var(--t-strong); font-variant-numeric: tabular-nums; }
.spec-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.spec-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); transition: width 0.9s var(--ease); }
.tier-perks { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }
.tier-perk { font-size: 0.75rem; font-weight: 700; padding: 0.38rem 0.75rem; border-radius: 999px; border: 1px solid var(--hair-l); color: var(--t-body); }
.tier-card-link { display: inline-flex; margin-top: 1.3rem; }

/* ---------- Michigan tint law diagram ---------- */
.law-sec { background: var(--paper); color: var(--d-body); }
.law-sec h2 { color: var(--d-strong); }
.law-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.law-car { width: 100%; height: auto; display: block; }
.law-car .glass { fill: rgba(20,16,10,0.16); stroke: rgba(20,16,10,0.35); stroke-width: 1.5; cursor: pointer; transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.law-car .glass:hover { fill: rgba(255,99,0,0.25); }
.law-car .glass.is-active { fill: rgba(255,99,0,0.55); stroke: var(--orange); }
.law-car .body-line { fill: none; stroke: var(--d-strong); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.law-car .cap-strip { fill: rgba(255,99,0,0.5); }
.law-car .wheel { fill: none; stroke: var(--d-strong); stroke-width: 2.5; }
.law-info { background: var(--paper-2); border: 1px solid var(--hair-d); border-radius: var(--r-lg); padding: 1.8rem 1.7rem; min-height: 15rem; box-shadow: 0 1px 2px rgba(20,16,10,0.05); }
.law-badge { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 0.9rem; }
.law-badge.ok { background: rgba(34,140,70,0.12); color: #1E7A3E; }
.law-badge.limited { background: rgba(255,99,0,0.14); color: #C24E00; }
.law-info h3 { color: var(--d-strong); margin-bottom: 0.5rem; }
.law-info p { font-size: 0.9375rem; }
.law-note { margin-top: 1.2rem; font-size: 0.8125rem; color: var(--d-dim); max-width: 46rem; }
.law-hint { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--d-dim); margin-top: 0.9rem; }

/* ---------- Self-healing demo (PPF) ---------- */
.heal-sec { background: var(--ink-2); border-block: 1px solid var(--hair-l); }
.heal-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.heal-stage { position: relative; }
.heal-img { position: relative; overflow: hidden; }
.heal-img > img { width: 100%; display: block; }
.heal-scratches { position: absolute; inset: 0; width: 100%; height: 100%; }
.heal-scratches path { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 1.5px rgba(0,0,0,0.5)); transition: opacity 1.6s var(--ease); }
.heal-scratches path:nth-child(2) { stroke-width: 1; opacity: 0.7; }
.heal-scratches path:nth-child(3) { stroke-width: 2.1; }
.is-healed .heal-scratches path { opacity: 0 !important; }
.heal-glow { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,160,60,0.28) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; opacity: 0; pointer-events: none; }
.is-healing .heal-glow { animation: healsweep 1.6s var(--ease) forwards; }
@keyframes healsweep { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 0; background-position: -60% 0; } }
.heal-controls { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.2rem; }
.heal-status { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-dim); }
.is-healed .heal-status { color: var(--orange); }

/* ---------- Hydrophobic water demo (glass coatings / ceramic) ---------- */
.water-sec { background: var(--paper); color: var(--d-body); }
.water-sec h2 { color: var(--d-strong); }
.water-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.water-stage { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #2A3540 0%, #10151B 100%); overflow: hidden; }
.water-half { position: absolute; inset: 0; }
.water-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,0.55); z-index: 3; }
.water-label { position: absolute; top: 1rem; z-index: 4; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(11,10,8,0.55); color: #fff; backdrop-filter: blur(6px); }
.water-label.l { left: 1rem; }
.water-label.r { right: 1rem; }
.wdrop { position: absolute; top: -8%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.85), rgba(190,220,245,0.4) 55%, rgba(120,160,200,0.25)); box-shadow: 0 1px 2px rgba(0,0,0,0.25); will-change: transform; }
.smear { position: absolute; border-radius: 40%; background: linear-gradient(180deg, rgba(190,215,240,0.28), rgba(190,215,240,0.06)); filter: blur(1px); will-change: transform, opacity; }
.water-btn-row { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.2rem; }

/* ---------- Photo hotspots ---------- */
.spot-sec { background: var(--ink); }
.spot-stage { position: relative; }
.spot-stage > img { width: 100%; display: block; }
.spot {
  position: absolute; width: 2.6rem; height: 2.6rem; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px -6px rgba(255,99,0,0.7); transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.spot::before { content: ''; position: absolute; inset: -7px; border-radius: 999px; border: 2px solid rgba(255,99,0,0.55); animation: spotpulse 2.4s ease-out infinite; }
@keyframes spotpulse { 0% { transform: scale(0.75); opacity: 1; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
.spot:hover, .spot.is-active { transform: translate(-50%, -50%) scale(1.12); }
.spot.is-active { background: var(--t-strong); color: var(--ink); }
.spot-cards { margin-top: 1.4rem; }
.spot-card { display: none; background: var(--ink-3); border: 1px solid var(--hair-l); border-radius: var(--r-md); padding: 1.4rem 1.5rem; }
.spot-card.is-active { display: block; }
.spot-card h3 { margin-bottom: 0.4rem; }
.spot-card p { font-size: 0.9375rem; }

/* ---------- Gallery + lightbox ---------- */
.gal-sec { background: var(--ink); }
.gal-sec.light { background: var(--paper); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gal-item { padding: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(8,7,6,0.94); display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; transition: opacity 0.4s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 88dvh; border-radius: 0.8rem; }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.6rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1rem; }
.step { position: relative; background: var(--ink-3); border: 1px solid var(--hair-l); border-radius: var(--r-md); padding: 1.5rem 1.3rem 1.4rem; }
.step-n { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 2rem; color: transparent; -webkit-text-stroke: 1px rgba(255,99,0,0.8); display: block; margin-bottom: 0.7rem; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.875rem; }

/* ---------- Prose (blog posts, privacy) ---------- */
.prose-wrap { max-width: 46rem; margin-inline: auto; }
.prose { font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 0.9rem; }
.prose h3 { font-size: 1.25rem; margin: 1.9rem 0 0.7rem; color: var(--t-strong); }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.2rem 1.2rem; list-style: disc; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-md); margin: 1.6rem 0; }
.post-hero { padding: 9rem 0 3.5rem; background: var(--ink); }
.post-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 24ch; }
.post-meta { margin-top: 1rem; font-size: 0.875rem; color: var(--t-dim); }
.post-body { padding: 3.5rem 0 var(--sec-pad); }
.post-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2.5rem; }
.post-cover img { width: 100%; display: block; }

/* ---------- Blog index ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card { background: var(--ink-3); border: 1px solid var(--hair-l); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.6s var(--ease), border-color 0.6s var(--ease); }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255,99,0,0.5); }
.post-card-img { aspect-ratio: 16 / 9.5; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card-body h3 { font-size: 1.15rem; line-height: 1.25; }
.post-card-body p { font-size: 0.9063rem; flex: 1; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.contact-card { background: var(--ink-3); border: 1px solid var(--hair-l); border-radius: var(--r-md); padding: 1.6rem 1.5rem; }
.contact-card h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.7rem; font-family: 'Satoshi', sans-serif; }
.contact-card a, .contact-card p { font-family: 'Clash Display', sans-serif; font-weight: 500; font-size: 1.2rem; color: var(--t-strong); line-height: 1.35; }
.contact-card a:hover { color: var(--orange); }
.contact-card .sub { display: block; font-family: 'Satoshi', sans-serif; font-size: 0.875rem; color: var(--t-dim); margin-top: 0.4rem; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair-l); aspect-ratio: 21 / 9; background: var(--ink-3); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

/* ---------- Brochure (schools) ---------- */
.brochure-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.brochure-img { max-width: 380px; }
.brochure-img img { width: 100%; border-radius: 0.8rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6); }

/* ---------- 404 ---------- */
.err-sec { min-height: 78dvh; display: flex; align-items: center; background: var(--ink); text-align: center; }
.err-num { font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,99,0,0.8); display: block; }

/* ---------- Interior responsive ---------- */
@media (max-width: 1080px) {
  .tier-grid, .law-grid, .heal-grid, .water-grid, .brochure-grid { grid-template-columns: 1fr; }
  .num-item, .num-grid.num-4 .num-item { flex-basis: calc((100% - 2rem) / 2); }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .page-hero { padding: 7.5rem 0 3.2rem; }
  .page-hero.has-img { min-height: 66dvh; }
  .num-item, .num-grid.num-4 .num-item { flex-basis: 100%; }
  .num-grid { gap: 1.8rem; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 1.03rem; padding: 1.15rem 0.1rem; }
  .faq-a p { padding-right: 0.5rem; }
  .tier-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .tier-tabs .ppf-tab { min-height: 52px; }
  .heal-controls { flex-wrap: wrap; }
  .heal-controls .btn { flex: 1 1 100%; justify-content: center; }
  .water-btn-row { flex-direction: column; align-items: stretch; }
  .brochure-img { max-width: 300px; margin-inline: auto; }
  .map-embed { aspect-ratio: 4 / 3; }
  .spot { width: 2.9rem; height: 2.9rem; }
}

/* PPF page: per-level panel checklists */
.ppf-panel { display: none; }
.ppf-panel.is-active { display: block; }
.ppf-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.4rem; margin-top: 1.1rem; }
.ppf-panel li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9063rem; color: var(--t-body); }
.ppf-panel li::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--orange); flex: none; }
@media (max-width: 480px) { .ppf-panel ul { grid-template-columns: 1fr; } }

/* Cards own their text colors: they are always white cards, whatever the section */
.pillar-body h3, .arch-card-body h3 { color: var(--d-strong); }
.pillar-body p, .arch-card-body p { color: var(--d-body); }


/* ---------- Looping demo videos (PPF self-heal, ceramic rinse) ---------- */
.demo-video video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #101010; }

/* Spot tabs (residential page): reuse pill tab styling in a row */
.spot-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.4rem; }

/* Roller shades: modest image size so the small source photo stays crisp */
.why-img-small img { max-width: min(480px, 100%); margin-inline: auto; }


/* ---------- Compact logo band (client walls on interior pages) ---------- */
.logo-band { padding: 2.6rem 0 3rem; overflow: clip; }
.logo-band .brands-label { margin-bottom: 1.6rem; }
.logo-band .tape-clients { margin-top: 0; }
.logo-band .tape-clients img { height: 52px; }

/* 3-up step rows that collapse properly (inline grids can't respond) */
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.pillar-grid.pillar-3 { grid-template-columns: repeat(3, 1fr); }

/* Anchor jumps land below the fixed header */
#quote, section[id] { scroll-margin-top: 90px; }


/* ============================================================
   MOBILE OVERHAUL (interior pages)
   ============================================================ */
@media (max-width: 1080px) {
  .steps.steps-3 { grid-template-columns: 1fr 1fr; }
  .pillar-grid.pillar-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  /* Interior heroes: shorter, tighter, headline never fights the image */
  .page-hero { padding: 7rem 0 2.8rem; }
  .page-hero.has-img { min-height: 0; padding: 8.5rem 0 3rem; }
  .page-hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .ph-sub { font-size: 1rem; margin-top: 1rem; }
  .page-hero .hero-ctas { margin-top: 1.6rem; }

  /* Step rows stack */
  .steps.steps-3 { grid-template-columns: 1fr; }
  .pillar-grid.pillar-3 { grid-template-columns: 1fr; }

  /* Film spec panel breathes on small screens */
  .tier-stage .bezel > div { padding: 1.3rem 1.1rem 1.2rem; }
  .tier-name strong { font-size: 1.35rem; }

  /* Compact logo bands tighter still */
  .logo-band { padding: 2rem 0 2.4rem; }
  .logo-band .tape-clients img { height: 44px; }

  /* Demo video captions + labels */
  .water-label { font-size: 0.5625rem; padding: 0.32rem 0.55rem; top: 0.7rem; }
  .water-label.l { left: 0.7rem; }
  .water-label.r { right: 0.7rem; }

  /* Section headers: keep the rhythm tight on phones */
  .sec-head { margin-bottom: 1.6rem; }
  .sec-sub { margin-top: 0.8rem; }

  /* Prose pages */
  .post-hero { padding: 6.5rem 0 2rem; }
  .post-body { padding-top: 2.2rem; }
  .prose { font-size: 1rem; line-height: 1.7; }
  .post-cover { margin-bottom: 1.8rem; }

  /* Contact page map */
  .contact-card a, .contact-card p { font-size: 1.05rem; }

  /* Brochure image never dwarfs the copy */
  .brochure-img { max-width: 240px; }

  /* Quote section facts tighter */
  .qf a, .qf > span:last-child { font-size: 1.1rem; }

  /* FAQ answers: full width */
  .faq-a p { padding-right: 0.3rem; }

  /* Reviews page hero score */
  .rev-big { font-size: 2.9rem; }
}

/* Phones: picker stages relocated directly under their tabs (see site.js) */
@media (max-width: 767px) {
  .ppf-copy .ppf-stage, .tier-copy .tier-stage { margin: 1.2rem 0 0.5rem; }
  .ppf-copy .ppf-stage .ppf-note { padding-bottom: 0.4rem; }
}

/* ---------- Reviews page: score bar + masonry wall ---------- */
.score-bar { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.score-big { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.score-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.rev-wall { columns: 3; column-gap: 1.2rem; }
.rev-wall-card {
  break-inside: avoid; margin: 0 0 1.2rem; display: block; width: 100%;
  background: var(--ink-3); border: 1px solid var(--hair-l); border-radius: var(--r-md);
  padding: 1.5rem 1.4rem;
}
.rev-wall-card blockquote { margin: 0.8rem 0; }
.rev-wall-card.is-hidden { display: none; }
.rev-wall-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.6rem; }
.rev-wall-actions.is-done [data-revwall-more] { display: none; }

@media (max-width: 1080px) { .rev-wall { columns: 2; } }
@media (max-width: 767px) {
  .rev-wall { columns: 1; }
  .rev-wall-card { padding: 1.3rem 1.2rem; }
  .score-bar { gap: 1.2rem; }
  .rev-wall-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Card grid variants (no inline grids: they break mobile) ---------- */
.arch-cards.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 62rem; margin-inline: auto; }
.arch-cards.cards-4 { grid-template-columns: repeat(2, 1fr); max-width: 62rem; margin-inline: auto; }
@media (max-width: 767px) {
  .arch-cards.cards-2, .arch-cards.cards-4 { grid-template-columns: 1fr; }
}

/* 7-card film grid: centered flex so the last row never leaves a lonely orphan */
.pillar-grid.pillar-flex { display: flex; flex-wrap: wrap; justify-content: center; }
.pillar-flex .pillar-card { flex: 0 1 calc((100% - 2.8rem) / 3); min-width: 250px; }
@media (max-width: 1080px) { .pillar-flex .pillar-card { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (max-width: 767px) { .pillar-flex .pillar-card { flex-basis: 100%; } }
