/* A&A Window Tint concept. Palette sampled from the logo (Nov 10, 2026). Fonts self-hosted, OFL. */
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/zilla-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #080808;
  --surface: #121212;
  --surface-2: #1c1c1c;
  --line: #2b2b2b;
  --text: #ffffff;
  --muted: #b9b9b9;
  --red: #f40405;
  --red-text: #ff5a57;
  --red-deep: #b10d0c;
  --paper: #f2efeb;
  --paper-ink: #111111;
  --paper-muted: #4a4a4a;
  --display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --body: "Zilla Slab", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }
main > section, .site-footer { padding-inline: var(--pad); }
main > section { padding-block: clamp(64px, 9vw, 120px); }
.hero, .ladder, .check, .services, .vehicles, .about, .gallery, .reviews, .area, .faq, .closing { position: relative; }
.hero > *, .ladder > *, .check > *, .services > *, .vehicles > *, .about > *, .gallery > *, .reviews > *, .area > *, .faq > *, .closing > * { max-width: var(--max); margin-inline: auto; }

/* Concept banner */
.concept-banner { background: var(--surface-2); color: var(--muted); font: 400 .8125rem/1.4 var(--body); padding: 8px var(--pad); text-align: center; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 2px solid transparent; font: 800 1.0625rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.btn-primary { background: var(--red); color: var(--ink); }
.btn-primary:hover { background: var(--red-deep); color: var(--text); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--red-text); color: var(--red-text); }
.btn-small { min-height: 44px; padding: 0 14px; font-size: .9375rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--red-text); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; transition: color .16s ease; }
.text-link:hover { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine-print { max-width: var(--max); margin: 28px auto 0; color: var(--muted); font-size: .875rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px var(--pad); background: rgba(8, 8, 8, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { display: block; width: 52px; height: 52px; flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; }
.main-nav { display: none; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font: 700 .9375rem/1 var(--body); text-decoration: none; color: var(--muted); white-space: nowrap; }
.main-nav a:hover { color: var(--text); }
.site-header .btn-small { margin-left: auto; }
.menu { position: relative; margin-left: auto; }
.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--text); font: 800 .9375rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--red-text); color: var(--red-text); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; background: var(--surface); border: 1px solid var(--line); padding: 6px; }
.menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 700; }
.menu nav a:hover { color: var(--red-text); }
.site-header .menu + .btn-small { margin-left: 0; }

@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .menu { display: none; }
  .site-header .btn-small { margin-left: 0; }
}

