/* Fairframe Windows & Doors — site styles, v2
   Brand: Navy #15233F, Amber #F2A417, Montserrat.
   Light, airy base ("glass and daylight"); navy used as an accent and for a few deep sections.
   Buttons and cards use a frosted "liquid glass" treatment. */

:root {
  --navy: #15233F;
  --navy-2: #1E3156;
  --navy-3: #2A3F68;
  --amber: #F2A417;
  --amber-hi: #FFC458;
  --amber-press: #D98F07;
  --mist: #F3F6F9;
  --glass: #E8EEF4;
  --glass-2: #D5E0EA;
  --white: #FFFFFF;
  --text: #2B2F33;
  --muted: #4A5468;
  --on-navy-muted: #B7C2D6;
  --danger: #B42318;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--mist);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h3 { line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
section { position: relative; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 16px; font-weight: 700; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section-title { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; max-width: 18ch; }
.section-lede { font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--muted); max-width: 56ch; margin-top: 18px; }

/* ---------- Glass surfaces ---------- */
.glass-card {
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 24px 60px -28px rgba(21, 35, 63, .35);
  border-radius: var(--radius);
}
.glass-dark {
  background: rgba(30, 49, 86, .42);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 24px 60px -28px rgba(0, 0, 0, .5);
  color: var(--white);
}

/* ---------- Backgrounds ---------- */
.bg-lines { background-color: var(--mist); }
.bg-lines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(21,35,63,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,35,63,.055) 1px, transparent 1px);
  background-size: 140px 140px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.bg-dark {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(42,63,104,.9), transparent 60%),
    radial-gradient(900px 700px at 100% 100%, rgba(30,49,86,.9), transparent 60%),
    var(--navy);
  color: var(--white);
}
.bg-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; z-index: 0; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.glow-amber { background: radial-gradient(circle, rgba(242,164,23,.55), rgba(242,164,23,0) 65%); top: -10%; right: -12%; }
.glow-blue { background: radial-gradient(circle, rgba(120,165,215,.55), rgba(120,165,215,0) 65%); }
.glow-tl { top: -18%; left: -14%; right: auto; }
.glow-br { bottom: -20%; right: -14%; top: auto; left: auto; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }

/* ---------- Liquid glass buttons ---------- */
.btn {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.75),
    inset 0 -2px 6px rgba(0,0,0,.08),
    0 10px 26px -12px rgba(21,35,63,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease);
}
.btn::before { /* glossy top highlight */
  content: ""; position: absolute; inset: 1px 1px 50% 1px; z-index: -1; border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events: none;
}
.btn::after { /* light that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255,255,255,.5), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -2px 6px rgba(0,0,0,.08), 0 16px 34px -14px rgba(21,35,63,.55); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-amber { color: var(--navy); background: linear-gradient(180deg, rgba(255,196,88,.96), rgba(242,164,23,.94)); border-color: rgba(255,230,170,.9); }
.btn-navy { color: var(--white); background: linear-gradient(180deg, rgba(42,63,104,.95), rgba(21,35,63,.96)); border-color: rgba(255,255,255,.18); }
.btn-navy::before { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }
.btn-glass-light { color: var(--navy); background: rgba(255,255,255,.5); border-color: rgba(255,255,255,.9); }
.btn-glass { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.btn-glass::before { background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0)); }

/* ---------- Header: fixed glass bar, never hides ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.header-bar {
  pointer-events: auto;
  max-width: calc(var(--wrap) - 2 * var(--gutter) + 40px); margin: 0 auto; height: 66px;
  display: flex; align-items: center; gap: 28px; padding: 0 10px 0 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9); border-radius: 999px;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 40px -18px rgba(21,35,63,.35);
}
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a, .header-phone { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--navy); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone:hover { color: var(--amber-press); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(21,35,63,.06); cursor: pointer; position: relative; color: var(--navy); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  pointer-events: auto; margin: 10px auto 0; max-width: 520px; padding: 14px 22px 22px; display: grid; gap: 2px;
  background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 60px -24px rgba(21,35,63,.4);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { color: var(--navy); text-decoration: none; font-size: 1.2rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--glass-2); }
.mobile-menu .mobile-menu-phone { color: var(--amber-press); border: 0; }

/* ---------- Hero ---------- */
.hero { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-stage { position: absolute; inset: 0; }
/* The photo starts zoomed so the family on the porch sits in the lower panes of the mark,
   then settles to its natural framing as you walk through the window. */
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: scale(var(--ph-scale, 1.3)); transform-origin: var(--ph-origin, 25% 115%);
}
.hero-frame {
  position: absolute; z-index: 1; width: min(62vh, 44vw); height: min(62vh, 44vw);
  left: 68%; top: 52%; translate: -50% -50%; overflow: visible; will-change: transform;
}
.frame-wall { fill: var(--navy); }
.frame-mark { fill: var(--amber); }
.hero-deco { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.blob-a { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(242,164,23,.45), transparent 65%); }
.blob-b { width: 600px; height: 600px; left: 28%; bottom: -320px; background: radial-gradient(circle, rgba(120,165,215,.5), transparent 65%); animation-duration: 22s; }
.blob-c { width: 380px; height: 380px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(120,165,215,.35), transparent 65%); animation-duration: 19s; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(21,35,63,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21,35,63,.05) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 60%);
}

