/* =========================================================================
   NORTHPOINT / HVAC - DARK TECHNICAL SINGLE PAGE
   1. TOKENS            6. SPLIT SECTIONS
   2. RESET / BASE      7. SERVICE MATRIX
   3. LAYOUT            8. CONTACT
   4. HEADER / NAV      9. FOOTER
   5. HERO             10. SYMPTOMS / MOTION / RESPONSIVE
   ========================================================================= */

/* ============================ 1. TOKENS ============================ */
:root {
  --c-bg:        #101820;
  --c-bg-2:      #16212C;
  --c-panel:     #1B2A36;
  --c-secondary: #233A4D;
  --c-cool:      #42C2FF;
  --c-heat:      #F2B84B;
  --c-light:     #F5F7FA;
  --c-muted:     #A9B7C4;

  --c-line:   rgba(169, 183, 196, .18);
  --c-line-2: rgba(169, 183, 196, .32);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "Roboto Mono", "Courier New", monospace;

  --t-display: clamp(2.1rem, 1rem + 3.4vw, 3.9rem);
  --t-h2:      clamp(2rem, 1.15rem + 2.9vw, 3.6rem);
  --t-h3:      clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  --t-h4:      clamp(1.02rem, .96rem + .3vw, 1.2rem);
  --t-body:    1rem;
  --t-lede:    clamp(1.02rem, .97rem + .35vw, 1.22rem);
  --t-mono:    .74rem;
  --t-mono-sm: .68rem;

  --container: 1320px;
  --gutter:    clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h:  72px;

  --ease:  cubic-bezier(.22, .61, .36, 1);
  --fast: 160ms;
  --slow:  700ms;
  --tap:   44px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-light);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.022em;
  text-transform: uppercase;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-cool);
  outline-offset: 3px;
}

::selection { background: var(--c-cool); color: var(--c-bg); }

.skip-link {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  transform: translateY(-110%);
  background: var(--c-cool);
  color: var(--c-bg);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 22px;
  transition: transform var(--fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================ 3. LAYOUT ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--c-line);
}

.section-head { max-width: 78ch; margin-bottom: clamp(40px, 5vw, 72px); }

.section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30ch);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  max-width: none;
}

.section-title { font-size: var(--t-h2); }
.section-title--sm { font-size: var(--t-h2); }

.section-lede {
  margin-top: 22px;
  font-size: var(--t-lede);
  color: var(--c-muted);
  max-width: 62ch;
}
.section-lede--wide { max-width: 74ch; }

/* --- status labels --- */
.status-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.status-label--cool { color: var(--c-cool); }
.status-label--heat { color: var(--c-heat); }

.status-label__num {
  padding: 3px 7px;
  border: 1px solid currentColor;
  line-height: 1;
  letter-spacing: .12em;
}

.status-label__dot {
  width: 8px; height: 8px;
  background: var(--c-cool);
  flex: none;
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease);
}
.btn--primary { background: var(--c-cool); color: var(--c-bg); }
.btn--primary:hover { background: var(--c-light); }
.btn--ghost { border-color: var(--c-line-2); color: var(--c-light); }
.btn--ghost:hover { border-color: var(--c-cool); color: var(--c-cool); }

/* --- figure frame + corner ticks --- */
.figure { margin: 0; }

.figure__frame {
  position: relative;
  border: 1px solid var(--c-line);
  background: var(--c-bg-2);
  overflow: hidden;
}
.figure__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.figure__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.figure__id { color: var(--c-cool); }

.tick {
  position: absolute;
  width: 13px; height: 13px;
  border: 0 solid var(--c-cool);
  pointer-events: none;
}
.tick--tl { top: 8px;    left: 8px;    border-top-width: 2px; border-left-width: 2px; }
.tick--tr { top: 8px;    right: 8px;   border-top-width: 2px; border-right-width: 2px; }
.tick--bl { bottom: 8px; left: 8px;    border-bottom-width: 2px; border-left-width: 2px; }
.tick--br { bottom: 8px; right: 8px;   border-bottom-width: 2px; border-right-width: 2px; }

