/* House painting template.
   Palette: navy, cyan and a warm orange accent.
   Signature details: painter's-tape labels, paint-chip service cards, a drip edge. */

:root {
  --primer: #f4f0e8;
  --paper: #fbf9f4;
  --ink: #14202b;
  --ink-soft: #3c4853;
  --muted: #5d6873;
  --navy: #155b96;
  --navy-deep: #0f2a44;
  --navy-deeper: #0a1e31;
  --cyan: #2fa3c6;
  --cyan-bright: #6cc7e3;
  --flame: #e46f27;
  --tape: #59b3dd;
  --tape-edge: #3e9dca;
  --line: rgba(20, 32, 43, 0.14);
  --line-strong: rgba(20, 32, 43, 0.28);

  --f-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-caps: "Marcellus SC", "Trajan Pro", "Palatino Linotype", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --radius: 3px;
  --shadow: 0 1px 0 rgba(20, 32, 43, 0.06), 0 12px 30px -12px rgba(15, 42, 68, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--primer);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; }
h1, h2 { font-family: var(--f-display); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); text-wrap: balance; }
h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--f-caps);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--navy);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-wrap: balance;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}
.eyebrow-light { color: var(--cyan-bright); }

.section-head { margin-bottom: 2.4rem; max-width: 760px; }
.section-head h2 { margin-bottom: 1rem; }
.section-lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }

/* ---------- template bar ---------- */
.template-bar {
  background: var(--ink);
  color: #e9edf1;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 8px var(--gutter);
  letter-spacing: 0.01em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 240, 232, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
/* the name is a text mark: a small paint chip beside the name in the display font */
.brand-chip {
  width: 14px;
  height: 38px;
  flex: none;
  border-radius: 2px;
  background: linear-gradient(180deg, #d9eff6 0 33%, var(--cyan) 33% 66%, var(--navy) 66%);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-your { font-family: var(--f-caps); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--muted); margin-bottom: 3px; }
.brand-line { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -0.005em; }

.site-nav { display: none; }
.btn.header-call { display: none; }

@media (min-width: 720px) {
  .btn.header-call { display: inline-flex; white-space: nowrap; }
}
@media (min-width: 1000px) {
  .site-nav {
    display: flex;
    gap: 1.6rem;
    font-weight: 600;
    font-size: 0.97rem;
  }
  .site-nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 6px 0;
    background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 3px no-repeat;
    transition: background-size 0.25s ease;
  }
  .site-nav a:hover { background-size: 100% 3px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 0 -2px var(--navy-deeper);
}
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--primer); }
.btn-call {
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  min-height: 42px;
  font-size: 0.97rem;
}
.btn-call:hover { background: var(--navy); color: #fff; }
.btn-light { background: var(--primer); color: var(--navy-deep); }
.btn-light:hover { background: #fff; color: var(--navy-deep); }
.btn-block { width: 100%; }

/* ---------- painter's tape ---------- */
.tape {
  --tilt: -1.6deg;
  display: inline-block;
  position: relative;
  font-family: var(--f-caps);
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--navy-deeper);
  padding: 0.62em 1.2em 0.56em;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(0,0,0,0.04)),
    var(--tape);
  transform: rotate(var(--tilt));
  clip-path: polygon(0 6%, 2% 0, 4% 9%, 6% 1%, 8% 7%, 92% 3%, 94% 10%, 96% 0, 98% 8%, 100% 2%,
                     100% 94%, 98% 100%, 96% 91%, 94% 99%, 92% 93%, 8% 97%, 6% 90%, 4% 100%, 2% 92%, 0 99%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.tape-small { font-size: 0.78rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 2.2rem 0 3.2rem;
  overflow: hidden;
}
.hero::before {
  /* faint drop-cloth weave */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(47,163,198,0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(228,111,39,0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2.4rem;
}
.tape-hero { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.7rem, min(1.2rem + 6.4vw, 10.5vh), 5.4rem);
  line-height: 0.98;
  margin-bottom: 1.4rem;
  max-width: 13ch;
  text-wrap: balance;
}
.stroke {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.stroke::after {
  /* a single brush stroke under the word */
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.1em;
  bottom: 0.02em;
  height: 0.36em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26c30-10 70-16 120-15 40 1 60-6 110-6 60 0 110 5 160 3 4 0 4 6 0 7-40 4-60 10-120 12-50 2-80 4-150 6-50 2-90 4-118 4-6 0-8-8-2-11z' fill='%232fa3c6' fill-opacity='.55'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform-origin: left center;
}
.lede {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.hero-actions .btn { flex: 1 1 220px; }
.hero-area {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  max-width: 46ch;
}

.hero-figure {
  position: relative;
  margin: 0;
  padding: 0;
}
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  background: #c9b8a6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-figure > .tape {
  position: absolute;
  top: -12px;
  right: 18px;
  --tilt: 2.2deg;
}
@media (min-width: 960px) {
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3.5rem; }
  .hero-photo { aspect-ratio: 4 / 4.3; max-height: calc(100svh - 10rem); }
  .hero-figure { padding: 0 0 0 0; margin-bottom: 2rem; }
}
/* laptops with short screens: keep the headline and the call button on the first screen */
@media (min-width: 960px) and (max-height: 820px) {
  .hero { padding: 2rem 0 3.2rem; }
  .hero-grid { gap: 3rem; }
  .tape-hero { margin-bottom: 1rem; }
  .hero h1 { font-size: clamp(3rem, 10vh, 5.4rem); margin-bottom: 1.1rem; }
  .lede { font-size: 1.06rem; line-height: 1.55; margin-bottom: 1.4rem; }
  .hero-actions { margin-bottom: 1.1rem; }
}
/* phones: name and call button come up sooner */
@media (max-width: 599px) {
  .hero { padding-top: 1.4rem; }
  .tape-hero { margin-bottom: 1.1rem; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); margin-bottom: 1.1rem; }
  .lede { font-size: 1.06rem; line-height: 1.55; margin-bottom: 1.5rem; }
}

/* load-in motion */
.rise { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 110ms); }
.tape-hero.rise { animation-name: tape-on; }
.stroke::after { animation: stroke-on 0.9s 0.55s cubic-bezier(.3,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes tape-on { from { opacity: 0; transform: rotate(var(--tilt)) scaleX(0.2); transform-origin: left; } to { opacity: 1; transform: rotate(var(--tilt)); } }
@keyframes stroke-on { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- proof strip ---------- */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.proof-list {
  list-style: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.proof-list li {
  padding: 1.3rem 0.9rem 1.3rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.proof-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.proof-list li:nth-child(even) { padding-left: 1rem; }
.proof-list li:nth-last-child(-n+2) { border-bottom: 0; }
.proof-num { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--navy); }
.proof-label { font-size: 0.95rem; line-height: 1.35; color: var(--ink-soft); }
.proof-label a { color: inherit; }
@media (min-width: 860px) {
  .proof-list { grid-template-columns: repeat(4, 1fr); }
  .proof-list li { border-bottom: 0; border-right: 1px solid var(--line); padding: 1.6rem 1.4rem; }
  .proof-list li:nth-child(even) { padding-left: 1.4rem; }
  .proof-list li:first-child { padding-left: 0; }
  .proof-list li:last-child { border-right: 0; }
  .proof-num { font-size: 2.1rem; }
}

/* ---------- services: paint chips ---------- */
.services { padding: 4.5rem 0 4rem; }
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 92px 1fr;
  box-shadow: 0 1px 0 rgba(20,32,43,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.chip:hover { transform: translateY(-3px) rotate(-0.4deg); box-shadow: var(--shadow); }
.chip-swatch {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr 1.3fr;
}
.chip-swatch span:nth-child(1) { background: var(--c1); }
.chip-swatch span:nth-child(2) { background: var(--c2); }
.chip-swatch span:nth-child(3) { background: var(--c3); }
.chip-swatch::before {
  /* punch hole, like a real paint chip strip */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--primer);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}
.chip-code {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-style: normal;
  font-family: var(--f-caps);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: #fff;
}
.chip-body { padding: 1.3rem 1.3rem 1.4rem; }
.chip-body h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin-bottom: 0.6rem; }
.chip-body p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0.9rem; }
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
}
.tags li {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #fff;
}
.chip-link {
  display: inline-block;
  padding: 0.65rem 0;
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.chip-link::after { content: " \2192"; }

@media (min-width: 720px) {
  .chips { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .chips { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .chip { grid-template-columns: 1fr; grid-template-rows: 150px 1fr; }
  .chip-swatch { grid-template-rows: none; grid-template-columns: 1fr 1fr 1.3fr; }
  .chip-swatch::before { top: 50%; left: 18px; margin: -6px 0 0; }
  .chip-code { left: auto; right: 14px; bottom: 12px; text-align: right; }
  .chips .chip:nth-child(3n+2) { transform: translateY(28px); }
  .chips .chip:nth-child(3n+2):hover { transform: translateY(25px) rotate(-0.4deg); }
}

.note-band {
  margin-top: 3rem;
  display: grid;
  gap: 0.6rem 2rem;
  align-items: center;
  padding: 1.5rem 1.4rem;
  border: 2px dashed var(--line-strong);
  border-radius: 2px;
}
.note-band-kicker { font-family: var(--f-caps); letter-spacing: 0.14em; color: var(--navy); margin: 0; }
.note-band-text { margin: 0; font-size: 1.08rem; }
.note-band-link { font-weight: 700; display: inline-block; padding: 0.65rem 0; justify-self: start; }
.note-band-link::after { content: " \2192"; }
@media (min-width: 860px) {
  .note-band { grid-template-columns: auto 1fr auto; margin-top: 4.5rem; }
}

/* ---------- how a job goes: the dark band ---------- */
.process {
  position: relative;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(47,163,198,0.18), transparent 60%),
    var(--navy-deep);
  color: #e8eef3;
  padding: 4.5rem 0 4rem;
  margin-bottom: 70px;
}
.process h2 { color: #fff; margin-bottom: 1.2rem; max-width: 16ch; }
.process p { color: #c9d6e1; }
.process-grid { display: grid; gap: 2.8rem; }
.process-copy > p { font-size: 1.1rem; max-width: 52ch; }
.surfaces {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.surfaces li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #fff;
}
.drop { width: 12px; height: 17px; flex: none; }
.drop-cool { fill: var(--cyan-bright); }
.drop-warm { fill: var(--flame); }
.drop-gray { fill: #aebdca; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.step-num {
  font-family: var(--f-display);
  font-size: 3rem;
  line-height: 0.9;
  color: var(--cyan-bright);
}
.steps h3 { color: #fff; margin-bottom: 0.35rem; font-size: 1.15rem; }
.steps p { margin: 0; font-size: 1rem; }

.drips {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  width: 100%;
  height: 70px;
  fill: var(--navy-deep);
  display: block;
}

@media (min-width: 960px) {
  .process { padding: 6rem 0 5rem; margin-bottom: 90px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .drips { height: 90px; }
}

/* ---------- gallery ---------- */
.work { padding: 3rem 0 4.5rem; }
.section-head-row { max-width: none; }
@media (min-width: 860px) {
  .section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
  .section-head-row h2 { max-width: 16ch; margin-bottom: 0; }
  .section-head-row .section-lede { margin: 0; }
}
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery li { position: relative; }
/* four photos: the tall house on the left, two rooms beside it, the deck across the bottom */
.g-a { grid-row: span 2; }
.g-d { grid-column: span 2; }
@media (min-width: 600px) and (max-width: 859px) {
  .gallery { grid-auto-rows: 26vw; }
}
.g-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #d8d2c8;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.g-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.g-btn:hover img { transform: scale(1.04); }
.g-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--f-caps);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--navy-deeper);
  background: var(--tape);
  padding: 0.45em 0.8em 0.4em;
  transform: rotate(-2deg);
}
@media (min-width: 860px) {
  .gallery {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 118px;
    gap: 14px;
  }
  .g-a { grid-column: 1 / 5;  grid-row: 1 / 7; }
  .g-b { grid-column: 5 / 13; grid-row: 1 / 4; }
  .g-c { grid-column: 5 / 9;  grid-row: 4 / 7; }
  .g-d { grid-column: 9 / 13; grid-row: 4 / 7; }
}

/* lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1500px);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(10, 20, 30, 0.86); }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; margin: 0 auto; border-radius: 2px; }
.lb-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--primer);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- about ---------- */
.about {
  padding: 4.5rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid { display: grid; gap: 2.6rem; }
.about-figure { margin: 0; position: relative; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-figure .tape { position: absolute; left: 16px; top: -12px; --tilt: -2.4deg; }
.about-copy h2 { margin-bottom: 1.2rem; }
.about-copy > p { color: var(--ink-soft); font-size: 1.08rem; max-width: 60ch; }
.facts {
  margin: 1.8rem 0 0;
  border-top: 2px solid var(--ink);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { font-family: var(--f-caps); letter-spacing: 0.1em; font-size: 0.85rem; color: var(--muted); padding-top: 0.15rem; }
.facts dd { margin: 0; font-weight: 600; }
@media (min-width: 960px) {
  .about { padding: 6rem 0; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq { padding: 4.5rem 0; }
.faq-grid { display: grid; gap: 2rem; }
.faq-head h2 { margin-bottom: 1rem; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.6rem 1.15rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 14px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 14px no-repeat;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after {
  background: linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat;
  transform: rotate(180deg);
}
.faq-list details p { color: var(--ink-soft); margin: 0 0 1.2rem; max-width: 62ch; }
@media (min-width: 960px) {
  .faq { padding: 6rem 0; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
  .faq-head { position: sticky; top: 110px; align-self: start; }
}

/* ---------- contact ---------- */
.contact {
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(180deg, var(--primer) 0, var(--primer) 55%, #ece6da 100%);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; gap: 2.6rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--ink-soft); font-size: 1.08rem; max-width: 46ch; }
.phone-chip {
  display: flex;
  margin: 1.6rem 0 2rem;
  max-width: 400px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.phone-chip:hover { transform: translateY(-2px); color: var(--ink); }
.phone-chip-swatch { width: 64px; flex: none; background: linear-gradient(180deg, #dce9f5 0 33%, #6fa3cf 33% 66%, var(--navy) 66%); }
.phone-chip-body { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.phone-chip-label { font-family: var(--f-caps); letter-spacing: 0.14em; font-size: 0.85rem; color: var(--muted); }
.phone-chip-num { font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.4rem); line-height: 1.05; color: var(--navy); }
.address-block { border-left: 3px solid var(--cyan); padding-left: 1rem; }
.address-label { font-family: var(--f-caps); letter-spacing: 0.14em; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
address { font-style: normal; font-weight: 600; line-height: 1.5; margin-bottom: 0.6rem; }
.text-link { font-weight: 700; display: inline-block; padding: 0.65rem 0; }
.area-note { margin: 0.8rem 0 0; font-size: 0.95rem; color: var(--muted); }

.estimate-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: 2px;
  padding: 1.5rem 1.2rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.form-row-split { display: grid; gap: 1rem; }
label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.75rem 0.8rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23155b96' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.4rem;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(47,163,198,0.35);
}
.form-alt { text-align: center; margin: 0.9rem 0 0; font-size: 0.97rem; color: var(--muted); }
.form-alt a { font-weight: 700; }
.form-notice {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  background: #e3f2f8;
  border-left: 4px solid var(--cyan);
  border-radius: 2px;
}
.form-notice p { margin: 0 0 0.4rem; }
.form-notice p:last-child { margin: 0; }

@media (min-width: 600px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
  .estimate-form { padding: 2rem 1.8rem; }
}
@media (min-width: 960px) {
  .contact { padding: 6rem 0; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; align-items: start; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c8d1d9;
  padding: 3.2rem 0 1.5rem;
  font-size: 0.97rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--cyan-bright); }
.footer-grid { display: grid; gap: 1.8rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-name { font-family: var(--f-caps); letter-spacing: 0.1em; color: #fff; font-size: 1.1rem; margin-bottom: 0.4rem; text-wrap: balance; }
.footer-contact p { margin: 0 0 0.35rem; }
@media (max-width: 859px) {
  .footer-nav { gap: 0 1.3rem; }
  .footer-nav a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-contact p:has(a) { margin: 0; }
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; align-content: start; }
/* short links like "About" still get a 44px-wide tap target */
.footer-nav a { text-decoration: none; font-weight: 600; min-width: 44px; }
.footer-credit { padding-top: 1.3rem; font-size: 0.85rem; color: #9aa7b3; }
.footer-credit p { margin: 0; }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
  .footer-nav { flex-direction: column; }
}

/* ---------- phone call bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 32, 43, 0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border-radius: 3px;
}
.mb-call { background: var(--cyan); color: var(--navy-deeper); }
.mb-quote { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(1.5rem + 76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  .mobile-bar { display: none; }
}
/* inline links in text: a taller tap area on phones without moving the text */
@media (max-width: 699px) {
  .proof-label a, .facts dd a, .section-lede a, .faq-list details p a, .form-alt a {
    padding-block: 0.85rem;
  }
}

/* ---------- scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .chip.reveal.in:hover { transform: translateY(-3px) rotate(-0.4deg); }
@media (min-width: 1080px) {
  .js .chips .chip.reveal:nth-child(3n+2) { transform: translateY(46px); }
  .js .chips .chip.reveal.in:nth-child(3n+2) { transform: translateY(28px); }
  .js .chips .chip.reveal.in:nth-child(3n+2):hover { transform: translateY(25px) rotate(-0.4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .stroke::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .g-btn img, .phone-chip { transition: none; }
}

/* Footer legal line: the Open·Civ link gets a 44px-tall tap target from padding, without changing the line's height */
footer a.oc-link { display: inline-block; padding: 12px 0; margin: -12px 0; min-height: 44px; }
footer .oc-nw { white-space: nowrap; }