.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; top: 54%; transform: translateY(-50%); }
.hero-copy > * { max-width: 34rem; }
.hero-kicker { font-weight: 600; color: var(--amber); font-size: 1.02rem; margin-bottom: 22px; }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 6.2vw, 5.8rem); font-weight: 800; line-height: .98; letter-spacing: -0.035em; }
.hero-lede { margin-top: 24px; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--on-navy-muted); max-width: 30rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-after { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(32px, 8vh, 80px); opacity: 0; visibility: hidden; }
.hero-after-card { display: inline-flex; align-items: center; gap: 18px; padding: 20px 28px 20px 20px; max-width: 34rem; }
.hero-after-card img { flex: none; border-radius: 10px; }
.hero-after-card p { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -0.015em; }
.hero-after-card span { display: block; margin-top: 6px; font-size: .98rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--amber); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* No animation library or reduced motion: show the family photo straight away */
.static .hero-frame, .static .scroll-cue, .static .hero-after { display: none; }
.static .hero-photo { transform: none; }
.static .hero-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(21,35,63,.92) 0%, rgba(21,35,63,.7) 45%, rgba(21,35,63,.1) 80%); }

/* ---------- Two paths ---------- */
.paths { padding: var(--section) 0; overflow: hidden; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 36px); margin-top: 48px; }
.path {
  display: flex; flex-direction: column; padding: 12px; border-radius: 28px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -40px rgba(21,35,63,.45);
}
.path-photo { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; }
.path-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path:hover .path-photo img { transform: scale(1.04); }
.path-body { padding: clamp(20px, 2.6vw, 32px) clamp(14px, 2vw, 24px) clamp(14px, 2vw, 22px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.path-body h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 700; }
.path-body p { color: var(--muted); }
.path-body .btn { align-self: flex-start; margin-top: auto; }
.ticks { display: grid; gap: 8px; margin-bottom: 8px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(242,164,23,.18); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 8px; height: 4px; border-left: 2px solid var(--amber-press); border-bottom: 2px solid var(--amber-press); transform: rotate(-45deg); }

/* ---------- Products (fits the viewport height) ---------- */
.products { overflow: hidden; }
.products-pin {
  position: relative; z-index: 1; height: 100vh; min-height: 600px;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 18px) 0 clamp(24px, 4vh, 44px);
}
.products .section-title { color: var(--white); }
.products .section-lede { color: var(--on-navy-muted); margin-top: 0; max-width: 42ch; }
.products-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; flex: none; }
.products-track {
  flex: 1; min-height: 0; display: flex; gap: clamp(16px, 1.8vw, 26px); margin-top: clamp(20px, 4vh, 40px);
  padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  will-change: transform;
}
.products-track:focus-visible { outline-offset: -3px; }
.product { flex: 0 0 auto; width: clamp(230px, min(22vw, calc((100vh - 330px) * .9)), 320px); display: flex; flex-direction: column; min-height: 0; }
/* Realistic windows: a plaster wall, a white vinyl frame with bevelled edges,
   sealed glass with reflections, a mountain view behind it, and sashes that
   open in real 3D perspective. */
.product-art {
  position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 22px;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #F3EFE9 0%, #E9E3DA 78%, #D9D1C5 78.4%, #CFC6B8 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(0,0,0,.6);
  transition: transform .5s var(--ease);
}
.product:hover .product-art { transform: translateY(-4px); }

