/* ============================================================
   APHELION — Luxury Appliance Repair · Phoenix, AZ
   Near-black, gold accent. Cormorant Garamond + Inter.
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
/* One italic cut covers 300–500 so the browser never synthesises a slant
   for the 300-weight display type that leans on it. */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  font-weight: 300 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Two dark tones, not one: the page sits on warm graphite and alternates
     with a lifted band; only the film sections (hero, macro, restored) keep
     true black, so the cinema reads as cinema and the rest reads as a room. */
  --cinema: #050504;
  --bg: #0f0e0c;
  --bg-2: #171512;
  --ink: #efe9dd;
  --muted: #b0a898;          /* 7.7:1 on --bg-2 */
  --faint: #9a9284;          /* 6.0:1 on --bg-2 — smallest text still clears WCAG AA */
  --rule: #57524a;           /* decorative only — never carries text */
  --gold: #c8a24e;
  --gold-hi: #ecd9a4;
  --gold-dim: rgba(200, 162, 78, 0.5);
  --hairline: rgba(200, 162, 78, 0.26);

  /* three-step vertical rhythm instead of one constant */
  --space-tight: clamp(4rem, 8vh, 6rem);
  --space-base: clamp(5.5rem, 11vh, 8rem);
  --space-open: clamp(9rem, 20vh, 13rem);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Light text on a near-black page optically thins — weight goes up on dark,
   not down. 300 is reserved for display type above ~24px. */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #050504; }

a { color: inherit; text-decoration: none; }
/* We ship no Inter italic or bold, and a synthesised slant on a grotesk looks
   cheap. Emphasis in prose borrows the serif italic the brand already uses,
   and strong is carried by colour rather than by a faux-bold weight. */
p em, li em { font-family: var(--serif); font-style: italic; font-size: 1.06em; }
p strong, li strong { font-weight: 400; color: var(--ink); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- atmosphere: grain + vignette ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grain-shift 0.9s steps(2) infinite;
}
@keyframes grain-shift {
  0% { background-position: 0 0; }
  50% { background-position: -12px 8px; }
  100% { background-position: 8px -12px; }
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 89;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 60%, rgba(0,0,0,0.3) 100%);
}

/* ---------- labels / type utilities ---------- */
/* Tracked uppercase needs a matching text-indent, otherwise the trailing
   letter-space pushes every centered label optically off-axis. */
.label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--gold { color: var(--gold); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.4rem, 4vw, 3.5rem);
  /* the nav is present from the first paint — "Request Service" is the one
     control a panicking visitor may want before anything has finished loading */
  transition: background 0.6s ease, padding 0.6s ease;
}
.nav.scrolled {
  background: linear-gradient(to bottom, rgba(15,14,12,0.9), rgba(15,14,12,0));
  backdrop-filter: blur(2px);
}
/* The wordmark is an outlined SVG: Cormorant Garamond SemiBold with the gold orbit A.
   Its height keeps the cap height of the 1.25rem text wordmark it replaced. */
.nav__mark { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0; line-height: 0; }
/* a heading that is a link keeps its look but gets a 44 px target */
.grid2 h3 a { display: inline-block; padding: 0.5rem 0; margin: -0.5rem 0; }
.nav__logo { display: block; height: 0.84rem; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a {
  font-size: 0.6875rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s;
  position: relative;
  padding: 0.7rem 0;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .nav__links { gap: 1.3rem; }
  .nav__links a { letter-spacing: 0.2em; }
}
.nav__links a:hover { color: var(--gold-hi); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0.42rem;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  border: 1px solid var(--gold-dim);
  padding: 0.7rem 1.5rem;
  color: var(--gold) !important;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.nav__cta:hover { background: var(--gold); color: #050504 !important; border-color: var(--gold); }
.nav__cta::after { display: none; }
@media (max-width: 820px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- scrub sections (pinned canvas) ---------- */
/* With no loading gate the canvas is briefly empty, so the hero sits on its own
   first frame — preloaded in the head, so it is already in cache. The canvas
   paints over it the moment it has a frame of its own. */

/* ---------- hero ---------- */
/* dvh so the section height and the pin agree when iOS collapses its address bar */
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 13vw, 12rem);
  line-height: 0.95;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--ink);
}

/* beats — scroll-timed captions inside pinned overlays */
.beat {
  position: absolute;
  opacity: 0;
  max-width: min(34rem, 84vw);
  padding: 0 1.5rem;
}
/* both edges are constrained so narrow viewports can't push text off-canvas */
.beat p { color: var(--muted); font-size: 0.95rem; max-width: min(26rem, 100%); }
.beat .num {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 1rem; letter-spacing: 0.2em;
}

/* ---------- static sections ---------- */
.section {
  position: relative;
  padding: var(--space-base) clamp(1.5rem, 6vw, 6rem);
  max-width: 1200px;
  margin: 0 auto;
}
.section--tight { padding-top: var(--space-tight); padding-bottom: var(--space-tight); }
.section--open { padding-top: var(--space-open); padding-bottom: var(--space-open); }
.section__head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.8rem;
  margin-bottom: clamp(3rem, 8vh, 5.5rem);
}

.story { text-align: center; }
.story:has(.story__grid) { text-align: left; }
.story h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.05; letter-spacing: 0.03em;
  margin: 2rem 0 2.6rem;
}
.story h2 em { font-style: italic; color: var(--gold-hi); }
.story p {
  max-width: 40rem; margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.9;
}
.story__brands {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  margin-top: 4.4rem;
  flex-wrap: wrap;
}
.story__brands span {
  font-size: 0.75rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ink);
}
.story__brands i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); display: block;
}

/* ---------- specs ---------- */
/* The numbers are the point, so they are set as a stat block rather than yet
   another ruled list — the brand index and the comparison cards already use
   hairline rows, and three of them in a row reads as a spec sheet. */
.specs { max-width: 1080px; }
.specs__rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.6rem, 6vh, 4.4rem) clamp(2.5rem, 7vw, 6rem);
}
.spec { display: block; }
/* a lone third item fills the row instead of leaving a gap */
.spec:nth-child(3):last-child { grid-column: 1 / -1; }
.spec__value {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
  line-height: 0.92; color: var(--ink);
  white-space: nowrap;
  margin-bottom: 1.05rem;
}
.spec__value small {
  font-size: 0.45em; color: var(--gold); font-style: italic;
  letter-spacing: 0.04em;
}
.spec__desc h3 {
  font-family: var(--sans);
  font-weight: 400; font-size: 0.8125rem;
  letter-spacing: 0.22em; text-indent: 0.22em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 0.5rem;
}
.spec__desc p { color: var(--muted); font-size: 0.9rem; max-width: 30rem; }
@media (max-width: 640px) {
  .specs__rows { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ---------- brands index ---------- */
.brands { max-width: 1100px; }
.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.2rem, 5vh, 3.4rem) 0.5rem;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding-left 0.6s var(--ease);
}
.brand-row:first-of-type { border-top: 1px solid var(--hairline); }
.brand-row:hover { padding-left: 1.8rem; }
.brand-row__name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 6vw, 4.4rem);
  letter-spacing: 0.06em; line-height: 1;
  color: var(--ink);
  transition: color 0.5s;
}
.brand-row:hover .brand-row__name { color: var(--gold-hi); }
.brand-row__meta {
  display: flex; align-items: center; gap: 2.4rem;
}
.brand-row__meta .label { color: var(--faint); font-size: 0.625rem; transition: color 0.5s; }
.brand-row:hover .brand-row__meta .label { color: var(--muted); }
.brand-row__arrow {
  font-family: var(--serif);
  color: var(--gold); font-size: 1.6rem;
  transform: translateX(0); transition: transform 0.5s var(--ease);
}
.brand-row:hover .brand-row__arrow { transform: translateX(10px); }
@media (max-width: 640px) { .brand-row__meta .label { display: none; } }

/* ---------- CTA / form ---------- */
.cta { text-align: center; max-width: 860px; }
.cta h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.1; margin: 2rem 0 1.4rem;
}
.cta h2 em { font-style: italic; color: var(--gold-hi); }
.cta > p { color: var(--muted); max-width: 34rem; margin: 0 auto 3.6rem; }

.form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.2rem 2.6rem;
  text-align: left;
}
.form .field--wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.7rem; }
.field label, .field__label {
  font-size: 0.625rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none; border-bottom: 1px solid rgba(200,162,78,0.25);
  padding: 0.7rem 0.1rem;
  color: var(--ink);
  font-weight: 300; font-size: 1rem;
  outline: none; border-radius: 0;
  transition: border-color 0.4s;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: #171512; color: var(--ink); }
.field textarea { resize: vertical; min-height: 3.2rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }

.btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 1.1rem 3.4rem;
  font-size: 0.6875rem; font-weight: 400;
  letter-spacing: 0.4em; text-indent: 0.4em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.4s, box-shadow 0.5s;
}
.btn:hover {
  background: var(--gold); color: #050504;
  box-shadow: 0 0 44px rgba(200,162,78,0.25);
}
/* primary action — filled, so it reads as the one thing to press */
.btn--solid {
  background: var(--gold);
  color: #050504;
  border-color: var(--gold);
}
.btn--solid:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  box-shadow: 0 0 54px rgba(200,162,78,0.3);
}
.btn[disabled] { opacity: 0.5; cursor: default; box-shadow: none; }

