/* ==========================================================================
   Sonny's Glass Tinting — site styles
   Palette: smoked-glass neutrals + "sun" amber (from the sunburst logo)
   ========================================================================== */

:root {
  --ink: #0a0e11;
  --ink-2: #11171b;
  --smoke: #182026;
  --slate: #26313a;
  --steel: #4a5963;
  --mist: #8a9aa4;
  --glass: #cfe2e8;
  --glass-2: #9ec3cf;
  --glass-3: #5f97a8;
  --paper: #f3f5f4;
  --paper-2: #e8eceb;
  --white: #ffffff;
  --text: #12181c;
  --muted: #56636c;
  --sun: #f5a623;
  --sun-2: #ff7b1c;
  --sun-soft: #fde7c2;
  --uv: #8f6cf0;
  --heat: #ff5a36;
  --line: rgba(18, 24, 28, .12);
  --line-d: rgba(207, 226, 232, .14);

  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 20px 50px -24px rgba(10, 14, 17, .45);
  --shadow-sm: 0 8px 24px -14px rgba(10, 14, 17, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(68px, 9vw, 124px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-stretch: 112%;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.18; }
h4 { font-size: 1.08rem; line-height: 1.25; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.dark .lede, .hero .lede, .phero .lede { color: rgba(231, 240, 243, .78); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sec { padding: var(--sec) 0; position: relative; }
.sec-tight { padding: calc(var(--sec) * .62) 0; }
.dark { background: var(--ink); color: #e7f0f3; }
.dark .muted { color: var(--mist); }
.smoke { background: var(--ink-2); color: #e7f0f3; }
.paper2 { background: var(--paper-2); }
.white { background: var(--white); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* subtle glass grid texture for dark sections */
.gridbg { position: relative; isolation: isolate; }
.gridbg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(207,226,232,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207,226,232,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}

/* eyebrow label with a little pane mark */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-stretch: 118%; font-weight: 700;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: #b06c00; margin-bottom: 18px;
}
.dark .eyebrow, .smoke .eyebrow, .hero .eyebrow, .phero .eyebrow { color: var(--sun); }
.eyebrow::before {
  content: ""; width: 14px; height: 14px; border-radius: 3px; flex: none;
  border: 1.5px solid currentColor;
  background: linear-gradient(135deg, currentColor 0 38%, transparent 38%);
  opacity: .9;
}

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--sun);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--ink);
  font-family: var(--f-head); font-stretch: 110%; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn::after { /* glass sheen */
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(245,166,35,.8); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: inherit; --b: currentColor; border-color: rgba(127,127,127,.45); }
.btn-ghost:hover { border-color: var(--sun); color: var(--sun); box-shadow: none; }
.btn-dark { --b: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: var(--shadow-sm); }
.btn-sm { padding: 11px 18px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  font-family: var(--f-head); font-stretch: 110%; font-size: .95rem; color: inherit;
}
.tlink svg { width: 18px; height: 18px; transition: transform .25s var(--ease); color: var(--sun); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: var(--mist); font-size: .82rem;
  border-bottom: 1px solid var(--line-d);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--glass); text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar-l, .topbar-r { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--sun); display: inline-block; vertical-align: -2px; margin-right: 6px; }
.topbar .soc { display: flex; gap: 12px; }
.topbar .soc svg { margin: 0; color: var(--mist); }
.topbar .soc a:hover svg { color: var(--sun); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line-d);
  color: #e7f0f3;
}
/* the frosted glass lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed-position mobile menu inside the header's box */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(10, 14, 17, .82);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  transition: background .3s;
}
.site-header.scrolled::before, .nav-open .site-header::before { background: rgba(10, 14, 17, .96); }
.site-header::after { /* tint film edge line */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sun) 50%, transparent);
  opacity: .5; transform: scaleX(var(--prog, 0)); transform-origin: left;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px;
  text-decoration: none; background: none; border: 0;
  font-family: var(--f-head); font-stretch: 108%; font-weight: 600; font-size: .92rem; color: #dbe7eb;
  transition: color .2s, background .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { color: #fff; background: rgba(207,226,232,.07); }
.menu > li > a[aria-current="page"], .menu > li.current > button { color: var(--sun); }
.menu .chev { width: 12px; height: 12px; transition: transform .25s; opacity: .7; }
.menu > li.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px;
  background: rgba(17, 23, 27, .97); border: 1px solid var(--line-d); border-radius: var(--r);
  padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s var(--ease), visibility .22s;
  list-style: none;
}
.dropdown.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.menu > li.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: #dbe7eb; font-size: .9rem; font-weight: 600; line-height: 1.25;
}
.dropdown a:hover { background: rgba(207,226,232,.07); color: #fff; }
.dropdown a[aria-current="page"] { color: var(--sun); }
.dropdown .ico { width: 34px; height: 34px; flex: none; border-radius: 9px; background: rgba(207,226,232,.06); display: grid; place-items: center; color: var(--glass); }
.dropdown .ico svg { width: 24px; height: 24px; }
.dropdown .dd-label { grid-column: 1 / -1; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); padding: 8px 10px 4px; font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-head); font-stretch: 110%; font-weight: 700; }
.nav-phone .pi { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); }
.nav-phone .pi svg { width: 18px; height: 18px; }
.nav-phone small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .72rem; color: var(--mist); letter-spacing: .02em; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-d); background: transparent; color: #fff; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-phone small, .nav-phone .num { display: none; }
}
.menu .m-only { display: none; }
@media (max-width: 1020px) {
  .topbar { display: none; }
  .burger { display: block; }
  .brand img { height: 40px; }
  :root { --header-h: 68px; }
  .menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .35s var(--ease), visibility 0s linear .35s; visibility: hidden;
  }
  .nav-open .menu { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .menu > li > a, .menu > li > button {
    width: 100%; justify-content: space-between; padding: 17px 4px; font-size: 1.12rem;
    border-bottom: 1px solid var(--line-d); border-radius: 0; text-align: left;
  }
  .menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: none; }
  .menu .chev { width: 18px; height: 18px; }
  .dropdown, .dropdown.wide {
    position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 8px 0 14px; grid-template-columns: 1fr; gap: 2px;
    border-bottom: 1px solid var(--line-d);
  }
  .menu > li.open .dropdown { display: grid; }
  .menu > li.open > button { border-bottom-color: transparent; }
  .dropdown a { padding: 10px 6px; font-size: .98rem; }
  .dropdown .dd-label { padding: 12px 6px 4px; }
  .menu .m-only { display: grid; border: 0; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .menu .m-only > a.btn {
    width: auto; justify-content: center; padding: 15px 10px; font-size: .95rem;
    border: 1.5px solid var(--b); border-radius: 999px; color: var(--ink); background: var(--b);
  }
  .menu .m-only > a.btn-ghost { background: transparent; color: #fff; border-color: rgba(207,226,232,.35); }
  .menu .m-contact { display: block; margin-top: 18px; color: var(--mist); font-size: .9rem; line-height: 1.7; }
  .menu .m-contact > a { display: inline; width: auto; padding: 0; border: 0; font-family: var(--f-body); font-weight: 600; font-size: inherit; color: #dbe7eb; }
  .nav-cta .btn { display: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .callbar { display: none; }
}
@media (max-width: 640px) {
  .brand img { height: 36px; }
  :root { --header-h: 64px; }
  .nav-phone .pi { width: 44px; height: 44px; }
}

/* ---------- Home hero: squeegee tint reveal ---------- */
.hero {
  position: relative; min-height: min(94vh, 880px); color: #fff; overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate; background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(8, 13, 17, .78) 0%, rgba(8, 13, 17, .55) 45%, rgba(8, 13, 17, .25) 100%);
  -webkit-backdrop-filter: saturate(.75) contrast(1.05);
  backdrop-filter: saturate(.75) contrast(1.05);
  clip-path: inset(0 0 0 0);
  animation: tintIn 2.1s .35s var(--ease) both;
}
.hero-glare { /* the untinted glare before film goes on */
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse at 78% 18%, rgba(255, 236, 200, .55), transparent 55%), rgba(255,255,255,.08);
  animation: glareOut 2.1s .35s var(--ease) both;
}
.squeegee {
  position: absolute; top: -4%; bottom: -4%; left: 0; width: 46px; z-index: -1; pointer-events: none;
  animation: squeegee 2.1s .35s var(--ease) both;
}
.squeegee::before { /* rubber blade */
  content: ""; position: absolute; top: 0; bottom: 0; left: 18px; width: 6px; border-radius: 4px;
  background: linear-gradient(90deg, #1b1f22, #3b434a 50%, #121518);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 8px 0 24px rgba(0,0,0,.35);
}
.squeegee::after { /* water line */
  content: ""; position: absolute; top: 0; bottom: 0; left: 24px; width: 14px;
  background: linear-gradient(90deg, rgba(207,226,232,.55), rgba(207,226,232,0));
  filter: blur(1px);
}
@keyframes tintIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes glareOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes squeegee { from { transform: translateX(-60px); opacity: 1; } 92% { opacity: 1; } to { transform: translateX(calc(100vw + 10px)); opacity: 0; } }
.hero-inner { width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 90px); }
.hero h1 { max-width: 14ch; margin-bottom: 22px; }
.hero h1 .tint-word { color: var(--sun); }
.hero .lede { max-width: 54ch; }
.hero-fade > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-fade > *:nth-child(1) { animation-delay: 1.5s; }
.hero-fade > *:nth-child(2) { animation-delay: 1.65s; }
.hero-fade > *:nth-child(3) { animation-delay: 1.8s; }
.hero-fade > *:nth-child(4) { animation-delay: 1.95s; }
.hero-fade > *:nth-child(5) { animation-delay: 2.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-meter {
  display: grid; grid-template-columns: repeat(3, auto); gap: clamp(18px, 4vw, 52px); justify-content: start;
  margin-top: clamp(36px, 6vw, 64px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); max-width: 760px;
}
.hero-meter b { display: block; font-family: var(--f-head); font-stretch: 115%; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; color: #fff; }
.hero-meter > div > span { display: block; font-size: .84rem; color: rgba(231,240,243,.7); }
.hero-dots { position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 90px); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(255,255,255,.3); padding: 0; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--sun); animation: dotfill 6s linear forwards; transform-origin: left; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 720px) {
  .hero-meter { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .hero-dots { display: none; }
}

/* ---------- Inner page hero ---------- */
.phero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink);
  padding: clamp(110px, 14vw, 170px) 0 clamp(56px, 7vw, 88px);
}
.phero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); animation: slowzoom 14s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,13,17,.9) 0%, rgba(8,13,17,.72) 50%, rgba(8,13,17,.4) 100%);
  clip-path: inset(0 0 0 0); animation: tintIn 1.4s .1s var(--ease) both;
}
.phero::after { /* film edge glint */
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px; left: 0; z-index: 0;
  background: linear-gradient(transparent, var(--sun), transparent); opacity: 0;
  animation: edge 1.4s .1s var(--ease) both;
}
@keyframes edge { 0% { transform: translateX(0); opacity: .9; } 90% { opacity: .9; } 100% { transform: translateX(100vw); opacity: 0; } }
.phero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); max-width: 18ch; }
.phero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.phero-icon { width: clamp(84px, 10vw, 128px); flex: none; color: var(--glass); opacity: .95; }
.phero-icon svg { width: 100%; height: auto; }
@media (max-width: 720px) { .phero-icon { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: rgba(231,240,243,.65); margin-bottom: 22px; list-style: none; }
.crumbs a { color: rgba(231,240,243,.85); text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Generic layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--sun); background: linear-gradient(135deg, var(--sun) 0 40%, transparent 40%); }
.prose a { color: #a35f00; font-weight: 600; }
.dark .prose a { color: var(--sun); }

/* photo frame that looks like a pane with a reflection */
.pane-img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--slate); }
.pane-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar, 4/3); }
.pane-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.0) 35%, rgba(255,255,255,.22) 46%, rgba(255,255,255,0) 58%);
  transform: translateX(-60%); transition: transform 1.2s var(--ease);
}
.pane-img:hover::after { transform: translateX(60%); }
.pane-img .tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 8px 12px; border-radius: 999px;
  background: rgba(10,14,17,.72); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(8px);
}
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage .pane-img:first-child { grid-row: span 2; }
.collage .pane-img:first-child img { aspect-ratio: auto; height: 100%; }
.collage .pane-img img { aspect-ratio: 4/3; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.dark .card, .smoke .card { background: rgba(207,226,232,.035); border-color: var(--line-d); }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 47%, transparent 58%);
  transform: translateX(-110%); transition: transform .9s var(--ease);
}
.dark .card::after, .smoke .card::after { background: linear-gradient(115deg, transparent 35%, rgba(207,226,232,.09) 47%, transparent 58%); }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.hov:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(245,166,35,.45); }
a.card:hover::after, .card.hov:hover::after { transform: translateX(110%); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.dark .card p, .smoke .card p { color: var(--mist); }
.card .ico { width: 64px; height: 64px; color: var(--ink); margin-bottom: 22px; }
.dark .card .ico, .smoke .card .ico { color: var(--glass); }
.card .ico svg { width: 100%; height: 100%; }
.card .more { margin-top: 18px; }

/* service tiles (home + hub) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; min-height: 100%; }
.svc .num { position: absolute; top: 24px; right: 26px; font-family: var(--f-head); font-stretch: 120%; font-size: .8rem; color: var(--mist); letter-spacing: .1em; }
.svc p { flex: 1; }
.svc .ico { transition: transform .5s var(--ease); }
.svc:hover .ico { transform: translateY(-3px) rotate(-3deg); }
.svc-photo { margin: -28px -28px 22px; height: 170px; overflow: hidden; position: relative; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc-photo img { transform: scale(1.06); }
.svc-photo .ico-badge { position: absolute; left: 22px; bottom: -26px; width: 58px; height: 58px; border-radius: 14px; background: var(--ink); color: var(--glass); display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(0,0,0,.6); }
.svc-photo .ico-badge svg { width: 38px; height: 38px; }
.svc.has-photo h3 { margin-top: 16px; }

/* icon list / benefits */
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; list-style: none; }
.benefit { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-weight: 600; line-height: 1.3; }
.dark .benefit, .smoke .benefit { background: rgba(207,226,232,.04); border-color: var(--line-d); }
.benefit .bi { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--sun-soft); color: #8a5300; }
.dark .benefit .bi, .smoke .benefit .bi { background: rgba(245,166,35,.12); color: var(--sun); }
.benefit .bi svg { width: 24px; height: 24px; }