.rw { --fw: 12px; --sw: 9px; --dur: 5.2s; position: relative; width: 50%; aspect-ratio: 3 / 4.2; perspective: 900px; perspective-origin: 50% 40%; margin-bottom: 8%; }
.rw.is-wide { width: 74%; aspect-ratio: 4 / 3; }
.rw.is-tall { width: 44%; aspect-ratio: 3 / 5; }
.rw.is-patio { width: 74%; aspect-ratio: 1.15 / 1.25; margin-bottom: 0; align-self: end; }
.rw.is-entry { width: 72%; aspect-ratio: 1.2 / 1.3; margin-bottom: 0; align-self: end; }
/* window sill */
.rw::after { content: ""; position: absolute; z-index: 3; left: -9%; right: -9%; bottom: -13px; height: 13px; border-radius: 2px;
  background: linear-gradient(180deg, #FFFFFF, #E8EBEE 70%, #D6DADF); box-shadow: 0 10px 14px -6px rgba(60,45,30,.35); }
.rw.is-patio::after, .rw.is-entry::after { left: -6%; right: -6%; bottom: -8px; height: 8px; background: linear-gradient(180deg, #CFC6B8, #BDB3A4); box-shadow: none; }

/* what you see through the glass */
.rw-view { position: absolute; inset: var(--fw); background: #9DB9D3 url("assets/img/view-mountains.jpg") center 40% / cover no-repeat; }
.rw-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0) 40%); }
.rw-view-porch { background-image: url("assets/img/hero-family.jpg"); background-position: 60% 70%; }
/* patio and garden doors look into a living room, so they read as doors, not windows */
.rw-view-room { background-image: url("assets/img/hero-lake.jpg"); background-size: 260%; background-position: 30% 62%; }
.rw-view-room-2 { background-position: 72% 66%; }
.rw-view-room::after { background: linear-gradient(180deg, rgba(255,236,210,.12), rgba(0,0,0,.05)); }

/* Fairframe decal on the glass: small amber mark in the top-left corner */
.rw-glass::before {
  content: ""; position: absolute; z-index: 1; top: 7px; left: 7px;
  width: clamp(18px, 18%, 28px); aspect-ratio: 1;
  background: url("assets/brand/fairframe-mark-amber.svg") center / contain no-repeat;
  opacity: .92; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}
.rw-glass-frost::before { display: none; }
.bay-l .rw-glass::before, .bay-r .rw-glass::before, .rw-top .rw-glass::before, .rw-left:not(.a-french-l) .rw-glass::before { display: none; }
.is-round .rw-glass::before { top: 22%; left: 22%; }
.is-arch .rw-glass::before { top: 34%; left: 10%; }

/* outer frame: bevel light from the top-left */
.rw-frame {
  position: absolute; inset: 0; transform-style: preserve-3d;
  border: var(--fw) solid; border-color: #FCFDFD #E1E6EA #D2D9DF #F1F4F6; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(40,50,60,.12), inset 0 0 0 1px rgba(40,50,60,.12), inset 0 0 14px rgba(0,0,0,.18), 0 26px 40px -20px rgba(60,45,30,.55);
}
/* opening sash */
.rw-sash {
  position: absolute; inset: 0; transform-style: preserve-3d;
  border: var(--sw) solid; border-color: #FFFFFF #E5E9ED #D7DDE3 #F4F6F8; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(40,50,60,.14), inset 0 0 0 1px rgba(40,50,60,.1), 0 4px 10px rgba(0,0,0,.12);
  animation-duration: var(--dur); animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.55,.05,.25,1);
  will-change: transform;
}
.rw-sash::after { /* darkens the sash as it turns away from the light */
  content: ""; position: absolute; inset: calc(var(--sw) * -1); pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.05));
  opacity: 0;
}
.a-casement::after, .a-awning::after, .a-tilt::after, .a-french-l::after, .a-french-r::after {
  animation: shade var(--dur) infinite cubic-bezier(.55,.05,.25,1);
}
/* sealed glass unit: tint, dark spacer line, reflections */
.rw-glass {
  position: absolute; inset: 0; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.12) 18%, rgba(255,255,255,0) 34%, rgba(255,255,255,.18) 56%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(200,222,240,.16), rgba(120,160,195,.22));
  box-shadow: inset 0 0 0 3px rgba(40,48,58,.55), inset 0 0 0 4px rgba(255,255,255,.35);
}
.rw-glass::after { /* light glint sliding across */
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0)); transform: skewX(-18deg);
  animation: glint 6s ease-in-out infinite;
}
.rw-glass-fixed { inset: 0; }
.rw-glass-frost { background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(230,238,245,.75)); backdrop-filter: blur(3px); }
.rw-grid { background-image:
    linear-gradient(90deg, transparent calc(50% - 3px), #F4F6F8 calc(50% - 3px), #F4F6F8 calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(180deg, transparent calc(33% - 3px), #F4F6F8 calc(33% - 3px), #F4F6F8 calc(33% + 3px), transparent calc(33% + 3px), transparent calc(66% - 3px), #F4F6F8 calc(66% - 3px), #F4F6F8 calc(66% + 3px), transparent calc(66% + 3px)),
    linear-gradient(115deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,.15) 58%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, rgba(200,222,240,.16), rgba(120,160,195,.22)); }

