/* Windshield Protection Film (2026-10-07, tools/build_windshield.py). The service pages' world -- Bebas Neue over Saira,
   the neon backdrop, the pink-to-coral gradient on what is chosen -- with ULTRAFIT's comparison photos as the proof:
   the first screen is the delamination slider, not a banner. ULTRAFIT's feature icons are not used; the features are type. */
.ws{--ws-line:#ffffff1f;--ws-ink:#f4efe8;--ws-mute:#d8d1c8;--ws-coral:var(--brand-coral,#f59154);--ws-pink:var(--brand-pink,#ea138f)}
.ws .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}

/* ---------- hero: the words left, the delamination slider right ---------- */
.site-page .ws-hero{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,4.5vw,72px);align-items:center;
  padding-top:clamp(130px,13vw,170px);padding-bottom:clamp(60px,7vw,110px)}
/* .sw-copy brings the service pages' hero type; here it is in the grid, not laid over a video wall */
.site-page .ws-hero .sw-copy{position:relative;z-index:auto;left:auto;bottom:auto;width:auto;margin:0;padding:0;pointer-events:auto}
/* the house hero size (54 px; /ppf, /window-tint) */
html:not(#tw-type) .ws-hero .sw-copy h1{font-size:54px;line-height:1}

/* ---------- the comparison: two photos, one divide ---------- */
.ws-compare{margin:0;--pos:50%}
.ws-compare__frame{position:relative;aspect-ratio:1220/540;overflow:hidden;border-radius:16px;border:1px solid var(--card-line,#f6cfe533);
  background:#0e0b0d;box-shadow:0 34px 70px -34px #000,0 12px 24px -16px #000c;cursor:ew-resize;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.ws-compare__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none;pointer-events:none}
.ws-compare__img--after{clip-path:inset(0 0 0 var(--pos))}
.ws-compare__line{position:absolute;top:0;bottom:0;left:var(--pos);width:1px;background:#fff;pointer-events:none;z-index:2}
.ws-compare__line i{position:absolute;left:50%;top:var(--handle-y,50%);width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;display:grid;place-items:center;
  background:#222222cb;border:1px solid #ffffff55;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;box-shadow:0 5px 25px #0005;
  transition:transform .25s cubic-bezier(.16,1,.3,1),background .25s}
/* the lead pair's handle on the hood, below the glass it compares */
.ws-compare--lead{--handle-y:74%}
.ws-compare__label{position:absolute;bottom:14px;z-index:1;padding:8px 11px;border-radius:4px;border:1px solid #fff3;background:#111a;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;pointer-events:none}
.ws-compare__label--l{left:14px}.ws-compare__label--r{right:14px}
.ws-compare__label{transition:opacity .2s}
.ws-compare.is-past-l .ws-compare__label--l,.ws-compare.is-past-r .ws-compare__label--r{opacity:0}
.ws-compare__line svg{width:22px;height:22px}
.ws-compare.is-drag .ws-compare__line i,.ws-compare__frame:hover .ws-compare__line i{transform:scale(1.08);background:linear-gradient(135deg,#ea138f,#f59154)}
.ws-compare.is-focus .ws-compare__line i{outline:2px solid #f5add1;outline-offset:3px}
/* the range input: the keyboard's and the screen reader's way in; it is under the picture, not over it */
.ws-compare__range{position:absolute;left:0;bottom:0;width:100%;height:1px;margin:0;opacity:0;pointer-events:none}
.ws-compare figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-top:14px}
.ws-compare figcaption b{font-family:var(--brand-heading);font-weight:400;font-size:24px;line-height:1.05;letter-spacing:.01em;color:#fff}
.ws-compare figcaption span{font-size:14.5px;line-height:1.5;color:var(--ws-mute)}

/* ---------- one rock, three bills: over ULTRAFIT's track photo ---------- */
.site-page .ws-why{position:relative;overflow:hidden;border-radius:22px;margin:0 clamp(16px,3vw,48px);padding:clamp(56px,7vw,110px) clamp(24px,5vw,80px);
  border:1px solid var(--card-line,#f6cfe533);isolation:isolate}
.ws-why__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%;z-index:-2;max-width:none}
.ws-why::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#09070bf2 0%,#09070bd9 42%,#09070b66 70%,#09070b33 100%)}
.ws-why__copy{max-width:560px}
.ws-why h2{margin:0 0 16px;font-size:clamp(42px,4.6vw,66px);line-height:1}
.ws-why h2 em{font-style:normal;font-family:var(--brand-heading);color:var(--ws-coral)}
html:not(#tw-type) .ws-why .lead{margin:0 0 26px;border:0;padding:0;font-size:20px;line-height:1.5;color:var(--ws-ink)}
.ws-bills{list-style:none;margin:0;padding:0;border-top:1px solid var(--ws-line)}
.ws-bills li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 20px;padding:16px 0;border-bottom:1px solid var(--ws-line)}
.ws-bills b{font-family:var(--brand-heading);font-weight:400;font-size:26px;line-height:1.05;letter-spacing:.01em;color:#fff}
.ws-bills span{font-size:16px;line-height:1.55;color:var(--ws-mute);padding-top:3px}
html:not(#tw-type) .ws-why__out{margin:22px 0 0;font-size:17px;line-height:1.6;color:var(--ws-ink)}

/* ---------- WinCrest EVO: the six features as type, the specification beside them ---------- */
.ws-film__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:clamp(28px,4vw,64px);align-items:start;margin-top:30px}
.ws-film__main .lead{margin-top:0}
.ws-traits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px;margin:28px 0 0}
.ws-traits>div{padding:20px 0 22px;border-top:1px solid var(--ws-line)}
.ws-traits dt{font-family:var(--brand-heading);font-weight:400;font-size:30px;line-height:1;letter-spacing:.01em;color:#fff;margin:0 0 10px}
.ws-traits dd{margin:0;font-size:16px;line-height:1.6;color:var(--ws-mute);max-width:40ch}
.ws-spec{padding:22px 24px 20px;border-radius:18px;background:var(--glass,rgba(20,14,20,.82));border:1px solid var(--card-line,#f6cfe533)}
.ws-spec figure{margin:0 0 16px;border-radius:12px;overflow:hidden;background:#e9e9ea}
.ws-spec figure img{display:block;width:100%;height:auto}
.ws-spec h3{margin:0 0 6px;font-family:var(--brand-heading);font-weight:400;font-size:32px;line-height:1;letter-spacing:.01em;color:#fff}
.ws-spec table{width:100%;min-width:0;border-collapse:collapse;font-variant-numeric:tabular-nums}   /* the site gives tables a 600 px floor */
.ws-spec th,.ws-spec td{padding:10px 0;border-bottom:1px solid var(--ws-line);font-size:15px;line-height:1.35;text-align:left;vertical-align:baseline}
.ws-spec th{font-weight:500;color:var(--ws-mute);padding-right:12px}
.ws-spec td{font-weight:700;color:#fff;text-align:right;white-space:nowrap}
html:not(#tw-type) .ws-spec__src{margin:12px 0 0;font-size:13px;line-height:1.5;color:var(--text-soft,#bcb9b0)}

/* ---------- side by side: the other two pairs ---------- */
.ws-tests__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,40px);margin-top:34px}

/* ---------- not window tint ---------- */
.ws-vs__table{width:100%;min-width:560px;border-collapse:collapse}
.ws-vs__table th,.ws-vs__table td{padding:16px 18px;border-bottom:1px solid var(--ws-line);text-align:left;vertical-align:top;font-size:16px;line-height:1.45}
.ws-vs__table thead th{font-family:var(--brand-heading);font-weight:400;font-size:24px;letter-spacing:.01em;color:#fff;border-bottom-color:#ffffff40}
.ws-vs__table thead th:nth-child(2){color:var(--ws-coral)}
.ws-vs__table tbody th{font-weight:600;color:var(--ws-mute);width:22%}
.ws-vs__table td{color:var(--ws-ink)}
.ws-vs__table td:nth-child(2){background:#ea138f0d}
.ws-vs .table-scroll{margin-top:30px;overflow-x:auto;border-radius:14px;border:1px solid var(--ws-line);background:#0e0a0dcc}
html:not(#tw-type) .ws-vs__more{margin:18px 0 0;font-size:16px;color:var(--ws-mute)}
.ws-vs__more a{color:#fff;font-weight:700;text-decoration:none;border-bottom:1px solid var(--ws-coral);padding-bottom:2px;margin-left:6px;white-space:nowrap}
.ws-vs__more a:hover{color:var(--ws-coral)}

/* ---------- care: the manufacturer's list, as a checklist ---------- */
.ws-care__list{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;max-width:1100px}
html:not(#tw-type) .ws-care__list li{position:relative;margin:0;padding:16px 0 16px 34px;border-top:1px solid var(--ws-line);font-size:17px;line-height:1.55;color:var(--ws-ink)}
.ws-care__list li::before{content:"";position:absolute;left:4px;top:23px;width:12px;height:6px;border-left:2px solid var(--ws-coral);border-bottom:2px solid var(--ws-coral);transform:rotate(-45deg)}

/* ---------- the close ---------- */
.ws-close{text-align:center}
.ws-close h2{margin:0 0 6px;font-family:var(--brand-heading);font-weight:400;font-size:clamp(42px,5vw,72px);line-height:1}
.ws-close h2 em{font-style:normal;font-family:var(--brand-heading);color:var(--ws-coral)}
.ws-close .sw-actions{justify-content:center}
.ws-close .fine-print{margin:40px auto 0;max-width:70ch}
.ws-close .fine-print a{color:inherit}

.ws ::selection{background:#ea138f66;color:#fff}

@media (max-width:1000px){
  .site-page .ws-hero{grid-template-columns:1fr;gap:34px;padding-top:120px}
  .ws-film__grid{grid-template-columns:minmax(0,1fr)}
  .ws-spec{max-width:560px}
}
@media (max-width:700px){
  .site-page .ws-hero{padding-top:96px;padding-bottom:48px;gap:26px}
  html:not(#tw-type) .ws-hero .sw-copy h1{font-size:36px}
  .ws-hero .ws-compare{order:-1}
  .ws-compare--lead .ws-compare__frame{aspect-ratio:4/3}
  .ws-compare--lead .ws-compare__img{object-position:0 50%}
  .ws-compare__frame{border-radius:12px}
  .ws-compare__line i{width:44px;height:44px;margin:-22px 0 0 -22px}
  .ws-compare__label{bottom:10px;padding:6px 8px;font-size:10px;letter-spacing:.08em}
  .ws-compare__label--l{left:10px}.ws-compare__label--r{right:10px}
  .ws-compare figcaption b{font-size:21px}
  .site-page .ws-why{margin:0 12px;padding:48px 22px}
  .ws-why::before{background:linear-gradient(180deg,#09070bd9 0%,#09070bf0 55%,#09070bf7 100%)}
  .ws-bills li{grid-template-columns:1fr;gap:2px}
  .ws-traits{grid-template-columns:1fr}
  .ws-traits dt{font-size:26px}
  .ws-tests__grid{grid-template-columns:1fr;gap:34px}
  .ws-care__list{grid-template-columns:1fr}
  .ws-care__list li{font-size:16px}
  /* each row: its label across, then film | tint side by side */
  .ws-vs__table{min-width:0;display:block}
  .ws-vs__table thead,.ws-vs__table tbody{display:block}
  .ws-vs__table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--ws-line)}
  .ws-vs__table thead th:first-child{display:none}
  .ws-vs__table th,.ws-vs__table td{display:block;border:0;padding:10px 12px;font-size:15px;line-height:1.45}
  .ws-vs__table thead th{font-size:19px;line-height:1.05;padding-top:14px}
  .ws-vs__table tbody th{grid-column:1/-1;width:auto;padding:12px 12px 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
  .ws-vs__table td:nth-child(2){background:#ea138f0d}
}
@media (prefers-reduced-motion:reduce){.ws-compare__line i{transition:none}}