/* field hints + spam trap + submit status */
.field__hint {
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.field--trap {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}
.form__status {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 30rem; text-align: center;
  min-height: 1.2em;
}
.form__status.is-error { color: #d98b7a; }

/* what to do right now, shown the moment an appliance is chosen */
.form__tip {
  grid-column: 1 / -1;
  margin-top: -0.6rem;
  padding: 0.9rem 1.1rem;
  border-left: 1px solid var(--gold);
  background: rgba(200,162,78,0.06);
  color: var(--muted); font-size: 0.875rem; line-height: 1.55;
}
.form__tip[hidden] { display: none; }
.form__tip strong { color: var(--ink); font-weight: 400; }
/* what happens after the button — the four steps, stated before it is pressed */
.next {
  list-style: none; counter-reset: next;
  display: flex; flex-direction: column; gap: 0.85rem;
  max-width: 34rem; margin-bottom: 0.6rem;
  text-align: left;
}
.next li {
  position: relative; padding-left: 2.2rem;
  color: var(--muted); font-size: 0.875rem; line-height: 1.55;
}
.next li::before {
  counter-increment: next; content: '0' counter(next);
  position: absolute; left: 0; top: 0.05em;
  font-family: var(--serif); font-style: italic; font-size: 0.95rem;
  letter-spacing: 0.06em; color: var(--gold-hi);
}
.next b { color: var(--ink); font-weight: 400; }
.form__actions {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.6rem; margin-top: 1.4rem;
}
.form__note { font-size: 0.75rem; color: var(--faint); letter-spacing: 0.08em; text-align: center; }
.form__done {
  grid-column: 1 / -1; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--gold-hi);
  padding: 2.5rem 0;
}
/* ---------- stepped request form ----------
   Without JavaScript every step is visible and the form works as one page.
   With it, one step shows at a time: choices first, typing second, contact last. */
.form__step {
  grid-column: 1 / -1;
  border: 0; margin: 0; padding: 0; min-width: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.2rem 2.6rem;
}
.form__legend {
  float: left; width: 100%; padding: 0;
  grid-column: 1 / -1;
  font-size: 0.625rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold);
}
.form.is-stepped .form__step:not(.is-current) { display: none; }
.form.is-stepped .form__legend {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.form__progress[hidden], .form__nav[hidden], .form__nav [hidden] { display: none; }
.form__progress {
  grid-column: 1 / -1; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem clamp(1.2rem, 4vw, 2.8rem);
}
.form__progress li {
  font-size: 0.625rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--faint); transition: color 0.4s;
}
.form__progress span { font-family: var(--serif); font-style: italic; letter-spacing: 0.08em; margin-right: 0.35rem; }
.form__progress li.is-done { color: var(--muted); }
.form__progress li.is-current { color: var(--gold); }
.form__nav {
  grid-column: 1 / -1;
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; margin-top: 0.4rem;
}
.form__nav .btn { white-space: nowrap; }
/* on a phone the step button takes the full width and Back sits under it */
@media (max-width: 640px) {
  .form__nav { flex-direction: column-reverse; align-items: stretch; gap: 0.4rem; }
  .form__nav .btn { padding-left: 1.2rem; padding-right: 1.2rem; text-align: center; }
  .form__nav .form__back { align-self: center; }
}
.form__back {
  background: none; border: 0; cursor: pointer;
  min-height: 44px; padding: 0.8rem 0.6rem;
  color: var(--muted);
  font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
  transition: color 0.4s;
}
.form__back:hover { color: var(--gold-hi); }
.form__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.field .form__chip {
  position: relative; display: inline-flex; cursor: pointer;
  font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit;
}
/* the real radio covers the whole chip, invisibly, so it keeps a full-size target */
.form__chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.form__chip span {
  border: 1px solid var(--hairline);
  padding: 0.85rem 1.2rem;
  color: var(--ink); font-size: 0.85rem;
  transition: border-color 0.4s var(--ease), background 0.4s, color 0.4s;
}
.form__chip:hover span { border-color: var(--gold-dim); }
.form__chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #050504; }
.form__chip input:focus-visible + span { outline: 1px solid var(--gold-hi); outline-offset: 3px; }
@media (max-width: 640px) { .form, .form__step { grid-template-columns: 1fr; } }

/* ---------- what waiting costs: urgency from facts, not from scarcity ---------- */
.wait { max-width: 1180px; }
.wait__lede {
  max-width: 40rem; margin: 0 auto clamp(2.4rem, 5vh, 3.4rem);
  text-align: center; color: var(--muted);
}
.wait__grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vh, 2.6rem) clamp(1.6rem, 3vw, 2.6rem);
}
.wait__grid li { padding-top: 1.3rem; border-top: 1px solid var(--hairline); }
.wait__fig {
  display: block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1;
  color: var(--gold-hi);
}
.wait__fig small {
  font-size: 0.34em; letter-spacing: 0.22em; text-transform: uppercase;
  margin-left: 0.4rem; color: var(--gold);
}
.wait__grid h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--ink); margin: 0.9rem 0 0.5rem; line-height: 1.2;
}
.wait__grid p { color: var(--muted); font-size: 0.9rem; }
.wait__note {
  max-width: 44rem; margin: clamp(2.4rem, 5vh, 3.2rem) auto 0;
  text-align: center; color: var(--muted); font-size: 0.92rem;
}
@media (max-width: 960px) { .wait__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wait__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 3.4rem clamp(1.5rem, 6vw, 6rem) 2.6rem;
  display: flex; flex-direction: column; gap: 2.2rem;
  align-items: center; text-align: center;
}
.footer__mark { line-height: 0; }
.footer__logo { display: block; height: 0.74rem; width: auto; margin: 0 auto; }
.footer__links {
  display: flex; gap: 0.1rem 1.9rem;
  flex-wrap: wrap; justify-content: center;
}
/* eleven links in a row, so each needs a real touch target rather than a 17px line */
.footer__links a {
  font-size: 0.6875rem; letter-spacing: 0.26em; text-indent: 0.26em;
  text-transform: uppercase;
  color: var(--muted); transition: color 0.4s;
  padding: 0.85rem 0.35rem;
  line-height: 1.4;
  display: inline-block; min-width: 2.75rem; text-align: center;
}
.footer__links a:hover { color: var(--gold-hi); }
.footer__links a[hidden] { display: none; } /* profile links wait for their URLs */
.footer small {
  color: var(--faint); font-size: 0.6875rem; line-height: 1.8;
  max-width: 46rem; letter-spacing: 0.04em;
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 1.3s var(--ease), transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   BRAND PAGES
   ============================================================ */
.bhero {
  min-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}
.bhero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0.42;
  filter: saturate(0.85) brightness(0.95);
}
.bhero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,5,4,0.55), rgba(5,5,4,0.08) 48%, var(--bg) 97%);
}
.bhero > *:not(.bhero__bg) { position: relative; }
.bhero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  line-height: 1.02; letter-spacing: 0.05em;
  margin: 2rem 0 1.6rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.85), 0 0 90px rgba(0, 0, 0, 0.6);
}
.bhero p { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9); }
.bhero h1 em { font-style: italic; color: var(--gold-hi); }
.bhero p {
  color: var(--muted); max-width: 36rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.bhero__cta { margin-top: 3rem; }

.grid2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--hairline);
}
.grid2 > div {
  padding: clamp(2rem, 4vw, 3.4rem);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.grid2 > div:nth-child(2n) { border-right: none; }
.grid2 > div:nth-last-child(-n+2) { border-bottom: none; }
.grid2 h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.5rem; margin: 1rem 0 0.7rem;
}
.grid2 p { color: var(--muted); font-size: 0.9rem; }
.grid2 .num {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); letter-spacing: 0.15em; font-size: 0.9rem;
}
@media (max-width: 700px) {
  .grid2 { grid-template-columns: 1fr; }
  .grid2 > div { border-right: none; border-bottom: 1px solid var(--hairline); }
  .grid2 > div:last-child { border-bottom: none; }
}

