/* ============================================================
   UPSHIFT WINDOW FILMS — blacked-out garage-premium
   The design system is the product: VLT layers, cut-sheet
   numbering, spec-plate mono. One accent: heat orange.
   ============================================================ */

:root {
  --black: #0a0a0b;
  --black-2: #101013;
  --smoke-05: rgba(255, 255, 255, .05);   /* 5% VLT — limo */
  --smoke-10: rgba(255, 255, 255, .10);
  --smoke-20: rgba(255, 255, 255, .16);
  --line: rgba(255, 255, 255, .09);
  --text: #f4f2ee;
  --muted: #98948c;
  --heat: #ff5a1f;
  --heat-deep: #c22e08;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Archivo", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 99;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
::selection { background: var(--heat); color: var(--black); }

/* ---------- header ---------- */
.hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(1rem, 5vw, 3.4rem);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(10px);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: .06em; line-height: 1;
  text-decoration: none; color: var(--text); text-transform: uppercase;
}
.wordmark span {
  display: block; font-family: var(--font-mono); font-size: .52rem;
  letter-spacing: .52em; color: var(--heat); margin-top: .28em;
}
.wordmark.sm { font-size: 1.15rem; }

/* real Upshift brand lockup (shift-gate logo + sub-brand line) */
.brandmark { text-decoration: none; display: inline-block; }
.brand-img { height: 40px; width: auto; display: block; }
.brand-img.sm { height: 30px; }
.brand-sub {
  display: block; font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .58em; color: var(--heat); text-transform: uppercase;
  margin-top: .55em;
}

/* Madico co-branding */
.madico-mark { display: inline-block; color: var(--muted); margin-bottom: .55rem; }
.madico-mark svg { height: 18px; width: auto; display: block; }
.madico-mark.lg svg { height: 26px; }
.prov-stat.dealer { display: flex; flex-direction: column; justify-content: center; }
.prov-stat.dealer .madico-mark { color: var(--text); margin-bottom: .6rem; }
.hdr nav { display: flex; gap: 1.7rem; align-items: center; }
.hdr nav a {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.hdr nav a:hover { color: var(--text); }
.hdr nav a.nav-cta {
  color: var(--black); background: var(--heat); padding: .55rem 1.1rem;
  border-radius: 3px; font-weight: 600;
}
.hdr nav a.nav-cta:hover { color: var(--black); filter: brightness(1.1); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(4.5rem, 14vh, 9rem) clamp(1rem, 5vw, 3.4rem) clamp(3.5rem, 9vh, 6rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 90, 31, .14), transparent 55%),
    radial-gradient(90% 70% at 10% 110%, rgba(255, 255, 255, .04), transparent 60%);
}
.hero.photo {
  background:
    linear-gradient(100deg, rgba(10,10,11,.93) 0%, rgba(10,10,11,.78) 42%, rgba(10,10,11,.25) 100%),
    var(--hero-img) center / cover no-repeat;
  min-height: min(78vh, 720px);
  display: flex; flex-direction: column; justify-content: center;
}
.proof-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid rgba(255, 90, 31, .5); border-radius: 4px;
  padding: .5rem .9rem; margin-top: 1.6rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text); text-decoration: none;
  background: rgba(10, 10, 11, .55);
}
.proof-badge b { color: var(--heat); font-weight: 600; }
.proof-badge:hover { border-color: var(--heat); }
.hero .kicker {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--heat); margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.6rem, 8.5vw, 6.4rem);
  line-height: .96; letter-spacing: .01em; font-weight: 400;
  max-width: 13ch;
  /* squeegee pass: a shade band sweeps across the headline once */
  background: linear-gradient(100deg,
    var(--text) 0%, var(--text) 38%,
    rgba(244, 242, 238, .35) 50%,
    var(--text) 62%, var(--text) 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: squeegee 2.1s cubic-bezier(.65, 0, .25, 1) .25s both;
}
@keyframes squeegee {
  from { background-position: 120% 0; }
  to   { background-position: -60% 0; }
}
.hero .sub {
  color: var(--muted); max-width: 52ch; margin: 1.6rem 0 2.4rem;
  font-size: 1.06rem;
}
.hero .sub strong { color: var(--text); font-weight: 600; }
.hero-spec {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em;
  color: var(--muted); margin-top: 2.6rem; text-transform: uppercase;
}
.hero-spec b { color: var(--heat); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--heat); color: var(--black);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  letter-spacing: .02em; padding: .95rem 2rem; border-radius: 3px;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 0 0 rgba(255, 90, 31, .4);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 28px -6px rgba(255, 90, 31, .55); }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--heat); color: var(--heat); }

