/* ==========================================================================
   I.C Windows & Doors, Doncaster
   Palette: the logo's night navy and cerulean, ice and frost from the glass,
   one warm lamplight accent for the things you can press.
   Type: Jost (display, sits with the geometric wordmark) + Hanken Grotesk (body).
   Signature: the clearing pane. Frosted glass wipes clear on load, and every
   photograph arrives as four panes of frost clearing one after another.
   ========================================================================== */

:root {
  --navy: #05071a;
  --navy-2: #0b1230;
  --navy-3: #131c45;
  --blue: #1d63d6;
  --blue-deep: #0e3f9e;
  --blue-soft: #5b96ea;
  --ice: #9ad4f3;
  --ice-2: #cfe7f7;
  --frost: #eef3f9;
  --frost-2: #dfe9f3;
  --frost-3: #c7d8e8;
  --white: #ffffff;
  --ink: #0f1530;
  --ink-2: #4a5570;
  --ink-3: #7d879f;
  --lamp: #f5b542;
  --lamp-deep: #d9931b;
  --lamp-soft: #fde7b8;

  --font-display: 'Jost', 'Futura', 'Century Gothic', 'Segoe UI', sans-serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap-pad: clamp(20px, 4.5vw, 72px);
  --wrap-max: 1560px;
  --nav-h: 80px;
  --radius: 6px;
  --shadow-card: 0 24px 60px -24px rgba(5, 7, 26, .45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-glass: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html:not(.motion) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--frost);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1200px) { body { font-size: 18px; } }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .nav :focus-visible { outline-color: var(--ice); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--lamp); color: var(--navy); border-radius: 4px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-pad); }

/* Type ------------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 6rem); letter-spacing: -.03em; line-height: 1; }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.7rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -.01em; line-height: 1.15; }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.on-dark .lede { color: rgba(255, 255, 255, .78); }
.on-dark { color: #fff; }
.on-dark p { color: rgba(255, 255, 255, .8); }
.on-dark h2, .on-dark h3 { color: #fff; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink-2); }
.on-dark .section-head p { color: rgba(255, 255, 255, .75); }
@media (min-width: 981px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; }
}
.accent { color: var(--blue); }
.on-dark .accent { color: var(--ice); }

/* Masked line reveals: padded so descenders and swashes are never cut. */
.mask { display: block; overflow: hidden; padding: .3em .2em .36em; margin: -.3em -.2em -.36em; }
.mask > * { display: block; }
.motion [data-split] { visibility: hidden; }
.motion .hero__title { visibility: hidden; }
.motion.ready .hero__title { visibility: visible; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 4px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  text-decoration: none; line-height: 1; overflow: hidden; isolation: isolate; border: 1px solid transparent;
  transition: color .35s, border-color .35s, transform .2s, box-shadow .35s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--lamp); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(245, 181, 66, .6); }
.btn--primary::before { background: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--navy); box-shadow: 0 14px 34px -12px rgba(245, 181, 66, .75); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--navy); border-color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy::before { background: var(--blue); }
.btn--navy:hover, .btn--navy:focus-visible { color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 14px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--blue); }
.arrow-link svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(5px); }
.on-dark .arrow-link { color: var(--ice); }