.issues { max-width: 900px; }
.issues ul { list-style: none; margin-top: 1rem; }
.issues li {
  display: flex; align-items: baseline; gap: 1.6rem;
  padding: 1.5rem 0.4rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.issues li:first-child { border-top: 1px solid var(--hairline); }
.issues li i {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 0.85rem; min-width: 2rem;
}
.issues li span { color: var(--muted); font-size: 0.85rem; margin-left: auto; text-align: right; }
@media (max-width: 640px) { .issues li span { display: none; } }
/* linked symptom rows: the whole row starts a request with the symptom filled in */
.issues__lede, .series__lede {
  max-width: 40rem; margin: 0 auto 1.6rem;
  text-align: center; color: var(--muted);
}
.issues__lede a, .series__lede a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.series__lede { margin-bottom: clamp(2.4rem, 5vh, 3.4rem); }
.issues__linked { list-style: none; margin-top: 1rem; }
.issues__linked li { border-bottom: 1px solid var(--hairline); }
.issues__linked li:first-child { border-top: 1px solid var(--hairline); }
.issues__row {
  display: grid; grid-template-columns: 2rem 1fr auto;
  column-gap: 1.4rem; row-gap: 0.3rem; align-items: baseline;
  padding: 1.3rem 0.4rem;
  color: var(--ink); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.issues__row i {
  grid-row: 1 / 3;
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 0.85rem;
}
.issues__row b { font-weight: 300; transition: color 0.4s; }
.issues__row small { grid-column: 2; font-size: 0.85rem; line-height: 1.5; color: var(--muted); max-width: 36rem; }
.issues__row span {
  grid-column: 3; grid-row: 1;
  color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em;
  text-align: right; white-space: nowrap;
}
.issues__row:hover b, .issues__row:focus-visible b { color: var(--gold-hi); }
@media (max-width: 640px) {
  .issues__row { grid-template-columns: 1.6rem 1fr; column-gap: 1rem; }
  .issues__row span { display: none; }
}

/* ============================================================
   MOBILE MENU (burger + fullscreen overlay)
   ============================================================ */
.nav__burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  position: relative; z-index: 130;
  padding: 0;
}
.nav__burger i {
  position: absolute; left: 8px; right: 8px;
  height: 1px; background: var(--gold);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease), opacity 0.4s;
}
.nav__burger i:nth-child(1) { top: 15px; }
.nav__burger i:nth-child(2) { top: 24px; }
body.menu-open .nav__burger i:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .nav__burger i:nth-child(2) { top: 20px; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .nav__burger { display: block; }
  .nav__links .nav__cta { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(15, 14, 12, 0.97);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.4rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 0.55rem 1rem;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.4s;
}
.menu a:hover { color: var(--gold-hi); }
.menu a em { font-style: italic; color: var(--gold); }
body.menu-open .menu a { opacity: 1; transform: translateY(0); }
body.menu-open .menu a:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .menu a:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .menu a:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .menu a:nth-child(4) { transition-delay: 0.28s; }
body.menu-open .menu a:nth-child(5) { transition-delay: 0.34s; }
body.menu-open .menu a:nth-child(6) { transition-delay: 0.40s; }
body.menu-open .menu a:nth-child(7) { transition-delay: 0.46s; }
body.menu-open .menu a:nth-child(8) { transition-delay: 0.52s; }
/* the primary action leads the menu instead of trailing it */
.menu__cta {
  font-family: var(--sans) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.28em; text-indent: 0.28em;
  text-transform: uppercase;
  color: #050504 !important;
  background: var(--gold);
  padding: 0.95rem 2.4rem !important;
  margin-bottom: 1.4rem;
}
.menu__cta:hover { background: var(--gold-hi); color: #050504 !important; }

/* ============================================================
   REDUCED MOTION — honour the OS setting, not just for Lenis
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; opacity: 0.03; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero { height: auto !important; }
  .hero__pin { position: static; height: auto; display: block; padding-top: 7rem; }
  .hero__layers { position: static; height: 60vh; }
  .hero__beats { position: static; }
  .hero__copy { opacity: 1 !important; transform: none !important; }
  .beat {
    position: static; opacity: 1 !important; visibility: visible !important;
    transform: none !important;
    max-width: 46rem; margin: 0 auto 3rem; text-align: left;
  }
  .callbar { transform: none; }
  /* no refrigerant in flight — the diagram still reads as a diagram */
  .cyc__flow { display: none; }
  .cyc__pane.is-active { animation: none; }
}

/* ============================================================
   THE PROCESS (homepage steps)
   ============================================================ */
/* A sequence, so it is drawn as one — a rail with four stops, rather than
   four boxes that look like every other card grid on the page. */
.process { max-width: 1240px; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
  position: relative;
  padding-top: 2.6rem;
}
.process__grid::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 4px;
  height: 1px;
  background: linear-gradient(to right,
    transparent, var(--hairline) 6%, var(--hairline) 94%, transparent);
}
.process__grid > div { position: relative; padding-right: 0.5rem; }
.process__grid > div::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
}
.process__grid .num {
  display: block;
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 1rem; letter-spacing: 0.18em;
}
.process__grid h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin: 0.5rem 0 0.7rem;
}
.process__grid p { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
}
@media (max-width: 560px) {
  .process__grid {
    grid-template-columns: 1fr;
    padding-top: 0; padding-left: 1.6rem;
    row-gap: 2.2rem;
  }
  /* the rail turns vertical rather than disappearing */
  .process__grid::before {
    left: 4px; right: auto; top: 0; bottom: 0;
    width: 1px; height: auto;
    background: linear-gradient(to bottom,
      transparent, var(--hairline) 6%, var(--hairline) 94%, transparent);
  }
  .process__grid > div::before { top: 0.35rem; left: -1.6rem; }
}

/* ---------- minimal hero for service pages ---------- */
.bhero--min {
  min-height: 62vh;
  padding-top: 9rem;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding: 1.6rem 0.3rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  color: var(--ink);
  transition: color 0.4s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::after {
  content: '+';
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 1.3rem;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--muted); font-size: 0.92rem;
  padding: 0 2.5rem 1.7rem 0.3rem;
  max-width: 44rem;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 1.6rem;
  padding: 2rem;
}
.notfound h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4rem, 16vw, 9rem);
  line-height: 1; color: var(--ink);
}
.notfound h1 em { font-style: italic; color: var(--gold); }
.notfound p { color: var(--muted); }
.notfound__links {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.6rem;
  justify-content: center;
  max-width: 40rem;
  margin: 1.4rem 0 0.6rem;
}
.notfound__links a {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.4s, border-color 0.4s;
  padding: 0.6rem 0;
  min-width: 2.75rem; text-align: center; /* short words such as FAQ still get a 44 px target */
}
.notfound__links a:hover { color: var(--gold-hi); border-color: var(--gold-dim); }

/* ============================================================
   HOMEPAGE v2 — hero, section headings, brand backdrop, call bar
   ============================================================ */

/* section headings now carry real <h2>s instead of floating labels */
.section__head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08; letter-spacing: 0.02em;
  color: var(--ink);
}
.section__head h2 em { font-style: italic; color: var(--gold-hi); }
/* inner pages keep the small tracked eyebrow — it is a real <h2> now, styled as a label */
.section__head h2.label {
  font-family: var(--sans);
  font-size: 0.6875rem; font-weight: 400;
  letter-spacing: 0.26em; text-indent: 0.26em;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero__mark {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.36em; text-indent: 0.36em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.hero__mark span { color: var(--gold); }
/* the h1 once was the tracked wordmark; its em-based indent is inherited by the lines inside and pushed their first line right */
.hero__title { display: block; text-indent: 0; }
.hero__display {
  display: block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.3rem, 6.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: 0.01em;
  color: var(--ink);
  max-width: 18ch; margin: 0 auto;
}
/* This line carries the whole proposition — what we repair and where. It was
   the smallest, dimmest text in the hero, which had it backwards. */
.hero__seo {
  display: block;
  margin: 1.4rem auto 0;
  max-width: 40ch;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
  margin-top: 2.4rem;
}

/* the three facts, set quietly under the action — read in about a second */
.hero__trust {
  list-style: none;
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  margin-top: 2.2rem;
  max-width: 44rem;
}
.hero__trust li {
  position: relative;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}
.hero__trust li + li::before {
  content: '';
  position: absolute; left: -0.85rem; top: 50%;
  width: 3px; height: 3px; margin-top: -1.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}
.hero__trust b {
  font-family: var(--serif);
  font-weight: 400; font-style: normal;
  font-size: 1.18em;
  color: var(--gold-hi);
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .hero__trust { gap: 0.55rem 1.2rem; }
  .hero__trust li { white-space: normal; }
  .hero__trust li + li::before { display: none; }
}
/* the sentence under the button: what happens after the click, in one line */
.hero__next {
  margin-top: 1.1rem;
  max-width: 34rem;
  font-size: 0.8125rem; line-height: 1.5;
  color: var(--muted);
}
/* ---- first-screen variant B: the first question of the request, asked in the hero ---- */
.hero__pick { display: none; flex-direction: column; align-items: flex-start; gap: 0.9rem; margin-top: 2rem; }
.hero--pick .hero__pick { display: flex; }
.hero--pick .hero__actions, .hero--pick .hero__next { display: none; }
.hero__pick-label {
  font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
.hero__pick-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero__pick-btn {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--gold-dim);
  background: rgba(5,5,4,0.35);
  color: var(--ink); font-size: 0.875rem; line-height: 1.2;
  transition: border-color 0.4s var(--ease), background 0.4s, color 0.4s;
}
.hero__pick-btn:hover { border-color: var(--gold); background: var(--gold); color: #050504; }
.hero__pick-btn--else { color: var(--muted); border-color: var(--hairline); }
.hero__pick-call { font-size: 0.8125rem; color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.hero__pick-call [data-call-number]:not(:empty) { margin-left: 0.3em; }
@media (max-width: 860px) {
  .hero__next { text-align: center; }
  .hero__pick { align-items: center; width: 100%; }
  .hero__pick-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 26rem; }
  .hero__pick-btn { justify-content: center; text-align: center; padding: 0.7rem 0.8rem; }
  .hero__pick-btn--else { grid-column: 1 / -1; }
}
.btn--ghost { background: transparent; color: var(--gold); border-color: var(--gold-dim); }
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-hi); box-shadow: none; }
.btn--ghost [data-call-number]:not(:empty) { margin-left: 0.5em; }
/* no phone number configured yet — a "Call" control that opens a form is worse than none */
[data-call].is-unavailable { display: none; }
.callbar:has(.is-unavailable) .callbar__btn--solid { flex: 1 1 100%; }


/* narrative beats read as display type without polluting the heading outline */
.beat__line {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.15; letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0.9rem 0 0.7rem;
}
.beat__line em { font-style: italic; color: var(--gold-hi); }
/* hidden beats leave the accessibility tree instead of being read out of order */
.beat { visibility: hidden; }
.beat.is-live { visibility: visible; }

/* ---------- story / answer block ---------- */
.story a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-dim);
  transition: border-color 0.4s, color 0.4s;
}
.story a:hover { color: var(--gold-hi); border-color: var(--gold); }
.story p + p { margin-top: 1.4rem; }
.spec__desc a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-dim);
  transition: border-color 0.4s, color 0.4s;
}
.spec__desc a:hover { color: var(--gold-hi); border-color: var(--gold); }

.story__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center;
  max-width: 1080px; margin: 0 auto;
  text-align: left;
}
.story .story__h { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 0 0 2rem; }
.story .story__quote {
  margin: 0; max-width: 30rem;
  padding-left: 1.4rem; border-left: 1px solid var(--gold-dim);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.45;
  color: var(--ink);
}
.story__facts { border-top: 1px solid var(--hairline); }
.story__facts > div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.4rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--hairline);
}
.story__facts dt {
  padding-top: 0.3rem;
  font-size: 0.625rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
}
.story__facts dd { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .story__facts > div { grid-template-columns: 1fr; gap: 0.35rem; } }

