/* ==========================================================================
   AJ3 Cool-Aire 2026
   Design system. Single-hue heat scale.

   There is no second colour in this system. Every value is the AJ3 logo
   orange moved along one axis: driven down to a warm near-black for panels,
   up through burnt amber and the brand orange itself, out to a pale warm
   highlight. Neutrals are warmed to match rather than left cool grey, so
   nothing on the page reads as blue.
   ========================================================================== */

/* --- 1. TOKENS ----------------------------------------------------------
   The orange is sampled from the AJ3 logo itself: the saturated core of the
   wordmark sits at hsl(24 95% 62%), which is --t7 below. Every warm value in
   the ramp is derived from it rather than picked by eye.
   Light is the default scheme. Dark is opt-in via [data-theme="dark"].       */
:root {
  /* Single-hue ramp. Every step is the logo orange driven up and down in
     lightness, so there is no second colour anywhere in the system. */
  --t1: #1a1108;   /* warm near-black, the panel ground */
  --t2: #2a1c0f;
  --t3: #6b3a10;   /* burnt amber */
  --t4: #c9690f;   /* mid orange, focus rings and icon accents */
  --t5: #ffc08a;   /* light warm highlight */
  --t6: #ffc98a;
  --t7: #fa8c42;   /* AJ3 logo orange */

  --heat: var(--t7);
  --heat-deep: #ac550d;  /* 5.2:1 on paper, for orange text and links */
  --ice: var(--t5);      /* kept as a name; it is now warm, not cyan */

  /* surfaces, warm neutrals */
  --paper: #faf7f4;
  --card: #ffffff;
  --sunk: #f4efe9;
  --line: #e6ddd4;
  --line-soft: #efe8e1;

  /* ink */
  --ink: #1c1208;
  --ink-2: #52453a;
  --ink-3: #7a6a5c;
  --on-heat: #1a1206;

  /* dark panel ink, used inside .panel regardless of scheme */
  --p-ink: #f7efe8;
  --p-ink-2: #d3bfae;
  --p-line: rgba(250, 140, 66, .22);

  /* type */
  --display: 'Archivo', 'Archivo Black', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* metrics */
  --wrap: 1240px;
  --gap: 24px;
  --r: 14px;
  --r-lg: 22px;
  --r-sm: 9px;

  --shadow: 0 1px 2px rgba(44, 26, 10, .06), 0 8px 24px -12px rgba(44, 26, 10, .18);
  --shadow-lg: 0 2px 4px rgba(44, 26, 10, .06), 0 24px 56px -22px rgba(44, 26, 10, .3);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .34s;
}

/* Dark is a deliberate choice, not a system default. The toggle in the header
   writes data-theme and persists it, so the first paint is always light. */
html[data-theme="dark"] {
  --paper: #1a1108;
  --card: #261a10;
  --sunk: #201509;
  --line: #4a3524;
  --line-soft: #362614;
  --ink: #f7efe8;
  --ink-2: #d3bfae;
  --ink-3: #a8927e;
  --heat-deep: #ffab63;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 56px -22px rgba(0, 0, 0, .7);
}

/* --- 2. RESET ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

:focus-visible {
  outline: 3px solid var(--t4);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed; top: -100px; left: 12px; z-index: 999;
  background: var(--heat); color: var(--on-heat);
  padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700;
}
.skip:focus { top: 12px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. TYPE SCALE ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.d1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.d2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.d3 { font-size: clamp(1.35rem, 2.2vw, 1.72rem); letter-spacing: -.022em; }

p { text-wrap: pretty; }
.lede { font-size: clamp(1.03rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 60ch; }
.small { font-size: .875rem; color: var(--ink-3); }

/* The mono face carries units, codes and labels only. Never body copy. */
.tag {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--heat-deep);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 3px;
  background: linear-gradient(90deg, var(--t3), var(--heat));
  border-radius: 2px;
}
.eyebrow--ice { color: var(--ice); }

