/* Approved hero: desktop 01, mobile 03. Scoped to leave other sections intact. */
.apex-hero {
  --ah-unit: min(.0694444444vw, 1.2px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b0d10;
  color: #f8f7f4;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: normal;
}
.ah-frame {
  position: relative;
  width: min(100%, 1728px);
  min-height: max(690px, 100svh, calc(900 * var(--ah-unit)));
  margin-inline: auto;
}
.ah-scene { pointer-events: none; }
.ah-scene--desktop {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1440 / 900;
}
.ah-scene--mobile { display: none; }
.ah-scene-canvas { position: absolute; inset: 0; }
.ah-photo { position: absolute; inset: 0; }
.ah-photo img {
  position: absolute;
  width: auto;
  max-width: none;
  height: 100%;
  left: 22.916667%;
  top: 0;
}
.ah-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0d10 0%, #0b0d10f5 27%, #0b0d10b3 42%, transparent 61%), linear-gradient(0deg, #0b0d10, transparent 35%);
}
.ah-mesh, .ah-labels { position: absolute; inset: 0; width: 100%; height: 100%; }
.ah-surface-tint { fill: #91c0d0; fill-opacity: .06; stroke: none; }
.ah-surface-grid { fill: none; stroke: #b6d9e3; stroke-opacity: .25; stroke-width: .75; stroke-linecap: round; stroke-linejoin: round; }
.ah-surface-edge { fill: none; stroke: #bad6df; stroke-opacity: .43; stroke-width: .85; stroke-linejoin: round; }
.ah-labels path { fill: none; stroke: #bdd1d180; stroke-width: .8; stroke-linecap: round; }
.ah-labels circle { stroke: #b2cbcfb3; stroke-width: .8; fill: #172326c9; }
.ah-labels .core { fill: #c7d9dc; stroke: none; }
.ah-labels rect { fill: #182124d9; stroke: #bed1d429; stroke-width: .7; }
.ah-labels text { font: 600 10px 'Inter', sans-serif; fill: #cedbde; }
.ah-header {
  position: relative;
  z-index: 2;
  height: max(72px, calc(90 * var(--ah-unit)));
  margin-inline: calc(48 * var(--ah-unit));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff25;
}
.ah-brand { display: flex; align-items: center; gap: 16px; }
.ah-logo { font: 900 clamp(20px, 1.666667vw, 29px) 'Unbounded', sans-serif; letter-spacing: -1px; }
.ah-location { font-size: 11px; line-height: 1.5; border-left: 1px solid #fff5; padding-left: 16px; }
.ah-nav { display: flex; gap: 27px; color: #c6c8cd; font-size: 11px; letter-spacing: .08em; }
.ah-nav a { padding-block: 16px; }
.ah-phone { font-size: 14px; padding-block: 12px; }
.ah-phone svg { display: none; }
.apex-hero a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 4px; }
.ah-nav a:hover, .ah-phone:hover { color: #fff; }
.ah-heading, .ah-copy, .ah-warranty, .ah-material, .ah-cta, .ah-foot, .ah-scene-caption { position: absolute; }
.ah-heading { left: calc(56 * var(--ah-unit)); top: calc(158 * var(--ah-unit)); }
.ah-eyebrow { font-size: 10px; letter-spacing: .17em; margin: 0 0 23px; }
.ah-title {
  font-family: 'Unbounded', sans-serif;
  font-size: calc(39 * var(--ah-unit));
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0;
}
.ah-title > span { display: block; white-space: nowrap; }
.ah-title em { color: #ff343e; font-style: normal; font-size: inherit; font-weight: inherit; }
.ah-copy {
  left: calc(56 * var(--ah-unit));
  top: calc(357 * var(--ah-unit));
  width: calc(510 * var(--ah-unit));
  font-size: clamp(14px, 1.111111vw, 19px);
  font-weight: 700;
  line-height: 1.65;
  color: #d7dade;
  margin: 0;
}
.ah-copy-mobile { display: none; }
.ah-cta {
  top: max(410px, calc(554 * var(--ah-unit)));
  left: calc(56 * var(--ah-unit));
  width: calc(410 * var(--ah-unit));
  min-height: 77px;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f02b36;
  color: #fff;
  border: 1px solid #ff5d66;
  border-radius: 9px;
  box-shadow: 0 12px 28px #0004;
  transition: background .15s ease;
}
.ah-cta:hover { background: #d9222d; }
.ah-cta strong { display: block; font-size: clamp(13px, 1.111111vw, 19px); font-weight: 700; color: #fff; }
.ah-cta small { display: block; font-size: clamp(10px, .833333vw, 14px); margin-top: 7px; font-weight: 600; color: #fff; }
.ah-cta svg { width: 32px; height: 32px; flex: 0 0 32px; }
.ah-warranty { top: max(421px, calc(565 * var(--ah-unit))); left: calc(488 * var(--ah-unit)); margin: 0; }
.ah-warranty b { display: block; font-size: 20px; letter-spacing: -.02em; font-weight: 600; color: #e0e7e7; }
.ah-warranty span { display: block; font-size: 11px; margin-top: 4px; color: #a4b2b7; }
.ah-material { left: calc(56 * var(--ah-unit)); top: max(520px, calc(683 * var(--ah-unit))); width: max(310px, calc(354 * var(--ah-unit))); }
.ah-layer { padding: 18px 20px; min-height: 158px; background: linear-gradient(135deg, #1a2225e8, #101719ed); border: 1px solid #a8c0c326; border-radius: 14px; box-shadow: 0 10px 26px #00000014; backdrop-filter: blur(14px); color: #dce5e7; }
.ah-layer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ah-layer-top > span { font-size: 9px; letter-spacing: .09em; color: #99abad; }
.ah-layer-top b { font-size: 23px; letter-spacing: -.04em; font-weight: 600; color: #e3e9e9; white-space: nowrap; }
.ah-layer-top small { font-size: 12px; color: #a4b2b6; letter-spacing: 0; font-weight: 600; }
.ah-layer-body { display: flex; align-items: center; gap: 8px; }
.ah-layer-body svg { width: 175px; height: 92px; min-width: 0; }
.ah-layer-labels { color: #bbc9cd; font-size: 11px; line-height: 2; font-weight: 600; flex-shrink: 0; }
.ah-layer-labels span { display: block; white-space: nowrap; }
.ah-layer-labels i { display: inline-block; width: 4px; height: 4px; background: #9ebdc5; margin-right: 6px; border-radius: 50%; }
.ah-layer-labels span:nth-child(2) i { background: #98636b; }
.ah-layer-labels small { font-size: 9px; color: #7f939b; }
.ah-scene-caption { top: calc(178 * var(--ah-unit)); right: calc(58 * var(--ah-unit)); font-size: 10px; letter-spacing: .15em; color: #bfcad1; }
.ah-foot { left: max(380px, calc(451 * var(--ah-unit))); right: calc(48 * var(--ah-unit)); top: max(616px, calc(803 * var(--ah-unit))); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #ffffff27; padding-top: 19px; color: #8e999f; font-size: 10px; letter-spacing: .06em; }
.ah-foot ul { display: flex; gap: 18px; }
.ah-foot li { white-space: nowrap; }
.ah-foot li::before { content: '+'; color: #e7464f; margin-right: 8px; }
#zones, #polyurethane, #ah-warranty { scroll-margin-top: 24px; }
@media (min-width: 960px) and (max-width: 1199px) {
  .ah-nav { gap: 18px; font-size: 10px; }
  .ah-heading { top: 116px; }
  .ah-eyebrow { font-size: 9px; margin-bottom: 18px; }
  .ah-copy { top: 260px; }
  .ah-cta { width: 310px; padding: 18px 16px; gap: 10px; }
  .ah-cta svg { width: 28px; height: 28px; flex-basis: 28px; }
  .ah-warranty { left: calc(56 * var(--ah-unit) + 330px); }
  .ah-warranty b { font-size: 17px; }
  .ah-warranty span { font-size: 9px; }
  .ah-foot > span { max-width: 220px; line-height: 1.6; text-align: right; }
}
@media (max-width: 959px) {
  .apex-hero { --ah-gutter: clamp(16px, 5.128205vw, 32px); }
  .ah-frame {
    width: 100%;
    max-width: 620px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .ah-header { height: 62px; min-height: 62px; margin-inline: var(--ah-gutter); }
  .ah-brand { gap: 10px; }
  .ah-logo { font-size: 19px; }
  .ah-location { font-size: 9px; padding-left: 10px; }
  .ah-nav, .ah-phone > span { display: none; }
  .ah-phone { position: relative; width: 34px; height: 34px; border: 1px solid #fff4; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
  .ah-phone::after { content: ''; position: absolute; inset: -7px; }
  .ah-phone svg { display: block; width: 17px; height: 17px; }
  .ah-heading, .ah-warranty, .ah-material, .ah-copy, .ah-cta { position: relative; inset: auto; width: auto; margin-inline: var(--ah-gutter); z-index: 1; }
  .ah-heading { margin-top: 24px; }
  .ah-eyebrow { font-size: clamp(8px, 2.05128vw, 11px); line-height: 1.2; letter-spacing: .1em; margin-bottom: 13px; }
  .ah-title { font-size: clamp(18px, 5.8974359vw, 36px); line-height: 1.23; letter-spacing: -.045em; }
  .ah-warranty { display: flex; align-items: center; gap: 5px; margin-top: 24px; }
  .ah-warranty b { font-size: 12px; line-height: 14px; }
  .ah-warranty span { font-size: 9px; margin: 0; }
  .ah-scene--desktop { display: none; }
  .ah-scene--mobile { position: relative; display: block; width: 100%; aspect-ratio: 390 / 294; }
  /* The photo, mesh and labels share one canvas, so their alignment survives resizing. */
  .ah-scene--mobile .ah-scene-canvas { inset: 0 0 auto; width: 100%; aspect-ratio: 390 / 844; transform: translateY(-27.606635%); }
  .ah-scene--mobile .ah-photo img { width: 100%; height: auto; left: 0; top: 11.848341%; }
  .ah-scene--mobile .ah-shade { background: linear-gradient(180deg, #0b0d10fa 0%, #0b0d10ee 24%, #0b0d1033 35%, transparent 41%, transparent 51%, #0b0d10 66%); }
  .ah-scene--mobile .ah-mesh, .ah-scene--mobile .ah-labels { transform: translateY(13.388626%); }
  .ah-surface-grid { stroke-width: .45; stroke-opacity: .32; }
  .ah-surface-edge { stroke-width: .6; stroke-opacity: .48; }
  .ah-surface-tint { fill-opacity: .065; }
  .ah-labels path { stroke: #c2d7d98c; stroke-width: .65; }
  .ah-labels text { font-size: 9px; }
  .ah-layer { height: 103px; min-height: 103px; padding: 12px 15px; border-radius: 12px; background: linear-gradient(135deg, #182125eb, #0f171aed); }
  .ah-layer-top > span { font-size: 8px; }
  .ah-layer-top b { font-size: 20px; }
  .ah-layer-top small { font-size: 10px; }
  .ah-layer-body { margin-top: -2px; gap: 8px; }
  .ah-layer-body svg { width: 150px; height: 61px; }
  .ah-layer-labels { font-size: 10px; line-height: 1.8; }
  .ah-layer-labels small { font-size: 8px; }
  .ah-copy { font-size: clamp(13px, 3.333333vw, 17px); line-height: 1.55; color: #dce1e3; margin-top: 20px; }
  .ah-copy-desktop { display: none; }
  .ah-copy-mobile { display: inline; }
  .ah-cta { margin-top: 36px; min-height: 77px; padding: 17px 15px; border-radius: 8px; gap: 12px; }
  .ah-cta strong { font-size: clamp(12px, 3.5897436vw, 18px); letter-spacing: -.03em; }
  .ah-cta small { font-size: clamp(9px, 2.5641025vw, 12px); margin-top: 6px; }
  .ah-cta svg { width: 28px; height: 28px; flex-basis: 28px; }
  .ah-scene-caption, .ah-foot { display: none; }
}
@media (min-width: 621px) and (max-width: 959px) {
  .ah-scene-canvas { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .ah-cta { transition: none; }
}