/* ============================ 4. HEADER / NAV ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(16, 24, 32, .82);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.site-header.is-stuck {
  background: rgba(16, 24, 32, .95);
  border-bottom-color: var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100%;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand__mark {
  width: 30px; height: 30px;
  flex: none;
  border: 1px solid var(--c-cool);
  display: grid;
  place-items: center;
}
.brand__blade {
  width: 13px; height: 13px;
  border: 1px solid var(--c-cool);
  transform: rotate(45deg);
}

.brand__text { display: flex; flex-direction: column; gap: 3px; }

.brand__name {
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1;
}
.brand__name-thin { color: var(--c-cool); font-weight: 400; }

.brand__sub {
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
  line-height: 1;
}

/* ---- header phone button ---- */
.primary-nav { margin-left: auto; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 10px 15px;
  border: 1px solid var(--c-line-2);
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-light);
  white-space: nowrap;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.header-phone__icon { display: grid; place-items: center; color: var(--c-cool); }
.header-phone__label { color: var(--c-muted); }
.header-phone__num { font-weight: 700; letter-spacing: .1em; }
.header-phone:hover,
.header-phone:focus-visible { border-color: var(--c-cool); color: var(--c-cool); }
.header-phone:hover .header-phone__label,
.header-phone:focus-visible .header-phone__label { color: inherit; }

/* mobile-menu call item: hidden on desktop, shown in the dropdown */
.primary-nav__call { display: none; }


.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.primary-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--fast) var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 2px;
  background: var(--c-cool);
  transition: width var(--fast) var(--ease);
}
.primary-nav a:hover { color: var(--c-light); }
.primary-nav a:hover::after { width: 100%; }

.nav-idx { font-size: var(--t-mono-sm); color: var(--c-cool); opacity: .75; }

.nav-toggle {
  display: none;
  width: var(--tap);
  height: var(--tap);
  flex: none;
  position: relative;
  border: 1px solid var(--c-line-2);
}
.nav-toggle__bar {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--c-light);
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease), top var(--fast) var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }

.nav-open .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================ 5. HERO ============================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(560px, 88vh, 940px);
  padding-top: 132px;
  padding-bottom: 0;
  isolation: isolate;
  overflow: hidden;
}

/* --- hero: photographic background --- */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: var(--c-bg);
  background-image: url("assets/img/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: center 35%;
  background-size: cover;
}

/* desaturate the photo so it sits inside the dark technical palette */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-secondary);
  opacity: .38;
  mix-blend-mode: luminosity;
}

/* left-to-right scrim: heavy behind the text, light on the equipment */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, var(--c-bg) 0%, rgba(16, 24, 32, .94) 38%, rgba(16, 24, 32, .62) 68%, rgba(16, 24, 32, .55) 100%),
    linear-gradient(180deg, rgba(16, 24, 32, .72) 0%, rgba(16, 24, 32, 0) 30%, rgba(16, 24, 32, .55) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg,  var(--c-line) 0 1px, transparent 1px 120px);
  opacity: .28;
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.hero__title {
  font-size: var(--t-display);
  max-width: 24ch;
  text-wrap: balance;
}

.hero__rule {
  width: 96px;
  height: 2px;
  margin: 28px 0 24px;
  background: var(--c-cool);
}

.hero__copy {
  max-width: 58ch;
  color: var(--c-muted);
  font-size: var(--t-lede);
}
.hero__copy + .hero__copy { margin-top: 0; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}


/* --- hero teaser strip --- */
.hero__strip { border-top: 1px solid var(--c-line); background: rgba(16, 24, 32, .6); }
.hero__strip-inner { display: flex; flex-wrap: wrap; }

.hero__teaser {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 18px 0;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--fast) var(--ease);
}
.hero__teaser + .hero__teaser {
  border-left: 1px solid var(--c-line);
  padding-left: 20px;
}
.hero__teaser:hover { color: var(--c-light); }
.hero__teaser:hover span[aria-hidden] { color: var(--c-cool); }
.hero__teaser-idx { color: var(--c-cool); flex: none; }

/* ============================ 6. SPLIT SECTIONS ============================ */
.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.split--flip .split__text { order: -1; }

.split__axis { display: none; }