/* The pane: every photograph sits in a designed frame and clears in four panes. */
.pane { position: relative; margin: 0; isolation: isolate; }
.pane__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--frost-2); }
.pane__media picture, .pane__media img { width: 100%; height: 100%; }
.pane__media img { object-fit: cover; }
.pane--tall .pane__media { aspect-ratio: 4 / 5; }
.pane--wide .pane__media { aspect-ratio: 16 / 10; }
.pane--square .pane__media { aspect-ratio: 1; }
.pane--43 .pane__media { aspect-ratio: 4 / 3; }
.pane__tiles { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; pointer-events: none; }
.pane__tiles span { display: block; background: var(--frost-2); }
.on-dark .pane__tiles span { background: var(--navy-3); }
html:not(.motion) .pane__tiles { display: none; }
.pane__outline { position: absolute; inset: 0; z-index: -1; border: 1.5px solid var(--ice); border-radius: var(--radius); transform: translate(18px, 18px); pointer-events: none; }
.on-dark .pane__outline { border-color: rgba(154, 212, 243, .5); }
.pane__mark { position: absolute; z-index: 3; width: clamp(64px, 6vw, 96px); aspect-ratio: 519 / 644; background: url("../img/logo-icon.png") center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 12px 24px rgba(5, 7, 26, .35)); }
.pane__mark--tl { top: -26px; left: -26px; }
.pane__mark--br { right: -22px; bottom: 30px; }
.pane__caption { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 36px); padding: 10px 14px; border-radius: 4px; background: rgba(5, 7, 26, .72); color: #fff; font-size: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pane__caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); flex: 0 0 auto; }
.pane__sheen { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.pane:hover .pane__sheen { transition: transform 1.1s var(--ease-out); transform: translateX(120%); }

/* Navigation -------------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; color: #fff; transition: background .4s, border-color .4s; }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 26, .85), rgba(5, 7, 26, 0)); pointer-events: none; transition: opacity .4s; }
.nav.is-scrolled { background: rgba(5, 7, 26, .88); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(154, 212, 243, .14); }
.nav.is-scrolled::before { opacity: 0; }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-pad); }
.nav__brand { display: block; flex: 0 0 auto; }
.nav__brand img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 22px; flex: 1 1 auto; justify-content: flex-end; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .88); text-decoration: none; border-radius: 4px; transition: color .25s, background .25s; white-space: nowrap; }
.nav__link:hover, .nav__link:focus-visible, .has-sub.is-open > .nav__link { color: #fff; background: rgba(154, 212, 243, .12); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s; }
.has-sub:hover .nav__chev, .has-sub.is-open .nav__chev, .has-sub:focus-within .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 5; min-width: 300px; display: grid; gap: 2px; padding: 10px;
  background: rgba(11, 18, 48, .96); border: 1px solid rgba(154, 212, 243, .18); border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(5, 7, 26, .7);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.nav__subitem { display: grid; gap: 2px; padding: 12px 14px; border-radius: 6px; text-decoration: none; color: #fff; transition: background .25s; }
.nav__subitem strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; line-height: 1.15; }
.nav__subitem span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.nav__subitem:hover, .nav__subitem:focus-visible { background: rgba(154, 212, 243, .12); }
.nav__subitem:hover strong { color: var(--ice); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__mail { font-weight: 500; font-size: 14.5px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.nav__mail:hover { color: var(--ice); }
.nav__burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .35s var(--ease-glass), opacity .25s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture, .hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1s; }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 7, 26, .35) 0%, rgba(5, 7, 26, 0) 35%, rgba(5, 7, 26, .55) 78%, rgba(5, 7, 26, .92) 100%), linear-gradient(90deg, rgba(5, 7, 26, .55) 0%, rgba(5, 7, 26, .1) 55%, rgba(5, 7, 26, 0) 100%); }
.hero__frost { position: absolute; inset: 0; z-index: 4; display: none; background: linear-gradient(115deg, rgba(228, 239, 250, .66), rgba(196, 220, 240, .58) 60%, rgba(214, 232, 247, .64)); -webkit-backdrop-filter: blur(22px) saturate(115%); backdrop-filter: blur(22px) saturate(115%); pointer-events: none; }
.hero__frost::after { content: ""; position: absolute; inset: 0; opacity: .32; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.hero__squeegee { position: absolute; z-index: 5; top: -12%; bottom: -12%; left: 0; width: 4px; margin-left: -2px; display: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 30%, rgba(255, 255, 255, .95) 70%, rgba(255, 255, 255, 0)); box-shadow: 0 0 28px 8px rgba(255, 255, 255, .5), 0 0 80px 20px rgba(154, 212, 243, .35); transform: rotate(9deg); pointer-events: none; }
.motion .hero__frost, .motion .hero__squeegee { display: block; }
.motion .hero__frost { animation: frost-safety 0s 7s forwards; }
@keyframes frost-safety { to { visibility: hidden; } }
.hero__content { position: relative; z-index: 3; width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding: calc(var(--nav-h) + 9vh) var(--wrap-pad) 14vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 40px clamp(32px, 5vw, 96px); align-items: end; }
.hero__title { max-width: 12ch; text-shadow: 0 12px 40px rgba(5, 7, 26, .55); }
.hero__lede { margin-top: 26px; max-width: 58ch; font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.5; color: rgba(255, 255, 255, .86); text-shadow: 0 4px 24px rgba(5, 7, 26, .6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; list-style: none; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.hero__facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 12px rgba(245, 181, 66, .9); }
.hero__card { position: relative; padding: 26px 26px 24px; border-radius: 8px; background: rgba(11, 18, 48, .55); border: 1px solid rgba(154, 212, 243, .3); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); box-shadow: var(--shadow-card); overflow: hidden; }
.hero__card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .12) 50%, transparent 65%); transform: translateX(-130%); }
.motion .hero__card::before { animation: card-sheen 7s 3s infinite; }
@keyframes card-sheen { 0% { transform: translateX(-130%); } 18% { transform: translateX(130%); } 100% { transform: translateX(130%); } }
.hero__card h2 { font-size: 1.35rem; line-height: 1.15; margin-bottom: 10px; }
.hero__card p { font-size: 15px; color: rgba(255, 255, 255, .78); margin-bottom: 16px; }
.hero__card .arrow-link { font-size: 14.5px; color: var(--lamp); }
.hero__panes { position: absolute; top: 18px; right: 18px; width: 30px; height: 36px; border: 1.5px solid rgba(154, 212, 243, .55); border-radius: 2px; background: linear-gradient(rgba(154, 212, 243, .55), rgba(154, 212, 243, .55)) center / 1.5px 100% no-repeat, linear-gradient(rgba(154, 212, 243, .55), rgba(154, 212, 243, .55)) center / 100% 1.5px no-repeat; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255, 255, 255, .8), transparent); }
.motion .hero__scroll span { animation: scroll-hint 2.2s infinite; transform-origin: top; }
@keyframes scroll-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Sections ---------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 150px); }
.bg-frost { background: var(--frost); }
.bg-white { background: #fff; }
.bg-frost-2 { background: var(--frost-2); }
.bg-navy { background: var(--navy); }
.bg-navy-2 { background: var(--navy-2); }

/* Intro ---------------------------------------------------------------- */
.intro { overflow: hidden; }
.intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 20%, rgba(154, 212, 243, .35), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(29, 99, 214, .1), transparent 70%); pointer-events: none; }
.intro__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__text h2 { margin-bottom: 26px; }
.intro__text p { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); }
.intro__text .arrow-link { margin-top: 12px; }
.intro__points { display: grid; gap: 14px; margin-top: 30px; list-style: none; }
.intro__points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.intro__points svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.intro__grid .pane { max-width: 560px; justify-self: center; width: 100%; }
@media (min-width: 981px) {
  .intro__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .intro__grid .pane { justify-self: end; }
}