.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 7px;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e11' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Why choose (numbered panes) ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r-lg); overflow: hidden; }
.why > div { background: var(--ink); padding: clamp(24px, 3vw, 38px); position: relative; transition: background .4s; }
.why > div:hover { background: #0f1519; }
.why .n { font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: .82rem; color: var(--sun); letter-spacing: .12em; display: block; margin-bottom: 18px; }
.why h3 { font-size: 1.3rem; }
.why p { color: var(--mist); font-size: .97rem; }
.why .wide { grid-column: span 2; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr 1fr; } .why .wide { grid-column: span 2; } }
@media (max-width: 620px) { .why { grid-template-columns: 1fr; } .why .wide { grid-column: auto; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark .stats { border-color: var(--line-d); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.dark .stat { border-color: var(--line-d); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--f-head); font-stretch: 118%; font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; margin-bottom: 8px; }
.stat b em { font-style: normal; color: var(--sun); }
.stat > span { color: var(--muted); font-size: .92rem; }
.dark .stat > span { color: var(--mist); }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Film demo (rays) ---------- */
.demo { border-radius: var(--r-lg); background: linear-gradient(180deg, #0e151a, #0a0e11); border: 1px solid var(--line-d); overflow: hidden; color: #e7f0f3; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line-d); }
.demo-bar .label { font-family: var(--f-head); font-stretch: 112%; font-weight: 700; font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.demo-bar .label i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,166,35,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(245,166,35,0); } }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(207,226,232,.07); border: 1px solid var(--line-d); }
.seg button { border: 0; background: transparent; color: var(--mist); padding: 9px 16px; border-radius: 999px; font-family: var(--f-head); font-stretch: 108%; font-weight: 700; font-size: .84rem; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.demo-stage { position: relative; }
.demo-stage svg { width: 100%; height: auto; }
.demo-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.demo-foot > div { padding: 18px 20px; border-left: 1px solid var(--line-d); }
.demo-foot > div:first-child { border-left: 0; }
.demo-foot small { display: block; color: var(--mist); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 6px; }
.demo-foot b { font-family: var(--f-head); font-stretch: 115%; font-size: 1.5rem; line-height: 1; }
.meter { height: 6px; border-radius: 6px; background: rgba(207,226,232,.1); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v, 0%); border-radius: 6px; background: var(--c, var(--sun)); transition: width 1s var(--ease); }
@media (max-width: 620px) { .demo-foot { grid-template-columns: 1fr; } .demo-foot > div { border-left: 0; border-top: 1px solid var(--line-d); } .demo-foot > div:first-child { border-top: 0; } }
.demo-note { font-size: .8rem; color: var(--mist); padding: 0 20px 16px; }

/* ray film svg */
.rays .ray { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 2 14; animation: flow 1.1s linear infinite; transition: opacity .7s; }
.rays .ray.uv { stroke: var(--uv); }
.rays .ray.ir { stroke: var(--heat); }
.rays .ray.vis { stroke: #ffe7a6; stroke-width: 4; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.rays .in-room { opacity: 1; }
.rays .bounce { opacity: 0; }
.rays .filmlayer { opacity: 0; transition: opacity .8s; }
.rays .glare { opacity: .8; transition: opacity .8s; }
.rays .sofa-fade { transition: filter 1.2s; filter: saturate(.25) brightness(1.25); }
.rays .thermo-fill { transition: transform 1s var(--ease); transform-origin: 50% 100%; transform-box: fill-box; transform: scaleY(1); }
.rays .sunrays { transform-origin: center; transform-box: fill-box; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[data-state="film"] .rays .filmlayer { opacity: 1; }
[data-state="film"] .rays .in-room.uv { opacity: 0; }
[data-state="film"] .rays .in-room.ir { opacity: .16; }
[data-state="film"] .rays .in-room.vis { opacity: .75; }
[data-state="film"] .rays .bounce { opacity: 1; }
[data-state="film"] .rays .glare { opacity: .12; }
[data-state="film"] .rays .sofa-fade { filter: none; }
[data-state="film"] .rays .thermo-fill { transform: scaleY(.35); }

/* ---------- Service demos ---------- */
.stage { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0d1317; }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* frost slider */
.frost { position: absolute; inset: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(calc(var(--frost, .5) * 16px)) saturate(calc(1 - var(--frost, .5) * .5));
  backdrop-filter: blur(calc(var(--frost, .5) * 16px)) saturate(calc(1 - var(--frost, .5) * .5));
  background: rgba(240, 246, 248, calc(var(--frost, .5) * .5));
}
.frost-ui { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.frost-ui span { font-size: .82rem; color: var(--mist); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.range { -webkit-appearance: none; appearance: none; flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, rgba(207,226,232,.15), rgba(240,246,248,.75)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--sun); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); cursor: grab; }

/* decorative pattern band */
.pattern-band { position: absolute; left: 0; right: 0; top: 34%; height: 30%; pointer-events: none; transition: opacity .4s;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
[data-pattern="dots"] .pattern-band { background: radial-gradient(circle, rgba(255,255,255,.85) 2.2px, transparent 2.8px) 0 0/15px 15px; }
[data-pattern="lines"] .pattern-band { background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 3px, transparent 3px 14px); }
[data-pattern="stripes"] .pattern-band { background: repeating-linear-gradient(0deg, rgba(255,255,255,.72) 0 9px, transparent 9px 18px); }
[data-pattern="waves"] .pattern-band { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='22' viewBox='0 0 60 22'%3E%3Cpath d='M0 11c10-10 20-10 30 0s20 10 30 0' fill='none' stroke='white' stroke-opacity='.85' stroke-width='3'/%3E%3C/svg%3E") 0 0/60px 22px; }
[data-pattern="gradient"] .pattern-band { top: 0; height: 64%; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55) 55%, transparent); }
[data-pattern="circles"] .pattern-band { background: radial-gradient(circle, transparent 9px, rgba(255,255,255,.8) 9.5px 12px, transparent 12.5px) 0 0/34px 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
.chips button, .chip {
  border: 1px solid var(--line-d); background: rgba(207,226,232,.05); color: #dbe7eb; padding: 9px 15px; border-radius: 999px;
  font-family: var(--f-head); font-stretch: 108%; font-weight: 700; font-size: .84rem; transition: all .25s;
}
.chips button:hover { border-color: var(--sun); }
.chips button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }

/* safety shatter */
.shatter svg { width: 100%; height: auto; display: block; }
.shatter .shard { transition: transform 1.3s cubic-bezier(.5,0,.75,0), opacity 1.3s ease-in; transform-box: fill-box; transform-origin: center; }
.shatter .crack { stroke: rgba(255,255,255,.9); stroke-width: 1.4; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset .5s ease-out; }
.shatter .flash { opacity: 0; transition: opacity .2s; }
.shatter.hit .crack { stroke-dashoffset: 0; }
.shatter.hit .flash { opacity: 1; transition: opacity .05s; }
.shatter.hit.settled .flash { opacity: 0; transition: opacity .6s; }
.shatter.hit[data-state="nofilm"].settled .shard { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; }
.shatter.hit[data-state="nofilm"].settled .crack { opacity: 0; transition: opacity .3s .1s; }
.shatter .filmmark { opacity: 0; transition: opacity .5s; }
.shatter[data-state="film"] .filmmark { opacity: 1; }
.shatter-wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; }
.shatter-copy { padding: clamp(22px, 3vw, 40px); }
.shatter-copy h3 { margin-bottom: 10px; }
.shatter-copy p { color: var(--mist); }
.shatter-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(207,226,232,.05); border: 1px solid var(--line-d); font-weight: 600; min-height: 74px; }
@media (max-width: 820px) { .shatter-wrap { grid-template-columns: 1fr; } }

/* graffiti peel */
.tagfilm { position: absolute; inset: 0; transform-origin: 100% 100%; transition: transform 1.1s var(--ease), opacity 1.1s, clip-path 1.1s var(--ease); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.tagfilm svg { width: 100%; height: 100%; }
[data-state="peeled"] .tagfilm, [data-state="fresh"] .tagfilm { clip-path: polygon(0 0, 0 0, 100% 100%, 0 100%); transform: translate(-30%, 30%) rotate(-24deg); opacity: 0; }
.newfilm { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 46%, transparent 60%); clip-path: inset(0 100% 0 0); }
[data-state="fresh"] .newfilm { animation: tintIn 1.3s var(--ease) forwards; }
.newfilm-blade { position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: #1b1f22; opacity: 0; }
[data-state="fresh"] .newfilm-blade { animation: blade 1.3s var(--ease) forwards; }
@keyframes blade { 0% { opacity: 1; transform: translateX(0); } 95% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(var(--w, 900px))); } }