/* Numerals are the star of this design, so they get tabular alignment. */
.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.04em; }

/* --- 4. LAYOUT ---------------------------------------------------------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (max-width: 620px) { .wrap { width: min(100% - 28px, var(--wrap)); } }

.sec { padding-block: clamp(56px, 7.5vw, 104px); }
.sec--tight { padding-block: clamp(40px, 5vw, 68px); }
.sec--sunk { background: var(--sunk); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head p { max-width: 52ch; margin-top: 12px; color: var(--ink-2); }

/* --- 5. BUTTONS --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Dark ink on orange. White on orange is 2.7:1 and fails. */
.btn--heat { background: var(--heat); color: var(--on-heat); }
.btn--heat:hover { background: #ff8631; }

.btn--line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--line:hover { border-color: var(--t4); color: var(--t4); }

.btn--ghost { border-color: var(--p-line); color: var(--p-ink); }
.btn--ghost:hover { border-color: var(--ice); color: var(--ice); }

.btn--sm { padding: 10px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

/* --- 5b. MARQUEE. Brand orange band, unit types and the standing offer. -- */
.marquee {
  background: var(--heat);
  color: var(--on-heat);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee ul {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin: 0; padding: 0;
  flex: none;
}
.marquee li {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}
.marquee li::after {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .45;
  margin: 0 22px;
}
.marquee li.hot { font-weight: 700; }
.marquee li.hot b { font-weight: 700; }

@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: 100%; }
  .marquee { overflow-x: auto; }
}

/* --- 6. UTILITY BAR + HEADER ------------------------------------------- */
.util {
  background: var(--t1);
  color: var(--p-ink-2);
  font-size: .78rem;
}
.util .wrap { display: flex; align-items: center; gap: 22px; height: 38px; }
.util a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.util a:hover { color: var(--ice); }
.util svg { width: 14px; height: 14px; opacity: .75; }
.util .spacer { margin-left: auto; }
.util .live { display: inline-flex; align-items: center; gap: 7px; color: var(--ice); }
.util .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(250, 140, 66, .6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(250, 140, 66, 0); } }
@media (max-width: 900px) { .util .hide-sm { display: none; } }

.head {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.7) blur(14px);
  -webkit-backdrop-filter: saturate(1.7) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.head .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 10px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.16rem; letter-spacing: -.035em; line-height: 1; }
.brand-sub { font-family: var(--mono); font-size: .53rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); display: block; margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.menu a {
  text-decoration: none; padding: 9px 13px; border-radius: 8px;
  font-size: .92rem; font-weight: 600; color: var(--ink-2);
  transition: color .16s, background-color .16s;
}
.menu a:hover { color: var(--ink); background: var(--sunk); }
.menu a[aria-current] { color: var(--heat-deep); }

.head-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-call { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.head-call svg { width: 19px; height: 19px; color: var(--heat); }
.head-call b { display: block; font-size: .93rem; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.head-call span { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* The logo file is a JPG with a baked-in white background, so it always sits
   on its own white plaque. That reads as intentional in dark mode instead of
   as a stray white rectangle. */
.brand-logo {
  height: 42px; width: auto; flex: none;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  box-shadow: 0 1px 3px rgba(44, 26, 10, .14);
}
@media (max-width: 520px) { .brand-logo { height: 34px; padding: 3px 6px; } }

.icon-btn {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 10px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: border-color .16s, color .16s, background-color .16s;
}
.icon-btn:hover { border-color: var(--t4); color: var(--t4); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .moon { display: none; }
html[data-theme="dark"] .icon-btn .moon { display: block; }
html[data-theme="dark"] .icon-btn .sun { display: none; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }

@media (max-width: 1080px) { .head-call { display: none; } }
@media (max-width: 940px) {
  .burger { display: flex; }
  .menu {
    position: fixed; inset: 110px 16px auto 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r); padding: 10px; box-shadow: var(--shadow-lg);
    margin: 0; display: none;
  }
  .menu[data-open] { display: flex; }
  .menu a { padding: 13px 14px; font-size: 1rem; }
}

/* --- 7. THE PANEL. Dark thermal instrument. ---------------------------- */
.panel {
  position: relative;
  background: var(--t1);
  color: var(--p-ink);
  overflow: hidden;
  isolation: isolate;
}
/* Thermal bloom. Heat pooling in the top right, cold settling bottom left. */
.panel::before {
  content: '';
  position: absolute; inset: -30% -10% auto auto;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 62% 38%, rgba(250, 140, 66, .34), rgba(201, 105, 15, .16) 44%, transparent 70%);
  z-index: -1;
  filter: blur(6px);
}
.panel::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--p-line) 1px, transparent 1px), linear-gradient(90deg, var(--p-line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 20%, transparent 78%);
  opacity: .5;
  z-index: -1;
}
.panel .lede { color: var(--p-ink-2); }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 4.5vw, 66px); align-items: center; padding-block: clamp(46px, 5.6vw, 84px); }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; gap: 40px; } }