/* Services: the routes into the service pages, first thing after the hero. ---- */
.services { overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 65% at 88% 8%, rgba(154, 212, 243, .45), transparent 70%), radial-gradient(45% 55% at 5% 95%, rgba(29, 99, 214, .1), transparent 70%); pointer-events: none; }
.services .wrap { position: relative; }
.services__grid { display: grid; gap: 24px; }
.service { position: relative; display: grid; border-radius: 8px; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; min-height: 460px; box-shadow: 0 30px 60px -30px rgba(5, 7, 26, .45); transition: box-shadow .45s, transform .45s var(--ease-out); }
.service:hover, .service:focus-visible { transform: translateY(-6px); box-shadow: 0 40px 70px -28px rgba(5, 7, 26, .6); }
.service__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.service:hover .service__media img { transform: scale(1.06); }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 26, .08) 12%, rgba(5, 7, 26, .74) 50%, rgba(5, 7, 26, .96) 100%); }
.service__tiles { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; pointer-events: none; }
.service__tiles span { background: var(--frost-2); }
html:not(.motion) .service__tiles { display: none; }
.service__body { position: relative; z-index: 2; align-self: end; padding: clamp(24px, 2.4vw, 34px); }
.service__body h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); margin-bottom: 10px; }
.service__body p { max-width: 42ch; color: rgba(255, 255, 255, .84); font-size: .98rem; }
.service__body .arrow-link { margin-top: 16px; color: var(--lamp); }
.service__tag { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 7px 12px; border-radius: 4px; background: rgba(245, 181, 66, .92); color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; }
@media (min-width: 761px) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.services__explore { position: relative; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--frost-3); }
.services__explore h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); margin-bottom: 22px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.chips li { display: grid; }
.chip { display: grid; height: 100%; grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid var(--frost-3); text-decoration: none; color: var(--ink); transition: border-color .3s, box-shadow .35s, transform .35s var(--ease-out); }
.chip:hover, .chip:focus-visible { border-color: var(--blue-soft); box-shadow: 0 18px 36px -20px rgba(5, 7, 26, .45); transform: translateY(-3px); }
.chip__media { display: block; width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--frost-2); }
.chip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.chip:hover .chip__media img { transform: scale(1.08); }
.chip__body { display: grid; gap: 3px; min-width: 0; align-content: start; }
.chip__body strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; min-height: 2.3em; }
.chip__body span { font-size: .88rem; line-height: 1.35; color: var(--ink-3); }
.chip__go { display: none; }
@media (min-width: 700px) { .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .chips { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 420px) { .chip__body strong { font-size: .95rem; } .chip__body span { font-size: .82rem; } }

/* Replacement glass + the comparison slider ----------------------------- */
.glass { overflow: hidden; }
.glass::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgba(29, 99, 214, .35), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(154, 212, 243, .12), transparent 70%); pointer-events: none; }
.glass__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.glass__text h2 { margin-bottom: 22px; }
.glass__text > p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); }
.benefits { display: grid; gap: 16px; margin-top: 30px; list-style: none; }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(154, 212, 243, .16); }
.benefits svg { width: 44px; height: 44px; color: var(--ice); }
.benefits strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 2px; }
.benefits span { font-size: .95rem; color: rgba(255, 255, 255, .72); }
.glass__text .btn { margin-top: 30px; }
.compare-wrap { position: relative; }
.compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--navy-2); user-select: none; -webkit-user-select: none; touch-action: pan-y; box-shadow: var(--shadow-card); --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .6); pointer-events: none; }
.compare__knob { position: absolute; z-index: 3; top: 50%; left: var(--pos); width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(5, 7, 26, .45); pointer-events: none; }
.compare__knob svg { width: 26px; height: 26px; }
.compare__label { position: absolute; z-index: 2; bottom: 18px; padding: 7px 12px; border-radius: 4px; background: rgba(5, 7, 26, .72); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: .03em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.compare__label--before { left: 18px; }
.compare__label--after { right: 18px; color: var(--lamp); }
.compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 80px; height: 100%; }
.compare__range::-moz-range-thumb { width: 80px; height: 100%; border: 0; }
.compare__hint { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .6); text-align: center; }
.compare-wrap .pane__outline { transform: translate(-18px, 18px); }
.compare-wrap .pane__mark--br { right: -22px; left: auto; top: -30px; bottom: auto; }
@media (min-width: 981px) {
  .glass__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.glass__types { position: relative; margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(154, 212, 243, .18); display: grid; gap: 22px; }
.glass__types p { font-size: 1rem; color: rgba(255, 255, 255, .72); }
.glass__types ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.glass__types li { padding: 9px 14px; border-radius: 4px; border: 1px solid rgba(154, 212, 243, .3); font-family: var(--font-display); font-weight: 500; font-size: 14.5px; background: rgba(255, 255, 255, .04); }
@media (min-width: 981px) { .glass__types { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; } }

/* Repairs -------------------------------------------------------------- */
.repairs { overflow: hidden; }
.repairs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 0% 0%, rgba(154, 212, 243, .4), transparent 70%); pointer-events: none; }
.repairs__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.repairs__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.repairs__media .pane:nth-child(2) { margin-top: 18%; }
.repairs__text h2 { margin-bottom: 22px; }
.repairs__text > p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--ink-2); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; list-style: none; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 1rem; padding: 6px 0; border-bottom: 1px solid var(--frost-3); }
.checklist svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.repairs__text .btn { margin-top: 30px; }
.repairs__note { margin-top: 18px; font-size: .95rem; color: var(--ink-3); }
@media (min-width: 981px) {
  .repairs__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
@media (max-width: 560px) {
  .checklist { grid-template-columns: 1fr; }
}

/* Fitted: pinned full-screen gallery ----------------------------------- */
.fitted { position: relative; background: var(--navy); color: #fff; padding-top: clamp(80px, 10vw, 150px); }
.fitted__head { margin-bottom: clamp(32px, 4vw, 64px); }
.fitted__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.fitted__slides { position: absolute; inset: 0; list-style: none; }
.slide { position: absolute; inset: 0; opacity: 0; }
.slide.is-active { opacity: 1; }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 7, 26, .92) 0%, rgba(5, 7, 26, .4) 40%, rgba(5, 7, 26, 0) 65%), linear-gradient(90deg, rgba(5, 7, 26, .4), rgba(5, 7, 26, 0) 50%); }
.slide__caption { position: absolute; z-index: 2; left: var(--wrap-pad); right: var(--wrap-pad); bottom: 11vh; max-width: 720px; }
.slide__caption h3 { font-size: clamp(2rem, 3.8vw, 3.6rem); margin-bottom: .3em; }
.slide__caption p { font-size: clamp(1rem, 1.2vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 560px; }
.fitted__ui { position: absolute; z-index: 3; right: var(--wrap-pad); bottom: 11vh; display: grid; justify-items: end; gap: 18px; }
.fitted__progress { width: 180px; height: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.fitted__bar { display: block; width: 100%; height: 100%; background: var(--lamp); transform: scaleX(0); transform-origin: left; }
.fitted__dots { display: flex; gap: 10px; }
.fitted__dots button { width: 14px; height: 18px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 2px; background: transparent; transition: background .3s, border-color .3s, transform .3s; pointer-events: auto; }
.fitted__dots button:hover { border-color: #fff; }
.fitted__dots button.is-active { background: var(--lamp); border-color: var(--lamp); transform: scale(1.15); }
.fitted__count { font-family: var(--font-display); font-size: 1.4rem; color: rgba(255, 255, 255, .9); font-variant-numeric: tabular-nums; }
.fitted__count .fitted__total::before { content: "/"; margin: 0 .25em; color: rgba(255, 255, 255, .4); }
.fitted__after { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(80px, 10vw, 150px); display: grid; gap: 28px; align-items: center; }
.fitted__after p { font-size: clamp(1rem, 1.2vw, 1.2rem); color: rgba(255, 255, 255, .75); }
.fitted__after strong { color: #fff; }
@media (min-width: 981px) { .fitted__after { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); justify-items: end; } }
html:not(.motion) .fitted__stage { height: auto; }
html:not(.motion) .fitted__slides { position: static; display: grid; gap: 4px; }
html:not(.motion) .slide { position: relative; opacity: 1; background: var(--navy-2); }
html:not(.motion) .slide picture { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; max-height: 80vh; }
html:not(.motion) .slide::after { display: none; }
html:not(.motion) .slide__caption { position: static; max-width: none; padding: 20px var(--wrap-pad) 36px; }
html:not(.motion) .fitted__ui { display: none; }

/* Process --------------------------------------------------------------- */
.process { overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 100%, rgba(154, 212, 243, .28), transparent 70%); pointer-events: none; }
.process__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { position: relative; display: grid; gap: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--frost-3); }
.steps__line { position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--blue); transform: scaleY(0); transform-origin: top; }
html:not(.motion) .steps__line { transform: none; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 22px 0; }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; position: relative; z-index: 1; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 1.02rem; }
.process__media { position: relative; }
.process__media .pane { max-width: 560px; }
.process__promise { margin-top: 28px; padding: 22px 24px; border-radius: 6px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; max-width: 560px; }
.process__promise svg { width: 44px; height: 44px; color: var(--lamp); }
.process__promise strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.process__promise span { font-size: .95rem; color: rgba(255, 255, 255, .75); }
@media (min-width: 981px) {
  .process__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .process__media { position: sticky; top: calc(var(--nav-h) + 32px); justify-self: end; }
}