/* ---------- brands over the fleet photograph ---------- */
.brands--backdrop {
  max-width: none;
  padding-left: 0; padding-right: 0;
  position: relative;
  overflow: hidden;
}
.brands__bg {
  position: absolute; inset: -10% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.brands__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,4,0.82), rgba(5,5,4,0.72) 40%, rgba(5,5,4,0.94));
}
.brands__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}
/* text sits over a photograph, so it uses --ink rather than --muted to hold contrast on the bright shelves */
.brands__lede { max-width: 34rem; color: var(--ink); }
.brands--backdrop .brand-row {
  display: grid; grid-template-columns: minmax(0, 21rem) 1fr auto;
  grid-template-areas: 'name note arrow' 'label note arrow';
  align-items: center; gap: 0.7rem 2.4rem;
}
.brands--backdrop .brand-row__name { grid-area: name; }
.brands--backdrop .brand-row__note { grid-area: note; }
.brands--backdrop .brand-row__meta { display: contents; }
.brands--backdrop .brand-row__meta .label { grid-area: label; color: var(--ink); opacity: 0.8; }
.brands--backdrop .brand-row:hover .brand-row__meta .label { color: var(--gold-hi); opacity: 1; }
.brands--backdrop .brand-row__arrow { grid-area: arrow; }
.brand-row__note {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4;
  color: var(--ink);
  transition: color 0.5s;
}
.brand-row:hover .brand-row__note { color: var(--gold-hi); }
@media (max-width: 640px) {
  .brands--backdrop .brand-row { grid-template-columns: 1fr auto; grid-template-areas: 'name arrow' 'note note'; }
}

/* ---------- sticky mobile action bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 110;
  display: none;
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar.is-visible { transform: translateY(0); }
.callbar__btn {
  flex: 1;
  text-align: center;
  padding: 1.05rem 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.24em; text-indent: 0.24em; text-transform: uppercase;
}
.callbar__btn--ghost { background: var(--bg-2); color: var(--gold); }
.callbar__btn--solid { background: var(--gold); color: #050504; }
@media (max-width: 820px) {
  .callbar { display: flex; }
  body { padding-bottom: 0; }
  /* the bar hides while the form is on screen; a little extra room for when it returns */
  .cta { padding-bottom: calc(var(--space-tight) + 1.5rem); }
}

/* ============================================================
   THE REFRIGERATION CYCLE — live diagram
   A second accent is introduced here and ONLY here: the cold
   side of the loop. It carries meaning, so it earns its place.
   ============================================================ */
:root {
  --cold: #86a9bd;
  --cold-dim: rgba(134, 169, 189, 0.4);
}

.cyc { max-width: 1240px; }
.cyc__lede {
  max-width: 44rem; margin: 0 auto clamp(2.4rem, 5vh, 3.6rem);
  text-align: center; color: var(--muted);
}
.cyc__stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.cyc__svg { width: 100%; height: auto; overflow: visible; }