/* ---------- VLT shade strip — real glass behind literal film layers ---------- */
.shade-strip {
  display: flex; border-top: 1px solid var(--line);
  background: var(--glass-img) center / cover no-repeat;
}
.shade {
  flex: 1; padding: 2.2rem .9rem 1.8rem; text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .25); position: relative;
  transition: flex .35s cubic-bezier(.6, 0, .3, 1);
  cursor: default; min-width: 0;
}
.shade:last-child { border-right: 0; }
.shade:hover { flex: 1.6; }
.shade .pct {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  letter-spacing: .02em; color: #fff; position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,.65);
}
.shade .lbl {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.85); display: block;
  margin-top: .35rem; position: relative;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0,0,0,.65);
}
/* the film itself: black at each VLT over the scene behind it */
.shade::before { content: ""; position: absolute; inset: 0; }
.shade[data-vlt="70"]::before { background: rgba(5, 5, 6, .30); }
.shade[data-vlt="55"]::before { background: rgba(5, 5, 6, .45); }
.shade[data-vlt="35"]::before { background: rgba(5, 5, 6, .65); }
.shade[data-vlt="20"]::before { background: rgba(5, 5, 6, .80); }
.shade[data-vlt="5"]::before  { background: rgba(5, 5, 6, .95); }

/* ---------- sections / cut-sheet numbering ---------- */
section.band { padding: clamp(3.4rem, 9vh, 6.5rem) clamp(1rem, 5vw, 3.4rem); border-bottom: 1px solid var(--line); }
.cut-no {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--heat); margin-bottom: 1rem;
}
.cut-no::before { content: "— "; color: var(--muted); }
section.band h2 {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.02; margin-bottom: 2.2rem;
  max-width: 22ch;
}

/* ---------- films ---------- */
.films { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(305px, 1fr)); max-width: 1080px; }
.film-card {
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, var(--black-2), var(--black));
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.film-card:hover { border-color: rgba(255, 90, 31, .5); transform: translateY(-3px); }
.film-card .swatch {
  height: 120px; position: relative;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 42%, transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.015));
}
.film-card.ceramic .swatch {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 42%, transparent 54%),
    linear-gradient(180deg, rgba(255, 90, 31, .18), rgba(255,255,255,.01));
}
.film-card .swatch::after {
  content: attr(data-series); position: absolute; bottom: .7rem; left: 1.2rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted);
}
.film-card .body { padding: 1.5rem 1.4rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.film-card h3 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.35rem; letter-spacing: .02em; margin-bottom: .6rem;
}
.film-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.spec-plate {
  margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 4px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  font-family: var(--font-mono);
}
.spec-plate div { padding: .7rem .4rem; text-align: center; border-right: 1px solid var(--line); }
.spec-plate div:last-child { border-right: 0; }
.spec-plate .v { font-size: 1.06rem; color: var(--heat); display: block; }
.spec-plate .k { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.film-card .from {
  margin-top: 1.2rem; font-family: var(--font-mono); font-size: .8rem;
  letter-spacing: .1em; color: var(--text);
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1080px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 1.1rem; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.4rem; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 90, 31, .65);
  display: block; margin-bottom: .5rem; line-height: 1;
}
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: .01em; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- provenance band ---------- */
.prov { display: grid; gap: 2.6rem; grid-template-columns: 1.2fr .8fr; max-width: 1080px; align-items: start; }
.prov p { color: var(--muted); max-width: 56ch; margin-bottom: 1rem; }
.prov p strong { color: var(--text); }
.prov-stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.prov-stat { background: var(--black-2); padding: 1.3rem 1.4rem; }
.prov-stat .v { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--heat); }
.prov-stat .k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .5rem; }
@media (max-width: 760px) { .prov { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.4rem 1.15rem 0;
  font-weight: 600; font-size: 1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%;
  transform: translateY(-50%); font-family: var(--font-display);
  font-size: 1.3rem; color: var(--heat); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.2rem; max-width: 62ch; font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(4rem, 11vh, 7rem) 1rem; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .sub { color: var(--muted); margin: -1rem auto 2.2rem; max-width: 46ch; }

/* ---------- shop / configurator ---------- */
.shop { padding: 2.6rem clamp(1rem, 5vw, 3.4rem) 5rem; max-width: 880px; }
.shop h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1;
}
.vehicle-line { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .08em; color: var(--muted); margin: .9rem 0 2rem; }
.vehicle-line strong { color: var(--heat); font-weight: 500; }
fieldset { border: 0; margin: 1.9rem 0; }
legend {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--text); margin-bottom: .9rem;
}
legend .hint { color: var(--muted); letter-spacing: .1em; text-transform: none; }
.field-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .6rem; }
.field-row label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field-row input, .field-row select {
  display: block; margin-top: .4rem; background: var(--black-2);
  border: 1px solid var(--line); color: var(--text); padding: .65rem .85rem;
  border-radius: 4px; font-size: 1rem; min-width: 9.5rem; font-family: var(--font-body);
}
.field-row select:disabled { opacity: .45; }
.veh-detected {
  margin-top: .9rem; font-family: var(--font-mono); font-size: .82rem;
  letter-spacing: .06em; color: var(--heat);
}
.veh-detected b { color: var(--text); font-weight: 500; }
.field-row input:focus, select:focus { outline: 1px solid var(--heat); border-color: var(--heat); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  border: 1px solid var(--line); border-radius: 4px; padding: .65rem 1.05rem;
  cursor: pointer; background: var(--black-2); font-size: .95rem;
  display: inline-flex; flex-direction: column; gap: .15rem;
  transition: border-color .15s ease, background .15s ease;
}
.chip small { color: var(--muted); font-size: .8rem; max-width: 330px; }
.chip input { margin-right: .5rem; accent-color: var(--heat); }
.chip.wide { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
.chip.wide strong { margin-right: .5rem; }
.chip:hover { border-color: rgba(255, 90, 31, .45); }
.chip:has(input:checked) { border-color: var(--heat); background: rgba(255, 90, 31, .07); }

/* shade picker — swatches at literal VLT */
.shade-pick { display: flex; gap: .6rem; flex-wrap: wrap; }
.shade-pick label {
  cursor: pointer; border: 1px solid var(--line); border-radius: 4px;
  width: 86px; text-align: center; overflow: hidden;
  transition: border-color .15s ease;
}
.shade-pick label:hover { border-color: rgba(255, 90, 31, .45); }
.shade-pick label:has(input:checked) { border-color: var(--heat); }
.shade-pick input { position: absolute; opacity: 0; }
.shade-pick .glass { height: 52px; display: block; }
.shade-pick [data-vlt="70"] .glass { background: rgba(255,255,255,.15); }
.shade-pick [data-vlt="55"] .glass { background: rgba(255,255,255,.105); }
.shade-pick [data-vlt="35"] .glass { background: rgba(255,255,255,.062); }
.shade-pick [data-vlt="20"] .glass { background: rgba(255,255,255,.032); }
.shade-pick [data-vlt="5"]  .glass { background: rgba(255,255,255,.008); }
.shade-pick .tag {
  display: block; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; padding: .45rem 0; border-top: 1px solid var(--line);
}

select#ship-state {
  background: var(--black-2); border: 1px solid var(--line); color: var(--text);
  padding: .65rem .95rem; border-radius: 4px; font-size: 1rem; min-width: 11.5rem;
  font-family: var(--font-body);
}