.split__figures { display: grid; gap: clamp(28px, 3vw, 44px); }
.split__figure--detail { max-width: 82%; margin-left: auto; }
.split__figure--detail .figure__frame img { aspect-ratio: 16 / 11; }

.figure--band { margin: clamp(44px, 5vw, 72px) 0 0; }
.figure--band .figure__frame img { aspect-ratio: 1400 / 760; }

.split__text > p:not(.status-label) { color: var(--c-muted); }
.split__text > p + p { margin-top: 0; }

.spec-list { margin-top: 34px; border-top: 1px solid var(--c-line); }

.spec-list__row {
  display: grid;
  grid-template-columns: minmax(0, 13ch) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  border-left: 2px solid transparent;
  padding-left: 14px;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.spec-list__row:hover { border-left-color: var(--c-cool); background: var(--c-bg-2); }
.spec-list--heat .spec-list__row:hover { border-left-color: var(--c-heat); }

.spec-list__row dt {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-cool);
  line-height: 1.5;
}
.spec-list--heat .spec-list__row dt { color: var(--c-heat); }
.spec-list__row dd { color: var(--c-muted); font-size: .96rem; }

/* ============================ 7. SERVICE MATRIX ============================ */
.matrix-section { background: var(--c-bg); }

.matrix-section__note {
  color: var(--c-muted);
  font-size: .95rem;
  border-left: 2px solid var(--c-secondary);
  padding-left: 16px;
}

.matrix-wrap {
  border: 1px solid var(--c-line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .95rem;
}

.matrix__caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-cool);
}

.matrix thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 14px 18px;
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-line-2);
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-light);
  white-space: nowrap;
}

.matrix tbody th,
.matrix tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
.matrix tbody tr:nth-child(odd) { background: var(--c-bg-2); }
.matrix tbody tr:hover { background: var(--c-panel); }

.matrix tbody th {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-light);
  white-space: nowrap;
  border-right: 1px solid var(--c-line);
}
.matrix tbody td { color: var(--c-muted); }
.matrix tbody td + td { border-left: 1px solid var(--c-line); }

.matrix__marker {
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 9px;
  background: var(--c-cool);
  vertical-align: middle;
}
.matrix tbody tr:nth-child(2) .matrix__marker,
.matrix tbody tr:nth-child(3) .matrix__marker { background: var(--c-heat); }

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.matrix-legend > span { display: inline-flex; align-items: center; gap: 9px; }
.matrix-legend__swatch { width: 8px; height: 8px; background: var(--c-muted); }
.matrix-legend__swatch--cool { background: var(--c-cool); }
.matrix-legend__swatch--heat { background: var(--c-heat); }

/* --- repairs block --- */
.repairs {
  display: grid;
  grid-template-columns: minmax(0, 34ch) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(48px, 6vw, 84px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--c-line);
}
.repairs__title { font-size: var(--t-h3); }
.repairs__copy { margin-top: 18px; color: var(--c-muted); }

.repairs__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.repairs__item { padding: 22px 24px 24px; background: var(--c-bg); }
.repairs__item h4 { font-size: var(--t-h4); margin-bottom: 10px; }
.repairs__item p { color: var(--c-muted); font-size: .95rem; }
.repairs__idx {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .2em;
  color: var(--c-heat);
}

/* ============================ 10a. CONTACT ============================ */
.contact { background: var(--c-bg); }

.contact__frame {
  position: relative;
  border: 1px solid var(--c-line-2);
  padding: clamp(36px, 6vw, 96px);
  text-align: left;
}
.contact__frame .tick--tl { top: 14px; left: 14px; }
.contact__frame .tick--tr { top: 14px; right: 14px; }
.contact__frame .tick--bl { bottom: 14px; left: 14px; }
.contact__frame .tick--br { bottom: 14px; right: 14px; }

.contact__title { font-size: var(--t-h2); max-width: 20ch; }
.contact__copy { margin-top: 24px; max-width: 60ch; color: var(--c-muted); font-size: var(--t-lede); }

