/* ==========================================================================
   Good Guy Gunny — Precision Cleaning
   Palette derived from the logo: black, khaki, lime green.
   Environment runs cool (blue-slate) for "clean"; lime is reserved for action.
   ========================================================================== */

:root {
  --paper:     #F1F5F8;
  --surface:   #FFFFFF;
  --surface-2: #E4EBF0;
  --deep:      #0D1B26;
  --onyx:      #353839;
  --lime:      #46D42F;
  --water:     #1E88C7;
  --water-ink: #135E85;
  --khaki-ink: #7A5F33;
  --muted:     #4E6472;
  --line:      rgba(13, 27, 38, 0.1);

  --wrap: 1180px;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-anchor: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  position: relative;
  background: var(--paper);
  color: var(--onyx);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }

/* keep content above the drifting droplet layer */
.site-header, main > section, .site-footer { position: relative; z-index: 1; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--deep); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--water-ink);
}
.sub { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.stars { color: #C77700; letter-spacing: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  padding: 12px 22px; border: 2px solid transparent; border-radius: 6px; cursor: pointer;
  min-height: 44px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-primary { background: var(--lime); color: var(--onyx); text-transform: uppercase; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(70, 212, 47, 0.42); }
.btn-ghost { background: transparent; color: var(--onyx); border-color: rgba(13, 27, 38, 0.22); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--deep); }
.btn-onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-onDark:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(241, 245, 248, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 220ms ease, background 220ms ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 27, 38, 0.1); background: rgba(241, 245, 248, 0.98); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 10px; }

/* Large on arrival so the name registers for anyone who came from a yard
   sign or decal, then shrinks on scroll so the sticky bar stays slim. */
.logo { display: flex; align-items: center; }
.logo img {
  height: 122px; width: auto; border-radius: 6px;
  transition: height 240ms ease;
}
.site-header.is-scrolled .logo img { height: 62px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.nav-cta) { position: relative; font-size: 15px; font-weight: 500; padding: 6px 0; }
.nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--lime); transition: width 220ms ease;
}
.nav > a:not(.nav-cta):hover::after { width: 100%; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--deep); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: 76px 88px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before {
  top: -220px; right: -180px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(30, 136, 199, 0.16) 0%, rgba(30, 136, 199, 0) 68%);
}
.hero::after {
  bottom: -260px; left: -200px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(70, 212, 47, 0.1) 0%, rgba(70, 212, 47, 0) 68%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 0.97; margin: 16px 0 20px; }
.hero h1 em { font-style: normal; color: var(--water-ink); }
.lede { font-size: 17px; line-height: 1.62; color: var(--muted); max-width: 47ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-proof { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }

.hero-media { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 3.15; object-fit: cover; object-position: center 58%;
  border-radius: 20px; box-shadow: 0 26px 60px rgba(13, 27, 38, 0.26);
}
/* certification-style seal, sits over the photo's open right side */
.hero-seal {
  position: absolute; right: -22px; bottom: -22px;
  width: 146px; height: 146px; border-radius: 50%;
  background: var(--deep);
  border: 2px solid var(--lime);
  box-shadow: 0 18px 44px rgba(13, 27, 38, 0.38), inset 0 0 0 5px var(--deep), inset 0 0 0 6px rgba(70, 212, 47, 0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center;
}
.seal-years { font-family: var(--display); font-size: 46px; line-height: 0.9; color: var(--lime); }
.seal-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(241, 245, 248, 0.88); line-height: 1.45;
}
.seal-stars { font-size: 9px; letter-spacing: 1.5px; color: var(--lime); margin-top: 2px; }

/* water droplets — the "clean" ambiance, drifting behind the whole page */
.drops { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.drop {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  animation-delay: var(--d);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9) 0%, rgba(30,136,199,0.22) 52%, rgba(30,136,199,0.08) 78%, rgba(30,136,199,0.14) 100%);
  box-shadow: inset 0 -3px 8px rgba(255, 255, 255, 0.5), inset 0 2px 6px rgba(30, 136, 199, 0.18);
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50%      { transform: translateY(-22px) scale(1.05); opacity: 1; }
}

