:root {
  --ink: #181E4B;        /* brand Blue, Pantone 2766 C */
  --ink-deep: #11163A;
  --ink-line: #2F355F;
  --gold: #EEC94E;       /* brand Gold */
  --green: #92A723;      /* brand Green: use only on blue or as a background */
  --gray: #868A91;       /* brand Cool Gray: large text only on white */
  --gold-deep: #8A611F;
  --copper: #C8743A;
  --paper: #F3F3F4;      /* brand Cool Gray at 10% */
  --text: #181E4B;
  --muted: #464B6F;
  --on-ink: #E7E8E9;
  --on-ink-muted: #A3A5B7;
  --core: #C8262E;       /* current insulation colour */
  --radius: 6px;
  --wrap: 1180px;
  --display: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-stretch: 125%; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; -webkit-tap-highlight-color: rgba(238,201,78,.25); }
::selection { background: var(--gold); color: var(--ink); }
html { accent-color: var(--ink); caret-color: var(--gold-deep); scrollbar-color: var(--ink-line) var(--paper); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Placeholders the client must fill */
.ph { background: #FCF4DC; color: #6B4A10; padding: 0 .3em; border-radius: 3px; font-size: .92em; }

/* Top bar */
.topbar { background: var(--ink-deep); color: var(--on-ink-muted); font-size: .84rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 24px; min-height: 38px; align-items: center; }
.topbar p { margin: 0; display: flex; gap: 24px; align-items: center; }
.topbar a { color: var(--on-ink); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(24,30,75,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 168px; height: auto; transition: opacity .2s; }
.brand:hover img { opacity: .85; }
.nav { display: flex; align-items: stretch; gap: 18px; height: 100%; }
.nav a { color: var(--on-ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.menu { white-space: normal; }
.nav-item:last-of-type > .menu { left: auto; right: -18px; }
.nav-cta { white-space: nowrap; }
.nav-item.is-mega { position: static; }
.nav-item > a { position: relative; padding: 8px 0; transition: color .2s; }
.nav-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.nav-item:hover > a, .nav-item:focus-within > a, .nav-item > a[aria-current] { color: var(--gold); }
.nav-item:hover > a::after, .nav-item:focus-within > a::after, .nav-item > a[aria-current]::after { transform: scaleX(1); }
.sub-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 44px; padding: 0; border: 0; background: none; color: var(--on-ink-muted); cursor: pointer; transition: color .2s, transform .25s; }
.nav-item:hover > .sub-btn, .nav-item:focus-within > .sub-btn, .nav-item.open > .sub-btn { color: var(--gold); transform: rotate(180deg); }

.menu { position: absolute; top: 100%; left: -18px; min-width: 250px; background: #fff; color: var(--ink); border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; box-shadow: 0 24px 48px -16px rgba(12,15,44,.45); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1), visibility 0s .25s; }
.nav-item:hover > .menu, .nav-item:focus-within > .menu, .nav-item.open > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-item.shut > .menu { opacity: 0; visibility: hidden; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.nav .menu a { display: block; color: var(--ink); padding: 10px 12px; border-radius: 6px; font-weight: 550; transition: background-color .18s, color .18s, padding-left .18s; }
.nav .menu a:hover, .nav .menu a:focus-visible { background: var(--paper); color: var(--gold-deep); padding-left: 18px; }
.is-mega > .menu { left: auto; right: 0; width: min(760px, 100%); display: grid; grid-template-columns: 1fr 230px; gap: 8px 20px; padding: 16px; }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.nav .menu a.mega-cat { display: flex; align-items: center; gap: 12px; padding: 8px; }
.nav .menu a.mega-cat:hover, .nav .menu a.mega-cat:focus-visible { padding-left: 8px; }
.mega-cat img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; flex: none; transition: transform .3s; }
.mega-cat:hover img { transform: scale(1.08); }
.mega-cat strong { display: block; font-weight: 650; line-height: 1.25; }
.mega-cat small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.3; }
.mega-side { background: var(--paper); border-radius: 8px; padding: 12px 8px 8px; }
.mega-side p { margin: 0 12px 4px; font-size: .82rem; color: var(--muted); }
.nav .mega-side a:hover, .nav .mega-side a:focus-visible { background: #fff; }

.nav .cart-btn.in-nav, .nav .nav-cta { align-self: center; }
.cart-btn { transition: color .2s, border-color .2s, background-color .2s; }
.cart-btn:hover { color: var(--gold); border-color: var(--gold); }
.nav .nav-cta { color: var(--ink); background: var(--gold); padding: 10px 18px; border-radius: var(--radius); font-weight: 650; transition: background-color .2s, transform .2s, box-shadow .2s; }
.nav .nav-cta:hover { color: var(--ink); background: #F1D471; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(238,201,78,.7); }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius); font: 650 1rem/1 var(--display); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F1D471; }
.btn-line { border-color: var(--ink-line); color: var(--on-ink); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero { position: relative; color: var(--on-ink); padding: 64px 0 80px; overflow: hidden;
  background:
    radial-gradient(55% 65% at 76% 46%, rgba(238,201,78,.13), transparent 62%),
    radial-gradient(40% 50% at 10% 100%, rgba(80,110,160,.18), transparent 70%),
    linear-gradient(180deg, #181E4B 0%, #131840 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent); }
.hero-grid { position: relative; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-size: 2rem; font-weight: 760; font-stretch: 125%; color: #fff; line-height: 1.1; }
.hero-stats dt { font-size: .88rem; color: var(--on-ink-muted); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.by { color: var(--gold); font-weight: 600; font-stretch: 112%; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 780; color: #fff; max-width: 13ch; }
.lede { color: var(--on-ink-muted); font-size: 1.15rem; max-width: 50ch; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Wire cross-section — the one bold moment */
.xsec { margin: 0; display: grid; justify-items: center; gap: 20px; }
.stage { display: grid; width: min(100%, 580px); }
.stage > * { grid-area: 1 / 1; }
.xsec-svg { width: min(100%, 440px); height: auto; overflow: visible; justify-self: center; align-self: center; }
.wire3d { width: 100%; aspect-ratio: 1; opacity: 0; transition: opacity .8s ease; cursor: grab; touch-action: pan-y; }
.wire3d canvas { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.wire3d.dragging { cursor: grabbing; }
.xsec.is-3d .wire3d { opacity: 1; }
.xsec .xsec-svg { visibility: hidden; }
.xsec.no-3d .xsec-svg { visibility: visible; }
.drag-hint { display: none; }
.xsec.is-3d .drag-hint { display: inline; }
.ring-guide { fill: none; stroke: var(--ink-line); stroke-width: 1; stroke-dasharray: 2 6; }
.insul { fill: var(--core); transition: fill .45s ease; }
.insul-inner { fill: color-mix(in srgb, var(--core) 72%, #000); transition: fill .45s ease; }
.strands circle { fill: url(#cu); stroke: #5A2D10; stroke-width: 1; }
.xsec-cap { width: min(100%, 540px); }
.swatches { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.swatches legend { width: 100%; text-align: center; color: var(--on-ink-muted); font-size: .9rem; margin-bottom: 10px; }
.swatches label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 8px; border: 1px solid var(--ink-line); border-radius: 999px; cursor: pointer; font-size: .92rem; color: var(--on-ink); transition: border-color .2s; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.swatches label:has(input:checked) { border-color: var(--gold); color: #fff; }
.swatches label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.use { text-align: center; color: var(--on-ink-muted); margin: 14px 0 0; min-height: 1.6em; }
.use strong { color: #fff; }


/* Section heads */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 760; }
.sec-head p { color: var(--muted); max-width: 52ch; margin: 0; }

/* Range */
.range { padding: 104px 0; }
.range-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.range-list li { position: relative; padding: 28px 28px 8px 0; border-right: 1px solid #CFD0D3; }
.range-list li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.range-list li + li::before { left: 28px; }
.range-list li + li { padding-left: 28px; }
.range-list li:last-child { border-right: 0; }
.range-list h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.range-list p { color: var(--muted); font-size: 1rem; }
.range-list .spec { color: var(--text); font-weight: 600; font-size: .95rem; }

/* About */
.about { background: #fff; padding: 104px 0; border-block: 1px solid #E7E8E9; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.year { font-size: clamp(5rem, 15vw, 12rem); font-weight: 800; font-stretch: 125%; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--gold-deep); letter-spacing: -0.03em; }
.about h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 760; margin-bottom: 24px; max-width: 16ch; }
.about p { color: var(--muted); max-width: 56ch; }

/* Reach */
.reach { padding: 104px 0; }
.states { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.states li { padding: 12px 20px; border: 1px solid #CFD0D3; border-radius: 999px; font-weight: 600; background: #fff; }

/* Dealer path */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: step; max-width: 460px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 14px 16px; border: 1px solid var(--ink-line); border-radius: 10px; background: rgba(255,255,255,.02); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 750; grid-row: span 2; }
.steps h3 { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.steps p { margin: 0; font-size: .98rem; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Dealer */
.dealer { background: var(--ink-deep); color: var(--on-ink); padding: 104px 0; }
.dealer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.dealer h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 760; color: #fff; margin-bottom: 20px; max-width: 14ch; }
.dealer p { color: var(--on-ink-muted); max-width: 44ch; }
.contact-lines { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-lines .k { display: inline-block; width: 64px; color: var(--on-ink-muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--ink); border: 1px solid var(--ink-line); border-radius: 10px; padding: 28px; }
.field { display: grid; gap: 6px; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { font-size: .92rem; color: var(--on-ink); font-weight: 550; }
.opt { color: var(--on-ink-muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: #fff; background: var(--ink-deep); border: 1px solid #464B6F; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(238,201,78,.25); }
.field input[aria-invalid="true"] { border-color: #F07A6C; }
.form-error { grid-column: 1 / -1; color: #FFB4A9; margin: 0; }
.form-note { grid-column: 1 / -1; font-size: .88rem; margin: -6px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 40px 0; border-top: 1px solid var(--ink-line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.foot-row p { margin: 0; }
.foot-row .small { margin-left: auto; font-size: .88rem; }

/* Responsive */
@media (min-width: 761px) and (max-width: 1240px) { .nav-item.x2 { display: none; } .nav { gap: 20px; } }
@media (min-width: 761px) and (max-width: 1040px) { .nav-item.x1 { display: none; } }
@media (min-width: 761px) and (max-width: 980px) {
  .nav { gap: 12px; margin-left: 16px; }
  .nav a { font-size: .88rem; }
  .nav .nav-cta { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 980px) {
  .hero-grid, .about-grid, .dealer-grid, .sec-head { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .xsec-svg { width: min(100%, 340px); }
  .stage { width: min(100%, 440px); }
  .range-list { grid-template-columns: 1fr 1fr; }
  .range-list li, .range-list li + li { padding: 28px 20px 8px 0; border-right: 0; border-bottom: 1px solid #CFD0D3; }
  .range-list li:nth-child(odd) { padding-right: 28px; border-right: 1px solid #CFD0D3; }
  .range-list li:nth-child(even) { padding-left: 28px; }
  .range-list li::before, .range-list li + li::before { left: 0; }
  .range-list li:nth-child(even)::before { left: 28px; }
  .year { font-size: clamp(5rem, 26vw, 9rem); }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: transparent; color: var(--on-ink); border: 1px solid var(--ink-line); border-radius: var(--radius); font: 600 .95rem var(--display); cursor: pointer; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; height: auto; max-height: calc(100vh - 76px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--ink-line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav-item, .nav-item.is-mega { position: relative; flex-wrap: wrap; border-bottom: 1px solid var(--ink-line); }
  .nav-item > a { flex: 1; padding: 14px 0; }
  .nav-item > a::after { display: none; }
  .sub-btn { width: 48px; height: 48px; }
  .nav-item:hover > .sub-btn, .nav-item:focus-within > .sub-btn { color: var(--on-ink-muted); transform: none; }
  .nav-item.open > .sub-btn { color: var(--gold); transform: rotate(180deg); }
  .menu, .is-mega > .menu { display: none; position: static; width: 100%; min-width: 0; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 8px; margin: 0 0 12px; grid-template-columns: 1fr; }
  .nav-item.open > .menu { display: block; }
  .mega-cats { grid-template-columns: 1fr; }
  .mega-side { margin-top: 8px; }
  .nav .cart-btn.in-nav { display: none; }
  .nav .nav-cta { margin-top: 12px; text-align: center; align-self: stretch; }
  .brand img { width: 140px; }
  .range, .about, .reach, .dealer { padding: 72px 0; }
  .range-list { grid-template-columns: 1fr; }
  .range-list li, .range-list li + li, .range-list li:nth-child(odd), .range-list li:nth-child(even) { padding: 24px 0 8px; border-right: 0; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .range-list li:nth-child(even)::before { left: 0; }
  .hero-stats dd { font-size: 1.6rem; }
  .foot-row .small { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