.contact__rows {
  margin-top: clamp(34px, 4vw, 56px);
  border-top: 1px solid var(--c-line);
}
.contact__row {
  display: grid;
  grid-template-columns: minmax(0, 14ch) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.contact__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact__value {
  font-size: clamp(1.1rem, 1rem + .7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-light);
  border-bottom: 2px solid var(--c-secondary);
  justify-self: start;
  padding-bottom: 3px;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
a.contact__value:hover { color: var(--c-cool); border-bottom-color: var(--c-cool); }
.contact__value--plain {
  border-bottom: 0;
  color: var(--c-muted);
  font-weight: 400;
  font-size: 1.05rem;
}

.contact__cta { margin-top: clamp(30px, 4vw, 46px); }
.contact__note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  line-height: 1.8;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ============================ 10b. FOOTER ============================ */
.site-footer {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-2);
  padding-top: clamp(44px, 5vw, 72px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 48px);
  padding-bottom: clamp(34px, 4vw, 52px);
}

/* ---- footer contact details band ---- */
.site-footer__contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.15fr) minmax(0, .95fr) minmax(0, .95fr);
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px) 0 clamp(30px, 3.5vw, 46px);
  margin-bottom: clamp(30px, 3.5vw, 46px);
  border-bottom: 1px solid var(--c-line);
}
.site-footer__contact-id .site-footer__head { margin-bottom: 12px; }
.site-footer__contact-name {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.site-footer__contact-tag {
  margin: 0;
  color: var(--c-muted);
  font-size: .88rem;
  max-width: 34ch;
}
.site-footer__contact-block { font-style: normal; }
.site-footer__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-cool);
}
.site-footer__contact-line {
  margin: 0;
  color: var(--c-light);
  font-size: .96rem;
  line-height: 1.65;
}
.site-footer__contact-phone {
  display: inline-block;
  color: var(--c-light);
  font-family: var(--font-mono);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}
.site-footer__contact-phone:hover,
.site-footer__contact-phone:focus-visible { color: var(--c-cool); }


.site-footer__name {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-footer__name span { color: var(--c-cool); font-weight: 400; }
.site-footer__blurb { color: var(--c-muted); font-size: .93rem; max-width: 38ch; }

.site-footer__head {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-cool);
}
.site-footer__col ul { display: grid; gap: 9px; }
.site-footer__col a {
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--fast) var(--ease), padding-left var(--fast) var(--ease);
}
.site-footer__col a:hover { color: var(--c-light); padding-left: 6px; }

/* ---- footer email column ---- */
.site-footer__col--email .site-footer__email {
  display: inline-block;
  font-size: var(--t-mono);
  letter-spacing: .04em;
  text-transform: none;
  overflow-wrap: anywhere;
}
.site-footer__col-note {
  margin: 12px 0 0;
  color: var(--c-muted);
  font-size: .88rem;
  line-height: 1.6;
  max-width: 30ch;
}
.site-footer__credit { color: var(--c-muted); }


.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.site-footer__bar p { margin: 0; }
.site-footer__bar a { transition: color var(--fast) var(--ease); }
.site-footer__bar a:hover { color: var(--c-cool); }

/* ============================ 11. MOTION ============================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.symptom-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.symptom-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.symptom-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.symptom-grid .reveal:nth-child(5) { transition-delay: 240ms; }
.symptom-grid .reveal:nth-child(6)                             { transition-delay: 300ms; }
.repairs__item:nth-child(2) { transition-delay: 80ms; }
.repairs__item:nth-child(3) { transition-delay: 160ms; }
.repairs__item:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================ 12. SYMPTOMS ============================ */
.symptoms { overflow: hidden; }

.symptoms__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg,  var(--c-line) 0 1px, transparent 1px 80px);
  opacity: .35;
  pointer-events: none;
}
.symptoms > .container { position: relative; }

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.symptom {
  position: relative;
  padding: clamp(26px, 3vw, 40px) clamp(20px, 2.2vw, 34px) clamp(30px, 3vw, 42px);
  background: var(--c-bg);
}
.symptom:nth-child(even) { background: var(--c-bg-2); }

.symptom__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-secondary);
}
.symptom:nth-child(odd)  .symptom__num { -webkit-text-stroke-color: var(--c-cool); }

