/* ==========================================================================
   NY Window Tinting — Homepage
   Layout system reverse-engineered from dynamictint.com, re-skinned in NYWT brand.
   Swap fonts in one place: --font-head / --font-body.
   ========================================================================== */

:root {
  /* Brand */
  --red-brand: #E73231;    /* exact logo red: decorative use only (stripes, outlines) */
  --red: #D93030;          /* UI red: a hair deeper than the logo so white text and small red text pass WCAG AA 4.5:1 */
  --red-dark: #C42322;
  --yellow: #FFD100;       /* second brand color, used in gradients/accents */
  --ink: #0D0D0D;          /* near-black (DT uses warm #292623) */
  --ink-soft: #1C1B1A;
  --paper: #FBFBFB;        /* DT section bg */
  --white: #FFFFFF;
  --text: #292623;         /* body copy, matches DT text tone */
  --muted: #6B6765;

  /* Type — DT: headings NeuethingSans Ultra Expanded (paid), body Clash Display */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --head-stretch: 125%;
  --font-body: "Clash Display", "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --pill: 300px;
  --radius-panel: 15px;
  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 40px);

  /* DT's signature 2px fading underline, re-done with the dual stripe */
  --rule: linear-gradient(89deg, rgba(0,0,0,0), var(--red) 30%, var(--yellow) 70%, rgba(0,0,0,0));

  --announce-h: 32px;
  --nav-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--announce-h) + var(--nav-h)); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p a, .lede a { color: var(--red); text-underline-offset: 3px; }
p a:hover { color: var(--red-dark); }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-stretch: var(--head-stretch); text-transform: uppercase; font-weight: 500; }
/* client rule: no line may be left holding a single word. Headings split evenly, body copy avoids orphans */
h1, h2, h3, h4, summary, .sec-title, .eyebrow, .hero-kicker, .pc-title, figcaption, .ex-big { text-wrap: balance; }
p, li, .lede, label { text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Buttons (DT: 45px pill, 260px min, Clash Display 14px caps) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 260px; height: 45px; padding: 0 28px;
  border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 0.8px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
/* two-tone ring: readable on both the dark hero and light sections */
.btn:focus-visible, .main-nav a:focus-visible, .drop-toggle:focus-visible, .burger:focus-visible,
.slide-btn:focus-visible, .social-icons a:focus-visible, .media-toggle:focus-visible, .phone-icon:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--yellow);
}
.btn-red   { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); border-color: var(--white); }
.btn-dark  { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--red); border-color: var(--red); }
.btn-sm { min-width: 0; height: 42px; text-transform: none; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px 38px; justify-content: center; }
.btn-row.left { justify-content: flex-start; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.announce {
  height: var(--announce-h); background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}
.announce p { margin: 0; line-height: 1.2; padding: 0 12px; }
.announce a { color: var(--white); text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.announce .ann-tel { white-space: nowrap; } /* the phone number never splits across lines */
.nav-bar {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 2.6vw, 40px);
  /* DT header: dark-to-transparent gradient over the hero */
  background: linear-gradient(180deg, var(--ink) 0%, rgba(0,0,0,.21) 100%);
  transition: background-color .3s ease, box-shadow .3s ease;
}
/* no backdrop-filter here: it would trap the fixed mobile drawer inside the bar */
.site-header.scrolled .nav-bar { background-color: rgba(13,13,13,.95); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.brand img { width: clamp(190px, 18vw, 260px); height: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 34px); align-items: center; }
.main-nav > ul a, .drop-toggle {
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: 13px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 10px 0;
  display: inline-flex; align-items: center; gap: 8px; transition: color .2s;
}
.main-nav > ul a:hover, .drop-toggle:hover, .has-drop.open > .drop-toggle { color: var(--yellow); }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.has-drop { position: relative; }
.drop {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 260px;
  background: var(--ink); border-top: 2px solid var(--red); border-radius: 0 0 10px 10px; box-shadow: 0 14px 30px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
/* hover opens for mouse users; keyboard/touch use the button (.open), Escape closes (.dismissed blocks hover re-open) */
.has-drop:not(.dismissed):hover > .drop, .has-drop.open > .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 9px 20px; font-size: 12px; text-transform: none; font-family: var(--font-body); font-stretch: normal; font-weight: 500; letter-spacing: .01em; }
.drop a:hover { background: rgba(255,255,255,.06); }
/* desktop dropdowns: one line per item (long names like Color Change Paint Protection Film), text inset from the box edge */
@media (min-width: 1081px) {
  .main-nav .drop a { padding: 10px 22px; white-space: nowrap; }
}
.nav-actions { display: flex; align-items: center; gap: 22px; }
.phone-icon svg { width: 30px; height: 30px; fill: var(--red); }
.phone-icon .wave { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; }
.phone-icon:hover svg { fill: var(--yellow); } .phone-icon:hover .wave { stroke: var(--yellow); }
.btn-nav { min-width: 220px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 680px); display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Phones use the same full-screen crop. A blurred-band layout was tried 11/12 and rejected by Danny;
   the planned fix is a dedicated 9:16 mobile cut of the hero video */
.hero-shade {
  position: absolute; inset: 0;
  /* DT: ~43% black overlay + fade to the page color at the bottom */
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 82%, var(--paper) 100%),
    rgba(0,0,0,.48);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: calc(var(--announce-h) + var(--nav-h) + 40px) var(--gutter) 140px; max-width: 1400px; }