/* hardware: brushed metal */
.rw-handle { position: absolute; z-index: 2; width: 6px; height: 28px; border-radius: 3px; top: calc(50% - 14px);
  background: linear-gradient(90deg, #AEB6BE, #FFFFFF 45%, #C4CBD2 60%, #8E979F); box-shadow: 0 2px 3px rgba(0,0,0,.35); }
.rw-h-right { right: -6px; } .rw-h-left { left: -6px; }
.rw-h-bottom { top: auto; bottom: -6px; left: calc(50% - 14px); width: 28px; height: 6px; background: linear-gradient(180deg, #AEB6BE, #FFFFFF 45%, #8E979F); }
.rw-h-lever { width: 7px; height: 34px; }
.rw-h-long { height: 54px; top: calc(50% - 27px); }
.rw-crank { position: absolute; z-index: 4; right: 16%; bottom: 7px; width: 26px; height: 10px; border-radius: 5px; background: linear-gradient(180deg, #F5F6F7, #9BA3AB); box-shadow: 0 2px 3px rgba(0,0,0,.35); }
.rw-lift { position: absolute; z-index: 2; top: -5px; left: calc(50% - 12px); width: 24px; height: 5px; border-radius: 3px; background: linear-gradient(180deg, #FFFFFF, #9BA3AB); box-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* layouts inside the frame */
.rw-top { bottom: 50%; transform: translateZ(-3px); }
.rw-bottom { top: 50%; transform: translateZ(3px); }
.rw-left { right: 50%; transform: translateZ(-3px); }
.rw-right { left: 50%; transform: translateZ(3px); }

/* motions */
.a-casement { transform-origin: left center; animation-name: casement; }
.a-awning { transform-origin: center top; animation-name: awning; }
.a-up { animation-name: sash-up; }
.a-down { animation-name: sash-down; animation-delay: .5s; }
.a-slide { animation-name: slide; }
.a-slide-door { animation-name: slide; --dur: 6s; }
.a-tilt { transform-origin: center bottom; animation-name: tilt-turn; --dur: 8s; }
.a-french-l { transform-origin: left center; animation-name: french-l; }
.a-french-r { transform-origin: right center; animation-name: french-r; }
@keyframes casement   { 0%, 16% { transform: rotateY(0); } 46%, 70% { transform: rotateY(58deg); } 100% { transform: rotateY(0); } }
@keyframes awning     { 0%, 16% { transform: rotateX(0); } 46%, 70% { transform: rotateX(-42deg); } 100% { transform: rotateX(0); } }
@keyframes sash-up    { 0%, 16% { transform: translateZ(3px) translateY(0); } 46%, 70% { transform: translateZ(3px) translateY(-72%); } 100% { transform: translateZ(3px) translateY(0); } }
@keyframes sash-down  { 0%, 16% { transform: translateZ(-3px) translateY(0); } 46%, 70% { transform: translateZ(-3px) translateY(40%); } 100% { transform: translateZ(-3px) translateY(0); } }
@keyframes slide      { 0%, 16% { transform: translateZ(3px) translateX(0); } 46%, 70% { transform: translateZ(3px) translateX(-88%); } 100% { transform: translateZ(3px) translateX(0); } }
@keyframes french-l   { 0%, 16% { transform: translateZ(0) rotateY(0); } 46%, 70% { transform: rotateY(-68deg); } 100% { transform: rotateY(0); } }
@keyframes french-r   { 0%, 16% { transform: rotateY(0); } 46%, 70% { transform: rotateY(68deg); } 100% { transform: rotateY(0); } }
@keyframes tilt-turn  {
  0%, 8%   { transform: rotateX(0) rotateY(0); transform-origin: center bottom; }
  20%, 34% { transform: rotateX(-16deg); transform-origin: center bottom; }
  44%      { transform: rotateX(0); transform-origin: center bottom; }
  45%      { transform: rotateY(0); transform-origin: left center; }
  62%, 78% { transform: rotateY(-66deg); transform-origin: left center; }
  94%, 100% { transform: rotateY(0); transform-origin: left center; }
}
@keyframes shade { 0%, 16% { opacity: 0; } 46%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes glint { 0%, 55% { left: -40%; } 85%, 100% { left: 130%; } }

/* picture window: just glass, the view does the work */
.is-picture .rw-view { background-position: center 35%; }

/* bay: three units angled out from the wall, camera sways slightly */
.bay { width: 86%; perspective: 800px; margin-bottom: 4%; }
.bay-row { display: flex; justify-content: center; transform-style: preserve-3d; animation: sway 9s ease-in-out infinite; }
.bay .rw { --fw: 9px; width: 34%; aspect-ratio: 3 / 4.4; perspective: none; margin: 0; }
.bay .rw::after { display: none; }
.bay-l { transform-origin: right center; transform: rotateY(-38deg); }
.bay-r { transform-origin: left center; transform: rotateY(38deg); }
.bay-seat { height: 16px; margin: 0 -4%; border-radius: 3px; background: linear-gradient(180deg, #FFFFFF, #DCE0E4); box-shadow: 0 12px 16px -8px rgba(60,45,30,.4); }
@keyframes sway { 0%, 100% { transform: rotateY(-5deg); } 50% { transform: rotateY(5deg); } }

/* custom shapes: arch and round */
.shapes { display: flex; align-items: flex-end; justify-content: center; gap: 8%; width: 84%; margin-bottom: 8%; }
.shapes .rw { perspective: none; margin: 0; }
.rw.is-arch { width: 52%; aspect-ratio: 3 / 4.4; }
.rw.is-round { width: 36%; aspect-ratio: 1; align-self: center; }
.rw.is-arch .rw-frame { border-radius: 999px 999px 3px 3px; }
.rw.is-arch .rw-view, .rw.is-arch .rw-glass { border-radius: 999px 999px 0 0; }
.rw.is-round .rw-frame, .rw.is-round .rw-view, .rw.is-round .rw-glass { border-radius: 50%; }
.rw.is-round::after { display: none; }
.rw.is-arch .rw-glass { background-image:
    linear-gradient(90deg, transparent calc(50% - 3px), #F4F6F8 calc(50% - 3px), #F4F6F8 calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(115deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,.15) 58%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, rgba(200,222,240,.16), rgba(120,160,195,.22)); }

/* entry door with sidelites */
.entry-side { position: absolute; top: 0; bottom: 0; width: 22%; border: 7px solid; border-color: #FFFFFF #E5E9ED #D7DDE3 #F4F6F8; }
.entry-side-l { left: 0; } .entry-side-r { right: 0; }
.entry-door {
  position: absolute; top: 0; bottom: 0; left: 22%; right: 22%; transform-origin: left center; transform-style: preserve-3d;
  background: linear-gradient(90deg, #1C2C4C, #24375C 40%, #1A2847); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.3);
  animation: door var(--dur) infinite cubic-bezier(.55,.05,.25,1); --dur: 6s;
}
.entry-lite { position: absolute; left: 18%; right: 18%; top: 7%; height: 16%; border-radius: 2px; background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(200,220,240,.5)); box-shadow: inset 0 0 0 3px #15233F; }
.entry-panel { position: absolute; left: 14%; width: 31%; top: 30%; bottom: 8%; border-radius: 2px; box-shadow: inset 2px 2px 0 rgba(255,255,255,.08), inset -2px -2px 0 rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.2); }
.entry-panel.p2 { left: auto; right: 14%; }
.entry-knob { position: absolute; right: 9%; top: 52%; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE3A3, #F2A417 55%, #9C6608); box-shadow: 0 2px 3px rgba(0,0,0,.45); }
@keyframes door { 0%, 16% { transform: rotateY(0); } 46%, 70% { transform: rotateY(-70deg); } 100% { transform: rotateY(0); } }

.product-text { flex: none; padding-top: 16px; min-height: 8.6em; }
.product h3 { color: var(--white); font-size: 1.2rem; }
.product p { color: var(--on-navy-muted); margin-top: 6px; font-size: .92rem; line-height: 1.5; }
.product-end { justify-content: center; align-items: flex-start; gap: 20px; padding: 32px; }
.product-end p { color: var(--white); font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin: 0; }

/* ---------- Benefits ---------- */
.benefits { padding: var(--section) 0; overflow: hidden; }
.benefits .section-title { max-width: 22ch; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin-top: 44px; }
.compare-card { margin: 0; padding: 12px; border-radius: 28px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 70px -40px rgba(21,35,63,.45); }
.compare-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 18px; }
.compare-photo img { width: 100%; height: 100%; object-fit: cover; }
.compare-cold .compare-photo img { filter: grayscale(.6) brightness(.95) contrast(.95); }
.compare-cold .compare-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(120,150,185,.35), rgba(60,80,110,.35)); mix-blend-mode: multiply; }
.frost { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(235,244,252,.85) 100%); }
.draft { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.compare-warm .compare-photo img { filter: saturate(1.1) brightness(1.03); }
/* living fire glow over the fireplace in the photo */
.fire { position: absolute; z-index: 2; left: 85.5%; top: 48%; width: 16%; height: 20%; translate: -50% -50%; pointer-events: none; mix-blend-mode: screen; }
.fire i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 70%, rgba(255,170,60,.85), rgba(255,110,20,.45) 40%, transparent 70%); animation: flicker 1.6s ease-in-out infinite alternate; }
.fire i:nth-child(2) { inset: 10% 20% 0; animation-duration: 1.1s; animation-delay: .3s; background: radial-gradient(ellipse at 50% 80%, rgba(255,220,120,.9), rgba(255,140,30,.3) 45%, transparent 70%); }
.fire i:nth-child(3) { inset: -40% -60%; animation-duration: 2.3s; background: radial-gradient(ellipse at 50% 55%, rgba(255,140,40,.28), transparent 65%); }
@keyframes flicker { 0% { opacity: .55; transform: scale(.94) translateY(2%); } 35% { opacity: .95; transform: scale(1.04) translateY(-2%); } 60% { opacity: .7; transform: scale(.98); } 100% { opacity: 1; transform: scale(1.06) translateY(-3%); } }
.warmth { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 45% 55% at 48% 48%, rgba(255,160,60,.55), transparent 70%); mix-blend-mode: soft-light; animation: flicker 2.8s ease-in-out infinite alternate; }
/* real-time flames drawn on a canvas, sitting exactly in the stove window of the photo */
.flames { position: absolute; z-index: 2; left: 41%; top: 40.6%; width: 13.4%; height: 11%; pointer-events: none; mix-blend-mode: screen; }
.compare-card figcaption { padding: 18px 12px 8px; }
.compare-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.compare-top strong { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; white-space: nowrap; }
.tag { display: inline-flex; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.tag-cold { background: rgba(91,134,176,.16); color: #3B6690; }
.tag-warm { background: rgba(242,164,23,.2); color: #8A5A00; }
.compare-card figcaption p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.bar { position: relative; height: 10px; margin-top: 16px; border-radius: 999px; background: linear-gradient(90deg, #C9DAEA, #EEF2F6 60%, #FCE3B4); overflow: hidden; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; }
.bar-cold { background: linear-gradient(90deg, #5B86B0, #8FB3D6); }
.bar-warm { background: linear-gradient(90deg, #5B86B0, #F2C46A 70%, #F2A417); }
.static .bar-cold { width: 82%; }
.static .bar-warm { width: 91%; }
.compare-note { margin-top: 18px; font-size: .8rem; color: var(--muted); max-width: 90ch; }
.benefit-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.benefit { display: grid; gap: 14px; padding: 22px; }
.benefit svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; padding: 6px; border-radius: 12px; background: rgba(242,164,23,.22); box-sizing: content-box; }
.benefit h3 { font-size: 1.05rem; }
.benefit p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.thermo { padding: clamp(24px, 3vw, 36px); background: rgba(255,255,255,.62); }
.thermo h3 { font-size: 1.3rem; }
.thermo-sub { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.thermo-bars { display: grid; gap: 26px; margin-top: 28px; }
.thermo-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--navy); }
.thermo-label strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.thermo-track { position: relative; height: 14px; margin-top: 10px; border-radius: 999px; background: linear-gradient(90deg, #A9C6E2, #E9EEF3 55%, #FFD89A); overflow: hidden; box-shadow: inset 0 1px 2px rgba(21,35,63,.15); }
.thermo-track::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.thermo-fill { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; }
.thermo-cold { background: linear-gradient(90deg, #5B86B0, #8FB3D6); }
.thermo-warm { background: linear-gradient(90deg, #5B86B0, #F2C46A 70%, #F2A417); }
.thermo-row p { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.thermo-note { margin-top: 24px; font-size: .8rem; color: var(--muted); }

/* ---------- Fair price ---------- */
.fair { padding: var(--section) 0; overflow: hidden; }
.fair-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fair-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243,246,249,.95) 0%, rgba(243,246,249,.82) 45%, rgba(243,246,249,.45) 100%); }
.fair-grid { display: grid; grid-template-columns: 1fr minmax(320px, 470px); gap: clamp(40px, 6vw, 100px); align-items: center; }
.fair-copy .btn { margin-top: 32px; }
.receipt { position: relative; padding: 26px 28px 40px; background: rgba(255,255,255,.7); }
.receipt-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--glass-2); }
.receipt-head img { border-radius: 10px; }
.receipt-head strong { display: block; color: var(--navy); font-size: 1.15rem; }
.receipt-head span { display: block; color: var(--muted); font-size: .85rem; }
.receipt-badge { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: rgba(21,35,63,.07); color: var(--navy) !important; font-weight: 700; font-size: .8rem !important; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--glass-2); font-size: .95rem; }
.receipt-lines em { font-style: normal; font-weight: 700; color: var(--navy); white-space: nowrap; }
.receipt-lines .receipt-zero { border-bottom: 0; }
.receipt-zero span, .receipt-zero em { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.receipt-stamp {
  position: absolute; right: 24px; bottom: -22px;
  padding: 12px 22px; border-radius: 999px; transform: rotate(-4deg);
  background: linear-gradient(180deg, var(--amber-hi), var(--amber)); color: var(--navy); font-weight: 800;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 12px 26px -10px rgba(217,143,7,.7);
}

/* ---------- Process ---------- */
.process { padding: var(--section) 0; overflow: hidden; background: linear-gradient(180deg, var(--white), var(--glass)); }
.process-mark { position: absolute; z-index: 0; right: -6vw; top: 50%; width: 46vw; max-width: 640px; translate: 0 -50%; fill: rgba(21,35,63,.045); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; position: relative; }
.step {
  position: relative; z-index: 1; padding: 10px 10px 22px; border-radius: 24px;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -32px rgba(21,35,63,.45);
}
.step-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step-photo img { transform: scale(1.05); }
.step-n {
  position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(21,35,63,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); color: var(--amber); font-weight: 800; font-size: 1.2rem;
}
.step h3 { font-size: 1.12rem; margin: 18px 12px 0; }
.step p { color: var(--muted); margin: 8px 12px 0; font-size: .94rem; }

/* ---------- Service ---------- */
.service { padding: var(--section) 0; overflow: hidden; }
.service .section-title { color: var(--white); }
.service .section-lede { color: var(--on-navy-muted); }
.service-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.service-media { position: relative; padding-bottom: 70px; }
.service-photo { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.service-photo img, .service-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.service-photo-small { position: absolute; right: -18px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; border: 6px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.crew-badge { position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; }
.crew-badge img { border-radius: 50%; }
.crew-badge strong { display: block; font-size: .98rem; }
.crew-badge span { display: block; font-size: .8rem; color: var(--on-navy-muted); }
.fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin: 40px 0 38px; }
.fixes li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.fixes svg { width: 26px; height: 26px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: rgba(255,255,255,.08); fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fixes h3 { color: var(--white); font-size: 1.02rem; }
.fixes p { color: var(--on-navy-muted); font-size: .92rem; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; overflow: hidden; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 30px -24px rgba(21,35,63,.4); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 2.5px; margin-top: -1px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Request form (one screen) ---------- */
.request { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 8px) 0 32px; overflow: hidden; background: var(--navy); }
.request-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.request-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(21,35,63,.94) 0%, rgba(21,35,63,.82) 45%, rgba(21,35,63,.55) 100%); }
.request .section-title { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); }
.request .section-lede { color: var(--on-navy-muted); }
.request-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.request-contact { margin-top: 32px; display: grid; gap: 2px; }
.request-contact span { color: var(--on-navy-muted); font-size: .95rem; }
.request-contact a { color: var(--amber); font-size: 1.5rem; font-weight: 700; text-decoration: none; }

.form { padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 14px; background: rgba(255,255,255,.86); }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 0; margin: 0 0 4px; padding: 5px; min-width: 0; border-radius: 999px; background: rgba(21,35,63,.07); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch label { position: relative; z-index: 1; text-align: center; padding: 11px 8px; font-weight: 700; font-size: .93rem; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .25s var(--ease); }
.switch input:checked + label { color: var(--white); }
.switch input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: -3px; }
.switch-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(180deg, var(--navy-3), var(--navy)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 14px -6px rgba(21,35,63,.6); transition: transform .4s var(--ease); }
.form[data-mode="service"] .switch-thumb { transform: translateX(100%); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; color: var(--navy); font-size: .88rem; }
.field input, .field textarea {
  width: 100%; font: 500 .98rem/1.4 var(--font); color: var(--text);
  padding: 12px 16px; min-height: 48px; border: 1.5px solid var(--glass-2); border-radius: 14px; background: rgba(255,255,255,.9);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover, .field textarea:hover { border-color: #AFC0D2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(242,164,23,.25); }
.field input::placeholder, .field textarea::placeholder { color: #8A94A6; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .84rem; font-weight: 600; }
.field-error:empty { display: none; }
.form-note { color: var(--muted); font-size: .84rem; text-align: center; }
.form-status { font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.form.is-sent > :not(.form-done) { display: none; }
.form-done { display: grid; gap: 14px; text-align: center; padding: 30px 0; justify-items: center; }
.form-done img { width: 60px; border-radius: 14px; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { color: var(--muted); max-width: 36ch; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer (compact) ---------- */
.footer { background: #0F1A30; color: var(--on-navy-muted); padding: 34px 0 22px; font-size: .92rem; }
.footer-row { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.footer-logo { width: 150px; }
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 26px; flex: 1; }
.footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--amber); }
.footer-links { display: flex; gap: 22px; }
.footer-bottom { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--navy-2); font-size: .82rem; }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }

/* ---------- Scroll reveals ---------- */
.js .reveal-up { opacity: 0; transform: translateY(36px); }
.js .reveal-window { clip-path: inset(8% 8% 8% 8% round 28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-phone { display: none; }
  .benefit-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 80px; }
  body { font-size: 16px; }
  .site-header { top: 8px; padding: 0 10px; }
  .header-bar { height: 58px; padding: 0 6px 0 18px; }
  .brand img { width: 128px; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }

  .hero-frame { width: min(56vw, 30vh); height: min(56vw, 30vh); left: 50%; top: 27%; }
  /* phone: family centred under the mark */
  .hero-photo { object-position: 58% 60%; --ph-scale: 1.3; --ph-origin: 85% 197%; }
  /* phone hero: mark up top, copy anchored to the bottom, sized by screen height */
  .hero-copy { top: auto; bottom: clamp(20px, 4.5vh, 44px); transform: none; }
  .hero h1 { font-size: clamp(1.9rem, min(10.5vw, 5.6vh), 3.4rem); line-height: 1.02; }
  .hero-kicker {
    display: inline-flex; align-items: center; gap: 8px; width: auto; max-width: none;
    margin-bottom: clamp(10px, 1.8vh, 16px); padding: 6px 13px 6px 10px; border-radius: 999px;
    font-size: .8rem; font-weight: 600; letter-spacing: .01em; color: var(--white); white-space: nowrap;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(242,164,23,.25); }
  .hero-lede { margin-top: clamp(10px, 1.6vh, 14px); font-size: .98rem; line-height: 1.5; }
  .hero-ctas { margin-top: clamp(14px, 2.4vh, 22px); flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn { flex: 1 1 0; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
  .scroll-cue { display: none; }

  .paths-grid, .benefits-grid, .fair-grid, .service-grid, .faq-grid, .request-grid { grid-template-columns: 1fr; }

  .products-pin { height: auto; min-height: 0; padding: var(--section) 0; }
  .products-track { flex: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .products-track::-webkit-scrollbar { display: none; }
  .product { width: 74vw; scroll-snap-align: start; }
  .product-art { flex: none; aspect-ratio: 1 / 1; }
}
/* phones: a 2-column grid that flows down instead of a sideways strip */
@media (max-width: 640px) {
  .products-track {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px;
    overflow: visible; scroll-snap-type: none; padding: 0 var(--gutter) 0; margin-top: 24px;
  }
  .product { width: auto; }
  .product-art { aspect-ratio: 1 / 1.02; border-radius: 16px; }
  .product:hover .product-art { transform: none; }
  .rw { --fw: 7px; --sw: 5px; }
  .rw::after { bottom: -8px; height: 8px; }
  .rw.is-patio::after, .rw.is-entry::after { bottom: -5px; height: 5px; }
  .bay .rw { --fw: 5px; }
  .bay-seat { height: 10px; }
  .rw-handle { width: 4px; height: 16px; top: calc(50% - 8px); }
  .rw-h-right { right: -4px; } .rw-h-left { left: -4px; }
  .rw-h-bottom { width: 16px; height: 4px; left: calc(50% - 8px); bottom: -4px; top: auto; }
  .rw-h-lever { width: 4px; height: 20px; }
  .rw-h-long { height: 30px; top: calc(50% - 15px); }
  .rw-crank { width: 16px; height: 6px; bottom: 4px; }
  .rw-lift { width: 14px; height: 3px; left: calc(50% - 7px); top: -3px; }
  .rw-glass::before { top: 4px; left: 4px; width: clamp(12px, 20%, 18px); }
  .product-text { min-height: 0; padding-top: 10px; }
  .product h3 { font-size: 1rem; line-height: 1.2; }
  .product p { font-size: .8rem; line-height: 1.4; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .product-end { grid-column: 1 / -1; padding: 22px; gap: 14px; }
  .product-end p { font-size: 1.2rem; }

  /* benefits: one compact row per item, icon on the left, text on the right */
  .benefits .benefit-list { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .benefit { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 16px 18px; }
  .benefit svg { width: 26px; height: 26px; padding: 7px; }
  .benefit h3 { font-size: 1rem; line-height: 1.25; }
  .benefit p { font-size: .88rem; line-height: 1.45; margin-top: 4px; }

  body .mobile-bar a { padding: 0 12px; white-space: nowrap; font-size: .95rem; }

  /* process: small number badge in the top-left corner so the photo shows */
  .steps .step { padding: 6px 6px 16px; border-radius: 18px; }
  .steps .step-photo { border-radius: 13px; }
  .steps .step-n { top: 6px; left: 6px; bottom: auto; width: 24px; height: 24px; border-radius: 8px; font-size: .78rem; }
  .steps .step h3 { font-size: .95rem; line-height: 1.25; margin: 10px 4px 0; }
  .steps .step p { font-size: .82rem; line-height: 1.45; margin: 5px 4px 0; }

  /* service: small crew tag tucked in the corner so the coverall logo shows */
  .service-media .crew-badge { left: 10px; top: 10px; gap: 7px; padding: 4px 11px 4px 4px; }
  .service-media .crew-badge img { width: 22px; height: 22px; }
  .service-media .crew-badge strong { font-size: .74rem; line-height: 1; white-space: nowrap; }
  .service-media .crew-badge span { display: none; }
}
@media (max-width: 860px) {

  .benefits-veil { background: rgba(243,246,249,.82); }

  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step h3 { font-size: 1rem; margin: 14px 6px 0; }
  .step p { font-size: .88rem; margin: 6px 6px 0; }

  .service-media { padding-bottom: 50px; margin-right: 18px; }
  .service-photo { aspect-ratio: 4 / 3.4; }
  .fixes { grid-template-columns: 1fr; }

  .compare { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps .step { display: block; }

  .request { padding: var(--section) 0; }
  .field-row { grid-template-columns: 1fr; }
  .switch label { font-size: .86rem; padding: 11px 4px; }

  .footer { padding-bottom: 96px; }
  .footer-links { width: 100%; }

  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40;
    padding: 8px; border-radius: 999px;
    background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 16px 40px -16px rgba(21,35,63,.5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: grid; place-items: center; min-height: 46px; padding: 0 18px; font-weight: 700; text-decoration: none; border-radius: 999px; }
  .mobile-bar-call { color: var(--navy); background: rgba(21,35,63,.06); }
  .mobile-bar-repair { background: linear-gradient(180deg, var(--navy-3), var(--navy)); color: var(--white); }
  .mobile-bar-quote { background: linear-gradient(180deg, var(--amber-hi), var(--amber)); color: var(--navy); }
}
/* short laptop screens: keep everything inside one viewport */
@media (min-width: 861px) and (max-height: 760px) {
  :root { --header-h: 84px; }
  .section-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
  .request .section-title { font-size: 2.2rem; }
  .form { gap: 10px; }
  .field input { min-height: 44px; padding: 10px 14px; }
  .field textarea { min-height: 64px; }
  .form-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal-up { opacity: 1; transform: none; }
  .js .reveal-window { clip-path: none; }
  .hero-photo { transform: none; }
  .rw-sash, .rw-sash::after, .rw-glass::after, .entry-door, .bay-row { animation: none !important; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

/* phone hero on short screens (Safari with toolbars, small iPhones): drop the lede so nothing hits the mark */
@media (max-width: 860px) and (max-height: 600px) {
  .hero-lede { display: none; }
}
/* very narrow phones: buttons stack */
@media (max-width: 359px) {
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
