:root {
  --storm-900: #121B29;
  --storm-700: #22334A;
  --storm-500: #4B6077;
  --paper: #F2F4F3;
  --paper-2: #E4E9E7;
  --ink: #17202B;
  --ink-2: #4A5663;
  --rule: #C9D1D0;
  /* Company colors: maroon and gold. Maroon carries the light sections and the
     closing band; gold is the lightning protection system and the calls to action on dark. */
  /* --maroon and --gold are the exact values measured from the company's color sample
     (2026-11-17): red #9F0F0F and gold #C99700. The -dark/-900/-light/-deep steps are
     darker and lighter versions of those two, for hover states, the footer and fine lines. */
  --maroon: #9F0F0F;
  --maroon-dark: #7C0B0B;
  --maroon-900: #3B0909;
  --gold: #C99700;
  --gold-light: #EBCB6B;
  --gold-deep: #9A7400;
  --strike: #FFF4CF;
  --gutter: clamp(20px, 4vw, 64px);
  --edge: max(var(--gutter), calc((100vw - 1320px) / 2));
  --display: 112%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--gold-light); }

.wrap { padding-inline: var(--edge); }
.band { padding-block: clamp(64px, 8.5vw, 124px); }
.band-tint { background: var(--paper-2); }

h2 {
  font-stretch: var(--display);
  font-weight: 780;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 20ch;
  text-wrap: balance;
}
h3 {
  font-stretch: var(--display);
  font-weight: 720;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; margin-top: 18px; }

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  padding: 15px 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.on-dark .btn-primary { background: var(--gold); color: var(--ink); }
.on-dark .btn-primary:hover { background: #DDB02A; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ink { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-ink:hover { background: var(--maroon); color: #fff; }

/* ---------- Header ---------- */
/* A white bar, so the maroon and gold logo sits on the background it was drawn for. */
.site-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 10px var(--edge);
  background: #fff; color: var(--ink);
  border-bottom: 4px solid var(--gold);
  box-shadow: inset 0 -1px 0 var(--maroon), 0 1px 0 var(--maroon);
}
.wordmark { display: block; margin-right: auto; line-height: 0; }
.wordmark :is(svg, img) { display: block; height: 64px; width: auto; transition: height .2s; }
/* Once the page is scrolled, the pinned bar gets slimmer. */
.site-head.is-scrolled .wordmark :is(svg, img) { height: 48px; }
/* Logo redrawn from the company's artwork: red lettering changed to maroon. */
.logo text { font-family: "Archivo", "Arial Black", Arial, sans-serif; font-weight: 900; }
.logo .word { font-size: 46px; fill: var(--maroon); }
.logo .word-shadow { font-size: 46px; fill: #2A0A10; }
.logo .tag { font-size: 13.5px; font-weight: 800; fill: #2B2B2B; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 550; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--maroon); }
/* The section you are reading is marked in the menu. */
.site-nav a[aria-current] { color: var(--maroon); border-bottom-color: var(--gold); }
.site-nav .nav-cta, .site-nav .nav-phone { display: none; }
.head-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-phone:hover { text-decoration: underline; }
.site-head .btn { padding: 11px 16px; font-size: .95rem; }
.menu-btn {
  display: none; align-items: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2; color: var(--ink);
  background: none; border: 2px solid var(--ink); border-radius: 3px; padding: 9px 12px; cursor: pointer;
}
.menu-btn svg { width: 20px; height: 16px; flex: none; }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }
/* Jump links land below the pinned bar, not underneath it. */
section[id] { scroll-margin-top: 84px; }

/* ---------- Hero ---------- */
/* The main banner is a job photo. The words sit on its left over a dark wash, so they
   read on any part of the picture; the crew member stays in view on the right. */
.hero { position: relative; background: var(--storm-900); color: #F5F7F6; height: clamp(520px, 46vw, 780px); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 27, 41, .9) 0, rgba(18, 27, 41, .78) 32%, rgba(18, 27, 41, 0) 66%),
    linear-gradient(to bottom, rgba(18, 27, 41, .3) 0, rgba(18, 27, 41, 0) 45%);
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: absolute; z-index: 2; left: var(--edge); top: clamp(48px, 6vw, 104px); width: min(46%, 640px); }
.hero h1 {
  font-stretch: var(--display);
  font-weight: 820;
  font-size: clamp(2.05rem, 3.75vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 span + span { margin-top: .22em; }
.hero-sub { margin-top: 22px; font-size: clamp(1rem, 1.25vw, 1.2rem); color: #E3EAF0; max-width: 46ch; text-wrap: pretty; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-estimate { display: none; }
.restrike {
  position: absolute; z-index: 2; left: var(--edge); bottom: 22px;
  font: inherit; font-size: .88rem; font-weight: 600; color: #D9CFC3;
  background: none; border: 1px solid #7A6B5C; border-radius: 3px; padding: 8px 12px; cursor: pointer;
}
.restrike:hover { color: #fff; border-color: #D9CFC3; }

/* scene drawing */
.scene .line { fill: none; stroke: #AFC0CF; stroke-width: 1.5; }
.scene .face { fill: #18243480; fill: #182434; stroke: #AFC0CF; stroke-width: 1.5; }
.scene .win { fill: none; stroke: #AFC0CF; stroke-width: 1; opacity: .38; }
.scene .lit { fill: #F1D49A; opacity: .55; stroke: none; }
.scene .cu { fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scene .rod { stroke: var(--gold-deep); stroke-width: 4.5; stroke-linecap: round; }
.scene .ring-loop { fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-dasharray: 7 7; opacity: .8; }
.scene .label { font-family: "Archivo", sans-serif; font-size: 17px; font-weight: 560; fill: #E3EAF0; }
.scene .leader { stroke: #E3EAF0; stroke-width: 1; opacity: .65; fill: none; }
.scene .dot { fill: #E3EAF0; }

.scene .bolt, .scene .bolt-glow { fill: none; stroke: var(--strike); stroke-linejoin: bevel; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.scene .bolt { stroke-width: 3.5; }
.scene .bolt-thin { stroke-width: 1.8; }
.scene .bolt-glow { stroke-width: 16; stroke: #BFD4FF; filter: url(#glow); }
.scene .flash { opacity: 0; }
.scene .current { fill: none; stroke: var(--strike); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: url(#glow-sm); }
.scene .ring { fill: none; stroke: var(--gold-light); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }

.scene.striking .bolt { animation: bolt 1s linear both; }
.scene.striking .bolt-glow { animation: bolt-glow 1s linear both; }
.scene.striking .flash { animation: flash 1s linear both; }
.scene.striking .current { animation: current 2.3s cubic-bezier(.2,.6,.3,1) .14s both; }
.scene.striking .ring { animation: ring 1.5s ease-out .85s both; }
.scene.striking .ring-2 { animation-delay: 1.1s; }
@keyframes bolt { 0% { stroke-dashoffset: 1; opacity: 1; } 13% { stroke-dashoffset: 0; opacity: 1; } 21% { opacity: .25; } 29% { opacity: 1; } 55% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes bolt-glow { 0% { stroke-dashoffset: 1; opacity: .5; } 13% { stroke-dashoffset: 0; opacity: .55; } 21% { opacity: .1; } 29% { opacity: .5; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes flash { 0%, 11% { opacity: 0; } 14% { opacity: .42; } 21% { opacity: .05; } 29% { opacity: .3; } 100% { opacity: 0; } }
@keyframes current { 0% { stroke-dashoffset: 1; opacity: 1; } 42% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ring { 0% { opacity: 0; transform: scale(.08); } 6% { opacity: .9; } 100% { opacity: 0; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene .bolt { stroke-dashoffset: 0; opacity: .9; animation: none !important; }
  .scene .bolt-glow { stroke-dashoffset: 0; opacity: .35; animation: none !important; }
  .scene .flash, .scene .current, .scene .ring { animation: none !important; }
  .restrike { display: none; }
}

/* ---------- Credentials ---------- */
/* Gold line edged in maroon: a hairline of maroon above and below the gold. */
.creds { border-bottom: 4px solid var(--gold); box-shadow: inset 0 -1px 0 var(--maroon), 0 1px 0 var(--maroon); margin-bottom: 1px; }
.creds ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.creds li { padding: 18px 28px 18px 0; }
.creds li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.creds b { display: block; font-stretch: var(--display); font-weight: 760; font-size: 1.18rem; line-height: 1.2; }
.creds span { display: block; color: var(--ink-2); font-size: .97rem; margin-top: 4px; }

/* ---------- Who we work for ---------- */
#services { padding-top: clamp(30px, 4vw, 56px); }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 3px solid var(--maroon); }
.split > div { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 36px 8px 0; }
.split > div + div { padding-left: 36px; border-left: 1px solid var(--rule); }
.split > div:last-child { padding-right: 0; }
.split p { color: var(--ink-2); margin-top: 12px; max-width: 52ch; }
.split .btn { margin-top: auto; }
.checks { align-self: stretch; margin: 22px 0 28px; }
.checks li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 7px; border-left: 2.5px solid var(--maroon); border-bottom: 2.5px solid var(--maroon); transform: rotate(-45deg); }
.types { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.types dt { font-weight: 700; margin-right: 8px; }
.types-tag { margin-top: 18px; font-stretch: var(--display); font-weight: 760; font-size: 1.3rem; line-height: 1.2; color: var(--maroon); }
.types dd { border: 1px solid var(--storm-500); border-radius: 100px; font-size: .95rem; transition: border-color .15s, background-color .15s; }
.types dd a { display: block; padding: 5px 14px; border-radius: 100px; text-decoration: none; }
.types dd:hover { border-color: var(--maroon); background: #fff; }
.types dd:hover a { color: var(--maroon); }
#homeowners { scroll-margin-top: 84px; }

/* ---------- Projects ---------- */
.projects-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.states { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .97rem; color: var(--ink-2); }
.states b { color: var(--ink); font-weight: 720; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.filters button {
  font: inherit; font-size: 1rem; font-weight: 620; line-height: 1.25; color: var(--ink);
  background: transparent; border: 1.5px solid var(--storm-500); border-radius: 3px; padding: 11px 16px; cursor: pointer;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.count { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.project-list { margin-top: 10px; columns: 3; column-gap: 44px; border-top: 3px solid var(--maroon); }
.project-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.project-list span { font-weight: 560; }
.project-list em { font-style: normal; color: var(--ink-2); font-size: .93rem; white-space: nowrap; }
.project-list .feature span { color: var(--maroon); font-weight: 720; }

/* ---------- System ---------- */
.system { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.path { position: relative; padding-left: 44px; }
.path::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 30px; width: 4px; background: var(--gold-deep); border-radius: 2px; }
.path li { position: relative; padding-bottom: 34px; }
.path li::before { content: ""; position: absolute; left: -44px; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); border: 4px solid var(--maroon); }
.path p { color: var(--ink-2); margin-top: 6px; max-width: 50ch; }
.path .ground { padding-bottom: 0; }
.ground-mark { position: absolute; left: -47px; bottom: -2px; width: 28px; height: 22px; }
/* The strike drawing, beside the list of parts it illustrates. */
.system-scene { position: relative; margin-top: 30px; max-width: 580px; aspect-ratio: 780 / 730; border-radius: 3px; overflow: hidden; background: var(--storm-900); }
.system-scene .scene .label { font-size: 21px; }
.system-scene .restrike { left: 12px; top: 12px; bottom: auto; padding: 6px 10px; font-size: .84rem; line-height: 1.2; color: #E3EAF0; border-color: #8A9AAB; background: rgba(18, 27, 41, .55); }
.system-scene .restrike:hover { border-color: #E3EAF0; }
@media (max-width: 560px) { .system-scene .scene .callouts { display: none; } }

/* ---------- Team ---------- */
/* Four people: one row on wide screens, two by two on tablets, one column on phones. */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: clamp(36px, 5vw, 60px); }
.team li { border-top: 1px solid var(--storm-500); padding-top: 18px; }
.team .role { color: var(--ink-2); margin-top: 2px; min-height: 4.7em; }
.team a { display: block; text-decoration: none; margin-top: 4px; overflow-wrap: anywhere; }
.team a:hover { text-decoration: underline; }
.team .tel { font-weight: 700; }
.team .mail { color: var(--maroon); font-weight: 560; }

/* ---------- Estimate ---------- */
.estimate { background: var(--maroon); color: #FBF6F4; }
.estimate-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); }
.estimate .lede { color: #EEDCDF; }
.direct { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.26); }
.direct div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.26); }
.direct dt { color: #E6C9CE; }
.direct a { color: #fff; font-weight: 650; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
label { font-weight: 620; font-size: .96rem; }
label small { font-weight: 400; font-size: inherit; color: #E6C9CE; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid transparent; border-radius: 3px; padding: 12px 13px; width: 100%;
}
textarea { min-height: 124px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { flex: 1 1 260px; font-size: .96rem; color: var(--gold-light); }
/* The "did your email program open?" box that appears after Send is pressed. */
.form-help { grid-column: 1 / -1; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .35); border-left: 4px solid var(--gold); border-radius: 3px; background: rgba(0, 0, 0, .2); }
.form-help p + p { margin-top: 8px; }
.form-help a { color: #fff; font-weight: 650; }
.form-help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px !important; }
.form-help .btn { padding: 10px 16px; }
#copy-status { font-size: .96rem; color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-foot { background: var(--maroon-900); color: #E4D6D6; padding-block: 44px; font-size: .96rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-start; }
.site-foot b { color: #fff; font-stretch: 118%; font-weight: 800; font-size: 1.05rem; }
.site-foot a { color: #fff; }
.site-foot .legal { margin-left: auto; color: #BFA7AB; }

/* ---------- Responsive ---------- */
/* Narrower windows: everything in the bar tightens up so the menu still fits on one row. */
@media (max-width: 1099px) {
  .site-head { gap: 18px; padding-block: 8px; }
  .wordmark :is(svg, img), .site-head.is-scrolled .wordmark :is(svg, img) { height: 48px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .9rem; }
  .head-phone { font-size: .95rem; }
  .site-head .btn { padding: 9px 12px; font-size: .9rem; }
}
/* Below this width the links no longer fit, so they move into a panel behind a Menu button. */
@media (max-width: 879px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px);
    flex-direction: column; gap: 0;
    background: #fff; padding: 4px var(--edge) 16px;
    border-bottom: 4px solid var(--gold); box-shadow: 0 16px 28px rgba(18, 27, 41, .22);
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .site-nav a:hover { border-bottom-color: var(--rule); color: var(--maroon); }
  .site-nav a[aria-current] { border-bottom-color: var(--rule); box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
}
/* Tablets and narrow windows: the words stay beside the crew member in the photo. */
@media (min-width: 721px) and (max-width: 1099px) {
  .hero { height: 56vw; }
  .hero-copy { top: clamp(26px, 3.6vw, 44px); width: 49%; }
  .hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.45rem); }
  .hero-sub { margin-top: 14px; font-size: clamp(.95rem, 1.9vw, 1.1rem); }
  .hero-actions { margin-top: 18px; }
}
@media (max-width: 1099px) {
  .creds ul { grid-template-columns: 1fr 1fr; }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .project-list { columns: 2; }
  .split { grid-template-columns: 1fr; }
  .split > div { padding-right: 0; }
  .split > div + div { padding-left: 0; border-left: 0; border-top: 3px solid var(--maroon); margin-top: 36px; }
  .split .btn { margin-top: 0; }
  .team { grid-template-columns: 1fr 1fr; gap: 28px; }
  .team .role { min-height: 3.1em; }
  .projects-head, .system, .estimate-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-head { gap: 12px; padding-block: 8px; }
  .site-head .btn { display: none; }
  .wordmark :is(svg, img), .site-head.is-scrolled .wordmark :is(svg, img) { height: 44px; }
  .menu-btn { padding: 10px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-nav .nav-cta { display: block; color: var(--maroon); font-weight: 700; }
  @media (max-width: 359px) { .head-phone { display: none; } .site-nav .nav-phone { display: block; } }
  section[id] { scroll-margin-top: 72px; }
  /* Phones: the photo first, cropped in on the crew member, then the words on the dark band below it. */
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero-photo { position: static; height: auto; aspect-ratio: 5 / 4; object-position: 92% 100%; }
  .hero-copy { position: static; width: auto; padding: 22px var(--edge) 28px; }
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 3.2rem); }
  .hero-sub { max-width: none; margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-estimate { display: inline-block; }
  .project-list { columns: 1; }
  .creds ul, .team, form { grid-template-columns: 1fr; }
  .creds li, .creds li + li { padding: 14px 0; border-left: 0; }
  .creds li + li { border-top: 1px solid var(--rule); }
  .team .role { min-height: 0; }
  .site-foot .legal { margin-left: 0; }
}

/* ---------- Projects page ---------- */
.page-head { background: var(--storm-900); color: #F5F7F6; padding-block: clamp(36px, 5vw, 72px); }
.page-head h1 {
  font-stretch: var(--display); font-weight: 820;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 24ch; text-wrap: balance;
}
.page-head .lede { color: #C8D2DB; }
.page-head .states { margin-top: 26px; color: #C8D2DB; }
.page-head .states b { color: #fff; }
/* ---------- Qualifications page ---------- */
.quals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; margin-top: 32px; }
.quals li { border-top: 3px solid var(--maroon); padding-top: 18px; }
.quals h2 { font-size: 1.3rem; font-weight: 720; letter-spacing: -0.005em; line-height: 1.2; }
.quals p { color: var(--ink-2); margin-top: 8px; }
/* Placeholders are drawn so nobody mistakes them for real content. */
.placeholder, .draft-note { border: 2px dashed var(--gold-deep); border-radius: 3px; background: #FFF8E1; }
.placeholder { display: block; margin-top: 12px; padding: 10px 14px; font-size: .97rem; font-weight: 620; }
.placeholder::before { content: "To be added: "; font-weight: 400; color: var(--ink-2); }
.draft-note { display: inline-block; padding: 10px 16px; font-weight: 600; }
@media (max-width: 1099px) { .quals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .quals { grid-template-columns: 1fr; gap: 30px; } }

.split .btn-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.split .btn-row .btn { margin-top: 0; }

.band-flush-top { padding-top: clamp(28px, 4vw, 44px); }
.band-flush-top .filters { margin-top: 0; }
#project-sample { margin-top: 40px; }
.sample-foot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.estimate .sample-foot a:not(.btn) { color: #fff; font-weight: 650; }

/* ---------- Photos and photo placeholders ----------
   A .photo holds a real picture. A .photo-slot is a labeled empty spot that only
   shows while <html> has class "draft"; remove that class to hide every empty spot. */
.photo, .photo-slot { margin: 0; border-radius: 3px; overflow: hidden; aspect-ratio: 16 / 9; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-slot { display: none; }
.draft .photo-slot {
  display: grid; place-content: center; text-align: center; padding: 10px;
  border: 2px dashed var(--gold-deep); background: #FFF8E1;
  color: var(--ink); font-size: .93rem; font-weight: 620; line-height: 1.35;
}
.photo-slot small { display: block; font-size: inherit; font-weight: 400; color: var(--ink-2); }
.ratio-43 { aspect-ratio: 4 / 3; }

/* Customer boxes */
.split > div > .photo, .split > div > .photo-slot { align-self: stretch; margin-bottom: 22px; }

/* Parts of the system: text on the left, close-up on the right. */
.path li { display: grid; grid-template-columns: 1fr 190px; grid-template-rows: auto 1fr; column-gap: 28px; align-items: start; }
.path li > h3, .path li > p { grid-column: 1; }
.path li > .photo, .path li > .photo-slot { grid-column: 2; grid-row: 1 / span 2; }

/* Project photo cards */
.photo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.photo-cards b { display: block; margin-top: 10px; font-weight: 700; line-height: 1.3; }
.photo-cards span { display: block; color: var(--ink-2); font-size: .93rem; }
.photo-cards .photo-slot span { color: inherit; font-size: inherit; }
html:not(.draft) .photo-cards li:has(.photo-slot) { display: none; }
.photo-cards + .project-list { margin-top: 32px; }

/* Team */
.headshot { width: 96px; aspect-ratio: 1; border-radius: 50%; margin-bottom: 14px; }
.draft .photo-slot.headshot { font-size: .72rem; padding: 6px; }
.photo-wide { aspect-ratio: 21 / 8; margin-top: 36px; }

@media (max-width: 1099px) {
  .photo-cards { grid-template-columns: 1fr 1fr; }
  /* The customer boxes stack here, so their photos become shallow strips, not full 16:9 blocks. */
  .split > div > .photo, .split > div > .photo-slot { aspect-ratio: auto; height: clamp(170px, 28vw, 250px); }
}
@media (max-width: 720px) {
  .path li { grid-template-columns: 1fr; }
  .path li > .photo, .path li > .photo-slot { grid-column: 1; grid-row: auto; margin-top: 14px; max-width: 320px; }
  .photo-cards { gap: 18px 14px; }
  .photo-wide { aspect-ratio: 16 / 9; }
}

/* ---------- Inner-page heading band with a small strike drawing ----------
   The band is the sky and the ground; the small drawing sits on it at the right. */
.page-head.has-scene {
  --mini-h: clamp(240px, 30vw, 330px);
  --ground: calc(var(--mini-h) * .1644);
  position: relative; overflow: hidden;
  min-height: var(--mini-h);
  padding-bottom: calc(var(--ground) + clamp(22px, 3vw, 40px));
  background: linear-gradient(to bottom, #121B29 0, #1E2D42 58%, #3A4E62 100%);
}
.page-head.has-scene::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--ground);
  background: #2E2620; border-top: 1.5px solid #8D7E6C;
}
.page-head.has-scene .wrap { position: relative; z-index: 2; padding-right: calc(var(--edge) + var(--mini-h) * .78 + 28px); }
.scene.mini-scene {
  position: absolute; inset: auto var(--edge) 0 auto; z-index: 1;
  width: auto; height: var(--mini-h); aspect-ratio: 570 / 730; margin: 0; order: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
}
.restrike.mini-restrike {
  position: absolute; z-index: 2; left: auto;
  right: calc(var(--edge) + var(--mini-h) * .78 + 14px);
  bottom: calc((var(--ground) - 29px) / 2);
  margin: 0; padding: 5px 10px; font-size: .82rem; line-height: 1.2; order: 0;
}
@media (max-width: 720px) {
  /* Phones: the words come first, with the drawing in its own strip beneath them. */
  .page-head.has-scene { --mini-h: 210px; padding-bottom: calc(var(--mini-h) + 6px); }
  .page-head.has-scene .wrap { padding-right: var(--edge); }
  .restrike.mini-restrike { right: auto; left: var(--edge); bottom: calc(var(--ground) + 22px); }
}

/* Five menu items: tighten the bar a little more at mid widths so it stays on one row. */
@media (min-width: 880px) and (max-width: 1099px) {
  .site-head { gap: 12px; }
  .site-nav { gap: 11px; }
  .site-nav a { font-size: .86rem; }
  .site-head .btn { padding: 9px 9px; font-size: .88rem; }
}
/* Just above that range the full-size bar is a tight fit, so it eases its spacing. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .site-head { gap: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .94rem; }
}
/* Menu words and the estimate button never break onto a second line. */
@media (min-width: 880px) { .site-nav a, .site-head .btn { white-space: nowrap; } }

/* ---------- References page ---------- */
.section-title + .lede { margin-top: 12px; }
.draft-note + .section-title { margin-top: 32px; }
.repeat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 36px; margin-top: 32px; }
.repeat li { border-top: 3px solid var(--maroon); padding-top: 16px; }
.repeat b { display: block; font-stretch: 125%; font-weight: 820; font-size: 2.8rem; line-height: 1; color: var(--maroon); }
.repeat span { display: block; margin-top: 8px; font-weight: 600; line-height: 1.35; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; margin-top: 28px; }
.quotes li { border-left: 4px solid var(--gold); padding-left: 20px; }
.quotes .placeholder:first-child { margin-top: 0; min-height: 96px; }
.quals .placeholder:first-child { margin-top: 0; }
.quals:first-child { margin-top: 0; }
.site-foot .foot-links a { text-decoration: none; }
.site-foot .foot-links a:hover { text-decoration: underline; }
@media (max-width: 1099px) { .repeat { grid-template-columns: 1fr 1fr; } .quotes { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .repeat b { font-size: 2.3rem; } }

/* ---------- Service pages (homes, trees, re-roofs) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 70ch; }
.prose > h2 { margin-top: 48px; max-width: none; font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.prose > h2:first-of-type { margin-top: 0; }
.keith-check + h2 { margin-top: 32px !important; }
.prose > h3 { margin-top: 26px; font-size: 1.15rem; }
.prose > p { margin-top: 12px; color: var(--ink-2); }
.prose > h3 + p { margin-top: 6px; }
.prose > ul, .prose > ol { margin-top: 12px; padding-left: 1.3em; color: var(--ink-2); }
.prose > ul { list-style: disc; }
.prose > ol { list-style: decimal; }
.prose > ul li, .prose > ol li { margin-top: 7px; padding-left: 4px; }
.prose > ul li::marker, .prose > ol li::marker { color: var(--maroon); font-weight: 700; }
.prose b { color: var(--ink); }
.prose > .photo, .prose > .photo-slot { margin-top: 28px; }
.prose .area { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink); font-weight: 600; }

/* The note for Keith only shows while the page is marked as a draft. */
.keith-check { display: none; }
.draft .keith-check { display: block; padding: 14px 18px; border: 2px dashed var(--gold-deep); border-radius: 3px; background: #FFF8E1; font-size: .97rem; }
.keith-check ul { list-style: disc; padding-left: 1.3em; margin-top: 8px; }
.keith-check li { margin-top: 4px; }

.side-card { position: sticky; top: 100px; border-top: 3px solid var(--maroon); padding-top: 20px; }
.side-card h2 { font-size: 1.35rem; max-width: none; }
.side-card p { margin-top: 10px; color: var(--ink-2); }
.side-card .btn { margin-top: 18px; }
.side-card .side-contact { margin-top: 18px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.side-card .side-contact a { text-decoration: none; }
.side-card .side-contact a:hover { text-decoration: underline; }
.side-card h3 { margin-top: 30px; font-size: 1.05rem; }
.side-card ul { margin-top: 8px; }
.side-card li { padding: 9px 0; border-top: 1px solid var(--rule); }
.side-card li a { color: var(--maroon); font-weight: 600; text-decoration: none; }
.side-card li a:hover { text-decoration: underline; }

@media (max-width: 1099px) {
  .article { grid-template-columns: 1fr; }
  .side-card { position: static; max-width: 70ch; }
}