/* Glass component (CSS-built side window, tint driven by --tint) */
.glass { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 86px 86px 14px 14px / 40px 40px 14px 14px; overflow: hidden; isolation: isolate; background: #0c0c0c; }
.glass > span { position: absolute; inset: 0; pointer-events: none; }
.glass-sky { background: linear-gradient(180deg, #efe8e0 0%, #d9c6bd 38%, #7a5a55 64%, #2c2323 100%); }
.glass-glare { background: linear-gradient(118deg, transparent 28%, rgba(255, 255, 255, .6) 44%, transparent 58%); opacity: calc(1 - var(--tint)); transition: opacity .6s var(--ease); }
.glass-glow { background: radial-gradient(circle at 50% 74%, rgba(255, 190, 120, .7), transparent 62%); opacity: calc(1 - var(--tint) * .8); transition: opacity .6s var(--ease); }
.glass-tint { background: #050505; opacity: var(--tint); transition: opacity .6s var(--ease); }
.glass-frame { border: 10px solid var(--surface-2); border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244, 4, 5, .55); }
.glass-night .glass-sky { background: linear-gradient(180deg, #0d0f15 0%, #1a1c25 58%, #09090a 100%); }

/* Hero */
.hero { display: grid; gap: 40px; align-items: center; padding-top: clamp(40px, 8vw, 96px); overflow: hidden; }
.hero-copy h1 { font: 900 clamp(3.4rem, 10vw, 7.6rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.hero-copy h1 span { color: var(--red-text); display: block; }
.lede { margin-top: 22px; max-width: 34rem; color: var(--muted); font-size: 1.125rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.service-tags li { padding: 8px 12px; border: 1px solid var(--line); font: 700 .875rem/1 var(--body); color: var(--text); }
.hero-visual { position: relative; }
.hero-atmosphere { position: absolute; inset: -10% -12% auto 20%; width: 120%; height: auto; opacity: .55; pointer-events: none; z-index: -1; }
.glass-hero { max-width: 520px; margin-inline: auto; transform: translateY(var(--parallax, 0px)); will-change: transform; }
.hero-caption { margin-top: 14px; text-align: center; color: var(--muted); font-size: .875rem; }

/* Shade ladder */
.ladder { background: var(--surface); }
.ladder-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.ladder-head h2, .check h2, .services h2, .vehicles h2, .about h2, .gallery h2, .reviews h2, .area h2, .faq h2, .closing h2 { font: 900 clamp(2.4rem, 6vw, 4.4rem)/.92 var(--display); text-transform: uppercase; }
.ladder-head p:last-child { color: var(--muted); }
.ladder-grid { display: grid; gap: 40px; }
.ladder-sticky { position: static; display: grid; gap: 22px; align-content: start; }
.readout { display: grid; gap: 14px; }
.readout-value { font: 900 clamp(3.2rem, 7vw, 5.6rem)/1 var(--display); color: var(--text); }
.readout-value .unit { font: 700 1rem/1 var(--body); color: var(--muted); margin-left: 10px; vertical-align: middle; }
.scale { position: relative; height: 40px; }
.scale-bar { position: absolute; left: 0; right: 0; top: 16px; height: 6px; background: linear-gradient(90deg, #efe8e0 0%, #6b4b48 60%, #050505 100%); }
.scale-tick { position: absolute; top: 8px; left: var(--x); width: 3px; height: 22px; background: var(--red); transform: translateX(-50%); }
.scale-label { position: absolute; top: 30px; left: var(--x); transform: translateX(-50%); font: 700 .8125rem/1 var(--body); color: var(--red-text); white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step { position: relative; padding: 28px; background: var(--surface-2); border-left: 4px solid var(--line); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.step .mini-glass { max-width: 260px; margin-bottom: 18px; }
.step-num { font: 800 .875rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); margin-bottom: 8px; }
.step h3 { font: 900 2rem/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.step p:last-child { color: var(--muted); }
.step.is-active { border-left-color: var(--red); background: #232323; }

/* Desktop sticky stage: the signature moment */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .ladder-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; }
  .ladder-sticky { position: sticky; top: 96px; height: calc(100vh - 140px); min-height: 520px; align-content: center; }
  .ladder-sticky .glass { max-width: 520px; }
  .steps { gap: 0; }
  .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-left-width: 0; background: transparent; padding-inline: 0; }
  .step p, .step h3 { color: var(--muted); transition: color .4s var(--ease); }
  .step.is-active p, .step.is-active h3 { color: var(--text); }
  .step.is-active { background: transparent; border-left: 0; }
  .step .mini-glass { display: none; }
  .step h3 { font-size: 2.6rem; }
}

/* Stacked fallback (phones, reduced motion, no JS) */
@media (max-width: 899.98px), (prefers-reduced-motion: reduce) {
  .ladder-sticky { display: none; }
  .step { min-height: 0; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .ladder-sticky { position: static; display: grid; max-width: 520px; }
  .ladder-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .step .mini-glass { display: none; }
}
/* Phone and reduced-motion steps: each window darkens to its value when the step scrolls in */
.js .step:not(.is-in) .mini-glass .glass-tint { opacity: 0; }
.js .step.is-in .mini-glass .glass-tint { transition: opacity .9s var(--ease); }
.fine-print { color: var(--muted); }

/* Shade check */
.check { background: var(--ink); }
.check-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.check-head p:last-child { color: var(--muted); }
.check-tool { display: grid; gap: 36px; }
.check-controls { display: grid; gap: 18px; align-content: start; }
.check-label { font: 800 .9375rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 10px; }
.preset { min-width: 64px; min-height: 48px; padding: 0 14px; background: transparent; color: var(--text); border: 2px solid var(--line); font: 800 1.125rem/1 var(--display); cursor: pointer; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.preset:hover { border-color: var(--text); }
.preset[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--ink); }
.range-label { font: 700 1rem/1.3 var(--body); color: var(--text); }
.range-label output { font: 900 1.5rem/1 var(--display); color: var(--red-text); margin-left: 6px; }
.range { width: 100%; min-height: 44px; accent-color: var(--red); }
.check-result { padding: 16px 18px; background: var(--surface-2); border-left: 4px solid var(--red); color: var(--text); min-height: 4.5em; }
.check-views { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.view { display: grid; gap: 10px; }
.view figcaption { font: 700 .875rem/1 var(--body); color: var(--muted); }
.glass-view { aspect-ratio: 3 / 4; border-radius: 60px 60px 12px 12px / 30px 30px 12px 12px; }
.static-table { display: none; }

/* Services */
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); }
.service-grid { display: grid; gap: 22px; }
.service-card { display: grid; gap: 12px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .16s ease, transform .16s ease; }
.service-card:hover { border-color: var(--red-deep); }
.service-card figure { position: relative; margin-bottom: 4px; }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card figcaption, .gallery figcaption { font: 700 .8125rem/1.3 var(--body); color: var(--muted); margin-top: 8px; }
.service-card h3 { font: 900 1.875rem/1 var(--display); text-transform: uppercase; }
.service-card p { color: var(--muted); }

/* Vehicle guide (paper section, horizontal snap rail) */
.vehicles { background: var(--paper); color: var(--paper-ink); }
.vehicles h2 { color: var(--paper-ink); }
.vehicles .section-head p:last-child { color: var(--paper-muted); }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; scrollbar-width: thin; }
.rail-card { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; display: grid; gap: 12px; align-content: start; padding: 26px; background: #fff; border: 1px solid #d6d1cb; min-height: 300px; }
.rail-kind { font: 800 .9375rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.rail-card h3 { font: 900 1.9rem/1 var(--display); text-transform: uppercase; color: var(--paper-ink); }
.rail-card p { color: var(--paper-muted); font-size: 1rem; }
.rail-ask { color: var(--paper-ink) !important; font-weight: 700; border-top: 1px solid #d6d1cb; padding-top: 12px; margin-top: auto; }

/* About */
.about { display: grid; gap: 40px; align-items: start; background: var(--ink); }
.about-copy { display: grid; gap: 16px; }
.about-copy h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.about-copy p { color: var(--muted); }
.about-facts { display: grid; gap: 0; border-top: 2px solid var(--red); }
.about-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font: 800 .9375rem/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }
.about-facts dd { color: var(--text); }

/* Gallery */
.gallery { background: var(--surface); }
.gallery-grid { display: grid; gap: 22px; }
.gallery figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Reviews */
.reviews { display: grid; gap: 40px; align-items: center; background: var(--ink); }
.reviews-stat { display: grid; gap: 6px; padding: 32px; border: 2px solid var(--red); background: var(--surface); justify-self: start; }
.stat-value { font: 900 clamp(5rem, 14vw, 9rem)/.85 var(--display); color: var(--text); }
.stat-label { font: 700 1.125rem/1.3 var(--body); color: var(--muted); }
.reviews-copy { display: grid; gap: 16px; }
.reviews-copy p { color: var(--muted); }
.reviews-copy h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* Area */
.area { display: grid; gap: 36px; background: var(--surface); }
.area-copy { display: grid; gap: 14px; }
.area-copy h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.area-copy p { color: var(--muted); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--line); }
.area-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.area-list strong { color: var(--text); font: 800 1.25rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; display: block; }

/* FAQ */
.faq { background: var(--ink); }
.faq-list { display: grid; gap: 0; border-top: 2px solid var(--line); padding-top: 8px; max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font: 800 1.25rem/1.25 var(--display); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 900 1.75rem/1 var(--display); color: var(--red-text); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Closing */
.closing { background: var(--red); color: var(--ink); text-align: left; display: grid; gap: 16px; }
.closing h2 { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--ink); }
.closing > p { max-width: 40rem; font-size: 1.125rem; color: var(--ink); }
.closing .btn-primary { background: var(--ink); color: var(--text); }
.closing .btn-primary:hover { background: #222; }
.closing .btn-ghost { border-color: var(--ink); color: var(--ink); }
.closing .btn-ghost:hover { border-color: var(--text); color: var(--text); }
.closing .cta-row { margin-top: 12px; }

/* Footer */
.site-footer { display: flex; gap: 20px; align-items: center; padding-block: 40px; background: var(--ink); border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.foot-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; flex: none; }
.foot-name { font: 900 1.375rem/1.1 var(--display); text-transform: uppercase; color: var(--text); letter-spacing: .02em; margin-bottom: 6px; }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(8, 8, 8, .96); border-top: 1px solid var(--line); }
.action-bar .btn { min-height: 48px; font-size: 1rem; padding: 0 8px; text-align: center; }
body { padding-bottom: 88px; }
@media (min-width: 900px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Reveal (progressive; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .42s var(--ease), transform .42s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-glass, .glass-hero { transform: none !important; }
}

/* Breakpoints */
@media (min-width: 700px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .rail-card { flex-basis: 340px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; min-height: 86vh; }
  .check-tool { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .about { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .reviews { grid-template-columns: auto minmax(0, 1fr); gap: 64px; }
  .area { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer { padding-inline: var(--pad); }
}

/* Interactive vs static (JS on by default; no-JS shows the static table) */
.js .static-table { display: none; }
html:not(.js) .check-tool { display: none; }
html:not(.js) .static-table { display: block; max-width: var(--max); margin-inline: auto; }
html:not(.js) .ladder-sticky { display: none; }
html:not(.js) .step .mini-glass { display: block; }
html:not(.js) .step { min-height: 0; opacity: 1; }
.static-table table { width: 100%; border-collapse: collapse; }
.static-table caption { text-align: left; font: 800 1rem/1.3 var(--display); text-transform: uppercase; color: var(--muted); padding-bottom: 10px; letter-spacing: .06em; }
.static-table th, .static-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.static-table th[scope="row"] { font: 900 1.5rem/1 var(--display); color: var(--red-text); width: 90px; }
.static-table td { color: var(--muted); }

/* Tap targets and no horizontal overflow */
@media (max-width: 380px) {
  .brand { width: 44px; height: 44px; }
  .brand img { width: 44px; height: 44px; }
  .site-header .btn-small { padding: 0 10px; font-size: .875rem; }
}
