/* ==========================================================================
   Bonilla Comfort Air LLC — Option 2 ("Editorial")
   Warm, photo-led and human. Fraunces (serif) + Inter, Bonilla blue/red,
   a heat-map story told beside real-life photography, sections that open,
   wipe and drift as you scroll.
   ========================================================================== */

:root {
  --cream: #f6f1e9;
  --cream-2: #ece4d6;
  --paper: #fffdf9;
  --ink: #13203a;
  --ink-2: #3b465c;
  --muted: #6e7586;
  --line: rgba(19, 32, 58, 0.12);
  --blue: #004aad;
  --blue-soft: #e6eef9;
  --red: #e0161c;
  --red-dark: #b80f14;
  --red-soft: #fcebea;
  --grad: linear-gradient(90deg, #1d4f9c, #86aee3 28%, #ece4d6 50%, #f39a9c 72%, #d0262b);
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1280px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow: 0 2px 6px rgba(19, 32, 58, 0.06), 0 24px 48px -24px rgba(19, 32, 58, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--ink); }
h3 { font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow, .kicker { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 1.1em; }

/* Reveals */
.wd { display: inline-block; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.reveal-ready .reveal-type:not(.in) .wd, .reveal-ready .page-title:not(.in) .wd { opacity: 0; transform: translateY(0.4em); }
.reveal-ready [data-reveal]:not(.reveal-type) { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-ready [data-reveal]:not(.reveal-type):not(.in) { opacity: 0; transform: translateY(24px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap; font: 600 15.5px/1 var(--sans); transition: background 0.25s, transform 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-1px); }
.btn-hot { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(224, 22, 28, 0.7); }
.btn-hot:hover { background: var(--red-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue); }
.btn-lg { padding: 18px 30px; font-size: 16.5px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255, 253, 249, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: transform 0.45s var(--ease), border-color 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* the header never hides, so in-page jumps land below it */
[id] { scroll-margin-top: 96px; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; max-width: 1440px; }
.brand { margin-right: auto; display: inline-block; }
.brand .logo { height: 44px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-call { padding: 12px 18px; font-size: 14.5px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 10px 16px; border-radius: 999px; font: 600 14px var(--sans); cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-call .call-long { display: none; }
  .mobile-nav.is-open { display: block; position: fixed; inset: 76px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: var(--shadow); }
  .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
  .mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 26px var(--serif); }
}
@media (max-width: 400px) { .brand .logo { height: 34px; } .header-inner { gap: 10px; } }

/* ==========================================================================
   HOME — Hero: full-bleed home photo that shrinks into a framed card
   ========================================================================== */
.hero2 { position: relative; background: var(--cream); }
.hero2-stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero2-frame { position: absolute; inset: 0; overflow: hidden; }
.hero2-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero2-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 34, 0.78) 0%, rgba(10, 18, 34, 0.45) 42%, rgba(10, 18, 34, 0.05) 75%), linear-gradient(0deg, rgba(10, 18, 34, 0.45), transparent 40%); opacity: var(--scrim, 1); }
.hero2-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 10vh, 110px); max-width: 820px; color: #fff; }
.hero2-copy .eyebrow { color: #ffb3b5; }
.hero2-copy h1 { color: #fff; font-size: clamp(44px, 6.2vw, 100px); line-height: 0.98; letter-spacing: -0.025em; }
.hero2-lede { font-size: clamp(17px, 1.4vw, 21px); color: rgba(255, 255, 255, 0.86); max-width: 52ch; }
.hero2-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.hero2-hint { font-size: 14.5px; color: rgba(255, 255, 255, 0.75); }

/* ==========================================================================
   HOME — Story: life on the left, heat map on the right
   ========================================================================== */
.story { position: relative; background: var(--cream); }
.photo-panel { position: relative; }
.ph, .ph-scrim, .map-panel { display: none; }
.chapters { padding: 80px var(--gutter); display: grid; gap: 56px; max-width: 760px; }
.heat-type { font-size: clamp(30px, 3vw, 50px); line-height: 1.04; }
.ch-p { color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); max-width: 46ch; }
.ch-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.themes { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.themes li { font-size: 15px; border-left: 2px solid var(--red); padding-left: 12px; }
.sources { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; font-weight: 600; }
.sources a { text-underline-offset: 4px; }

.story.live { height: 1000vh; }
.story.live .stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 42vw 1fr; overflow: hidden; }
.story.live .photo-panel { height: 100%; overflow: hidden; background: var(--ink); }
.story.live .ph { display: block; position: absolute; inset: 0; margin: 0; z-index: 3; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1); }
.story.live .ph.past { z-index: 1; clip-path: inset(0); }
.story.live .ph.on { z-index: 2; clip-path: inset(0); }
.story.live .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.story.live .ph.on img { transform: scale(1); }
.story.live .ph-scrim { display: block; position: absolute; inset: 0; z-index: 4; background: linear-gradient(0deg, rgba(10, 18, 34, 0.86) 0%, rgba(10, 18, 34, 0.55) 38%, rgba(10, 18, 34, 0) 70%); pointer-events: none; }
.story.live .chapters { position: absolute; z-index: 5; left: clamp(24px, 3vw, 48px); right: clamp(24px, 3vw, 48px); bottom: clamp(36px, 7vh, 72px); padding: 0; max-width: none; display: grid; gap: 0; }
.story.live .chapter { grid-area: 1 / 1; align-self: end; visibility: hidden; color: #fff; transition: visibility 0s linear 0.6s; }
.story.live .chapter.on { visibility: visible; transition-delay: 0s; }
.story.live .chapter h2 { color: #fff; }
.story.live .chapter .kicker { color: #ffb3b5; }
.story.live .ch-p, .story.live .themes li { color: rgba(255, 255, 255, 0.86); }
.story.live .themes b, .story.live .sources a { color: #fff; }
.story.live .chapter > * { opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), filter 0.45s var(--ease); }
/* the chapter you scrolled past drifts up and out while the next one rises in */
.story.live .chapter.past > * { transform: translateY(-22px); }
.story.live .chapter.on > * { opacity: 1; transform: none; filter: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); transition-delay: 0.3s; }
.story.live .chapter.on > :nth-child(2) { transition-delay: 0.4s; }
.story.live .chapter.on > :nth-child(3) { transition-delay: 0.5s; }
.story.live .chapter.on > :nth-child(4) { transition-delay: 0.6s; }

.story.live .map-panel { display: block; position: relative; height: 100%; }
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-size: 13px; color: var(--muted); }
.hud-top { position: absolute; top: 100px; left: 36px; right: 36px; display: flex; gap: 14px; align-items: center; }
.hud-mode { font: italic 400 18px var(--serif); color: var(--ink); }
.hud-season { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; color: var(--ink-2); font-weight: 600; }
.hud-ch { margin-left: auto; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hud-read { position: absolute; top: 146px; right: 92px; display: grid; gap: 3px; min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.hud-l { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.hud-t b { font: 400 clamp(38px, 3.4vw, 54px)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.hud-t i { font-style: normal; font-size: 16px; color: var(--muted); margin-left: 3px; vertical-align: top; }
.hud-s { font-size: 13.5px; font-weight: 600; color: var(--blue); }
.hud-o { font-size: 13px; }
.hud-scale { position: absolute; right: 30px; top: 56%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; }
.thermo { width: clamp(34px, 2.6vw, 44px); height: auto; overflow: visible; }
.thermo [data-merc] { transition: y 0.15s linear, height 0.15s linear; }
.hud-ticks { position: absolute; left: 36px; right: 92px; bottom: 28px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: 500; }
.hud-ticks li { border-top: 2px solid var(--cream-2); padding-top: 8px; color: var(--muted); transition: color 0.3s, border-color 0.3s; }
.hud-ticks li.done { border-color: #c8b9a4; }
.hud-ticks li.on { border-color: var(--red); color: var(--ink); font-weight: 600; }
.annots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.annot { position: absolute; left: 0; top: 0; width: 226px; padding: 12px 14px; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; will-change: transform, opacity; }
.annot b { display: block; font: 500 17px var(--serif); color: var(--ink); margin-bottom: 2px; }
.annot span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 1100px) { .story.live .themes { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 1099px) { .annots { display: none !important; } }

@media (max-width: 899px) {
  .story.live .stage { grid-template-columns: 1fr; grid-template-rows: 50% 50%; }
  .story.live .chapters { left: 18px; right: 18px; bottom: 18px; }
  .heat-type { font-size: clamp(24px, 6.6vw, 32px); }
  .story.live .ch-p { font-size: 14.5px; margin-bottom: 0.4em; }
  .story.live .chapter[data-ch="6"] .ch-p { display: none; }
  .story.live .themes li { font-size: 13px; }
  .chapter .kicker { margin-bottom: 0.5em; font-size: 11px; }
  .hud-top { top: 14px; left: 16px; right: 16px; }
  .hud-mode { font-size: 15px; }
  .hud-read { top: 50px; right: 16px; min-width: 0; padding: 10px 12px; border-radius: 12px; }
  .hud-t b { font-size: 28px; }
  .hud-o, .hud-l { display: none; }
  .hud-scale { display: none; }
  .hud-ticks { left: 16px; right: 16px; bottom: 12px; gap: 4px; }
  .hud-ticks li { font-size: 0; padding-top: 0; }
}

/* ==========================================================================
   Section transitions
   ========================================================================== */
.wipe { will-change: clip-path; }
.parallax { position: relative; overflow: hidden; isolation: isolate; }
.parallax-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.parallax-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }

/* HOME — services as photo cards */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.svc2 { background: var(--paper); padding: clamp(90px, 12vw, 160px) 0; }
.svc2-head { display: grid; gap: 4px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.svc2-head h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; margin: 0; }
.svc2-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.svc2-grid li { grid-column: span 2; }
.svc2-grid li:nth-child(-n+2) { grid-column: span 3; }
.svc2-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--cream); border-radius: 22px; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.svc2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc2-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.svc2-grid li:nth-child(-n+2) .svc2-img { aspect-ratio: 16 / 9; }
.svc2-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc2-card:hover .svc2-img img { transform: scale(1.06); }
.svc2-body { display: grid; gap: 6px; padding: 22px 24px 24px; }
.svc2-name { font: 400 clamp(24px, 2vw, 30px)/1.1 var(--serif); color: var(--ink); }
.svc2-card:hover .svc2-name { color: var(--blue); }
.svc2-desc { color: var(--muted); font-size: 15.5px; }
.svc2-curve { width: 100%; height: 46px; margin-top: 8px; overflow: visible; }
.svc2-curve .curve { fill: none; stroke: url(#ironV); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 800; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) 0.2s; vector-effect: non-scaling-stroke; }
.reveal-ready .svc2-card:not(.in) .curve { stroke-dashoffset: 800; }
.svc2-delta { font-size: 13.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .svc2-grid { grid-template-columns: 1fr 1fr; } .svc2-grid li, .svc2-grid li:nth-child(-n+2) { grid-column: span 1; } }
@media (max-width: 620px) { .svc2-grid { grid-template-columns: 1fr; } }


/* HOME — Thermostat dial */
.dial-sec { position: relative; height: 300vh; background: var(--cream); }
.dial-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.dial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dial { position: relative; width: min(36vw, 62vh, 460px); aspect-ratio: 1; justify-self: center; background: var(--paper); border-radius: 50%; box-shadow: var(--shadow); }
.dial-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 225deg, #1d4f9c 0deg, #86aee3 70deg, #ece4d6 135deg, #f39a9c 200deg, #d0262b 270deg, transparent 270.5deg); -webkit-mask: radial-gradient(circle, transparent 59%, #000 59.5%, #000 63%, transparent 63.5%); mask: radial-gradient(circle, transparent 59%, #000 59.5%, #000 63%, transparent 63.5%); }
.dial-ticks { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial-ticks .mn { stroke: #d6cbbb; stroke-width: 2; }
.dial-ticks .mj { stroke: var(--ink); stroke-width: 2.5; }
.dial-ticks text { fill: var(--ink); font: 500 17px var(--serif); text-anchor: middle; dominant-baseline: central; }
.dial-needle { position: absolute; inset: 0; }
.dial-needle i { position: absolute; left: 50%; top: 9%; width: 4px; height: 41%; margin-left: -2px; background: var(--red); border-radius: 2px; }
.dial-center { position: absolute; inset: 34%; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); }
.dial-num { font: 400 clamp(40px, 4.4vw, 66px)/1 var(--serif); color: var(--blue); font-variant-numeric: tabular-nums; }
.dial-cap { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px; }
.dial-copy h2 { font-size: clamp(34px, 3.6vw, 56px); }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); opacity: 0.35; transition: opacity 0.4s; }
.step.on { opacity: 1; }
.step-n { font: 400 18px var(--serif); color: var(--red); padding-top: 2px; }
.step h3 { font-size: clamp(21px, 1.7vw, 26px); margin-bottom: 0.15em; }
.step p { margin: 0; color: var(--ink-2); }
.step a { color: var(--blue); font-weight: 600; }
@media (max-width: 899px) {
  .dial-sec { height: auto; padding: 88px 0; }
  .dial-stage { position: relative; height: auto; display: block; }
  .dial-grid { grid-template-columns: 1fr; }
  .dial { display: none; }
  .step { opacity: 1; }
}

/* FAQ */
.faq { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.faq-wrap { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 64px; }
.faq-wrap h2 { font-size: clamp(34px, 3.6vw, 56px); }
.faq-photo { margin: 28px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; padding: 24px 0; font: 400 clamp(19px, 1.6vw, 24px)/1.3 var(--serif); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; } /* question as a heading, same look */
.faq-item summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 400 18px/1 var(--sans); color: var(--red); transition: transform 0.3s var(--ease), background 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--red-soft); }
.faq-a { padding: 0 0 24px; max-width: 72ch; color: var(--ink-2); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 12px; } .faq-photo { display: none; } }
/* Two-column FAQ: each column is its own stack, so opening one answer never leaves a gap in the other */
.faq-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.faq-head h2 { font-size: clamp(34px, 3.6vw, 56px); margin: 0; max-width: 16ch; }
.faq-head-p { margin: 0; max-width: 44ch; color: var(--ink-2); }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.faq-cols .faq-a { max-width: none; }
@media (max-width: 860px) { .faq-cols { grid-template-columns: 1fr; } .faq-cols .faq-list + .faq-list { border-top: 0; } }
/* FAQ page */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.faq-jump a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background 0.25s, border-color 0.25s; }
.faq-jump a:hover { background: var(--cream); border-color: var(--ink); }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 80px); }
.faq-group h2 { font-size: clamp(28px, 2.6vw, 40px); margin: 0 0 18px; }
.faq-more { margin-top: clamp(40px, 5vw, 64px); font-size: 18px; }

/* Final call over the Indianapolis skyline */
.final { min-height: 92vh; display: flex; align-items: center; padding: 120px 0; color: #fff; }
.final .parallax-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 34, 0.55), rgba(10, 18, 34, 0.86)); }
.final-copy { position: relative; }
.final .eyebrow { color: #ffb3b5; }
.final h2 { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); color: rgba(255, 255, 255, 0.9); }
.big-phone { display: inline-block; text-decoration: none; margin: 0.08em 0 0.3em; font: 400 clamp(54px, 10vw, 168px)/1 var(--serif); letter-spacing: -0.03em; color: #fff; transition: color 0.3s; }
.big-phone:hover { color: #ffb3b5; }
.final p { color: rgba(255, 255, 255, 0.85); max-width: 54ch; }
.text-link { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* ==========================================================================
   Subpages
   ========================================================================== */
/* Subpage hero: the photo (or a row of job photos) fills the full width behind the words */
.sub-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(540px, 80vh, 780px); padding: 150px 0 clamp(56px, 7vw, 96px); overflow: hidden; background: var(--ink); color: #fff; }
.sub-hero-grid { display: block; }
.sub-hero-copy { max-width: 720px; }
.sub-hero .page-title { color: #fff; }
.sub-hero .lede { color: rgba(255, 255, 255, 0.88); }
.sub-hero .crumbs ol, .sub-hero .crumbs a { color: rgba(255, 255, 255, 0.72); }
.sub-hero .crumbs a:hover { color: #fff; }
.page-title { font-size: clamp(40px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 50ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.sub-hero-media { position: absolute; inset: 0; z-index: -1; }
.sub-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 34, 0.86) 0%, rgba(11, 18, 34, 0.62) 38%, rgba(11, 18, 34, 0.18) 72%, rgba(11, 18, 34, 0.05) 100%),
    linear-gradient(0deg, rgba(11, 18, 34, 0.6) 0%, transparent 45%),
    linear-gradient(180deg, rgba(11, 18, 34, 0.35) 0%, transparent 22%); }
.sub-photo { position: absolute; inset: 0; margin: 0; overflow: hidden; animation: hero-fade 1.2s var(--ease) both; }
.sub-photo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out both; }
/* A row of job photos across the full width (Services, About, Our work) */
.sub-mosaic { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; background: var(--ink); animation: none; }
.sub-tile { position: relative; overflow: hidden; animation: tile-in 1.1s var(--ease) both; }
.sub-tile:nth-child(2) { animation-delay: 0.1s; } .sub-tile:nth-child(3) { animation-delay: 0.2s; } .sub-tile:nth-child(4) { animation-delay: 0.3s; }
.sub-tile img, .sub-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sub-tile img { animation: kenburns 14s ease-out both; }
.sub-photo-right img { object-position: 70% 40%; }
.sub-photo-top img { object-position: 60% 12%; }
.sub-map { position: absolute; left: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); border: 4px solid var(--paper); animation: card-in 1.2s 0.35s var(--ease) both; }
.sub-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sub-map-l { position: absolute; top: 10px; left: 12px; font: italic 400 15px var(--serif); color: var(--ink); }
.th-scale { position: absolute; left: 12px; right: 12px; bottom: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 11px; font-weight: 600; color: var(--muted); pointer-events: none; }
.th-scale i { height: 5px; border-radius: 3px; background: var(--grad); }
@keyframes photo-in { from { clip-path: inset(12% 0 0 0 round 26px); opacity: 0; } to { clip-path: inset(0 round 26px); opacity: 1; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tile-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (max-width: 899px) {
  .sub-hero { min-height: clamp(540px, 88svh, 720px); padding: 120px 0 44px; }
  .sub-hero-media::after { background:
    linear-gradient(0deg, rgba(11, 18, 34, 0.92) 0%, rgba(11, 18, 34, 0.7) 45%, rgba(11, 18, 34, 0.25) 75%, rgba(11, 18, 34, 0.4) 100%); }
  .sub-tile:nth-child(n + 3) { display: none; }
  .sub-map { width: 64%; }
}

.paper { background: var(--paper); color: var(--ink); }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(28px, 2.6vw, 40px); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .sms-script { margin: 1em 0 1.5em; padding: 18px 22px; border-left: 3px solid var(--red); background: rgba(0, 0, 0, 0.035); border-radius: 0 8px 8px 0; }
.prose .sms-script p:last-child { margin-bottom: 0; }

.symptoms { list-style: none; padding: 0; margin: 1.2em 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.symptoms li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin: 0; background: var(--cream); border-radius: 14px; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.4; }
.symptoms li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--red); }
.symptoms.cool li::before { background: var(--blue); }
@media (max-width: 620px) { .symptoms { grid-template-columns: 1fr; } }

.numbered { list-style: none; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 52px; margin-bottom: 18px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--red); font: 400 18px/34px var(--serif); text-align: center; }

.callout { border-left: 3px solid var(--red); background: var(--red-soft); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 1.6em 0; }
.callout strong { display: block; font: 500 20px var(--serif); color: var(--red-dark); margin-bottom: 4px; }
.callout p { margin: 0; color: #5b1416 !important; }
.callout.info { border-color: var(--blue); background: var(--blue-soft); }
.callout.info strong { color: var(--blue); }
.callout.info p { color: #12305e !important; }

.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: 16px; background: var(--cream); }
.match { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.match th, .match td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.match th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.match tr:last-child td { border-bottom: 0; }
.match td:last-child { font-weight: 600; color: var(--blue); }

.side-card { position: sticky; top: 100px; background: var(--ink); color: #fff; padding: 30px; border-radius: 22px; overflow: hidden; }
.side-card h2 { font: 600 12.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #ffb3b5; margin-bottom: 0.8em; }
.side-card p { color: #c9d3e3; font-size: 15.5px; }
.side-card .phone { display: block; font: 400 36px/1 var(--serif); text-decoration: none; margin: 4px 0 18px; color: #fff; }
.side-card .btn { width: 100%; }
.side-card small { display: block; margin-top: 14px; color: #9fadc4; font-size: 13px; line-height: 1.5; }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .side-card { position: relative; top: 0; } }

.card-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card-link { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px; border-radius: 20px; background: var(--cream); text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link .num { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.card-link .name { font: 400 26px/1.1 var(--serif); color: var(--ink); }
.card-link:hover .name { color: var(--blue); }
.card-link .desc { font-size: 15px; color: var(--muted); }

.source-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.4em 0; }
.source-card { padding: 22px; border-radius: 16px; background: var(--cream); display: flex; flex-direction: column; gap: 6px; }
.source-card h3 { margin: 0; font-size: 24px; }
.source-card p { margin: 0; font-size: 15px; }
@media (max-width: 620px) { .source-cards { grid-template-columns: 1fr; } }
/* Live Google reviews (only on the page once GOOGLE_PLACES is configured in build.py) */
.g-reviews { margin: 0 0 2.4em; min-height: 1px; }
.g-reviews.is-loading { min-height: 220px; border-radius: 16px; background: linear-gradient(90deg, var(--cream) 0%, var(--cream-2) 50%, var(--cream) 100%); background-size: 200% 100%; animation: g-shimmer 1.4s linear infinite; }
@keyframes g-shimmer { to { background-position: -200% 0; } }
.g-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.g-head h2 { margin: 0; }
.g-summary { margin: 0; font-weight: 600; }
.g-stars { color: #f2a516; letter-spacing: 1px; }
.g-list { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.g-card { padding: 20px 22px; border-radius: 16px; background: var(--cream); }
.g-who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.g-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.g-name { font-weight: 600; color: var(--ink); }
.g-line { font-size: 13.5px; color: var(--muted); }
.g-text { margin: 0; font-size: 16px; white-space: pre-line; }
.g-foot, .g-note { font-size: 14px; color: var(--muted); margin-top: 1em; }
@media (prefers-reduced-motion: reduce) { .g-reviews.is-loading { animation: none; } }

.form { display: grid; gap: 16px; background: var(--cream); border-radius: 20px; padding: clamp(20px, 3vw, 34px); margin-top: 1.2em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field input, .field select, .field textarea { font: 16px var(--sans); padding: 13px 14px; border: 1px solid #d8cdbd; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9a9083; opacity: 1; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-status:not(:empty) { padding: 14px 16px; background: var(--blue-soft); color: #12305e; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; font-weight: 600; margin: 0; }
.form-status.is-error { background: var(--red-soft); color: #5b1416; border-left-color: var(--red); }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: 0.6; cursor: progress; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Contact page: business details and map on the left, the form on the right */
.contact-section { padding: clamp(64px, 8vw, 110px) 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "info form" "map form"; gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { grid-area: info; }
.contact-map { grid-area: map; }
.contact-form { grid-area: form; margin-top: 0; }
.contact-info-title { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 0.3em; }
.contact-info-intro { color: var(--ink-2); margin: 0 0 22px; }
.contact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 600 12.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list dd { margin: 0; color: var(--ink-2); }
.contact-list address { font-style: normal; }
.contact-phone { display: block; font: 400 30px/1.1 var(--serif); color: var(--ink); text-decoration: none; margin-bottom: 4px; }
.contact-phone:hover { color: var(--red); }
.contact-list dd span { display: block; font-size: 14.5px; color: var(--muted); }
.contact-map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); aspect-ratio: 4 / 3; }
.contact-map iframe { display: block; width: 100%; height: 100%; }
.form-title { font-size: clamp(24px, 2.2vw, 32px); margin: 0; }
.field .optional { font-weight: 400; color: var(--muted); }
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "form" "map"; }
}
@media (max-width: 480px) {
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
  .contact-form { margin-top: 0; }
}
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* CTA band (photo) */
.cta-band { color: #fff; padding: clamp(80px, 11vw, 140px) 0; }
.cta-band .parallax-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 34, 0.88), rgba(10, 18, 34, 0.6)); }
.cta-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 3.6vw, 54px); color: #fff; margin: 0 0 0.3em; }
.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 48ch; }
.cta-phone { font: 400 clamp(40px, 5vw, 76px)/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; color: #fff; transition: color 0.3s; }
.cta-phone:hover { color: #ffb3b5; }

/* Footer */
.site-footer { background: var(--cream); padding: 0 0 28px; }
.scale-strip { height: 4px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.8fr 1.4fr; gap: 40px; padding-top: clamp(56px, 6vw, 84px); }
.map-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream-2); }
.map-frame iframe { display: block; width: 100%; height: 100%; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-map { grid-column: 1 / -1; } .map-frame { aspect-ratio: 16 / 7; } }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: clamp(86px, 8vw, 116px); width: auto; }
.footer-brand p { color: var(--ink-2); max-width: 42ch; font-size: 15.5px; }
.footer-phone { font: 400 26px var(--serif); text-decoration: none; color: var(--ink); }
.footer-h { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer nav a { text-decoration: none; color: var(--ink-2); font-size: 15.5px; }
.site-footer nav a:hover { color: var(--blue); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer .footer-legal a { color: var(--muted); font-size: 13.5px; text-decoration: none; }
.site-footer .footer-legal a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .map-frame { aspect-ratio: 4 / 3; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}

/* HOME — photo-led "Getting service" steps (replaces the dial) */
.steps-sec { background: var(--cream); }
.step-photos { position: relative; width: 100%; max-width: 620px; aspect-ratio: 4 / 4.6; max-height: 76vh; justify-self: center; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.sp { position: absolute; inset: 0; margin: 0; z-index: 3; clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(0.7, 0, 0.2, 1); }
.sp.past { z-index: 1; clip-path: inset(0); }
.sp.on { z-index: 2; clip-path: inset(0); }
.sp img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 6s ease-out; }
.sp.on img { transform: scale(1); }
.sp-count { position: absolute; z-index: 4; left: 18px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 253, 249, 0.92); font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sp-count b { font: 400 18px var(--serif); color: var(--red); }
@media (max-width: 899px) {
  .step-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: auto; max-height: none; background: none; box-shadow: none; border-radius: 18px; margin-bottom: 28px; }
  .sp { position: relative; clip-path: none !important; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
  .sp img { transform: none !important; }
  .sp-count { display: none; }
}

/* Footer address above the map */
.footer-address { font-style: normal; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0 0 14px; }

/* ==========================================================================
   Services: "five moments" photo accordion (home + services hub)
   ========================================================================== */
.svc3-sec { background: var(--paper); padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.svc3-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.svc3-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.svc3-head h2 { font-size: clamp(38px, 4.8vw, 76px); line-height: 1; margin: 0; }
.svc3-intro { color: var(--ink-2); max-width: 40ch; margin: 0; font-size: 17.5px; }
.svc3-title { font-size: clamp(32px, 3.6vw, 52px); margin: 0 0 clamp(24px, 3vw, 40px); }
.svc3-nav { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.svc3 { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; height: min(78vh, 720px); min-height: 520px; }
.svc3-item { flex: 1 1 0; min-width: 0; transition: flex-grow 0.8s var(--ease); }
.svc3-item.is-active { flex-grow: 4.4; }
.svc3-card { position: relative; display: block; height: 100%; border-radius: 28px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.svc3-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.14); transition: transform 1.4s var(--ease), filter 0.8s; filter: saturate(0.75); }
.svc3-item.is-active .svc3-card img { transform: scale(1); filter: saturate(1); }
.svc3-shade { position: absolute; inset: 0; z-index: -1; transition: opacity 0.8s var(--ease); }
.tone-warm .svc3-shade { background: linear-gradient(0deg, rgba(120, 14, 18, 0.88), rgba(208, 38, 43, 0.32) 55%, rgba(208, 38, 43, 0.12)); }
.tone-cold .svc3-shade { background: linear-gradient(0deg, rgba(10, 34, 82, 0.9), rgba(29, 79, 156, 0.38) 55%, rgba(29, 79, 156, 0.12)); }
.tone-ink .svc3-shade { background: linear-gradient(0deg, rgba(13, 22, 40, 0.9), rgba(19, 32, 58, 0.35) 55%, rgba(19, 32, 58, 0.1)); }
.tone-sand .svc3-shade { background: linear-gradient(0deg, rgba(64, 40, 20, 0.88), rgba(120, 82, 46, 0.32) 55%, rgba(120, 82, 46, 0.1)); }
.tone-cool .svc3-shade { background: linear-gradient(0deg, rgba(12, 52, 92, 0.88), rgba(80, 140, 200, 0.3) 55%, rgba(80, 140, 200, 0.08)); }
.svc3-spine { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font: 400 clamp(20px, 1.7vw, 26px)/1 var(--serif); white-space: nowrap; transition: opacity 0.4s var(--ease); }
.svc3-item.is-active .svc3-spine { opacity: 0; }
.svc3-body { position: absolute; left: clamp(22px, 2.6vw, 40px); right: clamp(22px, 2.6vw, 40px); bottom: clamp(22px, 2.6vw, 40px); display: grid; gap: 8px; max-width: 520px; opacity: 0; transform: translateY(18px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.svc3-item.is-active .svc3-body { opacity: 1; transform: none; transition-delay: 0.25s; }
.svc3-scene { font: italic 400 clamp(17px, 1.4vw, 21px)/1.3 var(--serif); color: rgba(255, 255, 255, 0.86); }
.svc3-name { font: 400 clamp(32px, 3.2vw, 52px)/1.02 var(--serif); letter-spacing: -0.02em; }
.svc3-desc { color: rgba(255, 255, 255, 0.86); font-size: 16px; max-width: 42ch; }
.svc3-go { justify-self: start; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 253, 249, 0.95); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.svc3-card:hover .svc3-go, .svc3-card:focus-visible .svc3-go { background: #fff; color: var(--red); }
@media (max-width: 899px) {
  .svc3-head { grid-template-columns: 1fr; }
  .svc3 { flex-direction: column; height: auto; min-height: 0; gap: 14px; }
  .svc3-item, .svc3-item.is-active { flex: none; }
  .svc3-card { height: auto; aspect-ratio: 4 / 4.2; border-radius: 22px; }
  .svc3-card img { transform: none; filter: none; }
  .svc3-spine { display: none; }
  .svc3-body { opacity: 1; transform: none; }
}

/* Inline human photography inside subpage content */
.story-fig { position: relative; margin: 2.4em 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.story-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story-fig:hover img { transform: scale(1.03); }
.story-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(0deg, rgba(10, 18, 34, 0.78), transparent); color: #fff; font: italic 400 clamp(19px, 1.7vw, 25px)/1.3 var(--serif); }

/* Call card with a photo */
.side-card { padding-top: 0; }
.side-photo { display: block; width: calc(100% + 60px); height: auto; max-width: none; margin: 0 -30px 22px; aspect-ratio: 16 / 10; object-fit: cover; }

/* Editorial lists instead of bullets and circled numbers */
.numbered li { padding-left: 92px; }
.numbered li::before { content: "And"; width: auto; height: auto; background: none; border-radius: 0; top: 0; font: italic 400 19px/1.4 var(--serif); color: var(--red); text-align: left; }
.numbered li:nth-child(1)::before { content: "First"; }
.numbered li:nth-child(2)::before { content: "Then"; }
.numbered li:nth-child(3)::before { content: "Finally"; }
.numbered li:nth-child(4)::before { content: "Also"; }
.symptoms li { background: transparent; border-radius: 0; border-top: 1px solid var(--line); padding: 16px 4px 14px 0; font: 400 19px/1.35 var(--serif); }
.symptoms li::before { content: "\201C"; width: auto; height: auto; margin: -4px 4px 0 0; background: none; border-radius: 0; font: 400 34px/1 var(--serif); color: var(--red); }
.symptoms.cool li::before { color: var(--blue); background: none; }

/* Steps: words, not numbers */
.step { grid-template-columns: 92px 1fr; }
.step-n { font: italic 400 19px var(--serif); }
.sp-count b { font: italic 400 18px var(--serif); }

/* ==========================================================================
   Site-wide contact CTA (before every footer)
   ========================================================================== */
.cta-global { padding: clamp(96px, 12vw, 160px) 0; color: #fff; }
.cta-global .parallax-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 34, 0.9), rgba(10, 18, 34, 0.68) 60%, rgba(10, 18, 34, 0.5)); }
.cta-global-grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.cta-global .eyebrow { color: #ffb3b5; }
.cta-global h2 { color: #fff; font-size: clamp(38px, 5vw, 80px); line-height: 1; max-width: 14ch; }
.cta-global-copy > p { color: rgba(255, 255, 255, 0.85); max-width: 46ch; font-size: clamp(16px, 1.25vw, 19px); }
.cta-global-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.cta-global .cta-phone { font: italic 400 clamp(20px, 1.8vw, 26px) var(--serif); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: border-color 0.3s; }
.cta-global .cta-phone:hover { border-color: #fff; }
.cta-portrait { margin: 0; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); transform: rotate(2deg); }
.cta-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.cta-portrait figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--ink); font: italic 400 16px var(--serif); }
@media (max-width: 899px) {
  .cta-global-grid { grid-template-columns: 1fr; }
  .cta-portrait { aspect-ratio: 4 / 3; transform: none; max-width: 520px; }
}

/* ==========================================================================
   Mobile menu: full screen, centred, generously spaced
   ========================================================================== */
.mobile-nav { display: none; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 980px) {
  .mobile-nav.is-open { display: flex; position: fixed; inset: 0; z-index: 49; height: 100vh; height: 100dvh; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 6vh, 56px); padding: 96px 24px max(32px, env(safe-area-inset-bottom)); background: var(--cream); border: 0; box-shadow: none; text-align: center; overflow-y: auto; }
  .mobile-nav nav { width: 100%; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(6px, 2.2vh, 22px); }
  .mobile-nav li { opacity: 0; transform: translateY(16px); animation: menu-in 0.55s var(--ease) forwards; }
  .mobile-nav li:nth-child(2) { animation-delay: 0.05s; }
  .mobile-nav li:nth-child(3) { animation-delay: 0.1s; }
  .mobile-nav li:nth-child(4) { animation-delay: 0.15s; }
  .mobile-nav li:nth-child(5) { animation-delay: 0.2s; }
  .mobile-nav li:nth-child(6) { animation-delay: 0.25s; }
  .mobile-nav a { display: inline-block; padding: 6px 12px; border: 0; text-decoration: none; font: 400 clamp(34px, 9.5vw, 48px)/1.1 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
  .mobile-nav a[aria-current="page"] { color: var(--red); font-style: italic; }
  .mobile-nav-foot { display: grid; justify-items: center; gap: 12px; opacity: 0; animation: menu-in 0.55s 0.3s var(--ease) forwards; }
  .mobile-nav-foot .btn { color: #fff; font: 600 16px var(--sans); padding: 16px 28px; }
  .mobile-nav-foot p { margin: 0; color: var(--muted); font-size: 14px; }
  html.menu-open .site-header { background: var(--cream); border-bottom-color: transparent; }
}
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Services board: five moments as tabs, each panel filled edge to edge with a real job's photos
   (homepage "Five moments" section and /services/; markup from jobs.services_board)
   ========================================================================== */
.tone-warm { --accent: #d0262b; } .tone-cold { --accent: #1d4f9c; } .tone-ink { --accent: #13203a; } .tone-sand { --accent: #9a5b22; } .tone-cool { --accent: #2f7fbf; }
.svc4-sec .svc3-head { margin-bottom: clamp(20px, 2.4vw, 36px); }
.svc4-sec { padding-bottom: clamp(60px, 7vw, 100px); }

.svc5 { display: grid; grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
.svc5-tabs { display: flex; flex-direction: column; gap: 6px; }
.svc5-tab { position: relative; flex: 1 1 0; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 2px 14px; text-align: left; padding: 14px 18px 16px; border: 0; border-radius: 18px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; overflow: hidden; transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.svc5-tab:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.svc5-tab.is-active { background: var(--paper); box-shadow: var(--shadow); }
.svc5-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc5-num { grid-row: 1 / span 2; align-self: center; font: 400 15px/1 var(--serif); color: var(--accent); opacity: 0.55; transition: opacity 0.3s; }
.svc5-moment { font: italic 400 15px/1.3 var(--serif); color: var(--accent); }
.svc5-tname { font: 600 16.5px/1.25 var(--sans); color: var(--ink-2); transition: color 0.3s; }
.svc5-tab.is-active .svc5-num { opacity: 1; }
.svc5-tab.is-active .svc5-tname { color: var(--ink); }
.svc5-bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 14%, transparent); opacity: 0; overflow: hidden; }
.svc5-bar span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.svc5-tab.is-active .svc5-bar { opacity: 1; }
.svc5:not(.is-auto) .svc5-tab.is-active .svc5-bar span { transform: scaleX(1); transition: transform 0.5s var(--ease); }
.svc5.is-auto .svc5-tab.is-active .svc5-bar span { animation: svc5-fill 7s linear forwards; }
.svc5.is-auto.is-paused .svc5-tab.is-active .svc5-bar span { animation-play-state: paused; }
@keyframes svc5-fill { to { transform: scaleX(1); } }

.svc5-stage { display: grid; gap: 18px; min-width: 0; }
.svc5.is-ready .svc5-stage { gap: 0; }
.svc5.is-ready .svc5-panel { grid-area: 1 / 1; }
.svc5-panel { position: relative; display: flex; align-items: center; min-height: clamp(480px, 66vh, 600px); padding: clamp(32px, 4vw, 60px) clamp(28px, 4vw, 60px) 84px; border-radius: 30px; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.svc5.is-ready .svc5-panel { opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.svc5.is-ready .svc5-panel.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }

/* The photos are the background: two side by side, each a full-height strip */
.svc5-bg { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink); }
.svc5-shot { position: relative; overflow: hidden; }
.svc5-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease); }
.svc5-panel.is-active .svc5-shot img { transform: scale(1); }
.svc5-back img { filter: saturate(0.85); }
/* Tinted fade so the words stay readable over the left photo; the right photo stays clear */
.svc5-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 38%, #0b1222) 0%, color-mix(in srgb, color-mix(in srgb, var(--accent) 38%, #0b1222) 84%, transparent) 34%, color-mix(in srgb, color-mix(in srgb, var(--accent) 38%, #0b1222) 30%, transparent) 54%, transparent 70%),
    linear-gradient(0deg, rgba(11, 18, 34, 0.55), transparent 26%); }
.svc5-label { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--ink); font: 600 12px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.svc5-front .svc5-label { background: var(--accent); color: #fff; }

.svc5-copy { position: relative; display: grid; gap: 10px; justify-items: start; max-width: min(27rem, 50%); text-shadow: 0 1px 18px rgba(0, 0, 0, 0.25); }
.svc5-scene { margin: 0; font: italic 400 clamp(18px, 1.5vw, 22px)/1.3 var(--serif); color: rgba(255, 255, 255, 0.88); }
.svc5-name { margin: 0; font: 400 clamp(36px, 3.7vw, 58px)/1.02 var(--serif); letter-spacing: -0.025em; color: #fff; }
.svc5-desc { margin: 4px 0 0; color: rgba(255, 255, 255, 0.86); font-size: 17px; max-width: 34ch; }
.svc5-go { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; text-shadow: none; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.svc5-go::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.svc5-go:hover { background: var(--accent); color: #fff; }
.svc5-go:hover::after { transform: translateX(4px); }
.svc5-credit { position: absolute; right: 18px; bottom: 18px; display: inline-grid; gap: 1px; max-width: calc(50% - 30px); padding: 9px 16px; border-radius: 14px; background: rgba(255, 253, 249, 0.94); color: var(--ink); font-size: 14px; line-height: 1.25; text-decoration: none; text-align: right; backdrop-filter: blur(6px); transition: background-color 0.3s, color 0.3s; }
.svc5-credit span { font: italic 400 12.5px var(--serif); color: var(--accent); }
.svc5-credit:hover { background: var(--ink); color: #fff; }
.svc5-credit:hover span { color: rgba(255, 255, 255, 0.75); }
.svc5.is-ready .svc5-panel .svc5-copy > * { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.svc5.is-ready .svc5-panel:not(.is-active) .svc5-copy > * { opacity: 0; transform: translateY(14px); }
.svc5.is-ready .svc5-panel.is-active .svc5-copy > :nth-child(2) { transition-delay: 0.06s; }
.svc5.is-ready .svc5-panel.is-active .svc5-copy > :nth-child(3) { transition-delay: 0.12s; }
.svc5.is-ready .svc5-panel.is-active .svc5-copy > :nth-child(4) { transition-delay: 0.18s; }

.svc5-short { display: none; }
@media (max-width: 899px) {
  .svc5 { grid-template-columns: 1fr; gap: 16px; }
  /* All five services visible at once as pills */
  .svc5-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .svc5-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, var(--paper)); box-shadow: none; }
  .svc5-tab.is-active { background: var(--accent); box-shadow: 0 10px 20px -12px var(--accent); }
  .svc5-moment, .svc5-tname { display: none; }
  .svc5-short { display: inline; font: 600 14.5px/1.2 var(--sans); color: var(--ink); }
  .svc5-num { font-size: 13px; opacity: 0.8; }
  .svc5-tab.is-active .svc5-short, .svc5-tab.is-active .svc5-num { color: #fff; opacity: 1; }
  .svc5-bar { left: 14px; right: 14px; bottom: 5px; background: rgba(255, 255, 255, 0.3); }
  .svc5-bar span { background: #fff; }
  /* Photo on top, words below on the service's color */
  .svc5-panel { display: grid; align-items: start; min-height: 0; padding: 0; border-radius: 24px; container-type: inline-size;
    background: color-mix(in srgb, var(--accent) 38%, #0b1222); }
  .svc5-panel::before { display: none; }
  .svc5-bg { position: relative; inset: auto; z-index: 0; grid-template-columns: 1fr; aspect-ratio: 4 / 3; }
  .svc5-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, color-mix(in srgb, var(--accent) 38%, #0b1222), transparent); pointer-events: none; }
  .svc5-back { display: none; }
  .svc5-label { top: 14px; right: auto; left: 14px; }
  .svc5-copy { max-width: none; gap: 8px; padding: 18px 22px 26px; text-shadow: none; }
  .svc5-name { font-size: clamp(30px, 8.5vw, 40px); }
  .svc5-desc { font-size: 16px; }
  .svc5-go { margin-top: 8px; }
  .svc5-credit { top: calc(75cqw - 58px); right: auto; left: 14px; bottom: auto; max-width: calc(100% - 28px); font-size: 13px; padding: 7px 13px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .svc5-panel, .svc5-tab, .svc5-shot img, .svc5-copy > * { transition: none !important; }
}

/* Hero: keep the technician's hands in frame on narrow screens */
@media (max-width: 760px) { .hero2-frame img { object-position: 74% center; } }

/* ==========================================================================
   Story as film: full-bleed footage scrubbed by the scroll
   ========================================================================== */
.reel, .reel-shade, .reel-grain, .tstat, .reel-ticks, .reel-load { display: none; }
.story.live { height: 900vh; background: #0b1220; }
.story.live .stage { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b1220; grid-template-columns: none; grid-template-rows: none; }
.story.live .reel { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.story.live .reel { overflow: hidden; background: #0b1220; }
.reel-layer { position: absolute; inset: 0; visibility: hidden; opacity: 0; will-change: opacity, transform; }
.reel-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story.live .reel-shade { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 14, 28, 0.82) 0%, rgba(8, 14, 28, 0.5) 34%, rgba(8, 14, 28, 0) 62%),
    linear-gradient(0deg, rgba(8, 14, 28, 0.7) 0%, rgba(8, 14, 28, 0) 34%),
    radial-gradient(120% 90% at 60% 45%, transparent 55%, rgba(0, 0, 0, 0.45) 100%); }
/* Colour temperature of the room: a warm cast when it's hot, a cool one when it's cold */
.story.live .stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(135deg, rgba(255, 110, 60, calc(var(--warmth, 0.4) * 0.4)), rgba(70, 130, 255, calc((1 - var(--warmth, 0.4)) * 0.4))); }
.story.live .reel-grain { display: block; position: absolute; inset: -50%; z-index: 3; pointer-events: none; opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); } 50% { transform: translate(5%, -7%); } 75% { transform: translate(-3%, -4%); } 100% { transform: translate(4%, 6%); } }

.story.live .chapters { position: absolute; z-index: 5; left: var(--gutter); right: auto; bottom: clamp(84px, 13vh, 130px); width: min(620px, calc(100% - 2 * var(--gutter))); padding: 0; display: grid; gap: 0; }
.story.live .chapter h2 { font-size: clamp(36px, 4.4vw, 68px); line-height: 1.02; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.story.live .chapter .ch-p { font-size: clamp(16px, 1.2vw, 18.5px); max-width: 48ch; }
.story.live .themes { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; }

/* Thermostat readout */
.story.live .tstat { display: grid; position: absolute; z-index: 5; top: clamp(92px, 13vh, 130px); right: var(--gutter); width: 210px; gap: 2px; padding: 16px 18px 15px; border-radius: 22px;
  background: rgba(10, 16, 30, 0.58); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5); }
.tstat-top { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 8px; }
.tstat-l { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.tstat-t b { font: 300 64px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.tstat-t i { font-style: normal; font-size: 18px; vertical-align: top; margin-left: 2px; color: rgba(255, 255, 255, 0.75); }
.tstat-s { font-size: 13px; font-weight: 600; margin-top: 4px; color: color-mix(in srgb, #ff8a7a calc(var(--warmth, 0.4) * 100%), #8fc1ff); }
.tstat-o { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); padding-top: 8px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.18); }

/* Chapter progress */
.story.live .reel-ticks { display: grid; position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 28px; grid-template-columns: repeat(8, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: 500; }
.reel-ticks li { border-top: 2px solid rgba(255, 255, 255, 0.22); padding-top: 8px; color: rgba(255, 255, 255, 0.5); transition: color 0.3s, border-color 0.3s; }
.reel-ticks li.done { border-color: rgba(255, 255, 255, 0.55); }
.reel-ticks li.on { border-color: var(--red); color: #fff; font-weight: 600; }
.story.live .reel-load { display: block; position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.reel-load span { display: block; height: 100%; background: rgba(255, 255, 255, 0.5); transform-origin: left; transform: scaleX(0); transition: transform 0.4s, opacity 0.6s; }

@media (max-width: 899px) {
  .story.live { height: 800vh; }
  .story.live .reel-shade { background: linear-gradient(0deg, rgba(8, 14, 28, 0.92) 0%, rgba(8, 14, 28, 0.6) 42%, rgba(8, 14, 28, 0) 70%), linear-gradient(180deg, rgba(8, 14, 28, 0.45), transparent 22%); }
  .story.live .chapters { left: 18px; width: calc(100% - 36px); bottom: 54px; }
  .story.live .chapter h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .story.live .tstat { top: 84px; right: 16px; width: auto; min-width: 136px; padding: 11px 14px; border-radius: 16px; }
  .tstat-t b { font-size: 40px; }
  .tstat-top { margin-bottom: 4px; font-size: 10.5px; gap: 10px; }
  .tstat-o, .tstat-l { display: none; }
  .story.live .reel-ticks { left: 18px; right: 18px; bottom: 22px; gap: 4px; }
  .reel-ticks li { font-size: 0; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .story.live .reel-grain { animation: none; } }

/* ==========================================================================
   Subpages: short looping clip overlapping the hero photo
   ========================================================================== */
.sub-clip { position: absolute; left: 0; bottom: 0; width: 56%; aspect-ratio: 16 / 10; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); border: 4px solid var(--paper); animation: card-in 1.2s 0.35s var(--ease) both; }
.sub-clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-clip figcaption { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--ink); font: italic 400 14.5px var(--serif); }
.sub-clip figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.25; } }
@media (max-width: 899px) { .sub-clip { width: 64%; } }
@media (prefers-reduced-motion: reduce) { .sub-clip figcaption::before { animation: none; } }

/* ==========================================================================
   404: the overheated thermostat
   ========================================================================== */
.nf { background: var(--cream); padding: 140px 0 110px; overflow: hidden; }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.nf .page-title { font-size: clamp(42px, 5.4vw, 84px); line-height: 1; margin: 0 0 0.35em; }
.nf .lede { max-width: 46ch; }
.nf .btn.is-nudge { animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(224, 22, 28, 0.45); } 50% { transform: translateY(-2px); box-shadow: 0 0 0 10px rgba(224, 22, 28, 0); } }

.nf-quip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: italic 400 clamp(17px, 1.4vw, 20px)/1.3 var(--serif); color: var(--ink-2); box-shadow: 0 10px 24px -16px rgba(19, 32, 58, 0.35); }
.nf-quip::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224, 22, 28, 0.18); }
.nf-quip b { font: 600 15px var(--sans); font-style: normal; color: var(--ink); }

.nf-device { display: grid; justify-items: center; gap: 22px; }
.nf-tstat { --hot: #e0161c; --cold: #2f7fbf; position: relative; width: min(420px, 82vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #efe9df 70%); box-shadow: 0 40px 80px -30px rgba(19, 32, 58, 0.45), inset 0 -8px 20px rgba(19, 32, 58, 0.08); }
.nf-ring { position: absolute; inset: 7%; border-radius: 50%;
  background: conic-gradient(from 220deg, color-mix(in srgb, var(--hot) calc(var(--heat) * 100%), var(--cold)) 0deg calc(var(--heat) * 280deg), rgba(19, 32, 58, 0.08) calc(var(--heat) * 280deg) 280deg, transparent 280deg);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 64%); mask: radial-gradient(circle, transparent 63%, #000 64%); transition: filter 0.4s; }
.nf-tstat::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 calc(var(--heat) * 90px) calc(var(--heat) * 6px) color-mix(in srgb, var(--hot) calc(var(--heat) * 100%), var(--cold)); opacity: calc(max(0, var(--heat) - 0.5) * 1.2); }
.nf-face { position: absolute; inset: 22%; border-radius: 50%; background: #13203a; color: #fff; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; box-shadow: inset 0 6px 24px rgba(0, 0, 0, 0.4); }
.nf-mode { font: 600 11.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, #ff8a7a calc(var(--heat) * 100%), #8fc1ff); }
.nf-temp b { font: 300 clamp(58px, 8vw, 92px)/1 var(--serif); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.nf-temp i { font-style: normal; font-size: 20px; vertical-align: top; color: rgba(255, 255, 255, 0.7); }
.nf-set { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.nf-tstat:not(.is-comfy) .nf-temp b { animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { 50% { text-shadow: 0 0 calc(var(--heat) * 18px) rgba(255, 120, 90, calc(var(--heat) - 0.4)); } }
.nf-status { margin: 0; max-width: 34ch; min-height: 3em; text-align: center; font: italic 400 20px/1.4 var(--serif); color: var(--ink); }
@media (max-width: 899px) {
  .nf { padding: 112px 0 72px; }
  .nf-grid { grid-template-columns: 1fr; }
  .nf-device { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .nf .btn.is-nudge, .nf-tstat .nf-temp b { animation: none; } }

/* ==========================================================================
   Completed jobs: real photos from Bonilla Comfort Air (jobs.py)
   ========================================================================== */
/* Shared card */
.job-card[hidden] { display: none; }
.job-card { list-style: none; margin: 0; }
.job-link { display: flex; flex-direction: column; gap: 14px; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.job-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--cream-2); box-shadow: 0 1px 2px rgba(19, 32, 58, 0.06); }
.job-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.job-link:hover .job-img img, .job-link:focus-visible .job-img img { transform: scale(1.05); }
.job-count { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--ink); font: 600 12px/1.3 var(--sans); letter-spacing: 0.02em; }
.job-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(224, 22, 28, 0.92); box-shadow: 0 10px 30px -8px rgba(224, 22, 28, 0.7); }
.job-play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.job-body { display: grid; gap: 4px; }
.job-tags { font: 600 11.5px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.job-title { font: 400 clamp(20px, 1.6vw, 24px)/1.15 var(--serif); color: var(--ink); }
.job-link:hover .job-title { color: var(--blue); }
.job-note { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Home: a rail of recent jobs */
.jobs-home { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.jobs-home-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.jobs-home-head h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; margin: 0; max-width: 14ch; }
.jobs-home-intro { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); max-width: 44ch; margin: 0; }
.jobs-rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 6px 0 14px; cursor: grab; outline: none;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding-left: var(--edge); }
.jobs-track { display: flex; gap: clamp(14px, 1.6vw, 22px); list-style: none; margin: 0; padding: 0 var(--edge); width: max-content; }
.jobs-track .job-card { width: clamp(240px, 23vw, 330px); scroll-snap-align: start; }
.jobs-home-foot { margin-top: clamp(20px, 2.4vw, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.jobs-rail::-webkit-scrollbar { display: none; }
.jobs-rail:focus-visible { box-shadow: inset 0 0 0 2px var(--red); }
.jobs-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.jobs-rail.is-dragging a { pointer-events: none; }
.jobs-rail img { -webkit-user-drag: none; user-select: none; }
/* Arrows and a progress bar under the strip, so sideways scrolling is obvious and easy */
.rail-ctrl { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; max-width: 560px; }
.rail-progress { position: relative; flex: 1 1 auto; height: 3px; margin-right: 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail-progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 3px; background: var(--ink); transition: transform 0.15s linear; }
.rail-btn { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s, transform 0.25s var(--ease); }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.rail-btn:active:not(:disabled) { transform: scale(0.94); }
.rail-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rail-btn:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 760px) { .rail-ctrl { flex-basis: 100%; } .rail-btn { width: 46px; height: 46px; } }
@media (max-width: 760px) { .jobs-home-head { grid-template-columns: 1fr; } .jobs-track .job-card { width: 72vw; } }

/* Service pages and About: three related jobs inside the prose column */
.jobs-inline { margin: 2.4em 0; }
.jobs-inline h2 { margin-top: 0 !important; }
.jobs-mini { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jobs-mini .job-link { gap: 10px; }
.jobs-mini .job-img { border-radius: 16px; }
.jobs-mini .job-title { font-size: 18px; }
.jobs-mini .job-tags { font-size: 10.5px; }
.prose .jobs-mini a { color: inherit; font-weight: 400; }
.prose .jobs-mini li { margin: 0; }
.jobs-more { font-size: 15.5px; }
@media (max-width: 620px) {
  .jobs-mini { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .jobs-mini .job-card { flex: 0 0 62vw; scroll-snap-align: start; }
}

/* Subpage heroes: real footage and stills in place of stock */
.sub-photo-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-clip.sub-still { width: 40%; aspect-ratio: 3 / 4; }
.sub-clip.sub-still img { width: 100%; height: 100%; object-fit: cover; }
.sub-clip.sub-still figcaption::before { animation: none; }
@media (max-width: 899px) { .sub-clip.sub-still { width: 42%; } }

/* /projects/: filters and grid */
.jobs-head { display: grid; gap: 6px; margin-bottom: 28px; max-width: 760px; }
.jobs-head h2 { font-size: clamp(32px, 3.6vw, 56px); margin: 0; }
.jobs-head p { color: var(--ink-2); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 3vw, 44px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 14.5px/1 var(--sans); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip span { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: #9fadc4; }
.jobs-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.jobs-more-wrap { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }
.jobs-more-wrap .btn[hidden] { display: none; }

/* Photo viewer */
.lightbox { width: min(1240px, calc(100vw - 32px)); max-width: none; height: min(860px, calc(100vh - 32px)); height: min(860px, calc(100dvh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 24px; background: #0c1526; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 14, 28, 0.82); backdrop-filter: blur(4px); }
.lb-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; height: 100%; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; background: #070d19; }
.lb-stage { overflow: hidden; }
.lb-media { position: absolute; inset: 20px; }
.lb-fig { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.lb-fig img, .lb-fig video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lb-label { position: absolute; left: 14px; top: 14px; padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff; font: 600 13px var(--sans); letter-spacing: 0.04em; }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 253, 249, 0.92); color: var(--ink); font: 600 20px/1 var(--sans); cursor: pointer; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6); }
.lb-nav:hover { background: #fff; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-side { padding: 64px 28px 28px; overflow-y: auto; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.lb-tags { font: 600 11.5px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #ffb3b5; margin: 0 0 10px; }
.lb-title { color: #fff; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin: 0 0 12px; }
.lb-note { color: #c9d3e3; font-size: 15.5px; }
.lb-count { color: #9fadc4; font-size: 13.5px; margin: 18px 0 10px; font-variant-numeric: tabular-nums; }
.lb-thumbs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lb-thumbs button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #1a2538; cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.lb-thumbs button:hover { opacity: 0.9; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-close { position: absolute; right: 16px; top: 16px; z-index: 2; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: rgba(12, 21, 38, 0.7); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.lb-close:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) {
  .lightbox { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .lb-inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lb-media { inset: 60px 10px 10px; }
  .lb-side { padding: 18px 16px 22px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); max-height: 40vh; }
  .lb-title { font-size: 24px; }
  .lb-thumbs { grid-template-columns: repeat(6, 1fr); }
  .lb-nav { width: 42px; height: 42px; margin-top: -21px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ==========================================================================
   Phone polish: stacked tables, a two-column job gallery, and finger-sized tap targets
   ========================================================================== */
@media (max-width: 640px) {
  /* "Not sure which one you need?": each row becomes a small card instead of a table you scroll sideways */
  .table-wrap { overflow: visible; background: transparent; border-radius: 0; }
  .match { min-width: 0; }
  .match thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .match, .match tbody, .match tr, .match td { display: block; }
  .match tr { padding: 14px 16px; margin-bottom: 8px; border-radius: 14px; background: var(--cream); }
  .match td { padding: 0; border: 0; }
  .match td:last-child { margin-top: 6px; }
  .match td:last-child::before { content: "\2192\00a0"; color: var(--red); }

  /* Our work: two columns of smaller cards; the full story opens in the viewer */
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .jobs-grid .job-note { display: none; }
  .jobs-grid .job-img { border-radius: 14px; }
  .jobs-grid .job-title { font-size: 17px; }
  .jobs-grid .job-tags { font-size: 11px; letter-spacing: 0.08em; }
  .jobs-grid .job-count { font-size: 11.5px; }
  .chips { gap: 8px; }

  /* Tap targets at least ~44px tall */
  .brand { padding: 5px 0; }
  .cta-global .cta-phone { display: inline-block; padding: 10px 0; }
  .footer-phone { display: inline-block; padding: 6px 0; }
  .side-card .phone { padding: 4px 0; }
  .jobs-more { display: inline-block; padding: 10px 0; }
  .source-card a { display: inline-block; padding: 8px 0; }
}
/* Service-page job strips: swipe without a visible scrollbar */
@media (max-width: 620px) {
  .jobs-mini { scrollbar-width: none; scroll-padding-left: 0; }
  .jobs-mini::-webkit-scrollbar { display: none; }
}

/* Phones: single-photo heroes show the photo whole at the top, with the words below it */
@media (max-width: 899px) {
  .sub-hero--photo { display: block; min-height: 0; padding: 76px 0 44px; }
  .sub-hero--photo .sub-hero-grid { display: flex; flex-direction: column; }
  .sub-hero--photo .sub-hero-media { position: relative; inset: auto; order: -1; z-index: 0; aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1) -36px; }
  .sub-hero--photo .sub-hero-media::after { inset: 0 0 -2px; background: linear-gradient(0deg, var(--ink) 0%, var(--ink) 3px, rgba(19, 32, 58, 0.55) 22%, rgba(19, 32, 58, 0) 50%); }
  .sub-hero--photo .sub-hero-copy { position: relative; }
  .sub-hero--photo .crumbs ol { margin-bottom: 14px; }
}
/* Phones: the two calls to action side by side */
@media (max-width: 640px) {
  .cta-global-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-global-actions .btn { padding: 15px 12px; font-size: 15px; }
  .cta-global .cta-phone { display: flex; align-items: center; justify-content: center; padding: 15px 12px; border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 999px; font: 600 15px/1 var(--sans); white-space: nowrap; }
  .cta-global .cta-phone:hover { background: #fff; color: var(--ink); }
  .cta-or { display: none; }
}

/* Phones: button rows ("Five moments" tabs, Our work filters) sit on one line and swipe sideways,
   and the "Five moments" panel is shorter so the section fits in about one screen */
@media (max-width: 899px) {
  .svc5-tabs, .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 36px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 36px), transparent); }
  .svc5-tabs::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  .svc5-tab, .chip { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
  .chip { min-height: 42px; }

  .svc4-sec { padding: 64px 0 52px; }
  .svc4-sec .svc3-head { gap: 10px; margin-bottom: 16px; }
  .svc3-intro { font-size: 16px; }
  .svc5 { gap: 12px; }
  .svc5-bg { aspect-ratio: 16 / 10; }
  .svc5-credit { top: calc(62.5cqw - 54px); }
  .svc5-copy { gap: 6px; padding: 14px 20px 22px; }
  .svc5-scene { font-size: 16px; }
  .svc5-name { font-size: clamp(28px, 7.6vw, 34px); }
  .svc5-desc { font-size: 15.5px; margin-top: 2px; }
  .svc5-go { margin-top: 10px; padding: 12px 20px; }

  .jobs-head { margin-bottom: 14px; }
  .jobs-head p { font-size: 16px; margin-top: 6px; }
  .chips { margin-bottom: 22px; }
}

/* Phones: a before/after job keeps both photos side by side, each with its label */
@media (max-width: 899px) {
  .svc5-panel.is-pair .svc5-bg { grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; }
  .svc5-panel.is-pair .svc5-back { display: block; }
  .svc5-panel.is-pair .svc5-back img { filter: none; }
  .svc5-panel.is-pair .svc5-label { left: 10px; top: 10px; }
  .svc5-panel.is-pair .svc5-credit { top: calc(75cqw - 54px); }
}

/* Phones: Our work as a compact three-across photo grid, so a page of jobs fits in about one screen */
@media (max-width: 640px) {
  .jobs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
  .jobs-grid .job-link { gap: 7px; }
  .jobs-grid .job-img { aspect-ratio: 1; border-radius: 12px; }
  .jobs-grid .job-tags, .jobs-grid .job-note { display: none; }
  .jobs-grid .job-title { font: 600 13px/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .jobs-grid .job-count { left: 6px; top: 6px; padding: 3px 7px; font-size: 10.5px; letter-spacing: 0; }
  .jobs-grid .job-play { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .jobs-grid .job-play::after { left: 15px; top: 12px; border-width: 7px 0 7px 11px; }
  .jobs-more-wrap { margin-top: 28px; }
}