.same-day { width: clamp(180px, 16vw, 230px); height: auto; margin: 0 auto 26px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.hero h1 {
  color: var(--white); font-weight: 600; font-size: clamp(22px, 3vw, 40px); line-height: 1.6; letter-spacing: .08em;
  text-shadow: 0 2px 20px rgba(0,0,0,.35); margin-bottom: 38px;
}
/* XPEL lockup, built like DT's "XPEL Signature / PARTNER" mark:
   logo + script word on one line, spaced caps centered underneath */
.xpel-badge {
  width: max-content; margin: 48px auto 0; display: flex; flex-direction: column; align-items: center;
  color: var(--white); filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
.xpel-row { display: flex; align-items: center; }
.xpel-row img { width: 100px; height: auto; }
.xpel-script {
  font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; font-size: 54px; line-height: 1; font-weight: 400;
  margin-left: 2px; transform: translateY(9px) rotate(-4deg);
}
.xpel-caps {
  margin-top: 4px; padding-left: .5em; /* balance the trailing letter-spacing */
  font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .5em; text-transform: uppercase;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tagline (DT: oversized ghost text behind the line) ---------- */
.tagline { position: relative; text-align: center; padding: 30px var(--gutter) 34px; overflow: hidden; }
.tagline .ghost {
  position: absolute; inset: 0; margin: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 700; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(40px, 8vw, 120px); color: transparent; -webkit-text-stroke: 1px rgba(13,13,13,.08);
}
.tagline-title { position: relative; font-size: clamp(13px, 1.8vw + 7px, 25px); font-weight: 500; line-height: 1.5; color: var(--ink); }
.tagline-title b { color: var(--red); font-weight: 500; padding: 0 .4em; }
.tagline-title .tl-main { white-space: nowrap; }
.tagline-title .tl-sub { color: var(--muted); font-size: .8em; }
.tagline-title .tl-sub em { font-style: normal; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 20px 0 70px; }
.card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card-img { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink); margin: 26px 0 16px; letter-spacing: .01em; }
.card p { margin: 22px 0 0; font-size: 14.5px; max-width: 420px; }

/* ---------- Section titles + rule ---------- */
.sec-title { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.5; color: var(--ink); text-align: center; }
.sec-title.left { text-align: left; }
.sec-title em, .sec-title strong { font-style: normal; color: var(--red); font-weight: inherit; }
.sec-title strong { color: var(--ink); font-weight: 700; }
.rule { display: block; width: min(548px, 70%); height: 2px; margin: 22px auto 30px; background: var(--rule); }
.lede { max-width: 1100px; margin: 0 auto; text-align: center; }

/* ---------- Difference ---------- */
.difference { text-align: center; padding: 40px 0 90px; }
.diff-logo { width: clamp(220px, 24vw, 320px); height: auto; margin: 0 auto 30px; }
.diff-photo {
  position: relative; margin: 44px auto 40px; max-width: 600px; border-radius: var(--radius-panel); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.diff-photo img { width: 100%; height: auto; }
.diff-photo::after { /* soft blend into the page, like DT's cut-out cars sitting on white */
  content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, rgba(251,251,251,0), rgba(251,251,251,.55));
}

/* ---------- Frosted panel over full-bleed photo ---------- */
.panel-band { position: relative; padding: 110px 0; isolation: isolate; }
.panel-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.bg-shop-front::before { background-image: url("../assets/img/shop-front.webp"); background-position: center 40%; }
.bg-commercial::before { background-image: url("../assets/img/commercial.webp"); }
.panel-band::after { /* DT: white wash + fade top/bottom into the page */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(251,251,251,0) 18%, rgba(251,251,251,0) 70%, var(--paper) 100%),
    rgba(13,13,13,.25);
}
.panel-wrap { display: flex; }
.panel-band.right .panel-wrap { justify-content: flex-end; }
.glass {
  width: min(692px, 100%); padding: 40px; border-radius: var(--radius-panel);
  background: rgba(251,251,251,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 3px 11px rgba(0,0,0,.25);
}
.glass .sec-title { font-size: clamp(20px, 2vw, 28px); margin-bottom: 18px; }
.glass p { margin: 0 0 22px; }
.glass .btn { margin-top: 8px; min-width: 220px; }

/* ---------- Expertise ---------- */
.expertise { text-align: center; padding: 70px 0 90px; }
/* studio car on white: multiply drops the white into the page color but keeps the floor shadow (DT's cut-out look) */
.studio-car { margin: 30px auto 26px; max-width: 880px; }
.studio-car img { width: 100%; height: auto; mix-blend-mode: multiply; }
/* AMG under the makes section, sized like DT's 768px cut-out (1000/442 crop) */
.makes-car { width: min(768px, 100% - var(--gutter) * 2); margin: 30px auto 0; }
.makes-car img { width: 100%; height: auto; mix-blend-mode: multiply; }

/* ---------- Video band ---------- */
.video-band { position: relative; min-height: 640px; display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 80%, var(--paper) 100%),
    rgba(0,0,0,.55);
}
.band-content { position: relative; z-index: 1; text-align: center; padding: 60px var(--gutter); }
.band-content .band-logo { width: clamp(240px, 26vw, 360px); height: auto; margin: 0 auto 24px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
/* "Comfort | Style | Protection" always stays on one line; it scales down on narrow screens instead of wrapping */
.triad { margin: 0 0 14px; font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: clamp(12px, 3.7vw, 16px); letter-spacing: .04em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.triad b { color: var(--red); padding: 0 .55em; }
.triad.dark { color: var(--ink); font-size: clamp(12px, 3.4vw, 14px); }
.band-content h2 { color: var(--white); font-size: clamp(20px, 2.3vw, 32px); line-height: 1.55; max-width: 820px; margin: 0 auto; }

/* ---------- Excellence ---------- */
.excellence { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; padding: 90px 0; }
.ex-badge { text-align: center; }
.ex-num { margin: 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 800; font-size: clamp(90px, 11vw, 150px); line-height: .95; color: var(--ink); }
.ex-num span { color: var(--red); }
.ex-small { margin: 12px 0 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: 13px; letter-spacing: .45em; text-transform: uppercase; }
.ex-big { margin: 10px 0 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.ex-big em { font-style: normal; color: var(--red); }
.ex-sub { margin: 10px 0 0; font-style: italic; font-size: 18px; letter-spacing: .02em; }
.ex-sub i, .ex-places i { color: var(--red); font-style: normal; padding: 0 .3em; }
.ex-places { margin: 0 0 14px; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 500; font-size: clamp(14px, 1.4vw, 20px); text-transform: uppercase; color: var(--ink); }
.ex-copy .sec-title { margin-bottom: 18px; }
.ex-copy p { margin: 0 0 18px; }
.ex-copy .btn-row { margin-top: 26px; gap: 20px; }

/* ---------- Why / stats ---------- */
.why { text-align: center; padding: 40px 0 80px; }
.why-sub { margin: 12px 0 50px; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 500; font-size: clamp(15px, 1.8vw, 24px); text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.why-sub em { font-style: normal; color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 10px 20px 18px; }
.stat + .stat { border-left: 1px solid rgba(13,13,13,.1); }
.stat-num { margin: 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: clamp(40px, 4.4vw, 58px); line-height: 1.1; color: var(--red); }
.stat-label { margin: 8px 0 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 500; font-size: clamp(15px, 2vw, 28px); text-transform: uppercase; color: var(--ink); line-height: 1.3; }
/* tablets: three stats side by side are narrow, so keep each two-word label on one line */
@media (min-width: 681px) and (max-width: 1080px) { .stat-label { font-size: clamp(13px, 1.65vw, 18px); white-space: nowrap; } }

/* ---------- Shop slider ---------- */
.slider { position: relative; }
.slide-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slide-track::-webkit-scrollbar { display: none; }
.slide-track img { width: 100%; height: clamp(260px, 26vw, 380px); object-fit: cover; scroll-snap-align: start; }
.slide-btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(13,13,13,.55); color: var(--yellow); font-size: 28px; line-height: 1; transition: background .2s;
}
.slide-btn:hover { background: var(--red); color: var(--white); }
.slide-btn.prev { left: 20px; } .slide-btn.next { right: 20px; }

/* ---------- All makes ---------- */
.makes { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 80px 0; }
.makes-copy .sec-title { margin-bottom: 26px; font-size: clamp(20px, 2.3vw, 32px); }
.makes-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.makes-list li {
  padding: 24px 10px; text-align: center;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 700; font-size: clamp(14px, 1.6vw, 22px); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px var(--ink); transition: color .3s;
}
.makes-list li:hover { color: var(--red); -webkit-text-stroke-color: var(--red); }
.makes-list li:nth-child(-n+3) { border-bottom: 1px solid rgba(13,13,13,.12); }
.makes-list li:not(:nth-child(3n+1)) { border-left: 1px solid rgba(13,13,13,.12); }

/* ---------- Social grid ---------- */
/* Photo grid and text share one grid cell, so the section is exactly as tall as the photos
   (every tile keeps the photos' 4:3 shape, nothing gets cut off), and grows if the text ever needs more room */
.social { position: relative; display: grid; overflow: hidden; background: var(--ink); }
.social-grid, .social-content { grid-area: 1 / 1; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; }
.social-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.social::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.62); }
.social-content { position: relative; z-index: 1; align-self: center; text-align: center; padding: 60px var(--gutter); }
.social-content h2 { color: var(--white); font-size: clamp(20px, 2.3vw, 32px); line-height: 1.5; max-width: 760px; margin: 0 auto 30px; }
.social-icons { display: flex; gap: 14px; justify-content: center; }
.social-icons a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--red); color: var(--white); transition: background .25s, transform .25s;
}
.social-icons a svg { width: 24px; height: 24px; fill: currentColor; }
.social-icons a:hover { background: var(--red); transform: translateY(-2px); }
.social-icons.dark { justify-content: flex-start; }
.social-icons.dark a { width: 48px; height: 48px; color: var(--red); border-color: var(--ink); }
.social-icons.dark a:hover { color: var(--white); }

