/* ==========================================================================
   Wrap Gods - global.css
   Design tokens derived in DESIGN_DIRECTION.md. The signature system is the
   "tint ladder": panels stepping from 5% VLT to clear, reused as hero backdrop,
   as section rule, and as the VLT selector on the tinting page.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Anton&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

/* ---------- tokens ---------- */
:root {
  --ink:        #0D1012;
  --carbon:     #161B1E;
  --steel:      #2A3238;
  --edge:       #616F76;
  --film:       #2E9E96;
  --film-lift:  #48C7BC;
  --sun:        #E9A13B;
  --bone:       #ECEFEF;
  --ash:        #9AA4A8;
  --ash-dim:    #7C8A90;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body:    "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max:    1180px;
  --gut:    clamp(1.15rem, 4vw, 2.5rem);
  --rhythm: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 3px;
  --ease:   cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .22vw, 1.09rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--film-lift); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bone); }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 400; line-height: .96;
  letter-spacing: .012em; text-transform: uppercase; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.7rem, 9.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5.4vw, 3.35rem); }
h3 { font-size: clamp(1.28rem, 2.5vw, 1.62rem); }
h4 { font-size: 1.06rem; letter-spacing: .06em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; color: #fff; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--sun); color: var(--ink); padding: .8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--rhythm); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.section--carbon { background: var(--carbon); }

.eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .3em;
  text-transform: uppercase; color: var(--film-lift); margin: 0 0 1rem;
}
.eyebrow--sun { color: var(--sun); }
.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: var(--ash); max-width: 62ch; }
.measure { max-width: 68ch; }
.center { text-align: center; margin-inline: auto; }

/* ==========================================================================
   THE TINT LADDER - signature element
   ========================================================================== */
.ladder { display: grid; grid-template-columns: repeat(8, 1fr); width: 100%; margin: 0; }
.ladder__step { position: relative; }
.ladder__step:nth-child(1) { background: rgba(13,16,18,.97); }
.ladder__step:nth-child(2) { background: rgba(13,16,18,.90); }
.ladder__step:nth-child(3) { background: rgba(13,16,18,.80); }
.ladder__step:nth-child(4) { background: rgba(13,16,18,.68); }
.ladder__step:nth-child(5) { background: rgba(13,16,18,.54); }
.ladder__step:nth-child(6) { background: rgba(13,16,18,.38); }
.ladder__step:nth-child(7) { background: rgba(13,16,18,.20); }
.ladder__step:nth-child(8) { background: rgba(13,16,18,.04); }

.ladder-rule { height: 7px; }
.ladder-rule .ladder__step { border-right: 1px solid var(--ink); }
.ladder-rule .ladder__step:nth-child(8) { background: var(--film); border-right: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__ladder { position: absolute; inset: 0; z-index: -1; }
.hero__ladder .ladder { height: 100%; }
.hero__ladder .ladder__step { border-right: 1px solid rgba(236,239,239,.055); }
.hero__ladder .ladder__step:last-child { border-right: 0; }
.hero__inner { position: relative; padding-block: clamp(4.5rem, 15vw, 9rem); max-width: 47rem; }
.hero h1 { margin-bottom: .35em; text-shadow: 0 2px 34px rgba(13,16,18,.75); }
.hero h1 span { display: block; color: var(--film-lift); }
.hero__lede {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.32rem); color: var(--bone);
  max-width: 42ch; text-shadow: 0 1px 16px rgba(13,16,18,.9);
}
.hero--inner .hero__inner { padding-block: clamp(3.2rem, 9vw, 5.4rem); }