/* About ---------------------------------------------------------------- */
.about { overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 0% 20%, rgba(154, 212, 243, .35), transparent 70%); pointer-events: none; }
.about__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text h2 { margin-bottom: 22px; }
.about__text p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--ink-2); }
.about__grid .pane { max-width: 620px; width: 100%; }
.about__sig { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.about__sig-mark { width: 54px; aspect-ratio: 519 / 644; background: url("../img/logo-icon.png") center / contain no-repeat; }
.about__sig strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.about__sig span { font-size: .95rem; color: var(--ink-3); }
@media (min-width: 981px) {
  .about__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .about__grid .pane { order: -1; justify-self: start; }
}

/* Areas ----------------------------------------------------------------- */
.areas { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.areas__bg { position: absolute; inset: -12% 0; z-index: 0; }
.areas__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.areas__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy) 0%, rgba(5, 7, 26, .35) 28%, rgba(5, 7, 26, .35) 72%, var(--navy) 100%), linear-gradient(90deg, rgba(5, 7, 26, .78) 0%, rgba(5, 7, 26, .35) 45%, rgba(5, 7, 26, .15) 100%); }
.areas .wrap { position: relative; z-index: 1; }
.areas__grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
.areas__text h2 { margin-bottom: 20px; }
.areas__text p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); }
.towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; }
.towns li { padding: 12px 14px; border-radius: 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(154, 212, 243, .18); font-family: var(--font-display); font-weight: 500; font-size: 15.5px; display: flex; align-items: center; gap: 10px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.towns li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); flex: 0 0 auto; }
.towns li.is-home { background: var(--lamp); color: var(--navy); border-color: var(--lamp); font-weight: 600; }
.towns li.is-home::before { background: var(--navy); }
.areas__more { margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .65); }
.areas__seen { margin-top: clamp(36px, 5vw, 64px); padding: clamp(22px, 3vw, 36px); border-radius: 8px; background: rgba(11, 18, 48, .6); border: 1px solid rgba(154, 212, 243, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.areas__seen h3 { font-size: 1.25rem; margin-bottom: 18px; }
.areas__seen ul { display: grid; gap: 16px 32px; list-style: none; }
.areas__seen li { position: relative; padding-left: 20px; font-size: 1rem; color: rgba(255, 255, 255, .8); }
@media (min-width: 761px) { .areas__seen ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.areas__seen li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); }
@media (min-width: 640px) { .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 981px) {
  .areas__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .towns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* FAQ ------------------------------------------------------------------- */
.faq { overflow: hidden; }
.faq__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__side { position: relative; }
.faq__side h2 { margin-bottom: 18px; }
.faq__side > p { color: var(--ink-2); margin-bottom: 28px; }
.faq__side .pane { max-width: 520px; }
.qa { border-top: 1px solid var(--frost-3); }
.qa:last-child { border-bottom: 1px solid var(--frost-3); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.35vw, 1.3rem); letter-spacing: -.01em; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__icon { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--frost-3); display: grid; place-items: center; transition: transform .4s var(--ease-out), background .3s, border-color .3s; }
.qa__icon svg { width: 16px; height: 16px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 1.02rem; }
@media (min-width: 981px) {
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .faq__side { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* Contact --------------------------------------------------------------- */
.contact { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 26, .96) 0%, rgba(5, 7, 26, .75) 50%, rgba(5, 7, 26, .5) 100%), linear-gradient(180deg, var(--navy), transparent 25%, transparent 75%, var(--navy)); }
.contact .wrap { position: relative; z-index: 1; }
.contact__grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__text h2 { margin-bottom: 18px; }
.contact__text > p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); }
.contact__list { display: grid; gap: 20px; margin-top: 32px; list-style: none; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact__list svg { width: 44px; height: 44px; color: var(--ice); }
.contact__list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 2px; }
.contact__list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(154, 212, 243, .5); transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--ice); border-color: var(--ice); }
.contact__list span { font-size: .95rem; color: rgba(255, 255, 255, .7); }
.form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 8px; background: rgba(11, 18, 48, .72); border: 1px solid rgba(154, 212, 243, .25); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); box-shadow: var(--shadow-card); }
.form h3 { margin-bottom: 6px; }
.form__intro { font-size: .98rem; color: rgba(255, 255, 255, .7); margin-bottom: 24px; }
.form__grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .85); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 4px; border: 1px solid rgba(154, 212, 243, .3); background: rgba(5, 7, 26, .5); color: #fff; font: inherit; font-size: 15.5px; transition: border-color .25s, box-shadow .25s; }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ad4f3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(154, 212, 243, .25); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff8a8a; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form__foot .btn { flex: 0 0 auto; }
.form__status { font-size: .95rem; color: rgba(255, 255, 255, .8); min-height: 1.4em; }
.form__status.is-ok { color: var(--lamp-soft); }
.form__status.is-error { color: #ffb3b3; }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
@media (min-width: 981px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* Footer ---------------------------------------------------------------- */
.footer { position: relative; background: #030512; color: rgba(255, 255, 255, .75); padding: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid rgba(154, 212, 243, .12); }
.footer__grid { display: grid; gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 20px; max-width: 42ch; font-size: .98rem; }
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .75); transition: color .25s; }
.footer a:hover { color: var(--ice); }
.footer__contact li { font-size: .98rem; }
.footer__contact strong { color: #fff; font-weight: 500; display: block; }
.footer__bar { border-top: 1px solid rgba(154, 212, 243, .12); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.footer__bar a { color: rgba(255, 255, 255, .75); }
.footer__bar .samson { display: inline-flex; align-items: center; gap: 6px; }
.footer__bar .samson strong { color: #fff; font-weight: 600; }
@media (min-width: 761px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* Mobile call bar -------------------------------------------------------- */
.callbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 7, 26, .92); border-top: 1px solid rgba(154, 212, 243, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(0); transition: transform .4s var(--ease-out); }
.callbar.is-hidden { transform: translateY(110%); }
.callbar .btn { padding: 14px 12px; font-size: 14.5px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__link { padding: 10px 9px; font-size: 14.5px; }
  .nav__mail { display: none; }
}
@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .nav__brand img { height: 40px; }
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto;
    padding: calc(var(--nav-h) + 16px) var(--wrap-pad) 40px; background: rgba(5, 7, 26, .98);
    clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-glass);
  }
  .nav.is-open .nav__menu { clip-path: inset(0 0 0 0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(154, 212, 243, .14); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -.01em; border-radius: 0; white-space: normal; }
  .nav__link:hover, .nav__link:focus-visible, .has-sub.is-open > .nav__link { background: none; }
  .nav__chev { width: 20px; height: 20px; }
  .nav__sub { position: static; min-width: 0; padding: 0 0 12px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; gap: 2px; transition: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-sub.is-open .nav__sub { display: grid; }
  .nav__subitem { padding: 10px 0 10px 18px; border-left: 1.5px solid var(--ice); border-radius: 0; }
  .nav__subitem strong { font-size: 1.1rem; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
  .nav__mail { display: block; font-family: var(--font-display); font-size: 1.1rem; text-align: center; }
  .nav__actions .btn { justify-content: center; padding: 16px 20px; font-size: 15.5px; }
  .hero__content { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 12vh); padding-bottom: 12vh; gap: 32px; }
  .hero__card { max-width: 480px; }
  .hero__scroll { display: none; }
  .callbar { display: grid; }
  body { padding-bottom: 0; }
  .fitted__ui { right: auto; left: var(--wrap-pad); bottom: 104px; justify-items: start; gap: 12px; }
  .slide__caption { bottom: 200px; }
  .slide__caption h3 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
}
@media (max-width: 640px) {
  .hero__title { max-width: none; }
  .hero__lede { font-size: 1.05rem; }
  .hero__facts { gap: 8px 18px; font-size: 13.5px; }
  .repairs__media { grid-template-columns: 1fr; }
  .repairs__media .pane:nth-child(2) { margin-top: 0; }
  .pane__outline { transform: translate(12px, 12px); }
  .pane__mark { width: 56px; }
  .pane__mark--tl { top: -18px; left: -14px; }
  .service { min-height: 320px; }
  .service__body p { font-size: .95rem; }
  .service__media::after { background: linear-gradient(180deg, rgba(5, 7, 26, .28) 0%, rgba(5, 7, 26, .58) 26%, rgba(5, 7, 26, .9) 62%, rgba(5, 7, 26, .97) 100%); }
  .benefits li { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; }
  .benefits svg { width: 36px; height: 36px; }
  .compare__knob { width: 48px; height: 48px; }
  .compare-wrap .pane__outline { transform: translate(-10px, 12px); }
  .compare-wrap .pane__mark--br { right: -10px; top: -22px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step__num { width: 44px; height: 44px; font-size: 1.05rem; }
  .steps::before, .steps__line { left: 21px; }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .towns li { font-size: 14px; padding: 10px 12px; }
  .qa summary { font-size: 1.08rem; padding: 18px 0; }
  .qa__body p { padding-right: 0; }
  .footer__bar { flex-direction: column; }
}

/* Reduced motion: the page is a plain, complete document. --------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