/* the loop itself */
.cyc__loop {
  fill: none;
  stroke: url(#loopGrad);
  stroke-width: 2;
}

/* Flowing refrigerant. Hidden until the motion is actually attached — without
   this, an engine that ignores SMIL would stack all twelve dots at the origin. */
.cyc__flow { opacity: 0; transition: opacity 0.9s var(--ease); }
.cyc__flow.is-running { opacity: 1; }
.cyc__flow circle { filter: drop-shadow(0 0 6px rgba(200,162,78,0.5)); }

/* quadrant annotations */
.cyc__ann text {
  font-family: var(--sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.2em;
  fill: var(--gold);
  text-anchor: middle;
}
.cyc__ann .cyc__ann-sub {
  font-size: 12.5px; letter-spacing: 0.04em;
  font-style: italic; font-family: var(--serif);
  fill: var(--muted);
}
.cyc__ann .is-cold { fill: var(--cold); }
.cyc__ann .cyc__ann-sub.is-cold { fill: var(--muted); }

/* stations */
.cyc__station { cursor: pointer; }
.cyc__halo {
  fill: none; stroke: var(--gold); stroke-width: 1;
  opacity: 0; transform-box: fill-box; transform-origin: center;
  transition: opacity 0.5s var(--ease);
}
.cyc__station:hover .cyc__halo,
.cyc__station.is-active .cyc__halo { opacity: 0.55; }
/* --- hermetic compressor --- */
.cyc__shell {
  fill: url(#shellGrad);
  stroke: #6b6152; stroke-width: 1.2;
}
.cyc__seam { stroke: #8a7f6c; stroke-width: 1.6; opacity: 0.75; }
.cyc__terminal { fill: #17140f; stroke: #6b6152; stroke-width: 1; }
.cyc__pin { fill: var(--gold); opacity: 0.85; }
.cyc__feet rect { fill: #1b1813; stroke: #5c5347; stroke-width: 1; }
.cyc__gloss { fill: none; stroke: #cfc4ac; stroke-width: 2.4; opacity: 0.16; stroke-linecap: round; }

/* --- copper plumbing --- */
.cyc__tube {
  fill: none; stroke: url(#copperGrad); stroke-width: 5; stroke-linecap: round;
}
.cyc__tube--thin { stroke-width: 3.2; }
.cyc__captube {
  fill: none; stroke: url(#coldTubeGrad); stroke-width: 2.2; stroke-linecap: round;
}
.cyc__canister { fill: url(#shellGrad); stroke: #6b6152; stroke-width: 1.2; }
.cyc__cap { fill: #4a4238; stroke: #6b6152; stroke-width: 1; }

/* --- finned coils --- */
.cyc__finblock { fill: url(#finGrad); stroke: #5c5347; stroke-width: 1; }
.cyc__finblock.is-cold { fill: url(#finGradCold); stroke: #4d6673; }
.cyc__finlines { fill: url(#finPattern); stroke: none; }
.cyc__finlines.is-cold { fill: url(#finPatternCold); }
.cyc__coil {
  fill: none; stroke: url(#copperGrad); stroke-width: 3.1;
  stroke-linecap: round; stroke-linejoin: round;
}
.cyc__coil.is-cold { stroke: url(#coldTubeGrad); }
.cyc__frost circle { fill: #dbe9f0; opacity: 0.7; }

/* active/hover: the part lifts out of the dark rather than changing colour */
.cyc__station .cyc__shell,
.cyc__station .cyc__finblock,
.cyc__station .cyc__canister { transition: stroke 0.5s var(--ease); }
.cyc__station:hover .cyc__shell,
.cyc__station.is-active .cyc__shell,
.cyc__station:hover .cyc__canister,
.cyc__station.is-active .cyc__canister,
.cyc__station:hover .cyc__finblock,
.cyc__station.is-active .cyc__finblock { stroke: var(--gold); }
.cyc__station[data-station="evaporator"]:hover .cyc__finblock,
.cyc__station[data-station="evaporator"].is-active .cyc__finblock,
.cyc__station[data-station="expansion"]:hover .cyc__canister,
.cyc__station[data-station="expansion"].is-active .cyc__canister { stroke: var(--cold); }
.cyc__station[data-station="evaporator"] .cyc__halo,
.cyc__station[data-station="expansion"] .cyc__halo { stroke: var(--cold); }
.cyc__station[data-station="evaporator"] .cyc__halo,
.cyc__station[data-station="expansion"] .cyc__halo { stroke: var(--cold); }
.cyc__name {
  font-family: var(--sans); font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.24em; text-anchor: middle;
  fill: var(--muted);
  transition: fill 0.5s var(--ease);
}
.cyc__station:hover .cyc__name,
.cyc__station.is-active .cyc__name { fill: var(--ink); }
/* side stations label outward, so they never sit on top of the annotations */
.cyc__name--right { text-anchor: start; }
.cyc__name--left  { text-anchor: end; }

/* readout */
.cyc__tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 2rem;
}
.cyc__tab {
  background: none; border: none; cursor: pointer;
  padding: 0.85rem 1.1rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.4s, border-color 0.4s;
}
.cyc__tab i {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); margin-right: 0.5rem; letter-spacing: 0.1em;
}
.cyc__tab:hover { color: var(--ink); }
.cyc__tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }

.cyc__pane { display: none; }
.cyc__pane.is-active { display: block; animation: cyc-in 0.6s var(--ease) both; }
@keyframes cyc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cyc__pane h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--ink); margin-bottom: 0.9rem;
}
.cyc__does { color: var(--muted); margin-bottom: 1.8rem; }
.cyc__fails .label { display: block; margin-bottom: 0.9rem; color: var(--gold); }
.cyc__fails ul { list-style: none; }
.cyc__fails li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--ink);
  font-size: 0.92rem;
}
.cyc__fails li::before {
  content: '';
  position: absolute; left: 0; top: 1.05em;
  width: 7px; height: 1px; background: var(--gold);
}
.cyc__note {
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
  color: var(--faint); font-size: 0.85rem; line-height: 1.75;
}

@media (max-width: 900px) {
  .cyc__stage { grid-template-columns: 1fr; }
  .cyc__tab { padding: 0.8rem 0.7rem; font-size: 0.7rem; }
  .cyc__tab i { display: none; }
}

/* ============================================================
   SYMPTOM PICKER
   ============================================================ */
.diag__lede {
  max-width: 42rem; margin: 0 auto clamp(2rem, 4vh, 3rem);
  text-align: center; color: var(--muted);
}
.diag__grid {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  justify-content: center;
  max-width: 62rem; margin: 0 auto;
}
.diag__chip {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem; letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), color 0.4s, background 0.4s;
}
.diag__chip:hover { border-color: var(--gold-dim); color: var(--gold-hi); }
.diag__chip.is-active {
  border-color: var(--gold);
  color: #050504;
  background: var(--gold);
}

.diag__result {
  max-width: 62rem;
  margin: clamp(2.4rem, 5vh, 3.6rem) auto 0;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1.8rem, 4vh, 2.6rem);
  animation: cyc-in 0.5s var(--ease) both;
}
.diag__resulthead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.diag__resulthead h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink); line-height: 1.15;
}
.diag__urgency {
  font-size: 0.625rem; letter-spacing: 0.24em; text-indent: 0.24em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.diag__urgency.is-immediate { color: #d98b7a; }
.diag__urgency.is-same-day { color: var(--gold); }
.diag__urgency.is-this-week { color: var(--cold); }

.diag__cols {
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}
.diag__cols .label { display: block; margin-bottom: 1rem; }
.diag__cols ul { list-style: none; }
.diag__cols li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--ink); font-size: 0.92rem;
}
.diag__cols li::before {
  content: ''; position: absolute; left: 0; top: 1.05em;
  width: 7px; height: 1px; background: var(--gold);
}
.diag__cols p { color: var(--muted); font-size: 0.92rem; }

.diag__act {
  display: flex; align-items: center; gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.diag__act-note { color: var(--faint); font-size: 0.78rem; }
@media (max-width: 760px) {
  .diag__cols { grid-template-columns: 1fr; }
  .diag__chip { font-size: 0.8rem; padding: 0.65rem 1rem; }
}

/* ---------- questions worth asking ---------- */
.ask__lede {
  max-width: 42rem; margin: 0 auto clamp(2.4rem, 5vh, 3.4rem);
  text-align: center; color: var(--muted);
}
.ask__list {
  list-style: none;
  max-width: 60rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.ask__list li {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2.5vw, 2.2rem);
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  position: relative;
}
.ask__list li:nth-child(2n) { border-right: none; }
/* the fifth item spans the row so the grid never ends ragged */
.ask__list li:last-child { grid-column: 1 / -1; border-right: none; }
.ask__n {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 0.9rem; letter-spacing: 0.18em;
}
.ask__list h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  margin: 0.7rem 0 0.6rem;
  line-height: 1.25;
}
.ask__list p { color: var(--muted); font-size: 0.9rem; max-width: 34rem; }
.ask__note {
  max-width: 60rem; margin: clamp(1.8rem, 4vh, 2.6rem) auto 0;
  color: var(--ink); font-size: 0.95rem; line-height: 1.85;
}
.ask__note em { font-style: italic; color: var(--gold-hi); }
@media (max-width: 720px) {
  .ask__list { grid-template-columns: 1fr; }
  .ask__list li { border-right: none; }
}

/* ---------- repair or replace ---------- */
.swap__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hairline);
}
.swap__card {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-right: 1px solid var(--hairline);
}
.swap__card:last-child { border-right: none; }
.swap__fig {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1; color: var(--ink);
  margin: 1.2rem 0 0.8rem;
}
.swap__card--alt .swap__fig { color: var(--muted); }
.swap__cap {
  color: var(--muted); font-size: 0.9rem;
  margin-bottom: 1.8rem; max-width: 24rem;
}
.swap__card ul { list-style: none; }
.swap__card li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  font-size: 0.9rem; color: var(--ink);
  border-top: 1px solid var(--hairline);
}
.swap__card li:first-child { border-top: none; }
.swap__card li::before {
  content: ''; position: absolute; left: 0; top: 1.15em;
  width: 7px; height: 1px; background: var(--gold);
}
.swap__card--alt li { color: var(--muted); }
.swap__card--alt li::before { background: var(--rule); }
.swap__note {
  margin-top: clamp(2rem, 4vh, 3rem);
  max-width: 46rem; color: var(--muted);
  font-size: 0.95rem; line-height: 1.85;
}
@media (max-width: 760px) {
  .swap__grid { grid-template-columns: 1fr; }
  .swap__card { border-right: none; border-bottom: 1px solid var(--hairline); }
  .swap__card:last-child { border-bottom: none; }
}

/* ---------- "inside the machine" — brand engineering detail ---------- */
.inside__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.inside__lead h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1; color: var(--ink);
  margin-bottom: 1.4rem;
}
.inside__lead h3 em { font-style: italic; color: var(--gold-hi); }
.inside__lead p { color: var(--muted); margin-bottom: 1.1rem; }
.inside__lead p em { font-style: italic; color: var(--ink); }

.inside__facts { list-style: none; }
.inside__facts li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
}
.inside__facts li:first-child { border-top: 1px solid var(--hairline); }
.inside__k {
  font-size: 0.625rem; letter-spacing: 0.22em; text-indent: 0.22em;
  text-transform: uppercase; color: var(--faint);
  flex-shrink: 0;
}
.inside__v {
  font-family: var(--serif); font-size: 1.05rem;
  color: var(--ink); text-align: right; line-height: 1.35;
}
.inside__note {
  margin-top: clamp(2rem, 4vh, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--faint); font-size: 0.875rem;
  max-width: 46rem; line-height: 1.8;
}
@media (max-width: 860px) {
  .inside__grid { grid-template-columns: 1fr; }
}

/* ---------- four refusals: candour as proof ---------- */
.nots { max-width: 1080px; }
.nots__lede {
  max-width: 40rem; margin: 0 auto clamp(2.4rem, 5vh, 3.4rem);
  text-align: center; color: var(--muted);
}
.nots__list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vh, 2.8rem) clamp(2.5rem, 6vw, 5rem);
}
.nots__list li { padding-top: 1.3rem; border-top: 1px solid var(--hairline); }
.nots__n {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 0.9rem; letter-spacing: 0.18em;
}
.nots__list h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--ink); margin: 0.45rem 0 0.55rem; line-height: 1.2;
}
.nots__list p { color: var(--muted); font-size: 0.92rem; max-width: 30rem; }
.nots__note {
  margin-top: clamp(2rem, 4vh, 3rem);
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--gold-hi);
}
/* on a phone the list becomes a manifesto — one refusal per line, set large (owner's choice, 17.09) */
@media (max-width: 720px) {
  .nots__list { grid-template-columns: 1fr; gap: 0; }
  .nots__list li {
    display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1rem;
    align-items: baseline;
    padding: 1.4rem 0;
  }
  .nots__n { grid-row: 1 / 3; font-size: 1rem; }
  .nots__list h3 { font-size: 1.6rem; font-weight: 300; margin: 0 0 0.6rem; }
  .nots__list p { max-width: none; }
}

/* ---------- in your home: the trust layer ---------- */
.home { max-width: 1080px; }
.home__lede {
  max-width: 40rem; margin: 0 auto clamp(2.4rem, 5vh, 3.4rem);
  text-align: center; color: var(--muted);
}
/* sits directly after the process rail, so it is set as an editorial two-column
   list with top rules rather than another row of four boxes */
.home__grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vh, 2.8rem) clamp(2.5rem, 6vw, 5rem);
}
.home__grid li {
  padding-top: 1.3rem;
  border-top: 1px solid var(--hairline);
}
.home__n {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 0.9rem; letter-spacing: 0.18em;
}
.home__grid h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--ink);
  margin: 0.45rem 0 0.55rem;
  line-height: 1.2;
}
.home__grid p { color: var(--muted); font-size: 0.92rem; max-width: 30rem; }

/* credentials — one quiet line */
.home__creds {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
  margin-top: 1.6rem;
}
.home__creds[hidden] { display: none; }
.home__creds li {
  position: relative;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.home__creds li + li::before {
  content: ''; position: absolute; left: -0.85rem; top: 50%;
  width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%;
  background: var(--gold); opacity: 0.6;
}

/* job log — appears only with three or more real entries */
.home__jobs { margin-top: clamp(2.8rem, 6vh, 4rem); }
.home__jobs[hidden] { display: none; }
.home__jobs > .label { display: block; margin-bottom: 1.2rem; color: var(--gold); }
.home__jobs ul { list-style: none; }
.home__jobs li {
  display: grid; grid-template-columns: minmax(12rem, 0.8fr) 2fr;
  gap: 0.4rem 2rem;
  padding: 1rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
}
.home__jobs li:first-child { border-top: 1px solid var(--hairline); }
.home__jobs strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--ink); }
.home__jobs span { color: var(--muted); font-size: 0.92rem; }