/* cut ticket */
.cut-ticket {
  border: 1px solid var(--line); border-left: 3px solid var(--heat);
  border-radius: 4px; background: var(--black-2);
  margin-top: 2.2rem; font-family: var(--font-mono);
}
.ct-head {
  padding: .7rem 1.1rem; border-bottom: 1px dashed var(--line);
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--heat);
}
.ct-head span { color: var(--muted); letter-spacing: .12em; }
.ct-rows { padding: .6rem 1.1rem .9rem; }
.ct-rows div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .32rem 0; font-size: .82rem; border-bottom: 1px dotted rgba(255,255,255,.06);
}
.ct-rows div:last-child { border-bottom: 0; }
.ct-rows span { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; padding-top: .15rem; }
.ct-rows b { font-weight: 500; text-align: right; }
.ct-warn {
  margin: 0 1.1rem 1rem; padding: .7rem .9rem; border: 1px solid rgba(255, 90, 31, .45);
  border-radius: 4px; font-size: .78rem; color: var(--text);
  background: rgba(255, 90, 31, .08); font-family: var(--font-body);
}

/* goof-proof badge */
.goof-proof {
  max-width: 320px; font-size: .8rem; color: var(--muted);
  border-left: 2px solid var(--heat); padding-left: .9rem;
}
.goof-proof b {
  display: block; color: var(--text); font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: .2rem;
}

/* image banners */
.img-banner {
  border-top: 1px solid var(--line);
  height: clamp(220px, 38vh, 420px);
  background: center / cover no-repeat;
  position: relative;
}
.img-banner .cap {
  position: absolute; left: clamp(1rem, 5vw, 3.4rem); bottom: 1.2rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

.buy-bar {
  display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1.7rem; margin-top: 1.4rem;
}
.total { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.total small {
  display: block; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .14em; color: var(--muted); font-weight: 400; margin-top: .45rem;
  text-transform: uppercase;
}
.fine { color: var(--muted); font-size: .8rem; margin-top: 1.3rem; max-width: 640px; }
.fine a { color: var(--text); }

/* ---------- prose pages (legal) ---------- */
.prose { padding: 3rem clamp(1rem, 5vw, 3.4rem) 5rem; max-width: 740px; }
.prose h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: .4rem;
}
.prose .updated { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 2.2rem; }
.prose h2 { font-size: 1.05rem; font-weight: 700; margin: 1.9rem 0 .5rem; }
.prose p, .prose li { color: var(--muted); font-size: .95rem; }
.prose ul { padding-left: 1.2rem; margin: .4rem 0 .8rem; }
.prose strong { color: var(--text); }

/* ---------- footer ---------- */
.ftr { padding: 3rem clamp(1rem, 5vw, 3.4rem) 2.4rem; }
.ftr-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1080px; }
.ftr p { color: var(--muted); font-size: .88rem; margin-top: .7rem; }
.ftr a { color: var(--text); }
.ftr-links { display: flex; flex-direction: column; gap: .45rem; margin-top: .7rem; }
.ftr-links a {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.ftr-links a:hover { color: var(--heat); }
.ftr .fine { margin-top: 2.4rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; }

/* ---------- load-in reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
  .reveal.d1 { animation-delay: .15s; }
  .reveal.d2 { animation-delay: .3s; }
  .reveal.d3 { animation-delay: .45s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