/* --- 7b. VIDEO BANNER --------------------------------------------------
   The client's own footage is shot 9:16 for social. Stretching it across a
   wide hero would crop most of the frame away, so the video keeps its native
   portrait ratio and sits beside the headline instead of behind it. */
.vhero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--t1); color: var(--p-ink);
}
.vhero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 78% 30%, rgba(250, 140, 66, .30), transparent 62%),
    radial-gradient(ellipse 70% 60% at 12% 78%, rgba(201, 105, 15, .26), transparent 64%);
}
.vhero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--p-line) 1px, transparent 1px), linear-gradient(90deg, var(--p-line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 15%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 15%, transparent 76%);
  opacity: .45;
}

.vhero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 6vw, 92px);
}
@media (max-width: 940px) { .vhero-grid { grid-template-columns: 1fr; gap: 40px; } }

.vhero h1 { color: #fff; max-width: 16ch; }
.vhero .lede { color: var(--p-ink-2); max-width: 52ch; }
.vhero .btn-row { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.vhero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--heat); color: var(--on-heat);
  padding: 9px 16px; border-radius: 100px;
  font-family: var(--mono); font-size: .6rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 22px;
}

/* Portrait frame, sized like the phone the footage was shot on. */
.vframe {
  position: relative;
  width: min(100%, 326px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(250, 140, 66, .30);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(250, 140, 66, .5);
}
.vframe video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 940px) { .vframe { width: min(100%, 280px); } }

.vhero-ctl {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(26, 17, 8, .68); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.vhero-ctl:hover { background: rgba(26, 17, 8, .92); }
.vhero-ctl svg { width: 14px; height: 14px; }
.vhero-ctl .ico-play { display: none; }
.vhero-ctl[data-paused] .ico-play { display: block; }
.vhero-ctl[data-paused] .ico-pause { display: none; }

/* --- 8. THE SIZER. Signature element. ---------------------------------- */
.sizer { max-width: 610px; }
.sizer h1 { color: var(--p-ink); margin-bottom: 16px; }
.sizer h1 em { font-style: normal; color: var(--ice); }

.ramp { margin-top: 34px; }

.ramp-read { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.ramp-read .num { font-size: clamp(3.4rem, 8vw, 5.2rem); line-height: .85; color: var(--p-ink); }
/* Named ramp-unit, not unit: .unit is the product card, and the shared name
   was painting a white card background behind this label. */
.ramp-unit { font-family: var(--mono); font-size: .82rem; font-weight: 600; color: var(--p-ink-2); letter-spacing: .04em; line-height: 1.25; }
.ramp-read .hint { margin-left: auto; text-align: right; font-size: .82rem; color: var(--p-ink-2); max-width: 20ch; line-height: 1.4; }

/* The track is the thermal ramp itself, so the control shows the concept. */
.ramp-track { position: relative; padding-block: 16px 8px; }
/* The input box is the touch target, so it is 34px tall while the visible
   track stays 12px on the runnable-track pseudo-element. A 12px-tall input
   is close to ungrabbable on a phone. */
.ramp-track input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 34px; margin: 0;
  background: transparent;
  cursor: ew-resize;
}
.ramp-heat {
  height: 12px; border-radius: 100px;
  background: linear-gradient(90deg, #3d2209 0%, #a8560c 26%, #fa8c42 56%, #ffb877 82%, #ffdcbd 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.ramp-track input[type=range]::-webkit-slider-runnable-track { height: 12px; border-radius: 100px; background: linear-gradient(90deg, #3d2209 0%, #a8560c 26%, #fa8c42 56%, #ffb877 82%, #ffdcbd 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.ramp-track input[type=range]::-moz-range-track { height: 12px; border-radius: 100px; background: linear-gradient(90deg, #3d2209 0%, #a8560c 26%, #fa8c42 56%, #ffb877 82%, #ffdcbd 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

.ramp-track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  margin-top: -9px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 4px solid var(--t1);
  box-shadow: 0 0 0 2px rgba(250, 140, 66, .9), 0 6px 18px rgba(0, 0, 0, .55);
  transition: transform .16s var(--ease);
}
.ramp-track input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.ramp-track input[type=range]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--t1);
  box-shadow: 0 0 0 2px rgba(250, 140, 66, .9), 0 6px 18px rgba(0, 0, 0, .55);
}