/* reviews — real ones only, word for word; appears at two or more */
.home__reviews { margin-top: clamp(2.8rem, 6vh, 4rem); }
.home__reviews[hidden] { display: none; }
.home__reviews > .label { display: block; margin-bottom: 1.2rem; color: var(--gold); }
.home__reviews ul {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.home__reviews li { padding-top: 1.2rem; border-top: 1px solid var(--hairline); }
.home__reviews blockquote {
  margin: 0;
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.55;
  color: var(--ink);
}
.home__reviews blockquote::before { content: '\201C'; color: var(--gold); }
.home__reviews blockquote::after { content: '\201D'; color: var(--gold); }
.home__reviews cite {
  display: block; margin-top: 0.7rem;
  font-style: normal; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}

/* our own work — appears at three or more photographs */
.home__work { margin-top: clamp(2.8rem, 6vh, 4rem); }
.home__work[hidden] { display: none; }
.home__work > .label { display: block; margin-bottom: 1.2rem; color: var(--gold); }
.home__work ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home__work figure { margin: 0; }
.home__work img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home__work figcaption {
  margin-top: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px) {
  .home__grid { grid-template-columns: 1fr; }
  .home__jobs li { grid-template-columns: 1fr; }
  .home__creds li + li::before { display: none; }
  .home__reviews ul { grid-template-columns: 1fr; }
  .home__work ul { grid-template-columns: 1fr 1fr; }
}

/* ---------- model number finder ---------- */
.mf__brands {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  margin-bottom: clamp(2.4rem, 5vh, 3.4rem);
}
.mf__group { max-width: 62rem; margin: 0 auto clamp(2.6rem, 6vh, 4rem); }
.mf__group[hidden] { display: none; }
.mf__group h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--ink); margin-bottom: 1.2rem;
}
.mf__list { border-top: 1px solid var(--hairline); }
.mf__row {
  display: grid; grid-template-columns: minmax(10rem, 17rem) 1fr;
  gap: 0.4rem 2rem; padding: 1rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
}
.mf__row dt { color: var(--ink); font-size: 0.95rem; }
.mf__row dd { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.mf__note { margin-top: 1.1rem; max-width: 48rem; color: var(--muted); font-size: 0.88rem; line-height: 1.75; }
.mf__src { margin-top: 0.6rem; color: var(--faint); font-size: 0.75rem; letter-spacing: 0.02em; }
.mf__send {
  display: grid; grid-template-columns: 1fr 1.4fr auto;
  gap: 1.4rem 2rem; align-items: end;
  max-width: 52rem; margin: 0 auto; text-align: left;
}
.mf__send .btn { padding-left: 2.2rem; padding-right: 2.2rem; }
.mf__match { max-width: 52rem; margin: 1.2rem auto 0; color: var(--gold); font-size: 0.85rem; }
.mf__match[hidden] { display: none; }
@media (max-width: 720px) {
  .mf__row, .mf__send { grid-template-columns: 1fr; }
}

/* ---------- error code lookup ---------- */
.ec__brands {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.8rem;
}
.ec__brand { min-width: 9rem; }
.ec__how {
  max-width: 44rem; margin: 0 auto 1.6rem;
  text-align: center; color: var(--muted); font-size: 0.92rem;
}
.ec__codes {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  justify-content: center;
  max-width: 58rem; margin: 0 auto;
}
.ec__code { font-family: var(--sans); letter-spacing: 0.04em; }
.ec__scope {
  max-width: 44rem; margin: 1.6rem auto 0;
  text-align: center; color: var(--faint); font-size: 0.8rem; line-height: 1.7;
}
.ec__result {
  max-width: 62rem;
  margin: clamp(2.2rem, 5vh, 3.2rem) auto 0;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1.8rem, 4vh, 2.6rem);
  animation: cyc-in 0.5s var(--ease) both;
}
.ec__resultcode {
  font-family: var(--sans); font-size: 0.7em;
  letter-spacing: 0.18em; color: var(--gold);
  margin-right: 0.5rem;
}

/* indexable reference lists */
.issues__list { list-style: none; max-width: 60rem; }
.issues__list li {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: 0.85rem 0.3rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink); font-size: 0.95rem;
}
.issues__list li:first-child { border-top: 1px solid var(--hairline); }
.issues__list i {
  font-family: var(--sans); font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.14em;
  color: var(--gold); min-width: 2.4rem;
}
.ec__warning {
  margin-top: clamp(2rem, 4vh, 2.8rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  max-width: 48rem; color: var(--muted);
  font-size: 0.9rem; line-height: 1.8;
}
.ec__warning strong { color: var(--ink); font-weight: 400; }
.ec__warning em { font-style: italic; color: var(--ink); }

/* ---------- prose argument blocks (pricing page) ---------- */
.prose { max-width: 48rem; }
.prose h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08; letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.prose h2 em { font-style: italic; color: var(--gold-hi); }
.prose p { color: var(--muted); margin-bottom: 1.2rem; }
.prose p:last-child { margin-bottom: 0; }
.prose__note {
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  color: var(--faint); font-size: 0.875rem;
  max-width: 42rem;
}

/* ---------- restored: the "after" still, replacing the assembly scrub ---------- */
.restored {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.restored__fig { margin: 0; position: relative; }
.restored__fig img {
  width: 100%; height: auto; display: block;
}
/* let the black studio background of the still melt into the page */
.restored__fig::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 78% 78% at 50% 50%, transparent 60%, var(--cinema) 100%);
  pointer-events: none;
}
.restored__text h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08; letter-spacing: 0.02em;
  color: var(--ink);
  margin: 1rem 0 1.2rem;
}
.restored__text h2 em { font-style: italic; color: var(--gold-hi); }
.restored__text p { color: var(--muted); max-width: 30rem; }
@media (max-width: 820px) {
  .restored { grid-template-columns: 1fr; text-align: center; }
  .restored__text p { margin: 0 auto; }
}

