/* Summit Home Restoration. Brand colors are printed from content/site.json (theme) and override these defaults. */

/* Self-hosted fonts (Google Fonts, SIL Open Font License): Plus Jakarta Sans, Instrument Serif, JetBrains Mono */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-400-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-500-latin.woff2") format("woff2"); }

/* Tokens */
:root {
  --primary: #0F1F35;
  --primary_deep: #09131F;
  --primary_soft: #1C3150;
  --accent: #C2753E;
  --accent_text: #955226;
  --accent_soft: #F1DFCF;
  --stone: #5F6469;
  --stone_light: #E6E3DD;
  --paper: #F7F5F1;
  --ink: #121A24;
  --white: #FFFFFF;
  --blueprint_line: #B9D3EE;

  --copper-light: #E4A877;
  --text-muted: #4A5560;
  --text-body: #3B4652;
  --line: rgba(18, 26, 36, .12);
  --line-strong: rgba(18, 26, 36, .2);
  --line-light: rgba(185, 211, 238, .18);

  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Engine parts (demo notice, policy pages, map, mobile bar, cookie banner) in this theme */
  --sw-ink: var(--ink);
  --sw-paper: var(--white);
  --sw-muted: var(--text-muted);
  --sw-line: var(--line-strong);
  --sw-accent: var(--primary);
  --sw-accent-ink: var(--white);
  --sw-notice-bg: var(--primary_deep);
  --sw-notice-ink: var(--white);
  --sw-radius: var(--radius);
  --sw-display: var(--font-sans);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svg-defs { position: absolute; }
.skip { position: absolute; top: -60px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--primary_deep); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Layout */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--stone { background: var(--stone_light); }
.section--navy { background-color: var(--primary); color: var(--white); }
.section--navy .h2 { color: var(--white); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: end; max-width: none; }

/* Navy panels with a drafting grid and a warm glow */
.blueprint { position: relative; isolation: isolate; overflow: hidden; background-color: var(--primary); color: var(--white); }
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(185, 211, 238, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 211, 238, .07) 1px, transparent 1px),
    linear-gradient(rgba(185, 211, 238, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 211, 238, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 85%);
}
.blueprint::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  z-index: -1;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 117, 62, .22), transparent 65%);
}