.ramp-ticks { display: flex; justify-content: space-between; margin-top: 12px; }
.ramp-ticks span { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--p-ink-2); opacity: .8; }

/* Result readout */
.result {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  margin-top: 30px; padding: 20px 22px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--p-line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(4px);
}
.hp-badge {
  display: grid; place-items: center; text-align: center;
  width: 108px; height: 108px; flex: none;
  border-radius: 18px;
  background: linear-gradient(155deg, var(--t7), #ff9d3d);
  color: var(--on-heat);
  box-shadow: 0 12px 34px -12px rgba(242, 117, 26, .75);
}
.hp-badge .num { font-size: 2.5rem; line-height: .9; }
/* "horsepower" is 10 wide-advance mono characters; at .6rem it overran the
   92px badge on small phones. */
.hp-badge .tag { display: block; margin-top: 5px; opacity: .78; font-size: .5rem; letter-spacing: .07em; }

.result-body h2 { font-size: 1.16rem; letter-spacing: -.025em; color: var(--p-ink); margin-bottom: 5px; }
.result-body p { font-size: .89rem; color: var(--p-ink-2); margin-bottom: 13px; }
.result-body p b { color: var(--ice); font-family: var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .result { grid-template-columns: 1fr; }
  .hp-badge { width: 92px; height: 92px; }
}

.disclaim { margin-top: 16px; font-size: .78rem; color: var(--p-ink-2); opacity: .82; max-width: 54ch; }
.disclaim a { color: var(--ice); }

/* Live matching units, dark variant */
.match { display: grid; gap: 12px; }
.match-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.match-head .tag { color: var(--p-ink-2); }
.match-head a {
  color: var(--ice); font-size: .82rem; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 4px;
}
.match-head a:hover { text-decoration: underline; }

.mrow {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--p-line);
  border-radius: var(--r);
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.mrow:hover { background: rgba(255, 255, 255, .09); border-color: rgba(250, 140, 66, .45); transform: translateX(4px); }
.mrow img { width: 62px; height: 48px; object-fit: contain; border-radius: 7px; background: #fff; padding: 4px; }
.mrow-b { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; color: var(--ice); }
.mrow-n { font-size: .85rem; font-weight: 600; color: var(--p-ink); line-height: 1.3; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mrow-p { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1rem; color: var(--p-ink); letter-spacing: -.03em; text-align: right; }
.mrow-p span { display: block; font-family: var(--mono); font-size: .5rem; letter-spacing: .1em; color: var(--p-ink-2); font-weight: 500; margin-top: 3px; }

/* --- 9. STAT STRIP ------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--p-line); }
.stats div { padding: 26px 22px 30px; border-right: 1px solid var(--p-line); }
.stats div:last-child { border-right: 0; }
.stats .num { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--p-ink); display: block; line-height: 1; }
.stats .num i { font-style: normal; color: var(--ice); }
.stats .tag { color: var(--p-ink-2); display: block; margin-top: 10px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--p-line); }
}

/* --- 10. BRAND RAIL ----------------------------------------------------- */
.brands { display: flex; flex-wrap: wrap; gap: 9px; }
/* The anchor must be the flex box, not an inline wrapper, or the tap target
   collapses to the text height instead of the pill height. */
.brands a { display: inline-flex; text-decoration: none; }
.brands span {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em;
  padding: 10px 15px; border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink-2); background: var(--card);
  transition: border-color .16s, color .16s;
}
.brands a:hover span { border-color: var(--t4); color: var(--t4); }

/* --- 11. PRODUCT CARD --------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
/* Holds three across on tablets. Dropping to two at 820 made 376px cards,
   which is wider than the product photo can usefully fill. */
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.unit {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.unit:hover { border-color: var(--t4); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.unit-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  display: grid; place-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.unit-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.unit:hover .unit-media img { transform: scale(1.05); }

.hp-chip {
  position: absolute; top: 10px; left: 10px;
  background: var(--t1); color: #fff;
  padding: 5px 9px; border-radius: 7px;
  font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .06em;
}
/* Fixed inks, not theme tokens: this chip always sits on the white photo
   plate, so a themed colour would drop to 1.8:1 in dark mode. */
.type-chip {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255, 255, 255, .94); color: #3a4f54;
  border: 1px solid #dae3e4;
  padding: 5px 9px; border-radius: 7px;
  font-family: var(--mono); font-size: .55rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

.unit-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.unit-brand { font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .13em; color: var(--heat-deep); }
/* Model codes like AR09TYHYEWKNTC are single unbreakable tokens, so they need
   an explicit break opportunity or they push past the card. */
.unit-name {
  font-size: .92rem; font-weight: 600; line-height: 1.34; margin-top: 7px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em;
  overflow-wrap: anywhere;
}
.mrow-n, .pdp h1 { overflow-wrap: anywhere; }
.unit-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.unit-price { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.28rem; letter-spacing: -.04em; line-height: 1; }
.unit-price span { display: block; font-family: var(--mono); font-size: .5rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.unit-go {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.unit-go svg { width: 15px; height: 15px; }
.unit:hover .unit-go { background: var(--heat); border-color: var(--heat); color: var(--on-heat); }

/* --- 12. FILTER RAIL ---------------------------------------------------- */
.shop { display: grid; grid-template-columns: 236px 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; gap: 20px; } }

.rail { position: sticky; top: 92px; display: grid; gap: 24px; }
@media (max-width: 900px) { .rail { position: static; } }

.fgroup > .tag { color: var(--ink-3); display: block; margin-bottom: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 7px 13px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
  transition: background-color .16s, border-color .16s, color .16s;
}
.chip:hover { border-color: var(--t4); color: var(--t4); }
.chip[aria-pressed=true] { background: var(--t1); border-color: var(--t1); color: #fff; }

.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-bar .count { font-family: var(--mono); font-size: .68rem; letter-spacing: .09em; color: var(--ink-3); }
.shop-bar .count b { color: var(--ink); font-size: .95rem; }
.sortsel { padding: 9px 13px; border: 1px solid var(--line); border-radius: 100px; background: var(--card); font-size: .84rem; font-weight: 600; }

.empty { grid-column: 1 / -1; text-align: center; padding: 64px 20px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }

/* --- 13. TRUE PRICE TABLE ---------------------------------------------- */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline;
  padding: 16px 22px; border-bottom: 1px solid var(--line-soft);
}
.price-row:last-child { border-bottom: 0; }
.price-row b { font-weight: 600; font-size: .96rem; }
.price-row small { display: block; color: var(--ink-3); font-size: .8rem; margin-top: 2px; }
.price-row .amt { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.1rem; letter-spacing: -.03em; white-space: nowrap; }

/* --- 14. SERVICE CARD --------------------------------------------------- */
/* Four across needs ~270px a card to stay readable. Below that it drops
   straight to two rather than squeezing four into 230px each. */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1160px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  padding: 24px 22px 26px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.svc:hover { border-color: var(--t4); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(150deg, var(--t3), var(--t4));
  display: grid; place-items: center; color: #fff; margin-bottom: 16px;
}
.svc-ico svg { width: 21px; height: 21px; }
.svc h3 { font-size: 1.02rem; letter-spacing: -.02em; margin-bottom: 8px; }
.svc p { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.svc .amt { display: inline-block; margin-top: 13px; font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .06em; color: var(--heat-deep); }

/* --- 15. PROCESS. Numbered because it is a real sequence. --------------- */
/* Five across only works when each column clears ~210px of text. Under that
   the sequence reads better stacked, which is also the clearer order on a
   phone, so it becomes a numbered vertical list rather than a squeezed row. */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--ink); }
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px 22px 30px 0; position: relative; }
@media (min-width: 1101px) { .step { padding-right: 26px; } .step::after { content: ''; position: absolute; top: -2px; right: 0; bottom: auto; width: 1px; height: 26px; background: var(--line); } .step:last-child::after { display: none; } }
@media (max-width: 1100px) {
  .step { border-bottom: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 54px 1fr; align-items: start; column-gap: 12px; }
  .step .num { margin-bottom: 0; grid-row: 1 / span 2; }
  .step p { grid-column: 2; }
}
.step .num { display: block; font-size: 1.05rem; color: var(--heat-deep); margin-bottom: 12px; }
.step h3 { font-size: 1.02rem; letter-spacing: -.022em; margin-bottom: 7px; }
.step p { font-size: .87rem; color: var(--ink-2); line-height: 1.55; }

/* --- 16. SPLIT FEATURE -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 13px; margin-top: 26px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start; font-size: .95rem; color: var(--ink-2); }
.checklist svg { width: 22px; height: 22px; color: var(--t4); margin-top: 1px; }
.checklist b { color: var(--ink); font-weight: 600; }
ul.checklist { list-style: none; padding: 0; }

/* --- 17. FAQ ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.03rem; letter-spacing: -.022em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 13px; height: 13px; flex: none;
  border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details[open] summary { color: var(--heat-deep); }
.faq p { padding-bottom: 22px; color: var(--ink-2); max-width: 68ch; font-size: .95rem; }

/* --- 18. CTA BAND ------------------------------------------------------- */
.band { border-radius: var(--r-lg); padding: clamp(34px, 5vw, 62px); }
.band h2 { color: var(--p-ink); max-width: 18ch; }
.band p { color: var(--p-ink-2); max-width: 48ch; margin-top: 14px; }
.band .btn-row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* --- 19. FORM ----------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label { font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); font-size: .95rem;
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--t4); box-shadow: 0 0 0 3px rgba(250, 140, 66, .22);
}
.field textarea { resize: vertical; min-height: 108px; }
.field--err input, .field--err select, .field--err textarea { border-color: #d1442b; }
.err { font-size: .8rem; color: #d1442b; display: none; }
.field--err .err { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .two { grid-template-columns: 1fr; } }

.form-note { font-size: .8rem; color: var(--ink-3); }
.ok {
  display: none; padding: 18px 20px; border-radius: var(--r);
  background: rgba(250, 140, 66, .12); border: 1px solid var(--t4); color: var(--ink);
  font-size: .93rem;
}
.ok[data-on] { display: block; }

/* --- 20. FOOTER --------------------------------------------------------- */
.foot { background: var(--t1); color: var(--p-ink-2); padding-top: 62px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ice); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 { font-size: .78rem; font-family: var(--mono); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--p-ink); margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .89rem; }
.foot p { font-size: .89rem; line-height: 1.6; max-width: 40ch; }
.foot-bot { border-top: 1px solid var(--p-line); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; }
.foot .brand-name { color: var(--p-ink); }

/* --- 21. STICKY MOBILE ACTION BAR -------------------------------------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 9px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.dock .btn { flex: 1; }
@media (max-width: 720px) { .dock { display: flex; } body { padding-bottom: 74px; } }

/* --- 22. MOTION. Entrance reveals only, gated. ------------------------- */
[data-rise] { opacity: 0; transform: translateY(18px); }
[data-rise].in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-rise] { opacity: 1; transform: none; }
  .btn:hover, .unit:hover, .svc:hover, .mrow:hover { transform: none; }
}