/* ---------- stats ---------- */
.stats { background: var(--deep); padding-block: 52px; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, rgba(30, 136, 199, 0.3) 0%, rgba(30, 136, 199, 0) 62%);
}
.stats-inner { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat-num { font-family: var(--display); font-size: clamp(38px, 5vw, 54px); line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(241, 245, 248, 0.68); margin-top: 10px; }

/* ---------- seasonal band ---------- */
.season[hidden] { display: none; }
.season { padding-inline: 32px; }
/* Light frame. A photographic light strand, tiled seamlessly around all four
   sides and baked to a PNG with a 75px transparent inset (see frame builder).
   The banner sits in normal flow inside the frame's padding and drives the
   height; the PNG stretches to whatever box results. Two frames exist -- a
   wide one and a tall one -- swapped at the breakpoint so the stretch stays
   mild. Bulb glows are positioned in %, so they stay aligned either way. */
.season-frame {
  position: relative;
  margin-top: 56px;
  padding: 37px;
}
.season-slot   { position: relative; z-index: 1; }
.season-lights { position: absolute; inset: 0; width: 100%; height: 100%;
                 z-index: 3; pointer-events: none; }

/* one glow per bulb, each on its own randomised cycle (built in main.js) */
.season-twinkle { position: absolute; inset: 0; z-index: 4; pointer-events: none;
                  mix-blend-mode: screen; }
.season-twinkle i {
  position: absolute; height: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side,
    rgba(var(--c), .95) 0%, rgba(var(--c), .55) 26%,
    rgba(var(--c), .18) 52%, rgba(var(--c), 0) 78%);
  animation: twinkle var(--d) ease-in-out var(--dl) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: var(--lo); }
  45%      { opacity: 1; }
  62%      { opacity: .92; }
}
@media (prefers-reduced-motion: reduce) {
  .season-twinkle i { animation: none; opacity: .8; }
}

.season-inner {
  position: relative;
  border-radius: 14px; overflow: hidden; background: #0B2230;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  padding: 0;
}
.season-copy { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.season-flag {
  font-size: 15px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--lime); color: var(--onyx); padding: 10px 20px; border-radius: 6px;
}
.season h2 { font-size: 36px; line-height: 1.02; color: #fff; }
.season p { font-size: 15px; line-height: 1.6; color: rgba(241, 245, 248, 0.76); max-width: 42ch; }
.season-photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

/* ---------- services ---------- */
.services { padding-block: 88px 92px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.02; margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.card {
  background: var(--surface); border: 1px solid rgba(13, 27, 38, 0.09); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--water);
  box-shadow: 0 26px 52px rgba(30, 136, 199, 0.24);
}
.card-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.card:hover .card-media img { transform: scale(1.06); }
/* glass sheen sweep */
.card-media::after {
  content: ""; position: absolute; top: -60%; left: -75%; width: 45%; height: 220%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(14deg); pointer-events: none;
  transition: left 750ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover .card-media::after { left: 130%; }
.stock-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(13, 27, 38, 0.6); backdrop-filter: blur(4px);
  padding: 4px 8px; border-radius: 3px;
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.card h3 { font-size: 22px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--muted); flex-grow: 1; }
.card-link {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--water-ink); display: inline-flex; align-items: center; gap: 6px;
  transition: gap 170ms ease;
}
.card:hover .card-link { gap: 11px; }
.services-more { display: flex; justify-content: center; margin-top: 42px; }

/* ---------- before / after ---------- */
.ba { background: var(--surface-2); padding-block: 88px; }
.ba-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
.ba h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.02; margin-top: 10px; }
.ba-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 54px rgba(13, 27, 38, 0.22);
  user-select: none; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 14px rgba(0,0,0,0.42); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--onyx);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.34);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 3;
  opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; background: transparent;
}
.ba-tag {
  position: absolute; bottom: 14px; pointer-events: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(13, 27, 38, 0.72); padding: 6px 12px; border-radius: 4px;
}
.ba-tag-l { left: 14px; }
.ba-tag-r { right: 14px; }

/* ---------- testimonials ---------- */
.testimonials { padding-block: 88px; }
.trust-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 42px; }
.chip {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid rgba(13, 27, 38, 0.11); color: var(--muted);
}
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: var(--muted); margin-top: 14px; }
.rating-summary strong { color: var(--onyx); font-weight: 700; }