/* Type */
.display { display: block; font-size: clamp(46px, 7.4vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.045em; }
.display em, .display-md em { color: var(--accent); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.display em { white-space: nowrap; }
.display-md { max-width: 18ch; font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -.04em; }
.display-sm { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.035em; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; }
.h4 { font-size: 21px; letter-spacing: -.015em; }
.lead { max-width: 60ch; color: var(--text-body); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.lead--light { color: rgba(255, 255, 255, .78); }
.prose { color: var(--text-body); }
.prose p { margin-bottom: .9em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent_text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: currentColor; }
.eyebrow__idx { order: -1; color: var(--stone); }
.eyebrow--light { color: var(--copper-light); }
.eyebrow--light .eyebrow__idx { color: rgba(255, 255, 255, .5); }
.mini-h { margin-bottom: 14px; color: var(--stone); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  color: var(--accent_text);
  font-weight: 700;
  text-decoration: none;
  transition: gap .25s var(--ease);
}
.text-link:hover { gap: 14px; }
.text-link--light { color: var(--copper-light); }

.chip { display: inline-block; margin: 0; padding: 8px 12px; border-radius: 2px; background: var(--accent_soft); color: var(--accent_text); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.chip--sm { margin-top: 14px; padding: 5px 9px; font-size: 11.5px; }

.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.ticks li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2.5px solid var(--accent);
  border-left: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks--light li { color: rgba(255, 255, 255, .88); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--primary_deep); box-shadow: 0 10px 30px -12px rgba(194, 117, 62, .7); }
.btn--accent:hover { background: #D3874F; }
.btn--navy { background: var(--primary); color: var(--white); }
.btn--navy:hover { background: var(--primary_soft); }
.btn--outline { border-color: var(--primary_deep); color: var(--primary_deep); }
.btn--outline:hover { background: var(--primary_deep); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; }

/* Utility bar */
.utility { background: var(--primary_deep); color: rgba(255, 255, 255, .72); font-size: 13px; }
.utility__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility__note, .utility__links { display: flex; align-items: center; gap: 10px; margin: 0; }
.utility__links { gap: 22px; }
.utility__links a { color: rgba(255, 255, 255, .86); font-family: var(--font-mono); font-size: 12.5px; text-decoration: none; }
.utility__links a:hover { color: var(--white); text-decoration: underline; }
.utility__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 241, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(9, 19, 31, .45); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--primary); text-decoration: none; }
.brand__img { width: auto; max-height: 48px; }
.brand__mark { flex: none; width: 42px; height: 42px; }
.brand__mark rect { fill: var(--primary); }
.brand__peak, .brand__ridge { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand__peak { stroke: var(--accent); stroke-width: 4.5; }
.brand__ridge { stroke: var(--white); stroke-width: 3.5; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 22px; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.brand__text span { margin-top: 5px; color: var(--stone); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.brand--light { color: var(--white); }
.brand--light .brand__text span { color: rgba(255, 255, 255, .55); }
.brand--light .brand__mark rect { fill: var(--primary_soft); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__link { position: relative; display: block; padding: 10px 14px; border-radius: var(--radius); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav__link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link--cta { margin-left: 8px; padding: 12px 20px; background: var(--primary); color: var(--white); }
.nav__link--cta::after { display: none; }
.nav__link--cta:hover, .nav__link--cta[aria-current="page"] { background: var(--accent); color: var(--primary_deep); }
.nav__phone { display: none; }

.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.menu-btn__bars { display: grid; gap: 5px; width: 20px; }
.menu-btn__bars span { height: 2px; background: var(--primary); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Architectural drawings: one geometry, two renderings */
.dw { width: 100%; height: 100%; }
.dw * { vector-effect: non-scaling-stroke; }
.dw .dim, .dw .callout, .dw .dimline, .is-built .detail, .is-plan .decor { display: none; }

.is-built [class*="f-"] { stroke: rgba(15, 31, 53, .28); stroke-width: 1; }
.is-built .f-wall { fill: #EEE8DF; }
.is-built .f-wall2 { fill: #E2DACE; }
.is-built .f-floor { fill: #C79A68; }
.is-built .f-wood { fill: #B7814D; }
.is-built .f-wooddark { fill: #7A4E2C; }
.is-built .f-cab { fill: #FBFAF7; }
.is-built .f-cab.inset { fill: #F3F0EA; }
.is-built .f-trim { fill: #FFFFFF; }
.is-built .f-stone { fill: #D4D0C9; }
.is-built .f-tile { fill: #E9E6E0; }
.is-built .f-sky { fill: #8EC3E8; }
.is-built .f-mesa { fill: #C0623A; }
.is-built .f-mesa2 { fill: #A44F2F; }
.is-built .f-copper, .is-built .f-shirt { fill: var(--accent); }
.is-built .f-metal { fill: #9AA1A8; }
.is-built .f-dark { fill: #1E2833; stroke: #1E2833; }
.is-built .f-green { fill: #6E8B5A; }
.is-built .f-glow { fill: rgba(255, 214, 150, .7); stroke: none; }
.is-built .f-siding { fill: #8FA393; }
.is-built .f-roof { fill: #3C4652; }
.is-built .f-new { fill: #56616E; }
.is-built .f-ground { fill: #D8C3A0; }
.is-built .f-door, .is-built .f-cap { fill: var(--primary); }
.is-built .f-glass { fill: rgba(170, 210, 236, .55); }
.is-built .f-sun { fill: #FFE2A8; stroke: none; }
.is-built .f-niche { fill: #D8D3CB; }
.is-built .f-towel { fill: var(--accent_soft); }
.is-built .f-skin { fill: #C68E68; }
.is-built .f-insul { fill: #F0C9A8; }
.is-built .f-dry { fill: #F4F2EE; }
.is-built .f-mud { fill: #E7E3DB; }
.is-built .seam, .is-built .grout, .is-built .lap { stroke: rgba(15, 31, 53, .2); stroke-width: 1; }
.is-built .shingle { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.is-built .frame { fill: none; stroke: #FFFFFF; stroke-width: 3; }
.is-built .cord { stroke: #1E2833; stroke-width: 1.5; }
.is-built .thick { stroke-width: 4; }
.is-built .hatch { fill: none; stroke: rgba(160, 90, 50, .35); }
.is-built .wire { fill: none; stroke: #1E2833; stroke-width: 2; }
.is-built .screw { fill: #9AA1A8; }
.is-built .glint { stroke: rgba(255, 255, 255, .8); stroke-width: 2; }
.is-built .harness { stroke: #E7B13B; stroke-width: 2; }

.is-plan .bp-bg { fill: var(--primary); }
.is-plan [class*="f-"], .is-plan .frame, .is-plan .cord, .is-plan .wire, .is-plan .harness { fill: rgba(185, 211, 238, .035); stroke: var(--blueprint_line); stroke-width: 1.3; }
.is-plan .f-sky, .is-plan .f-wall, .is-plan .f-tile { fill: none; stroke: rgba(185, 211, 238, .35); }
.is-plan .f-glow, .is-plan .f-sun { fill: none; stroke-dasharray: 3 4; }
.is-plan .seam, .is-plan .grout, .is-plan .lap, .is-plan .shingle, .is-plan .hatch, .is-plan .glint { fill: none; stroke: rgba(185, 211, 238, .38); stroke-width: 1; }
.is-plan .screw { fill: var(--blueprint_line); }
.is-plan .thick { stroke-width: 2; }
.is-plan .dim, .is-plan .callout, .is-plan .dimline { display: inline; fill: none; stroke: var(--accent); stroke-width: 1.3; }
.is-plan .callout { stroke-dasharray: 5 4; }

/* Before / after slider */
.compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  background: var(--primary);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.compare:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer > img, .compare__layer > svg { width: 100%; height: 100%; object-fit: cover; }
.compare__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(9, 19, 31, .2); pointer-events: none; }
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
.compare__knob::before, .compare__knob::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.compare__knob::before { left: 6px; border-right-color: var(--white); }
.compare__knob::after { right: 6px; border-left-color: var(--white); }
.compare:hover .compare__knob, .compare.is-dragging .compare__knob { transform: scale(1.08); }
.compare__range { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.compare__tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 2px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 14px; border: 1px solid rgba(185, 211, 238, .4); background: rgba(9, 19, 31, .78); color: var(--blueprint_line); }
.compare__tag--after { right: 14px; background: var(--white); color: var(--primary); }

/* Service-area marquee */
.marquee { display: flex; align-items: stretch; overflow: hidden; border-bottom: 1px solid rgba(9, 19, 31, .15); background: var(--accent); color: var(--primary_deep); }
.marquee__label { z-index: 1; display: flex; flex: none; align-items: center; margin: 0; padding: 16px 22px; background: var(--primary_deep); color: var(--copper-light); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__list { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__list li { display: flex; align-items: center; padding: 14px 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.marquee__list li::after { content: ""; width: 8px; height: 8px; margin: 0 26px; background: var(--primary_deep); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats band */
.stats { border-bottom: 1px solid var(--line); background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 54px) clamp(16px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__num { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; color: var(--primary); font-size: clamp(48px, 6vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.stat__num small { color: var(--accent_text); font-size: .36em; font-weight: 700; letter-spacing: -.01em; }
.stat__label { max-width: 24ch; color: var(--text-muted); font-size: 14.5px; line-height: 1.45; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 26px 24px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.bento__card::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.bento__card:hover { border-color: transparent; box-shadow: 0 24px 50px -30px rgba(9, 19, 31, .5); transform: translateY(-4px); }
.bento__card:hover::before { transform: scaleX(1); }
.bento__no { color: var(--accent_text); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; }
.bento__title { margin-top: auto; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.bento__text { color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.bento__arrow { position: absolute; top: 20px; right: 22px; color: var(--primary); font-size: 20px; transition: transform .3s var(--ease); }
.bento__card:hover .bento__arrow { color: var(--accent_text); transform: translate(3px, -3px); }
.bento__card--feature { grid-row: span 2; grid-column: span 2; padding: 0; border: 0; background: var(--primary); color: var(--white); }
.bento__visual { position: relative; flex: 1; min-height: 260px; overflow: hidden; }
.bento__visual > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__card--feature:hover .bento__visual > * { transform: scale(1.04); }
.bento__card--feature .bento__no, .bento__card--feature .bento__title, .bento__card--feature .bento__text { padding: 0 28px; }
.bento__card--feature .bento__no { padding-top: 22px; color: var(--copper-light); }
.bento__card--feature .bento__title { font-size: clamp(26px, 2.6vw, 36px); }
.bento__card--feature .bento__text { padding-bottom: 28px; color: rgba(255, 255, 255, .75); font-size: 16px; }
.bento__card--feature .bento__arrow { top: auto; right: 26px; bottom: 26px; color: var(--accent); font-size: 26px; }

/* Featured project */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature__media { padding: 12px; background: var(--white); box-shadow: 0 30px 60px -40px rgba(9, 19, 31, .6); }
.feature__copy .lead { margin: 18px 0 26px; }
.feature__copy .spec { grid-template-columns: repeat(3, 1fr); margin-bottom: 30px; border-top-width: 2px; }

.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 0; border-top: 1px solid var(--primary); }
.spec__item { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { margin-bottom: 4px; color: var(--stone); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.spec dd { margin: 0; color: var(--primary); font-size: 15.5px; font-weight: 700; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: why; }
.why__item { padding: 34px 28px 10px 0; counter-increment: why; }
.why__item + .why__item { padding-left: 28px; border-left: 1px solid var(--line); }
.why__item::before {
  content: counter(why, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: transparent;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  -webkit-text-stroke: 1.5px var(--accent);
}
.why__item h3 { margin-bottom: 10px; color: var(--primary); font-size: 20px; }
.why__item p { color: var(--text-muted); font-size: 15.5px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 30px 28px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .05); }
.review__quote { flex: 1; margin: 0; color: var(--white); font-family: var(--font-serif); font-size: 23px; line-height: 1.32; }
.review__by { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 15px; }
.review__by span { color: rgba(255, 255, 255, .6); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.reviews--light .review { border-color: var(--line); background: var(--white); }
.reviews--light .review__quote { color: var(--ink); }
.reviews--light .review__by { border-color: var(--line); color: var(--primary); }
.reviews--light .review__by span { color: var(--stone); }

/* Closing CTA */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: var(--primary_deep); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(9, 19, 31, .06) 0 1px, transparent 1px 22px); }
.cta-band__in { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.cta-band__in p { max-width: 52ch; margin-top: 12px; font-size: 18px; font-weight: 500; }
.cta-band .btn-row { margin-top: 0; }

/* Footer */
.site-footer { padding-top: clamp(56px, 7vw, 96px); background: var(--primary_deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.site-footer__blurb { max-width: 36ch; margin-top: 22px; }
.site-footer__tagline { margin-top: 18px; color: var(--copper-light); font-family: var(--font-serif); font-size: 26px; font-style: italic; }
.site-footer__h { margin-bottom: 18px; color: rgba(255, 255, 255, .5); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__h--spaced { margin-top: 28px; }
.site-footer__list { display: grid; gap: 10px; margin: 0; padding: 0; color: var(--white); list-style: none; }
.site-footer__list a { color: var(--white); text-decoration: none; }
.site-footer__list a:hover { color: var(--copper-light); text-decoration: underline; }
.site-footer__name { font-weight: 700; }
.site-footer__k { display: block; color: rgba(255, 255, 255, .45); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.site-footer__bottom p { margin: 0; }
.site-footer__credit a { color: var(--copper-light); }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 100px; color: var(--white); font-size: 14px; text-decoration: none; }
.social a:hover { border-color: var(--accent); color: var(--copper-light); }

/* Home hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { color: var(--white); }
.hero__title .eyebrow { margin-bottom: 22px; }
.hero__intro { max-width: 54ch; margin-top: 28px; color: rgba(255, 255, 255, .78); font-size: clamp(17px, 1.35vw, 19px); }
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.badges li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .88); font-size: 14px; font-weight: 600; }
.badges svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(194, 117, 62, .2); }
.badges path { fill: none; stroke: var(--copper-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Drawing sheet with corner registration marks */
.sheet {
  --mark: linear-gradient(var(--accent), var(--accent));
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(185, 211, 238, .25);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.sheet::before {
  content: "";
  position: absolute;
  inset: -7px;
  pointer-events: none;
  background:
    var(--mark) top left / 18px 2px, var(--mark) top left / 2px 18px,
    var(--mark) top right / 18px 2px, var(--mark) top right / 2px 18px,
    var(--mark) bottom left / 18px 2px, var(--mark) bottom left / 2px 18px,
    var(--mark) bottom right / 18px 2px, var(--mark) bottom right / 2px 18px;
  background-repeat: no-repeat;
}
.sheet__titleblock { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(185, 211, 238, .25); color: rgba(255, 255, 255, .62); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.sheet__titleblock span:first-child { color: var(--copper-light); }

/* Inner page hero */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.page-hero .display-md { margin-bottom: 22px; color: var(--white); }

/* Services page */
.services { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.services__index { position: sticky; top: 110px; align-self: start; }
.services__index-label { color: var(--stone); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.services__index ol { margin: 0; padding: 0; border-left: 1px solid var(--line); list-style: none; }
.services__index a { display: flex; gap: 12px; margin-left: -1px; padding: 9px 0 9px 18px; border-left: 2px solid transparent; color: var(--text-muted); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s, border-color .2s; }
.services__index a span { padding-top: 2px; color: var(--stone); font-family: var(--font-mono); font-size: 12px; }
.services__index a:hover, .services__index a.is-active { border-left-color: var(--accent); color: var(--primary); }
.services__list { display: grid; gap: clamp(56px, 7vw, 100px); }
.service { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; scroll-margin-top: 110px; }
.service:nth-child(even) .service__visual { order: 2; }
.service__visual { position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: var(--primary); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(9, 19, 31, .6); }
.service__visual > img, .service__visual > svg { width: 100%; height: 100%; object-fit: cover; }
.service__no { position: absolute; top: 0; left: 0; padding: 10px 14px; border-right: 3px solid var(--accent); background: var(--primary); color: var(--white); font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; }
.service__summary { margin: 12px 0 16px; color: var(--primary); font-size: 19px; font-weight: 600; line-height: 1.45; }
.service__meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.service__meta .text-link { white-space: nowrap; }

/* Projects page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters__btn { padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--white); color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters__btn:hover { border-color: var(--primary); }
.filters__btn[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--white); }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 36px); }
.project { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); background: var(--white); }
.project[hidden] { display: none; }
.project__body { padding: 22px 12px 14px; }
.project__body .h3 { margin-bottom: 14px; color: var(--primary); }
.project__story { display: grid; gap: 4px; margin: 0 0 18px; }
.project__story dt { color: var(--accent_text); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.project__story dd { margin: 0 0 12px; color: var(--text-body); font-size: 16px; }
.projects__note { max-width: 70ch; margin-bottom: 28px; color: var(--text-muted); font-size: 15px; }

/* Process page */
.crew-photo { margin: 0 0 clamp(48px, 6vw, 80px); }
.crew-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(9, 19, 31, .6); }
.crew-photo figcaption { margin-top: 12px; color: var(--stone); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 28px; right: 28px; left: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); }
.timeline__step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.timeline__no { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 8px var(--paper); color: var(--white); font-family: var(--font-mono); font-size: 16px; font-weight: 500; }
.timeline__card { flex: 1; padding: 24px 22px; border: 1px solid var(--line); background: var(--white); }
.timeline__card .h4 { margin-bottom: 10px; color: var(--primary); }
.timeline__card p { color: var(--text-muted); font-size: 15px; }

.warranty { display: grid; grid-template-columns: 220px 1.4fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.warranty__seal svg { width: 100%; animation: spin 40s linear infinite; }
.warranty__ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 7; }
.warranty__disc { fill: rgba(194, 117, 62, .14); stroke: rgba(185, 211, 238, .4); stroke-width: 1.5; }
.warranty__check { fill: none; stroke: var(--copper-light); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.warranty__text { margin: 18px 0 24px; }
.warranty__claim { color: var(--white); font-weight: 700; }
.warranty__link { margin-top: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.finance { padding: 32px 28px; border-top: 4px solid var(--accent); background: var(--white); color: var(--ink); }
.finance .h4 { margin-bottom: 12px; color: var(--primary); }
.finance p { color: var(--text-muted); font-size: 15.5px; }
.finance .btn { width: 100%; margin-top: 20px; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .sec-head .btn { margin-top: 26px; }
.faq__list { border-top: 2px solid var(--primary); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; color: var(--primary); font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--primary); border-radius: 50%; transition: background-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--primary); transition: transform .3s var(--ease), background-color .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--primary); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { padding: 0 52px 24px 0; color: var(--text-body); }

/* Estimate page */
.estimate { padding-top: 0; background: linear-gradient(var(--primary) 0 90px, var(--paper) 90px); }
.estimate__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.estimate__side { display: grid; gap: 16px; }
.form-card { padding: clamp(24px, 4vw, 48px); border-top: 4px solid var(--accent); background: var(--white); box-shadow: 0 40px 80px -50px rgba(9, 19, 31, .6); scroll-margin-top: 110px; }
.form-card .h3 { margin-bottom: 26px; color: var(--primary); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { margin: 0; color: var(--stone); font-size: 13.5px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; color: var(--primary); font-size: 14.5px; font-weight: 700; }
.field legend { margin-bottom: 10px; }
.field input:not([type="radio"]), .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); outline: none; background: var(--white); box-shadow: 0 0 0 4px rgba(194, 117, 62, .25); }
.field textarea { min-height: 130px; resize: vertical; }
.select { position: relative; }
.select select { padding-right: 44px; -webkit-appearance: none; appearance: none; }
.select::after { content: ""; position: absolute; top: 50%; right: 18px; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); pointer-events: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { display: inline-block; padding: 10px 15px; border: 1.5px solid var(--line-strong); border-radius: 100px; background: var(--paper); font-size: 14.5px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.choice:hover span { border-color: var(--primary); }
.choice input:checked + span { border-color: var(--primary); background: var(--primary); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.formmsg { margin-bottom: 22px; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.formmsg--ok { border-left: 4px solid #2F8A4C; background: #E3F2E6; color: #1E5631; }
.formmsg--error { border-left: 4px solid #C2412A; background: #FBE7E3; color: #8A2A17; }

.side-card { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.side-card--navy { border: 0; background: var(--primary); color: var(--white); }
.side-card--navy .mini-h { color: var(--copper-light); }
.side-card--copper { border-color: transparent; background: var(--accent_soft); }
.side-card--copper .h4 { margin-bottom: 8px; color: var(--primary); }
.side-card--copper p { color: var(--text-body); font-size: 15px; }
.side-card--copper .text-link { margin-top: 12px; }
.side-card__phone { display: block; margin-bottom: 10px; color: var(--white); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.side-card__phone:hover { color: var(--copper-light); }
.side-card__link { display: block; padding: 6px 0; color: rgba(255, 255, 255, .85); font-size: 15.5px; text-decoration: none; }
.side-card__link:hover { color: var(--white); text-decoration: underline; }
.side-card__spaced { margin-top: 24px; }
.next-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.next-steps li { position: relative; padding-left: 48px; counter-increment: step; }
.next-steps li::before { content: counter(step); position: absolute; top: -4px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent_soft); color: var(--accent_text); font-family: var(--font-mono); font-weight: 500; }
.next-steps strong { color: var(--primary); }
.next-steps p { margin: 2px 0 0; color: var(--text-muted); font-size: 15px; }
.hours { margin: 0; padding: 0; font-size: 14.5px; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hours li span:last-child { color: rgba(255, 255, 255, .75); text-align: right; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal:nth-child(2) { transition-delay: 70ms; }
.js .reveal:nth-child(3) { transition-delay: 140ms; }
.js .reveal:nth-child(4) { transition-delay: 210ms; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Engine parts: breadcrumbs, policy pages, form consent, map, mobile bar, footer policies */
.crumbs ol { margin-bottom: 26px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; }
.crumbs, .crumbs a { color: rgba(255, 255, 255, .86); }
.crumbs a:hover { color: var(--white); }
.page-hero--doc .display-md { max-width: 22ch; }
.sw-doc__body { width: min(76ch, 100% - 2 * var(--gutter)); margin: 0 0 0 max(var(--gutter), (100% - 1320px) / 2 + var(--gutter)); padding-top: clamp(40px, 5vw, 64px); }
.sw-doc__body h2 { color: var(--primary); letter-spacing: -.02em; }
.sw-doc__body a { color: var(--accent_text); }
.sw-doc__links a { color: var(--primary); font-weight: 600; }
.sw-doc__links a:hover { border-color: var(--primary); }
.form__promise { margin: -12px 0 22px; color: var(--accent_text); font-weight: 700; }
.field__hint { margin: 0; color: var(--text-muted); font-size: 13.5px; }
.field [aria-invalid="true"] { border-color: #8A2A17; }
.req { color: var(--accent_text); }
.form .sw-agree { margin: 0; color: var(--text-body); font-size: 15px; }
.form .sw-agree a { color: var(--accent_text); }
.side-card__map { padding: 0; border: 0; }
.side-card__map .sw-map__note { color: var(--text-muted); }
.sw-bar a { font-size: 15px; }
.site-footer__badges { margin-top: 14px; color: var(--white); font-size: 14px; }
.site-footer__legal { padding-bottom: 28px; }
.site-footer__legal .site-footer__h { margin-bottom: 10px; }
.site-footer__legal a, .site-footer__legal .sw-linkish { color: var(--white); font-size: 14px; }
.site-footer__legal a:hover { color: var(--copper-light); }

/* Media queries */
@media (max-width: 1120px) {
  .nav__link { padding: 10px; font-size: 14.5px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 0; right: auto; bottom: 0; left: 27px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 18px); }
  .timeline__step { flex-direction: row; gap: 22px; padding-bottom: 18px; }
  .warranty { grid-template-columns: 160px 1fr; }
  .finance { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  /* The header's backdrop-filter makes it the containing block for this fixed panel. */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 1px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h) - 38px);
    padding: 12px var(--gutter) 28px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 30px 50px -30px rgba(9, 19, 31, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
  .nav__link::after { right: auto; bottom: -1px; left: 0; width: 40px; }
  .nav__link--cta { margin: 18px 0 0; padding: 16px; text-align: center; }
  .nav__phone { display: block; padding: 16px; color: var(--primary); font-family: var(--font-mono); font-size: 14px; text-align: center; }
  .hero__grid, .feature, .sec-head--split, .faq, .estimate__grid, .cta-band__in { grid-template-columns: 1fr; }
  .sec-head--split { gap: 14px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .reviews { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .services__index { display: none; }
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__visual { order: 0; }
  .projects { grid-template-columns: 1fr; }
  .estimate { background: linear-gradient(var(--primary) 0 60px, var(--paper) 60px); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .utility__note { display: none; }
  .utility__in { justify-content: center; }
  .utility__links a + a { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text strong { font-size: 19px; }
  .brand__text span { font-size: 9px; letter-spacing: .14em; }
  .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento__card { min-height: 0; }
  .bento__card--feature { grid-row: auto; grid-column: auto; }
  .why { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item, .why__item:nth-child(3) { padding: 26px 0 8px; border-top: 1px solid var(--line); border-left: 0; }
  .why__item:first-child { border-top: 0; }
  .feature__copy .spec { grid-template-columns: 1fr 1fr; }
  .service__meta, .form__row { grid-template-columns: 1fr; }
  .warranty { grid-template-columns: 1fr; }
  .warranty__seal { width: 130px; }
  .marquee__label { padding: 14px; font-size: 11px; }
  .compare { aspect-ratio: 4 / 3; }
  .compare__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .sheet__titleblock { flex-direction: column; gap: 4px; }
  .review__quote { font-size: 21px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .faq__answer { padding-right: 0; }
  .stat__num { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