/* --- 23. PRODUCT DETAIL ------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .pdp { grid-template-columns: 1fr; } }

.pdp-media {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px); display: grid; place-items: center;
  aspect-ratio: 1 / 1; position: sticky; top: 92px;
}
@media (max-width: 880px) { .pdp-media { position: static; aspect-ratio: 4 / 3; } }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; }

.pdp-brand { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--heat-deep); }
.pdp h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 12px 0 20px; }

.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp-price .amt { font-family: var(--display); font-weight: 900; font-variant-numeric: tabular-nums; font-size: clamp(2rem, 4.4vw, 2.9rem); letter-spacing: -.045em; line-height: 1; }
.pdp-price .lbl { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 24px 0; }
.spec div { background: var(--card); padding: 16px 18px; }
.spec dt { font-family: var(--mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.spec dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr 1fr; } }

/* --- 24. MOBILE TIGHTENING ---------------------------------------------
   Stacked at 375px the page ran past 12,000px. Trimming block padding and
   card chrome pulls it back without dropping a single line of content. */
@media (max-width: 620px) {
  .sec { padding-block: 42px; }
  .sec--tight { padding-block: 32px; }
  .sec-head { margin-bottom: 26px; }

  .svc { padding: 18px 16px 20px; }
  .svc-ico { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 11px; }
  .svc-ico svg { width: 17px; height: 17px; }
  .svc h3 { font-size: .97rem; margin-bottom: 6px; }
  .svc p { font-size: .85rem; line-height: 1.5; }

  .step { padding: 16px 0; }
  .step .num { margin-bottom: 8px; }

  .faq summary { padding: 16px 0; }
  .faq p { padding-bottom: 18px; }

  .price-row { padding: 13px 17px; }
  .unit-body { padding: 12px 13px 14px; }
  .band { padding: 26px 22px 30px; }

  .foot { padding-top: 42px; }
  .foot-grid { gap: 26px; padding-bottom: 32px; }
}

/* --- 25. TOUCH TARGETS -------------------------------------------------
   Standalone links inside data rows and breadcrumbs sat at 16 to 18px tall.
   Inline links inside a sentence are exempt; these are not sentences. */
.price-row a, #pdp nav a, #pdp nav span { display: inline-flex; align-items: center; min-height: 34px; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 30px; }

/* --- 25b. NARROW HEADER ------------------------------------------------
   At 360px the logo, theme toggle, CTA and burger totalled 373px and pushed
   13px past the viewport on every page. The dock at the bottom of the screen
   already carries "Book a service", so the header copy of it goes. */
@media (max-width: 600px) {
  .head .wrap { gap: 12px; height: 64px; }
  .head-end { gap: 8px; }
  .head-end > .btn { display: none; }
}
@media (max-width: 380px) {
  .brand-logo { height: 30px; padding: 3px 5px; }
  .icon-btn, .burger { width: 38px; height: 38px; }
}

/* --- 26. PRINT ---------------------------------------------------------- */
@media print {
  .head, .util, .dock, .foot, .panel::before, .panel::after { display: none !important; }
  body { background: #fff; color: #000; }
}