/* casper */
.casper svg { width: 100%; height: auto; display: block; }
.casper .screen-content { transition: opacity .7s; }
.casper .screen-black { opacity: 0; transition: opacity .7s; }
.casper .viewer-in { transition: opacity .5s; }
.casper .viewer-out { opacity: 0; transition: opacity .5s; }
.casper[data-state="outside"] .screen-content { opacity: 0; }
.casper[data-state="outside"] .screen-black { opacity: 1; }
.casper[data-state="outside"] .viewer-in { opacity: 0; }
.casper[data-state="outside"] .viewer-out { opacity: 1; }
.casper .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: barpulse 3s ease-in-out infinite; }
@keyframes barpulse { 50% { transform: scaleY(.7); } }

/* wingsafe bird */
.wing svg { width: 100%; height: auto; display: block; }
.wing .dots { opacity: 0; transition: opacity .8s; }
.wing[data-state="film"] .dots { opacity: 1; }
.wing .bird { offset-rotate: auto; }
.wing .bird-a { offset-path: path("M -40 230 C 120 210 260 205 452 214"); animation: flyA 3.6s ease-in infinite; }
.wing .bird-b { offset-path: path("M -40 230 C 150 210 300 196 372 150 S 420 40 330 -30"); animation: flyB 3.6s ease-in-out infinite; opacity: 0; }
.wing[data-state="film"] .bird-a { opacity: 0; animation-play-state: paused; }
.wing[data-state="film"] .bird-b { opacity: 1; }
.wing .impact { opacity: 0; transform-box: fill-box; transform-origin: center; animation: impact 3.6s ease-in infinite; }
.wing[data-state="film"] .impact { display: none; }
@keyframes flyA { 0% { offset-distance: 0%; opacity: 1; } 78% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes flyB { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes impact { 0%, 76% { opacity: 0; transform: scale(.2); } 82% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.wing .flap { transform-box: fill-box; transform-origin: 50% 100%; animation: flap .28s ease-in-out infinite alternate; }
@keyframes flap { to { transform: scaleY(-.6); } }

/* antimicrobial */
.micro svg { width: 100%; height: auto; display: block; }
.micro .germ { transition: transform .8s var(--ease), opacity .8s; transform-box: fill-box; transform-origin: center; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: translate(3px, -3px) rotate(8deg); } }
.micro .hexes { opacity: .0; transition: opacity .8s; }
.micro[data-state="film"] .hexes { opacity: 1; }
.micro[data-state="film"] .germ { opacity: .0; transform: scale(.2); animation: none; }

/* print reveal */
.printer { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #e9eef0; }
.printer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); }
.printer .head { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: linear-gradient(90deg, #00a3e0 0 25%, #e6007e 25% 50%, #ffe600 50% 75%, #111 75%); box-shadow: 0 6px 18px rgba(0,0,0,.35); opacity: 0; }
.printer.go img { animation: printdown 3.4s steps(28) forwards; }
.printer.go .head { animation: headdown 3.4s steps(28) forwards; }
@keyframes printdown { to { clip-path: inset(0 0 0 0); } }
@keyframes headdown { 0% { opacity: 1; top: 0; } 97% { opacity: 1; } 100% { top: calc(100% - 14px); opacity: 0; } }

/* ---------- Logos / brands ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brands > div { background: #fff; border-radius: var(--r); border: 1px solid var(--line); display: grid; place-items: center; padding: 18px; height: 96px; }
.brands img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .82; transition: filter .3s, opacity .3s; }
.brands > div:hover img { filter: none; opacity: 1; }
@media (max-width: 980px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .brands { grid-template-columns: repeat(2, 1fr); } }

/* landmark marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--f-head); font-stretch: 120%; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); white-space: nowrap; color: #dbe7eb; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--sun); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.quote { position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.dark .quote, .smoke .quote { background: rgba(207,226,232,.04); border-color: var(--line-d); }
.quote blockquote { margin: 0 0 20px; font-family: var(--f-head); font-stretch: 104%; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.4; }
.quote .stars { display: flex; gap: 3px; color: var(--sun); margin-bottom: 18px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); }
.dark .quote cite { color: var(--mist); }
.quote .qmark { position: absolute; right: 24px; top: 18px; width: 54px; color: var(--sun); opacity: .25; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--img) center/cover; opacity: .35; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,14,17,.96) 30%, rgba(10,14,17,.55)); }
.cta-band h2 { max-width: 20ch; }
.cta-band .lede { color: rgba(231,240,243,.78); }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: end; }
.cta-phone { font-family: var(--f-head); font-stretch: 115%; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--sun); text-decoration: none; display: block; line-height: 1; margin-top: 8px; }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Car note ---------- */
.lane { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.lane svg { width: 100%; height: auto; }
.lane .car { offset-path: path("M 10 150 L 120 150 C 170 150 180 70 230 70 L 300 70"); offset-rotate: auto; animation: lanechange 5s ease-in-out infinite; }
@keyframes lanechange { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (max-width: 760px) { .lane { grid-template-columns: 1fr; } .lane svg { max-width: 300px; } }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; list-style: none; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--sun), rgba(245,166,35,.1)); transform-origin: top; transform: scaleY(var(--tl, 0)); transition: transform 1.6s var(--ease); }
.timeline.in::before { --tl: 1; }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); border: 2px solid var(--sun); transform: rotate(45deg) scale(.7); }
.timeline .yr { font-family: var(--f-head); font-stretch: 120%; font-weight: 800; color: var(--sun); font-size: .92rem; letter-spacing: .08em; }
.timeline h3 { margin: 4px 0 6px; font-size: 1.22rem; }
.timeline p { color: var(--mist); font-size: .97rem; }

/* areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.areas li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.areas li svg { width: 16px; height: 16px; color: #b06c00; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.dark .faq details { background: rgba(207,226,232,.04); border-color: var(--line-d); }
.faq details[open] { border-color: rgba(245,166,35,.55); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 24px; font-family: var(--f-head); font-stretch: 106%; font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 8px; flex: none; position: relative; background: var(--sun-soft); }
.dark .faq summary .pm { background: rgba(245,166,35,.14); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #8a5300; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s; }
.dark .faq summary .pm::before, .dark .faq summary .pm::after { background: var(--sun); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }
.dark .faq .ans { color: var(--mist); }

/* tabs */
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tabs [role="tab"] { border: 1px solid var(--line); background: #fff; padding: 11px 18px; border-radius: 999px; font-family: var(--f-head); font-stretch: 108%; font-weight: 700; font-size: .9rem; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 11px 18px; border-radius: 999px; font-family: var(--f-head); font-stretch: 108%; font-weight: 700; font-size: .88rem; display: inline-flex; gap: 8px; align-items: center; transition: all .2s; }
.filters button em { font-style: normal; font-size: .76rem; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button[aria-pressed="true"] em { color: var(--sun); }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; position: relative; break-inside: avoid; background: var(--paper-2); }
.masonry a[hidden] { display: none; }
.masonry img { width: 100%; transition: transform .7s var(--ease), filter .4s; }
.masonry a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.3) 47%, transparent 58%); transform: translateX(-110%); transition: transform .9s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry a:hover::after { transform: translateX(110%); }
.gal-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-strip a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: block; position: relative; }
.gal-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-strip a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gal-strip { grid-template-columns: repeat(2, 1fr); } }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 9, 11, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: var(--sun); color: var(--ink); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--mist); font-size: .85rem; }
@media (max-width: 620px) { .lightbox { padding: 70px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---------- Video ---------- */
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.yt:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.yt .play svg { width: 28px; height: 28px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid h3 { font-size: 1.1rem; margin: 16px 0 0; }
.vid-feature { grid-column: 1 / -1; }
.vid-feature h3 { font-size: 1.4rem; }

/* casper resources */
.res { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.res a { text-decoration: none; color: inherit; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.res a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.res img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #eee; }
.res span { padding: 14px; font-weight: 700; font-size: .92rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.res span svg { width: 16px; height: 16px; color: #b06c00; flex: none; }
@media (max-width: 980px) { .res { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.posts.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts, .posts.four { grid-template-columns: 1fr; } }
.post-card { padding: 0; display: flex; flex-direction: column; }
.post-card .pc-img { aspect-ratio: 16/10; overflow: hidden; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.05); }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: .82rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.post-card h3 { font-size: 1.25rem; }
.post-card p { flex: 1; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.article .prose { font-size: 1.06rem; }
.article .prose img { border-radius: var(--r); margin: 1.5em 0; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.aside .card h3 { font-size: 1.2rem; }
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.postnav a { text-decoration: none; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.postnav a:hover { border-color: var(--sun); }
.postnav small { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.postnav b { font-family: var(--f-head); font-stretch: 106%; line-height: 1.25; display: block; }
.postnav .next { text-align: right; grid-column: 2; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---------- Products ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; padding: clamp(40px, 6vw, 70px) 0; border-top: 1px solid var(--line); }
.product:first-child { border-top: 0; padding-top: 0; }
.product .logo-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: inline-flex; align-items: center; gap: 22px; margin-bottom: 22px; max-width: 100%; }
.product .logo-tile img { max-height: 54px; width: auto; }
.film-list { list-style: none; display: grid; gap: 12px; margin: 18px 0; }
.film-list li { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.film-list b { font-family: var(--f-head); font-stretch: 108%; display: block; margin-bottom: 2px; }
.film-list span { color: var(--muted); font-size: .95rem; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: 0; border: 1px solid rgba(0,0,0,.15); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0; }
.tags li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.ws-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.ws-styles img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; border: 3px solid #fff; box-shadow: var(--shadow-sm); }

/* ---------- Contact ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 7px; }
.field label i { color: #b0451c; font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(18,24,28,.2); background: #fff; font: inherit; font-size: 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(245,166,35,.2); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sun); flex: none; }
.fine { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.fine p { margin-bottom: .7em; }
.fine b { color: var(--text); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: var(--sun-soft); font-weight: 600; display: none; }
.form-status.show { display: block; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.info-card { background: var(--ink); color: #e7f0f3; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden; }
.info-card .row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line-d); }
.info-card .row:first-of-type { border-top: 0; }
.info-card .ri { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(245,166,35,.13); color: var(--sun); flex: none; }
.info-card .ri svg { width: 22px; height: 22px; }
.info-card small { display: block; color: var(--mist); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.info-card a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.info-card a:hover { color: var(--sun); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding-top: clamp(60px, 8vw, 96px); position: relative; overflow: hidden; }
.site-footer a { color: #dbe7eb; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.foot-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.foot-brand img { height: 60px; width: auto; margin-bottom: 18px; }
.foot-brand p { font-size: .95rem; max-width: 36ch; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--sun); flex: none; margin-top: 3px; }
.soc-row { display: flex; gap: 10px; margin-top: 22px; }
.soc-row a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-d); display: grid; place-items: center; transition: all .25s; }
.soc-row a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.soc-row svg { width: 18px; height: 18px; }
.foot-map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-d); height: 190px; margin-top: 4px; }
.foot-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.foot-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .85rem; }
.foot-word { font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 13vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(207,226,232,.1); white-space: nowrap; margin-top: 40px; user-select: none; letter-spacing: -.02em; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; padding: 8px; border-radius: 16px; background: rgba(10,14,17,.92); backdrop-filter: blur(12px); border: 1px solid var(--line-d); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
  .callbar .btn { padding: 13px 10px; }
  .site-footer { padding-bottom: 80px; }
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-film { position: relative; }
.rv-film::before { /* film being laid over a pane as it scrolls in */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, rgba(10,14,17,.0), rgba(207,226,232,.35) 92%, rgba(255,255,255,.9) 100%);
  transform-origin: left; transform: scaleX(0); opacity: 0;
}
.rv-film.in::before { animation: filmlay 1.1s var(--ease); }
@keyframes filmlay { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }

/* icon accent parts */
.ico-svg { --ico-bg: var(--white); }
.dark .ico-svg, .smoke .ico-svg, .phero .ico-svg, .dropdown .ico-svg, .svc-photo .ico-svg { --ico-bg: var(--ink); }
.ico-svg .acc { stroke: var(--sun); }
.ico-svg .accf { fill: var(--sun); stroke: none; }
.ico-svg .soft { opacity: .45; }
.ico-svg .film { fill: currentColor; fill-opacity: .1; stroke: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .hero-fade > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media (min-width: 901px) { .contact-split { grid-template-columns: 1.25fr .75fr; } }