.vlt-scale {
  display: grid; grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--steel); background: rgba(13,16,18,.72);
  font-size: .66rem; letter-spacing: .13em; font-weight: 600;
  color: var(--ash-dim); text-transform: uppercase;
}
.vlt-scale span { padding: .55rem .3rem; text-align: center; border-right: 1px solid var(--steel); }
.vlt-scale span:last-child { border-right: 0; color: var(--film-lift); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-weight: 600; font-size: .93rem;
  letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.7rem; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; min-height: 48px;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn--primary { background: var(--film); color: #06201F; }
.btn--primary:hover { background: var(--film-lift); color: #06201F; transform: translateY(-2px); }
.btn--ghost { border-color: var(--edge); color: var(--bone); background: transparent; }
.btn--ghost:hover { border-color: var(--film-lift); color: var(--film-lift); transform: translateY(-2px); }
.btn--sun { background: var(--sun); color: #241703; }
.btn--sun:hover { background: #F5B857; color: #241703; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- ticked service chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem .9rem; list-style: none; padding: 0; margin: 1.9rem 0 0; }
.chips li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .87rem; font-weight: 500; letter-spacing: .04em;
  color: var(--bone); background: rgba(13,16,18,.6);
  border: 1px solid var(--steel); border-radius: 100px;
  padding: .4rem .95rem .4rem .7rem; margin: 0;
}
.chips svg { flex: none; width: 15px; height: 15px; color: var(--sun); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,16,18,.94); backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--steel);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.logo {
  font-family: var(--body); font-weight: 300; font-size: clamp(.92rem, .8rem + .5vw, 1.12rem);
  letter-spacing: .42em; text-transform: uppercase; color: var(--bone);
  text-decoration: none; white-space: nowrap; margin-right: auto;
  display: flex; align-items: center; gap: .6rem;
}
.logo:hover { color: var(--bone); }
.logo__mark { flex: none; width: 26px; height: 26px; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--ash); text-decoration: none; font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0;
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.site-nav a:hover { color: var(--bone); border-bottom-color: var(--film); }
.header-cta {
  font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: .1em;
  color: var(--ink); background: var(--film); padding: .68rem 1.2rem;
  border-radius: var(--radius); text-decoration: none; white-space: nowrap;
}
.header-cta:hover { background: var(--film-lift); color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; background: transparent; color: var(--bone);
    border: 1px solid var(--edge); border-radius: var(--radius); cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--carbon); border-bottom: 1px solid var(--steel);
    padding: .5rem var(--gut) 1.4rem;
    transform: translateY(-115%); transition: transform .26s var(--ease);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .site-nav[data-open="true"] { transform: translateY(0); }
  .site-nav a { padding: .95rem 0; border-bottom: 1px solid var(--steel); font-size: .95rem; }
  .site-nav a:hover { border-bottom-color: var(--steel); }
  .header-cta { padding: .6rem .9rem; font-size: .8rem; }
}
@media (max-width: 420px) {
  .logo { letter-spacing: .26em; font-size: .8rem; }
  .header-cta { display: none; }
}

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 1.15rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

.card {
  background: var(--carbon); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 1.7rem 1.5rem;
  display: flex; flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--film); transform: translateY(-3px); }
.card h3 { color: var(--bone); margin-bottom: .55rem; }
.card p { color: var(--ash); font-size: .97rem; }
.card__link {
  margin-top: auto; padding-top: 1.1rem;
  font-size: .79rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; text-decoration: none; color: var(--film-lift);
}
.card__link::after { content: " \2192"; }
.card__num {
  font-family: var(--display); font-size: 1.5rem; color: var(--sun);
  line-height: 1; margin-bottom: .8rem; display: block;
}

.pillar {
  position: relative; overflow: hidden; border: 1px solid var(--steel);
  border-radius: var(--radius); background: var(--carbon);
}
.pillar img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  filter: saturate(.85) contrast(1.05);
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.pillar:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.05); }
.pillar__body { padding: 1.5rem; }
.pillar__body h3 { margin-bottom: .5rem; }
.pillar__body p { color: var(--ash); font-size: .96rem; margin-bottom: 1rem; }
.pillar a.card__link { display: inline-block; padding-top: 0; }

/* ---------- split ---------- */
.split { display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
}
.split img { border-radius: var(--radius); border: 1px solid var(--steel); }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.gallery figure {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--carbon); border: 1px solid var(--steel);
}
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(13,16,18,.94), rgba(13,16,18,0));
  padding: 2.2rem .95rem .8rem;
  font-size: .82rem; font-weight: 500; color: var(--bone); letter-spacing: .02em;
}