/* ---------- Sub-Zero dual refrigeration diagram ---------- */
.dual__lede {
  max-width: 44rem; margin: 0 auto clamp(2rem, 4vh, 3rem);
  text-align: center; color: var(--muted);
}
.dual__stage { margin: 0; }
.dual__svg { width: 100%; height: auto; display: block; }
.dual__stage figcaption {
  margin-top: 1.4rem; text-align: center;
  color: var(--faint); font-size: 0.82rem;
  max-width: 40rem; margin-left: auto; margin-right: auto;
}
.dual__loop { fill: none; stroke: var(--gold-dim); stroke-width: 2; }
.dual__circuit.is-cold .dual__loop { stroke: var(--cold-dim); }
.dual__title {
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  letter-spacing: 0.3em; fill: var(--gold); text-anchor: middle;
}
.dual__circuit.is-cold .dual__title { fill: var(--cold); }
.dual__sub {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  fill: var(--muted); text-anchor: middle;
}
.dual__part text {
  font-family: var(--sans); font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.2em; fill: var(--faint);
}
.dual__fin { fill: url(#dFin); stroke: #5c5347; stroke-width: 1; }
.dual__finlines { fill: url(#dFinLines); stroke: none; }
.dual__coil {
  fill: none; stroke: url(#dCopper); stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
}
.dual__circuit.is-cold .dual__coil { stroke: url(#dCold); }
.dual__shell { fill: url(#dShell); stroke: #6b6152; stroke-width: 1.2; }
.dual__seam { stroke: #8a7f6c; stroke-width: 1.6; opacity: 0.75; }
.dual__terminal { fill: #17140f; stroke: #6b6152; stroke-width: 1; }
.dual__feet { fill: #1b1813; stroke: #5c5347; stroke-width: 1; }
.dual__canister { fill: url(#dShell); stroke: #6b6152; stroke-width: 1.2; }
.dual__circuit.is-cold .dual__canister { stroke: #4d6673; }

.dual__why {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  margin-top: clamp(2.4rem, 5vh, 3.6rem);
  padding-top: clamp(1.8rem, 4vh, 2.6rem);
  border-top: 1px solid var(--hairline);
}
.dual__why h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.3rem; color: var(--ink); margin-bottom: 0.8rem;
}
.dual__why p { color: var(--muted); font-size: 0.92rem; }
.dual__why em { font-style: italic; color: var(--ink); }
@media (max-width: 760px) { .dual__why { grid-template-columns: 1fr; } }

/* ---------- neighbourhood list on city pages ---------- */
.areas {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.areas li {
  border: 1px solid var(--hairline);
  padding: 0.6rem 1.2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: border-color 0.5s var(--ease), color 0.5s;
}
.areas li:hover { border-color: var(--gold-dim); color: var(--gold-hi); }
.areas__note {
  margin-top: 1.8rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
}
.areas__note a, .footer small a { color: var(--muted); border-bottom: 1px solid var(--hairline); transition: color 0.4s, border-color 0.4s; }
.areas__note a:hover, .footer small a:hover { color: var(--gold-hi); border-color: var(--gold-dim); }

/* ---------- city pages: sourced figures, the local checklist ---------- */
.source {
  max-width: 44rem; margin: 1.8rem auto 0;
  font-size: 0.75rem; line-height: 1.6; color: var(--faint);
}
.checks {
  list-style: none; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vh, 2.8rem) clamp(2.5rem, 6vw, 5rem);
}
.checks li { padding-top: 1.3rem; border-top: 1px solid var(--hairline); }
.checks__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 0.9rem; letter-spacing: 0.18em; }
.checks h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.25;
  color: var(--ink); margin: 0.45rem 0 0.55rem;
}
.checks p { color: var(--muted); font-size: 0.92rem; max-width: 30rem; }
.checks a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
@media (max-width: 720px) { .checks { grid-template-columns: 1fr; } }

/* ---------- photographs by viewport: the full file on desktop, the 960 px companion on phones.
   Each element carries --photo and --photo-m inline; the rule below picks one.
   Not --bg: that is the page colour, and .bhero__bg::after fades into it.
   Paths start with "/": Chrome resolves a url() held in a custom property against this
   stylesheet (assets/css/), so a page-relative path pointed at assets/css/assets/photos/. ---------- */
.bhero__bg, .photoband__bg, .grille__bg { background-image: var(--photo); }
@media (max-width: 760px) {
  .bhero__bg, .photoband__bg, .grille__bg { background-image: var(--photo-m, var(--photo)); }
}

/* ---------- guides: tables and sources ---------- */
.tbl__lede {
  max-width: 44rem; margin: 0 auto clamp(1.8rem, 4vh, 2.6rem);
  text-align: center; color: var(--muted);
}
.tbl-wrap { max-width: 62rem; margin: 0 auto; }
.tbl-wrap--wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-wrap--wide .tbl { min-width: 40rem; }
.tbl { width: 100%; border-collapse: collapse; text-align: left; }
.tbl th, .tbl td { padding: 0.95rem 0.8rem; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.tbl thead th {
  font-size: 0.625rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
  border-bottom: 1px solid var(--gold-dim);
}
.tbl tbody th { font-weight: 300; color: var(--ink); font-size: 0.95rem; line-height: 1.5; }
.tbl td { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.tbl td small { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 0.15rem; }
.tbl__group th {
  padding-top: 1.6rem; padding-bottom: 0.5rem;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.05rem; color: var(--gold-hi);
  border-bottom: 1px solid var(--hairline);
}
.tbl .is-keep { color: var(--ink); }
.tbl .is-discard { color: #d98b7a; }
.tbl--cmp thead th:first-child { width: 12%; }
.tbl--cmp tbody th { color: var(--gold-hi); font-family: var(--serif); font-size: 1.05rem; }
.tbl--cmp td { width: 29%; }
.tbl--dec td:last-child { color: var(--ink); white-space: nowrap; }
.tbl__note {
  max-width: 44rem; margin: 1.6rem auto 0;
  text-align: center; font-size: 0.85rem; color: var(--faint);
}
.tbl__note a { color: var(--muted); border-bottom: 1px solid var(--hairline); }
.sources { max-width: 48rem; margin: 0 auto; padding-left: 1.4rem; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.sources li { padding-left: 0.3rem; margin-bottom: 0.5rem; }
.sources li::marker { color: var(--gold); font-family: var(--serif); font-style: italic; }
.sources a { color: var(--ink); border-bottom: 1px solid var(--hairline); }
.sources__date { max-width: 48rem; margin: 1.4rem auto 0; font-size: 0.78rem; line-height: 1.6; color: var(--faint); }
@media (max-width: 640px) {
  .tbl th, .tbl td { padding: 0.8rem 0.5rem; }
  .tbl--dec td:last-child { white-space: normal; }
}

/* ---------- service area: the map and the places ---------- */
.map { max-width: 920px; margin: 0 auto; }
.map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.map__ring { fill: none; stroke: var(--hairline); stroke-width: 1.2; stroke-dasharray: 3 7; }
.map__ring--outer { stroke: var(--gold-dim); stroke-dasharray: none; }
.map__ringlabel { fill: var(--faint); font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; }
.map__minor circle { fill: var(--rule); }
.map__minor text { fill: var(--faint); font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; }
.map__minor .map__cc { fill: var(--gold); } /* the two towns of one page: gold like the others with a page */
.map__major circle { fill: var(--gold); transition: fill 0.4s; }
.map__major .map__hit { fill: #000; fill-opacity: 0; } /* invisible 48-unit target behind each gold dot */
.map__major text { fill: var(--ink); font-family: var(--serif); font-size: 17px; transition: fill 0.4s; }
.map__major a:hover text, .map__major a:focus-visible text { fill: var(--gold-hi); }
.map__major a:hover circle { fill: var(--gold-hi); }
.map figcaption { margin-top: 1rem; text-align: center; font-size: 0.8rem; color: var(--faint); }
@media (max-width: 640px) {
  .map__minor text, .map__ringlabel { display: none; }
  .map__major text { font-size: 27px; }
  .map__t-arcadia { transform: translateY(30px); } /* clears the Paradise Valley label at phone size */
}
.places { list-style: none; max-width: 62rem; margin: 0 auto; }
.places li { border-bottom: 1px solid var(--hairline); }
.places li:first-child { border-top: 1px solid var(--hairline); }
.places a {
  display: grid; grid-template-columns: 2rem 1fr auto;
  column-gap: 1.4rem; row-gap: 0.3rem; align-items: baseline;
  padding: 1.3rem 0.4rem;
}
.places i { grid-row: 1 / 3; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 0.85rem; }
.places b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--ink); transition: color 0.4s; }
.places small { grid-column: 2; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.places span { grid-column: 3; grid-row: 1; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.places a:hover b, .places a:focus-visible b { color: var(--gold-hi); }
@media (max-width: 640px) {
  .places a { grid-template-columns: 1.6rem 1fr; column-gap: 1rem; }
  .places span { grid-column: 2; grid-row: auto; }
}

/* ---------- skip link (a11y) ---------- */
.skip-link {
  position: fixed; top: -60px; left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--gold); color: #050504;
  padding: 0.7rem 1.6rem;
  font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}
/* Form fields had outline:none with only a border-colour shift to signal focus —
   invisible to a keyboard user. They get a real ring. */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-bottom-color: var(--gold);
}


/* ============================================================
   TONE LIFT — same palette, less cave.
   Bands: every other reading section sits on --bg-2, full-bleed, so the
   page has a rhythm instead of one long black. Cinema sections keep
   --cinema. Reading text is larger and lighter; section headings carry
   weight 400 so they hold against the dark instead of dissolving into it.
   ============================================================ */
.section--band, .restored { isolation: isolate; }
.section--band::before, .restored::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--bg-2);
  z-index: -1;
}
.restored::before { background: var(--cinema); }

/* headings: presence, not thinness */
.section__head h2, .story .story__h, .cta h2, .prose h2, .restored__text h2,
.inside__lead h3, .mf__group h2, .bhero h1 { font-weight: 400; }
.section__head h2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
.label { font-size: 0.72rem; letter-spacing: 0.22em; text-indent: 0.22em; }
.section__head h2.label { font-size: 0.75rem; }
.spec__desc h3 { font-size: 0.875rem; }
.brand-row__meta .label { font-size: 0.7rem; }

/* reading text: 17px, not 15 */
.spec__desc p, .process__grid p, .grid2 p, .home__grid p, .wait__grid p,
.story__facts dd, .ask__list p, .diag__cols p, .faq details p, .mf__row dd,
.issues li span, .cta > p, .wait__note, .home__lede, .dual__why p, .brands__lede,
.home__jobs span, .diag__act-note,
.mf__note, .ec__how { font-size: 1rem; }
.inside__lead p, .prose p { font-size: 1.05rem; line-height: 1.8; }
.prose__note, .inside__note, .areas__note, .cyc__does { font-size: 0.95rem; }
.field label, .field__label, .form__legend { font-size: 0.7rem; letter-spacing: 0.28em; }
.field__hint { font-size: 0.8rem; }
.form__note { font-size: 0.8rem; }
.next li { font-size: 0.95rem; }
.footer small { font-size: 0.75rem; }
.footer__links a { font-size: 0.72rem; }


/* ============================================================
   PHOTOGRAPHY — real kitchens, full bleed.
   The homepage hero is three photographs pinned under one viewport: the
   kitchen, the inside of the machine, the detail that matters. Scroll
   cross-fades them and eases a slow zoom; the copy gives way to two beats.
   Brand and city pages carry one kitchen each behind their opening lines.
   No cut-outs, no video, no frame files.
   ============================================================ */
[data-state="closed"] { opacity: var(--o-closed, 1); }
[data-state="open"]   { opacity: var(--o-open, 0); }
[data-state="full"]   { opacity: var(--o-full, 0); }

.hero { position: relative; height: 280dvh; background: var(--cinema); }
.hero__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 6.5rem clamp(1.5rem, 7vw, 8rem) 3rem;
}
.hero__layers { position: absolute; inset: 0; }
.hero__layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, center);
  transform: scale(var(--zoom, 1));
  transform-origin: 50% 55%;
  will-change: opacity, transform;
}
/* reading light: dark on the left where the words are, open on the right where the room is */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(5,5,4,0.88) 0%, rgba(5,5,4,0.66) 34%, rgba(5,5,4,0.22) 62%, rgba(5,5,4,0.34) 100%),
    linear-gradient(to bottom, rgba(5,5,4,0.55) 0%, transparent 28%, transparent 70%, var(--bg) 100%);
}
.hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; max-width: 41rem; /* wide enough for the three facts on one line */
  will-change: transform, opacity;
}
.hero__copy .hero__display { margin: 0; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.hero__copy .hero__seo { margin: 1.2rem 0 0; text-shadow: 0 1px 14px rgba(0,0,0,0.8); }
.hero__copy .hero__actions { justify-content: flex-start; margin-top: 2rem; }
.hero__copy .hero__trust { justify-content: flex-start; margin-top: 1.8rem; }
.hero__beats { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero .beat {
  position: absolute; left: clamp(1.5rem, 7vw, 8rem); top: 50%;
  transform: translateY(calc(-50% + var(--dy, 0px)));
  max-width: min(32rem, 46vw);
  padding: 0; text-align: left;
}
.hero .beat p { max-width: 28rem; font-size: 1.02rem; color: var(--ink); text-shadow: 0 1px 12px rgba(0,0,0,0.8); }
.hero .beat .beat__line { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: none; text-shadow: 0 2px 26px rgba(0,0,0,0.7); }
.hero .beat .num { font-size: 1rem; }
.hero .beat a { color: var(--gold-hi); border-bottom: 1px solid var(--gold-dim); pointer-events: auto; }
@media (max-width: 860px) {
  .hero { height: 250dvh; }
  .hero__pin { align-items: flex-end; padding: 5.5rem 1.4rem 4rem; }
  .hero__layer { object-position: var(--pos-m, 60% center); }
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(5,5,4,0.5) 0%, rgba(5,5,4,0.1) 30%, rgba(5,5,4,0.62) 56%, rgba(5,5,4,0.94) 82%, var(--bg) 100%);
  }
  .hero__copy { align-items: center; text-align: center; max-width: none; width: 100%; }
  .hero__copy .hero__display { max-width: 16ch; margin: 0 auto; } /* two lines, no orphaned "it." */
  .hero__copy .hero__seo { margin: 0.8rem auto 0; }
  .hero__copy .hero__actions, .hero__copy .hero__trust { justify-content: center; }
  .hero .beat {
    left: 1.4rem; right: 1.4rem; top: auto; bottom: 9svh;
    transform: translateY(var(--dy, 0px)); max-width: none; text-align: center;
  }
  .hero .beat p { margin: 0 auto; }
}

/* ---------- close-up band ---------- */
.grille {
  position: relative;
  max-width: none; padding: 0;
  min-height: 78vh;
  overflow: hidden;
  background: var(--cinema);
  display: flex; align-items: flex-end;
}
.grille__bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: center 40%;
  will-change: transform;
}
.grille__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,4,0.5), rgba(5,5,4,0.12) 40%, rgba(5,5,4,0.9) 100%);
}
.grille__beats {
  position: relative; list-style: none;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem) clamp(3rem, 7vh, 5rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem clamp(1.5rem, 4vw, 4rem);
}
.grille__beats li { padding-top: 1.1rem; border-top: 1px solid rgba(236,217,164,0.35); }
.grille__beats .num { font-family: var(--serif); font-style: italic; color: var(--gold-hi); letter-spacing: 0.2em; }
.grille__beats h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15;
  color: var(--ink); margin: 0.5rem 0 0.5rem;
}
.grille__beats p { color: var(--ink); opacity: 0.88; font-size: 0.98rem; max-width: 24rem; }
@media (max-width: 720px) {
  .grille { min-height: 0; padding-top: 50vh; }
  .grille__beats { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ---------- photo band: one real photograph, one line ---------- */
.photoband {
  position: relative;
  max-width: none; padding: 0;
  height: clamp(24rem, 66vh, 42rem);
  overflow: hidden;
  background: var(--cinema);
  display: flex; align-items: flex-end;
}
.photoband__bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: var(--pos, center);
  will-change: transform;
}
.photoband__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,4,0.3), transparent 35%, rgba(5,5,4,0.85) 100%);
}
/* a white kitchen needs a deeper foot under the caption than a dark one does */
.photoband--bright .photoband__bg::after {
  background: linear-gradient(to bottom, rgba(5,5,4,0.32), rgba(5,5,4,0.1) 28%, rgba(5,5,4,0.58) 58%, rgba(5,5,4,0.95) 90%);
}
.photoband__cap {
  position: relative;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem) clamp(2rem, 5vh, 3.4rem);
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35;
  color: var(--ink); text-shadow: 0 1px 14px rgba(0,0,0,0.7);
}
.photoband__cap span {
  display: block; margin-top: 0.7rem;
  font-family: var(--sans); font-style: normal;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-hi);
}