/* ---------- Reviews ---------- */
.reviews { padding: 50px 0 60px; }
.reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #F2F2F2; border-radius: 10px; padding: 22px 26px; margin-bottom: 22px; }
.g-logo { margin: 0; font-family: Arial, sans-serif; font-size: 24px; font-weight: 500; color: var(--ink); }
.g-logo span:nth-child(1), .g-logo span:nth-child(4) { color: #4285F4; } .g-logo span:nth-child(2), .g-logo span:nth-child(6) { color: #EA4335; }
.g-logo span:nth-child(3) { color: #FBBC05; } .g-logo span:nth-child(5) { color: #34A853; }
.g-rating { margin: 2px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.g-rating b { font-family: Arial, sans-serif; font-size: 22px; color: var(--ink); }
.g-stars { color: #FBBC05; font-size: 20px; letter-spacing: 1px; }
.stat-num .star { color: var(--yellow); font-size: .6em; vertical-align: .5em; margin-left: .08em; -webkit-text-stroke: 1px rgba(13,13,13,.25); }
.review-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { margin: 0; background: var(--white); border-radius: 10px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--ink); flex: 1; }
.review blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 44px; line-height: .8; color: var(--red); }
.review figcaption { font-weight: 600; color: var(--red); }

/* ---------- Marquee (DT: huge outlined service words) ---------- */
.marquee { overflow: hidden; padding: 30px 0 10px; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  padding-right: .8em; white-space: nowrap;
  font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 500; text-transform: uppercase; font-size: clamp(48px, 7vw, 96px);
  color: transparent; -webkit-text-stroke: 1.5px #BDBDBD;
}
.marquee span:nth-child(even) { -webkit-text-stroke-color: rgba(231,50,49,.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Location ---------- */
.location { padding: 40px 0 90px; }
.location .sec-title { margin-bottom: 40px; }
.loc-card { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid rgba(231,50,49,.45); background: var(--white); }
.loc-line { margin: 0; padding: 14px 20px; text-align: center; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 500; text-transform: uppercase; color: var(--ink); }
.loc-line a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; }
.loc-line svg { width: 22px; height: 22px; fill: var(--red); }
.loc-map iframe { width: 100%; height: 360px; border: 0; }
.loc-info { padding: 46px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loc-hours-title { margin: 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-weight: 600; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.loc-tag { margin: 6px 0 26px; font-family: var(--font-head); font-stretch: 112%; font-weight: 500; font-size: 13px; text-transform: uppercase; color: var(--ink); }
.loc-cols { display: flex; gap: 40px; text-align: left; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.loc-addr { display: flex; gap: 14px; text-transform: uppercase; font-size: 14px; line-height: 26px; }
.loc-addr svg { width: 28px; height: 28px; fill: var(--red); flex: none; margin-top: 4px; }
.loc-hours { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.loc-area { margin: 26px 0 26px; color: var(--muted); font-size: 14px; }
.loc-info .btn { min-width: 200px; }
/* two shops side by side like DT's location cards, map on top, details below */
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.loc-grid .loc-card { grid-template-columns: 1fr; }
.loc-grid .loc-map iframe { height: 300px; }
.loc-grid .loc-info { justify-content: flex-start; }
.loc-soon {
  display: inline-block; margin-right: 8px; padding: 2px 12px; border-radius: 30px; vertical-align: middle; line-height: 18px; background: var(--red); color: var(--white);
  font-weight: 600; font-size: 11px; letter-spacing: .1em;
}
.foot-soon {
  display: table; margin: 6px 0 2px; padding: 2px 10px; border-radius: 30px; background: var(--red); color: var(--white);
  font-stretch: 112%; font-size: 10.5px; letter-spacing: .08em;
}

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--paper) 0%, #E4E4E4 100%); border-top: 1px solid rgba(13,13,13,.08); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.foot-about { text-align: center; }
.foot-about img { width: min(340px, 100%); height: auto; margin: 0 auto 18px; }
.foot-about p:last-child { font-size: 14px; }
.foot-title { font-size: 19px; color: var(--ink); margin: 6px 0 22px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 12px; }
.foot-links a { text-decoration: none; font-family: var(--font-head); font-stretch: 112%; font-size: 14px; }
.foot-links a:hover, .site-footer p a:hover { color: var(--red); }
.foot-loc { margin: 22px 0 0; font-family: var(--font-head); font-stretch: var(--head-stretch); font-size: 17px; text-transform: uppercase; color: var(--red); }
.site-footer p { margin: 4px 0; }
.site-footer p a { color: var(--ink); text-decoration: none; }
.foot-addr { font-size: 14px; }
.foot-btns { display: grid; gap: 12px; margin-top: 22px; max-width: 280px; }
.foot-btns .btn { min-width: 0; }
.foot-sameday { width: 200px; height: auto; margin-top: 26px; }
.foot-legal { text-align: center; font-size: 12px; padding: 16px var(--gutter); background: #DCDCDC; }
.foot-legal p { margin: 0; }
.foot-legal a { color: var(--red); }

/* ---------- Reveal on scroll ---------- */
/* hidden only once JS has started (html.js), so content is never lost without JS */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Pause motion control (WCAG 2.2.2) ---------- */
.media-toggle {
  position: absolute; right: clamp(16px, 2.6vw, 40px); bottom: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: var(--pill); border: 1px solid rgba(13,13,13,.25); background: rgba(251,251,251,.9); color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: 12px; text-transform: uppercase; cursor: pointer;
}
.media-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.media-toggle .ic-play { display: none; }
.motion-paused .media-toggle .ic-play { display: block; }
.motion-paused .media-toggle .ic-pause { display: none; }
.motion-paused .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .main-nav > ul a, .drop-toggle { font-size: 12px; }
  .btn-nav { min-width: 0; }
}

@media (max-width: 1080px) {
  :root { --nav-h: 76px; }
  .burger { display: block; }
  .btn-nav { display: none; }
  .main-nav {
    position: fixed; inset: calc(var(--announce-h) + var(--nav-h)) 0 0 auto; width: min(380px, 100%);
    flex-direction: column; justify-content: flex-start; padding: 20px 28px 40px; overflow-y: auto;
    background: var(--ink); transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav > ul a, .drop-toggle { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 14px; }
  .drop { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 10px; display: none; }
  /* a tapped item stays :hover on touch screens, so no hover rule here or it hides the open list; only .open shows it */
  .has-drop.open > .drop { display: block; }
  .drop a { padding: 10px 14px; font-size: 14px; color: rgba(255,255,255,.8); }
  .nav-cta-mobile { display: grid; gap: 12px; margin-top: 28px; }
  .nav-cta-mobile .btn { min-width: 0; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
  .excellence, .makes { grid-template-columns: 1fr; gap: 40px; }
  .review-row { grid-template-columns: 1fr 1fr; }
  .loc-card { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .slide-track { grid-auto-columns: 50%; }
}

@media (max-width: 680px) {
  /* phones: the regular-width cut of the headline font, so two words fit per line (no single-word lines) */
  :root { --head-stretch: 100%; }
  :root { --announce-h: 36px; }
  .announce { font-size: 11px; letter-spacing: .06em; }
  .brand img { width: 180px; }
  .nav-actions { gap: 10px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
  .btn-row { gap: 14px; flex-direction: column; align-items: center; }
  .btn-row.left { align-items: flex-start; }
  .hero h1 { letter-spacing: .04em; line-height: 1.5; }
  .xpel-badge { margin-top: 34px; }
  .xpel-row img { width: 84px; }
  .xpel-script { font-size: 46px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .panel-band { padding: 60px 0; }
  .glass { padding: 28px 22px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(13,13,13,.1); }
  .slide-track { grid-auto-columns: 85%; }
  .makes-list { grid-template-columns: repeat(2, 1fr); }
  .makes-list li:nth-child(n) { border: 0; border-bottom: 1px solid rgba(13,13,13,.12); }
  .makes-list li:nth-child(even) { border-left: 1px solid rgba(13,13,13,.12); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .reviews-head .btn { width: auto; }
  .review-row { grid-template-columns: 1fr; }
  .loc-info { padding: 34px 22px; }
  .loc-cols { flex-direction: column; gap: 20px; }
  .loc-tag .loc-soon { display: table; margin: 0 auto 8px; } /* phones: the pill gets its own line so "offers all services" stays together */
  .foot-grid { grid-template-columns: 1fr; }
  .tagline .ghost { font-size: 44px; }
  /* phones: DT's stacked headline. The triad sits on top, the "for your vehicle..." line is the bigger one */
  .tagline { padding: 34px var(--gutter) 36px; }
  .tagline-title { font-family: var(--font-head); font-stretch: var(--head-stretch); text-transform: uppercase; line-height: 1.12; }
  .tagline-title .tl-main { font-size: min(5.2vw, 24px); font-weight: 500; }
  .tagline-title .tl-main b { padding: 0 .3em; }
  .tagline-title .tl-sub { display: block; margin-top: 10px; color: var(--ink); font-size: min(8.4vw, 38px); font-weight: 600; text-wrap: balance; }
  .tagline-title .tl-sub em { color: var(--red); }
}

/* small phones: "East Meadow hours" and "2550 Hempstead Turnpike" each stay on one line */
@media (max-width: 380px) {
  .loc-hours-title { font-size: 16px; letter-spacing: .06em; }
  .loc-addr { font-size: 13px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