/* ---------- VLT selector ---------- */
.vlt {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(6.2rem, 1fr));
  border: 1px solid var(--steel); border-radius: var(--radius);
  overflow: hidden; margin-top: 2rem;
}
.vlt__cell { padding: 1.4rem .8rem; border-right: 1px solid var(--steel); text-align: center; }
.vlt__cell:last-child { border-right: 0; }
.vlt__pct { font-family: var(--display); font-size: 1.6rem; color: var(--bone); display: block; line-height: 1; }
.vlt__note { font-size: .76rem; color: var(--ash-dim); letter-spacing: .05em; text-transform: uppercase; margin-top: .5rem; display: block; }
.vlt__cell:nth-child(1) { background: #0D1012; }
.vlt__cell:nth-child(2) { background: #161B1E; }
.vlt__cell:nth-child(3) { background: #1C2226; }
.vlt__cell:nth-child(4) { background: #222A2E; }
.vlt__cell:nth-child(5) { background: #2A3238; }

/* ---------- stat row ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.stats li { border-left: 2px solid var(--film); padding: .3rem 0 .3rem 1.1rem; margin: 0; }
.stats b { display: block; font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--bone); line-height: 1; font-weight: 400; }
.stats span { font-size: .84rem; color: var(--ash); letter-spacing: .07em; text-transform: uppercase; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.quote {
  background: var(--carbon); border: 1px solid var(--steel);
  border-left: 3px solid var(--sun); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; margin: 0;
}
.quote p { font-size: 1rem; color: var(--bone); font-style: italic; }
.quote figcaption { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--steel); }
.faq details { border-bottom: 1px solid var(--steel); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative; font-weight: 600; font-size: 1.03rem; color: var(--bone);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 1.5rem; color: var(--film); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--film-lift); }
.faq__a { padding: 0 0 1.4rem; color: var(--ash); max-width: 72ch; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: s; display: grid; gap: 1.1rem; }
.steps li {
  counter-increment: s; position: relative; padding-left: 3.4rem; margin: 0;
  border-left: 1px solid var(--steel); padding-block: .7rem; padding-right: 1rem;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 1.1rem; top: .7rem;
  font-family: var(--display); font-size: 1.05rem; color: var(--sun);
}
.steps h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.steps p { color: var(--ash); font-size: .96rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--carbon); border-block: 1px solid var(--steel); }
.cta-band .container {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  justify-content: space-between; padding-block: clamp(2.4rem, 5vw, 3.4rem);
}
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band p { color: var(--ash); margin: .6rem 0 0; max-width: 46ch; }

/* ---------- embeds ---------- */
.embed {
  width: 100%; border: 1px solid var(--steel); border-radius: var(--radius);
  background: var(--carbon); min-height: 620px; display: block;
}
.embed--tall { min-height: 780px; }

/* Hosted form iframes. The embed script resizes these after load, so the
   min-height only has to hold the space until it does and stop layout shift. */
.embed-form {
  width: 100%; display: block; border: 0; border-radius: var(--radius);
  background: var(--carbon);
}
.embed-form--classes { min-height: 733px; }
.embed-form--quote   { min-height: 921px; }

.form-wrap {
  background: var(--carbon); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.6rem);
  margin-top: 1.8rem;
}
.form-wrap .note { margin-top: 1rem; }

/* ---------- NAP block ---------- */
.nap { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.nap li { margin: 0; }
.nap h3 { font-size: .82rem; letter-spacing: .18em; color: var(--film-lift); margin-bottom: .3rem; }
.nap a { color: var(--bone); text-decoration: none; font-size: 1.05rem; }
.nap a:hover { color: var(--film-lift); text-decoration: underline; }
.nap address { font-style: normal; color: var(--bone); font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--carbon); border-top: 1px solid var(--steel); padding-block: clamp(2.6rem, 6vw, 4rem) 2rem; }
.footer-inner { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer-name { font-weight: 300; letter-spacing: .34em; text-transform: uppercase; color: var(--bone); font-size: .95rem; margin-bottom: .9rem; }
.footer-nap p { color: var(--ash); font-size: .95rem; margin-bottom: .35rem; }
.footer-nap a { color: var(--bone); text-decoration: none; }
.footer-nap a:hover { color: var(--film-lift); }
.footer-col h4 { color: var(--film-lift); font-family: var(--body); font-size: .74rem; letter-spacing: .22em; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--ash); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  border-top: 1px solid var(--steel); margin-top: 2.4rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .84rem; color: var(--ash-dim);
}
.footer-bottom a { color: var(--ash-dim); }
.footer-bottom a:hover { color: var(--film-lift); }
.footer-copy { margin: 0; }

/* ---------- legal pages ---------- */
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.4rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ash); }

/* ---------- utilities ---------- */
.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;
}
.note { font-size: .88rem; color: var(--ash-dim); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .pillar:hover img, .gallery figure:hover img { transform: none; }
  .btn:hover, .card:hover { transform: none; }
}