/* ---------- brand and city openings: one kitchen each ---------- */
.bhero__bg { opacity: 0.6; filter: saturate(0.9) brightness(0.92); }
.bhero__bg::after {
  background:
    linear-gradient(to bottom, rgba(5,5,4,0.62), rgba(5,5,4,0.28) 45%, var(--bg) 98%);
}

/* ---------- the payoff, held still ---------- */
.restored__fig { position: relative; overflow: hidden; }
.restored__fig img { width: 100%; height: auto; display: block; }
.restored__fig::after {
  content: ''; position: absolute; inset: 0; display: block;
  background: linear-gradient(to bottom, rgba(5,5,4,0.12), transparent 30%, rgba(5,5,4,0.45) 100%);
  pointer-events: none;
}

/* reveals: quicker and shorter — the page should feel settled, not floaty */
[data-reveal] { transform: translateY(22px); transition-duration: 0.85s, 0.85s; }

@media (prefers-reduced-motion: reduce) {
  .hero__layer { transform: none !important; }
}


/* ============================================================
   MOBILE — photographs shown whole, words underneath.
   A landscape kitchen cropped to a phone-shaped slice loses the room, so on
   narrow screens every photograph sits in its own landscape frame and the
   text moves below it. The hero stops being a pinned scene and becomes three
   plain chapters: photograph, then words. Nothing here depends on JavaScript;
   the scroll script keeps running and is simply overruled.
   ============================================================ */
@media (max-width: 760px) {
  :root { --space-tight: 3.4rem; --space-base: 4.4rem; --space-open: 5.6rem; }

  /* ---- hero: three chapters, stacked ---- */
  .hero { height: auto !important; }
  .hero__pin {
    position: relative; height: auto; overflow: visible;
    display: grid; grid-template-columns: 1fr;
    padding: 0 0 0.5rem;
  }
  /* keeps the wordmark and menu readable over the first photograph */
  .hero__pin::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 7.5rem;
    background: linear-gradient(to bottom, rgba(5,5,4,0.78), rgba(5,5,4,0));
    z-index: 1; pointer-events: none;
  }
  .hero__layers, .hero__beats { display: contents; }
  .hero__scrim { display: none; }
  .hero__layer {
    position: relative; inset: auto;
    width: 100%; height: auto; aspect-ratio: 4 / 3;
    opacity: 1 !important; transform: none !important;
    object-position: var(--pos-m, center);
  }
  .hero__layer[data-state="closed"] { order: 1; aspect-ratio: 1 / 1; }
  .hero__copy {
    order: 2;
    opacity: 1 !important; transform: none !important; pointer-events: auto !important;
    align-items: center; text-align: center;
    max-width: none; width: auto;
    padding: 2rem 1.4rem 3rem;
  }
  .hero__copy .hero__display { text-shadow: none; }
  .hero__copy .hero__seo { text-shadow: none; }
  .hero__layer[data-state="open"] { order: 3; }
  .hero .beat:nth-of-type(1) { order: 4; }
  .hero__layer[data-state="full"] { order: 5; }
  .hero .beat:nth-of-type(2) { order: 6; }
  .hero .beat {
    position: static;
    opacity: 1 !important; visibility: visible !important; transform: none !important;
    left: auto; right: auto; bottom: auto; max-width: none;
    padding: 1.8rem 1.4rem 3rem; text-align: left;
  }
  .hero .beat p { margin: 0; text-shadow: none; }
  .hero .beat .beat__line { text-shadow: none; margin: 0.7rem 0 0.8rem; }

  /* ---- brand, city and topic openings: the kitchen on top, the words below ---- */
  .bhero:has(.bhero__bg) {
    display: flex; flex-direction: column; justify-content: flex-start;
    min-height: 0; padding: 0 0 3.2rem;
  }
  .bhero:has(.bhero__bg) .bhero__bg {
    position: relative; inset: auto; order: -1; align-self: stretch;
    width: 100%; aspect-ratio: 4 / 3;
    opacity: 1 !important; filter: none;
    margin-bottom: 2.2rem;
  }
  .bhero:has(.bhero__bg) .bhero__bg::after {
    background: linear-gradient(to bottom, rgba(5,5,4,0.72) 0%, rgba(5,5,4,0.06) 32%, rgba(5,5,4,0) 72%, var(--bg) 100%);
  }
  .bhero:has(.bhero__bg) > *:not(.bhero__bg) { margin-left: 1.4rem; margin-right: 1.4rem; }
  .bhero:has(.bhero__bg) h1 { margin-top: 1.2rem; text-shadow: none; }
  .bhero:has(.bhero__bg) p { text-shadow: none; }

  /* ---- photo bands: the photograph, then its line ---- */
  .photoband { height: auto; display: block; }
  .photoband__bg {
    position: relative; inset: auto;
    aspect-ratio: 3 / 2;
    transform: none !important;
  }
  .photoband__bg::after,
  .photoband--bright .photoband__bg::after { background: linear-gradient(to bottom, rgba(5,5,4,0) 62%, var(--cinema) 100%); }
  .photoband__cap { padding: 1.3rem 1.4rem 2.6rem; text-shadow: none; }

  /* ---- three principles: photograph, then the list ---- */
  .grille { display: block; min-height: 0; padding-top: 0; }
  .grille__bg {
    position: relative; inset: auto;
    aspect-ratio: 3 / 2;
    transform: none !important;
  }
  .grille__bg::after { background: linear-gradient(to bottom, rgba(5,5,4,0.12), rgba(5,5,4,0) 45%, var(--cinema) 100%); }
  .grille__beats { padding: 1.8rem 1.4rem 3rem; }

  /* ---- the payoff: photograph edge to edge, words below ---- */
  .restored { padding-top: 0; }
  .restored__fig { margin-left: calc(-1 * clamp(1.5rem, 6vw, 6rem)); margin-right: calc(-1 * clamp(1.5rem, 6vw, 6rem)); }

  /* ---- four names: the picture shown whole, as a banner ---- */
  .brands--backdrop { padding-top: 0; }
  .brands--backdrop .brands__bg {
    position: relative; inset: auto;
    aspect-ratio: 16 / 10;
    background-position: center 58%;
    transform: none !important;
    margin-bottom: 2.6rem;
  }
  .brands--backdrop .brands__bg::after {
    background: linear-gradient(to bottom, rgba(5,5,4,0.25), rgba(5,5,4,0) 40%, var(--bg) 100%);
  }

  /* ---- diagrams: drawn larger and labelled inside the loop, so they read at arm's length.
     The quadrant notes are dropped here — the panes underneath say the same thing. ---- */
  .cyc__stage { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
  .cyc__stage { gap: 1.6rem; }
  .cyc__svg { width: 140%; max-width: none; margin: -1.2rem 0 -1.2rem -20%; }
  .cyc__ann { display: none; }
  .cyc__name { font-size: 21px; letter-spacing: 0.16em; }
  .cyc__station[data-station="condenser"] .cyc__name { transform: translate(0, 120px); }
  .cyc__station[data-station="evaporator"] .cyc__name { transform: translate(0, -114px); }
  .cyc__name--right { text-anchor: end; transform: translate(-132px, 3px); }
  .cyc__name--left { text-anchor: start; transform: translate(102px, 3px); }
  .cyc__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .cyc__tab {
    padding: 1rem 0.4rem; font-size: 0.72rem; text-align: center;
    border-bottom: 1px solid var(--hairline); margin-bottom: 0;
  }
  .cyc__tab i { display: inline; }

  .dual__stage { overflow: hidden; }
  .dual__svg { width: 128%; max-width: none; margin-left: -14%; }
  .dual__part { display: none; }
  .dual__title { font-size: 25px; letter-spacing: 0.26em; transform: translateY(-5px); }
  .dual__sub { font-size: 23px; transform: translateY(9px); }

  /* ---- symptom picker: one full-width row each, easier on a thumb than ragged chips ---- */
  .diag__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .diag__chip { width: 100%; text-align: left; padding: 0.95rem 1.1rem; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero__layer[data-state="closed"] { aspect-ratio: 4 / 3; }
}