.symptom__title { font-size: var(--t-h3); margin-bottom: 14px; }
.symptom__copy { color: var(--c-muted); font-size: .96rem; }

.symptom__action {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: var(--t-mono-sm);
  line-height: 1.8;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.symptom__action span {
  display: block;
  margin-bottom: 3px;
  color: var(--c-cool);
  font-weight: 700;
}

/* ============================ 13. RESPONSIVE ============================ */

/* ---- <= 1200px ---- */
@media (max-width: 1200px) {
  .brand__sub { display: none; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__blurb { max-width: 60ch; }
  .site-footer__contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__contact-id,
  .site-footer__contact-block--hours { grid-column: 1 / -1; }
}

/* ---- <= 1000px : hamburger ---- */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }


  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(340px, 92vw);
    padding: 8px 0;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--fast) var(--ease), visibility var(--fast);
  }
  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
  }

  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__list li { border-bottom: 1px solid var(--c-line); }
  .primary-nav__list li:last-child { border-bottom: 0; }
  .primary-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px var(--gutter);
    font-size: .8rem;
    letter-spacing: .12em;
    color: var(--c-light);
  }
  .primary-nav a:hover,
  .primary-nav a:focus-visible { background: var(--c-surface); color: var(--c-light); padding-left: calc(var(--gutter) + 4px); }

  .primary-nav__call { display: block; margin-top: 4px; }
  .primary-nav .primary-nav__call-link {
    color: var(--c-cool);
    font-size: .86rem;
    letter-spacing: .14em;
  }


  .split__inner { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__text { order: 0; }
  .split__figures { max-width: 640px; }
  .split__figure--detail { max-width: 82%; }

  .symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .symptom__num { -webkit-text-stroke-color: var(--c-cool); }

  .repairs { grid-template-columns: minmax(0, 1fr); }
}

/* ---- <= 720px ---- */
@media (max-width: 720px) {
  .section-head--row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split__figure--detail { max-width: 100%; }

  /* hero height reduced */
  .hero { min-height: 560px; padding-top: 116px; }
  .hero__title { max-width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }

  .hero__teaser { flex: 1 1 100%; padding-right: 0; }
  .hero__teaser + .hero__teaser { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-line); }
  .hero__strip-inner { padding-block: 4px; }

  .spec-list__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }

  .repairs__list { grid-template-columns: minmax(0, 1fr); }

  .contact__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .contact__value { font-size: 1.15rem; }

  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__contact { grid-template-columns: minmax(0, 1fr); }
  .site-footer__contact-block { padding-top: 4px; }

  /* ---- matrix becomes stacked records ---- */
  .matrix-wrap { border: 0; overflow: visible; }
  .matrix { min-width: 0; display: block; }
  .matrix__caption { padding: 0 0 14px; }
  .matrix thead { display: none; }
  .matrix tbody,
  .matrix tr,
  .matrix th,
  .matrix td { display: block; width: 100%; }

  .matrix tbody tr {
    border: 1px solid var(--c-line);
    margin-bottom: 14px;
  }
  .matrix tbody tr:nth-child(odd),
  .matrix tbody tr:nth-child(even) { background: var(--c-bg-2); }

  .matrix tbody th,
  .matrix tbody td {
    border-bottom: 1px solid var(--c-line);
    border-right: 0;
    padding: 12px 16px;
  }
  .matrix tbody tr > *:last-child { border-bottom: 0; }

  .matrix tbody th { color: var(--c-cool); }

  .matrix tbody td { color: var(--c-muted); }
  .matrix tbody td::before {
    content: attr(data-label) " ";
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    font-size: var(--t-mono-sm);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-secondary);
  }
}

/* ---- <= 480px ---- */
@media (max-width: 480px) {
  .symptom-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__contact { gap: 22px; }
  .site-footer__contact-phone { font-size: 1.18rem; }
  .hero__actions .btn { padding-inline: 18px; letter-spacing: .12em; }
  .brand__name { font-size: .86rem; letter-spacing: .14em; }
  .contact__frame { padding: 28px 22px 32px; }
  .contact__frame .tick { display: none; }
}