.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .t-card,
.carousel-track > .work-photo {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel-controls[hidden] { display: none; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid rgba(13, 27, 38, 0.16); color: var(--onyx);
  display: flex; align-items: center; justify-content: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-status { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 92px; text-align: center; }

.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.t-card {
  margin: 0; background: var(--surface); border-radius: 16px; padding: 26px;
  border-top: 4px solid var(--lime); box-shadow: 0 2px 10px rgba(13, 27, 38, 0.05);
  display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(13, 27, 38, 0.13); }
.t-card .stars { margin-bottom: 12px; }
.t-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; }
.t-card blockquote::before { content: '\201C'; }
.t-card blockquote::after  { content: '\201D'; }
.t-card figcaption { display: flex; flex-direction: column; gap: 3px; }
.t-name { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--water-ink); }
.t-meta { font-size: 12px; color: var(--muted); }

/* ---------- estimate form ---------- */
.estimate { padding-block: 90px; }
.estimate-inner { max-width: 720px; }
.estimate .section-head { max-width: 560px; }
.estimate-phone-link { color: var(--water-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.estimate-form { margin-top: 44px; }
.form-hp { position: absolute; left: -9999px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.form-field { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--onyx); margin-bottom: 7px;
}
.form-label span[aria-hidden] { color: var(--water-ink); margin-left: 2px; }
.form-label-optional::after { content: " (optional)"; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.form-input {
  width: 100%; font: 400 15px/1.4 var(--body); color: var(--onyx);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 12px 14px; min-height: 44px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-input:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px rgba(30, 136, 199, 0.15); }
.form-input:invalid:not(:placeholder-shown):not(:focus) { border-color: var(--water); }
.form-textarea { resize: vertical; min-height: 96px; }

.form-fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.form-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin-top: 4px; }
.form-check {
  display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--onyx);
  cursor: pointer; padding: 4px 0;
}
.form-check input { width: 18px; height: 18px; accent-color: var(--water); flex-shrink: 0; cursor: pointer; }
.form-error-text { color: #B23A3A; font-size: 13px; margin-top: 8px; }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
}
.form-status.is-success { background: rgba(70, 212, 47, 0.14); color: #1F6B12; }
.form-status.is-error { background: rgba(178, 58, 58, 0.1); color: #8C2A2A; }

@media (max-width: 640px) {
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .form-checks { grid-template-columns: 1fr 1fr; }
}

/* ---------- cta ---------- */
.cta { background: var(--deep); padding-block: 84px; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 136, 199, 0.34) 0%, rgba(30, 136, 199, 0) 60%);
}
.cta-inner { position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.02; margin-bottom: 14px; }
.cta h2 em { font-style: normal; color: var(--lime); }
.cta p { color: rgba(241, 245, 248, 0.74); margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
/* Stylized San Antonio road map behind the footer — the two loops, the
   interstates through them, and the river. Faded well back so the text
   stays the thing you read. */
.site-footer { padding-block: 58px 34px; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/sa-map.svg") center / cover no-repeat;
  opacity: 0.13;
  pointer-events: none;
}
.site-footer > .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(13, 27, 38, 0.12); }
.footer-map {
  width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px;
  filter: grayscale(0.15);
}
.footer-logo { height: 62px; width: auto; margin-bottom: 14px; border-radius: 4px; }
.site-footer h3 { font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p, .footer-list li, .footer-list a { font-size: 14px; color: var(--muted); line-height: 1.85; }
.footer-list a:hover { color: var(--water-ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 600px) {
  /* tighten the top of the homepage and keep the eyebrow to a single line */
  .hero { padding-block: 20px 56px; }
  .hero .eyebrow { display: block; white-space: nowrap; font-size: clamp(9.5px, 2.9vw, 12px); letter-spacing: 0.08em; }
  .hero h1 { margin-top: 10px; }
}

@media (max-width: 900px) {
  .wrap { padding-inline: 20px; }
  .season { padding-inline: 20px; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    box-shadow: 0 16px 32px rgba(13, 27, 38, 0.14);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; }

  .hero-inner, .ba-grid, .season-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .grid, .t-grid { grid-template-columns: 1fr; }
  .carousel-track > .t-card, .carousel-track > .work-photo { flex: 0 0 85%; }
  .logo img { height: 72px; }
  .site-header.is-scrolled .logo img { height: 52px; }
  .season-frame { padding: 26px; }
  .season-copy { padding: 30px 24px; }
  .season-flag { font-size: 13px; padding: 9px 16px; }
  .stats-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-badge { left: auto; right: 12px; bottom: -14px; }
  .season-photo { min-height: 220px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid, .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track > .t-card, .carousel-track > .work-photo { flex: 0 0 calc((100% - 24px) / 2); }
}

/* ---------- service pages ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 22px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin-inline: 7px; opacity: .55; }

.svc-kicker {
  display: block; font: 400 15px/1 var(--display); letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--onyx); margin-bottom: 10px;
}
.svc-hero { padding-block: 34px 66px; }
.svc-hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: center; }
.svc-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1; margin-block: 10px 18px; }
.svc-hero h1 em { font-style: normal; color: var(--water-ink); }
.svc-lede { font-size: 17px; line-height: 1.62; color: var(--muted); margin-bottom: 26px; }
.svc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
/* Fixed ratio so every service hero photo reads as the same size regardless
   of the source image's native orientation -- portrait shots get cropped to
   this box via object-fit, never stretched or shown tall. */
.svc-shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(13, 27, 38, .22); aspect-ratio: 4 / 3.15; }
.svc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-chips { justify-content: flex-start; margin-bottom: 0; }
.svc-hero-inner.solo { grid-template-columns: 1fr; max-width: 760px; }
.svc-shot { position: relative; }

/* index card with no photo */
.card-plain .card-body { padding: 26px; }
.card-plain h3 { margin-bottom: 8px; }

/* A soft tint down the body so a long service page is not flat paper the
   whole way, and the reading column sits on something. */
.svc-body {
  padding-block: 62px;
  background: linear-gradient(180deg, var(--paper) 0%, #E9EFF4 45%, var(--paper) 100%);
}
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.08; margin-bottom: 14px; }
/* Subheads drop the Anton caps -- a dozen blocky uppercase headings down one
   column is what made these pages read as heavy and dark. Body font, bold and
   black, still separates cleanly from the grey paragraph text. */
.prose h3 {
  font-family: var(--body); font-size: 17px; font-weight: 700;
  text-transform: none; letter-spacing: 0.01em;
  color: var(--onyx); margin-bottom: 8px;
}
.prose p { line-height: 1.68; color: var(--muted); margin-bottom: 18px; }
.prose > * + h2 { margin-top: 44px; }
.prose > * + h3 { margin-top: 28px; }

/* FAQ sits in its own panel so the tail of the page has a shape to it */
.prose.faq {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px 38px;
  box-shadow: 0 2px 14px rgba(13, 27, 38, 0.05);
}
.prose.faq h2 { margin-bottom: 18px; }
.prose.faq > * + h3 { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose.faq p:last-child { margin-bottom: 0; }

/* placeholder tiles for a service's "past jobs" carousel, before real photos exist */
/* Same vertical rhythm as the prose h2 sections above and below it (44px),
   so "Our Work" reads as one more section in the flow, not a bolted-on block. */
.work-gallery { margin-block: 44px; }
.work-gallery .eyebrow, .work-gallery h2 { text-align: center; }
.work-gallery h2 { font-size: clamp(24px, 3vw, 30px); margin: 8px 0 26px; }
.work-photo {
  margin: 0; aspect-ratio: 4 / 3.15; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 20px), var(--deep);
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 14px;
}
.work-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-tag { color: var(--lime); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.ph-cap { color: rgba(241, 245, 248, 0.65); font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.step-n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--water); color: #fff; font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 17px; margin: 4px 0 0; color: var(--onyx); }
.step p { font-size: 14px; line-height: 1.58; color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .svc-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .steps, .steps.steps-3 { grid-template-columns: 1fr; }
}

/* services index: blue titles with a fine dark edge, dark supporting detail */
.card-plain h3 {
  color: var(--onyx); transition: color 170ms ease;
  position: relative; padding-bottom: 12px;
}
.card-plain h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; border-radius: 2px; background: var(--water);
  transition: width 220ms ease;
}
.card-plain:hover h3 { color: var(--water); }
.card-plain:hover h3::after { width: 64px; }
.card-plain p { color: var(--onyx); }
.card-plain .card-link { color: var(--water); }

/* service icons on the services index cards */
.svc-icon-wrap {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--deep); color: var(--lime);
  margin-bottom: 16px;
}
.svc-icon { width: 30px; height: 30px; }
.card-plain:hover .svc-icon-wrap { background: var(--water-ink); color: #fff; }
.svc-icon-wrap { transition: background 220ms ease, color 220ms ease; }
