/* Gostar Windows & Doors — design tokens
   Stucco wall + black thermal-break frame + daylight. Red is the logo's, used only for action. */
:root {
  --frame: #15171a;      /* powder-coat black */
  --graphite: #2b3035;
  --stucco: #e6e8e4;     /* wall */
  --paper: #f7f8f6;
  --white: #ffffff;
  --alu: #b9c0c4;        /* mill-finish aluminum */
  --line: #cfd4d3;
  --glass: #8fb0b8;      /* low-e tint */
  --sky: #d9e8ee;
  --red: #d3261a;        /* Gostar red */
  --red-dark: #a81c12;
  --ok: #1d7a4f;
  --low: #a8620a;
  --mute: #5d666c;
  --display: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --f: 10px;             /* frame thickness */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--frame);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: 1.15rem; color: var(--graphite); max-width: 54ch; }
.tag {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
}
.dim { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: 600 0.98rem var(--body); text-decoration: none;
  padding: 14px 22px; border: 1px solid var(--line); background: var(--frame); color: #fff;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--graphite); }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--frame); }
.btn.ghost:hover { background: var(--frame); color: #fff; }
.btn.light { border-color: #fff; background: transparent; color: #fff; }
.btn.light:hover { background: #fff; color: var(--frame); }
.btn.sm { padding: 9px 14px; font-size: 0.88rem; }
.arrow::after { content: "→"; font-family: var(--mono); transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- header (the head beam) ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: var(--frame); color: #fff;
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.top .logo img { height: 62px; width: auto; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a {
  text-decoration: none; font-size: 0.93rem; font-weight: 500; color: #d9dde0; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.top nav a:hover, .top nav a[aria-current] { color: #fff; border-color: var(--red); }
.top .phone { font-family: var(--mono); font-size: 0.9rem; text-decoration: none; color: #fff; white-space: nowrap; }
.livebar {
  background: var(--graphite); color: #e8ecee; font-size: 0.86rem;
}
.livebar .wrap { display: flex; gap: 22px; align-items: center; min-height: 38px; flex-wrap: wrap; padding-block: 6px; }
.livebar a { color: #fff; }
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; display: inline-block; margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- hero: the opening ---------- */
.hero { background: var(--stucco); padding: clamp(36px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-copy { padding-bottom: clamp(36px, 6vw, 80px); }
.hero-copy h1 em { font-style: normal; color: var(--red); }
.hero-copy .lede { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; gap: 34px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-facts b { display: block; font: 800 2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 0.85rem; color: var(--mute); }

.opening-wrap { position: relative; }
.opening {
  position: relative; aspect-ratio: 16 / 11; background: #0b0c0d;
  border: var(--f) solid var(--frame); border-bottom-width: 6px;
  perspective: 1700px; overflow: hidden;
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,.25);
}
.opening > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leaf {
  position: absolute; top: 0; bottom: 0; left: 0; width: 25%;
  transform-origin: left center; transform-style: preserve-3d;
  transition: transform 2.2s cubic-bezier(.65,.02,.18,1);
  background: linear-gradient(115deg, rgba(190,215,222,.34), rgba(120,160,170,.16) 45%, rgba(210,230,235,.3) 60%, rgba(120,160,170,.2));
  box-shadow: inset 0 0 0 var(--f) var(--frame), inset 0 0 0 calc(var(--f) + 1px) rgba(255,255,255,.18);
}
.leaf .leaf { left: 100%; width: 100%; }
.leaf.l4::after { /* handle */
  content: ""; position: absolute; left: 16px; top: 46%; width: 5px; height: 12%; background: var(--alu); border-radius: 2px;
}
.opening.open .l1 { transform: rotateY(-84deg); }
.opening.open .l2 { transform: rotateY(168deg); }
.opening.open .l3 { transform: rotateY(-168deg); }
.opening.open .l4 { transform: rotateY(168deg); }
.opening-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--frame); color: #fff; padding: 10px 14px; font-size: 0.82rem;
}
.opening-cap button {
  font: 600 0.8rem var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  background: none; color: #fff; border: 1px solid #fff; padding: 6px 12px;
}
.opening-cap button:hover { background: #fff; color: var(--frame); }

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .tag { margin-bottom: 14px; display: block; }
.sec-head p { color: var(--graphite); }

/* stock matrix — the signature */
.matrix-sec { background: var(--white); border-block: 1px solid var(--line); }
.matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 0; text-align: left; }
.matrix thead th, .matrix tbody th {
  font: 500 0.78rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
  padding: 10px 12px; background: var(--paper);
}
.matrix tbody th { width: 96px; }
.matrix thead th b, .matrix tbody th b { display: block; font: 800 1.5rem/1.1 var(--display); color: var(--frame); letter-spacing: -0.01em; text-transform: none; }
.cell {
  display: block; width: 100%; height: 100%; min-height: 132px; padding: 14px 12px; text-decoration: none; cursor: pointer;
  background: var(--white); border: 0; text-align: left; font: inherit; color: inherit;
  transition: background .18s, color .18s;
}
.cell:hover, .cell[aria-pressed="true"] { background: var(--frame); color: #fff; }
.cell .n { font: 800 2.3rem/1 var(--display); font-variant-numeric: tabular-nums; }
.cell .n small { font: 500 0.72rem var(--mono); letter-spacing: .05em; text-transform: uppercase; margin-left: 6px; opacity: .7; }
.cell ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.8rem; line-height: 1.5; }
.cell li { display: flex; justify-content: space-between; gap: 8px; }
.cell li span:last-child { font-family: var(--mono); }
.cell.none { background: repeating-linear-gradient(135deg, var(--paper) 0 9px, #eceeed 9px 10px); color: var(--mute); cursor: default; display: grid; place-content: center; text-align: center; font-size: 0.8rem; }
.cell.none:hover { background: repeating-linear-gradient(135deg, var(--paper) 0 9px, #eceeed 9px 10px); color: var(--mute); }
.matrix-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 22px; font-size: 0.9rem; color: var(--mute); }
.matrix-scroll { overflow-x: auto; }
.matrix-scroll .matrix { min-width: 760px; }

/* series */
.series { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--sky); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.card:hover .ph img { transform: scale(1.045); }
.card .tx { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .tx p { font-size: 0.95rem; color: var(--graphite); }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card .stockline { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; }
.card.big { grid-column: span 6; }
.card.big .ph { aspect-ratio: 16 / 10; }
.card.sm { grid-column: span 4; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 0.78rem var(--mono); padding: 3px 9px; border: 1.5px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--ok); } .pill.low { color: var(--low); } .pill.eta { color: var(--mute); }

/* spec strip */
.specs { background: var(--frame); color: #fff; }
.specs h2 { max-width: 16ch; }
.spec-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.spec-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #454b51; }
.spec-list li { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #454b51; }
.spec-list b { font: 500 0.78rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--alu); padding-top: 4px; }
.specs .lede { color: #cfd5d8; margin-top: 20px; }

/* who */
.who { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--white); }
.who a { padding: 24px 20px 22px; text-decoration: none; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: background .2s, color .2s; }
.who a:last-child { border-right: 0; }
.who a:hover { background: var(--frame); color: #fff; }
.who a p { font-size: 0.92rem; color: var(--graphite); }
.who a:hover p { color: #d6dadd; }
.who a .go { margin-top: auto; font: 600 0.8rem var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--red); }
.who a:hover .go { color: #fff; }

/* projects */
.proj { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.proj figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--sky); }
.proj img { width: 100%; height: 100%; object-fit: cover; }
.proj figcaption { position: absolute; left: 0; bottom: 0; background: var(--frame); color: #fff; font: 500 0.74rem var(--mono); letter-spacing: .04em; padding: 6px 10px; }
.proj .a { grid-column: span 7; grid-row: span 2; } .proj .b { grid-column: span 5; }
.proj .c { grid-column: span 5; } .proj .d { grid-column: span 4; grid-row: span 2; }
.proj .e { grid-column: span 8; grid-row: span 2; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { list-style: none; padding: 22px 22px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); font: 800 2.6rem/1 var(--display); color: var(--red); display: block; margin-bottom: 14px; }
.steps p { font-size: 0.95rem; color: var(--graphite); margin-top: 8px; }
ol.steps { margin: 0; padding: 0; }

/* visit + quote */
.visit { background: var(--stucco); }
.visit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); }
.addr { font-style: normal; margin-top: 24px; display: grid; gap: 18px; }
.addr div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--alu); }
.addr a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
form.quote { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.quote .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 600; }
input, select, textarea {
  font: 400 1rem var(--body); padding: 12px; border: 1.5px solid var(--frame); background: var(--paper); color: var(--frame); border-radius: 0; width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
.note { font-size: 0.84rem; color: var(--mute); }
.sent { grid-column: 1 / -1; background: #e6f3ec; border: 1.5px solid var(--ok); color: var(--ok); padding: 12px 14px; font-weight: 600; }

footer { background: var(--frame); color: #c9cfd3; padding: 56px 0 28px; font-size: 0.92rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
footer img { height: 54px; margin-bottom: 16px; }
footer h4 { font: 500 0.76rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; } footer a:hover { color: #fff; text-decoration: underline; }
footer .base { margin-top: 44px; padding-top: 18px; border-top: 1px solid #3a4046; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
footer .base button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------- inventory page ---------- */
.inv-head { background: var(--stucco); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.inv-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.inv-head .meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; font-size: 0.9rem; color: var(--graphite); align-items: center; }
.inv-body { padding: 36px 0 120px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 34px 0 14px; padding: 14px 0; border-block: 1px solid var(--line); position: sticky; top: 72px; background: var(--paper); z-index: 20; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 600 0.84rem var(--body); padding: 7px 13px; border: 1.5px solid var(--frame); background: transparent; cursor: pointer; color: var(--frame); }
.chip[aria-pressed="true"] { background: var(--frame); color: #fff; }
.filters input[type=search] { width: 220px; padding: 8px 10px; margin-left: auto; }
.filters label.inline { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.88rem; }
.filters label.inline input { width: 18px; height: 18px; accent-color: var(--frame); }
.count { font-size: 0.88rem; color: var(--mute); margin-bottom: 8px; }
.rows { border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 92px minmax(0, 1.6fr) 110px 170px 190px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item svg { width: 92px; height: 44px; }
.item .nm { font-weight: 600; }
.item .nm .dim { font-weight: 700; font-size: 1.05rem; margin-right: 8px; }
.item .sku { font: 400 0.74rem var(--mono); color: var(--mute); display: block; margin-top: 2px; }
.item .act { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.qty { display: inline-flex; border: 1.5px solid var(--frame); }
.qty button { width: 32px; height: 36px; border: 0; background: var(--white); font: 600 1rem var(--mono); cursor: pointer; }
.qty button:hover { background: var(--stucco); }
.qty output { min-width: 34px; display: grid; place-content: center; font: 600 0.9rem var(--mono); background: var(--white); border-inline: 1.5px solid var(--frame); }
.empty { padding: 48px 0; text-align: center; color: var(--graphite); }
.empty .btn { margin-top: 16px; }

.quotebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--frame); color: #fff;
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.quotebar.on { transform: none; }
.quotebar .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-block: 10px; }
.quotebar .sum { font-size: 0.95rem; } .quotebar .sum b { font-family: var(--mono); }
.quotebar .sp { margin-left: auto; display: flex; gap: 10px; }

dialog { border: 1px solid var(--line); padding: 0; width: min(680px, 100% - 24px); max-height: 90vh; background: var(--white); color: var(--frame); }
dialog::backdrop { background: rgba(21,23,26,.6); }
dialog .dh { background: var(--frame); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
dialog .dh h3 { color: #fff; }
dialog .dh button { background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
dialog .db { padding: 20px; display: grid; gap: 16px; }
.qlist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-height: 220px; overflow: auto; }
.qlist li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop { border: 2px dashed var(--frame); padding: 30px 20px; text-align: center; background: var(--paper); cursor: pointer; }
.drop.over { background: var(--sky); }
.codebox { font: 400 0.8rem/1.6 var(--mono); background: var(--paper); border: 1px solid var(--line); padding: 12px; overflow-x: auto; white-space: pre; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .top nav { display: none; }
  .top .phone { margin-left: auto; }
  .hero-grid, .sec-head, .spec-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .card.big, .card.sm { grid-column: span 6; }
  .who { grid-template-columns: 1fr 1fr; }
  .who a { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .item { grid-template-columns: 76px 1fr; gap: 10px 14px; }
  .item .fin { display: none; }
  .item > div:nth-child(4) { grid-column: 2; }
  .item .act { grid-column: 2; justify-content: flex-start; }
  .item .nm .dim { display: block; white-space: nowrap; }
  .item svg { width: 76px; }
  .livebar span:nth-child(2) { display: none; }
  .filters { position: static; }
  .filters input[type=search] { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top .btn { display: none; }
  .card.big, .card.sm { grid-column: 1 / -1; }
  .who { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proj { grid-auto-rows: 170px; }
  .proj figure { grid-column: 1 / -1 !important; grid-row: span 1 !important; }
  form.quote, .two { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 1fr; gap: 4px; }
  footer .cols { grid-template-columns: 1fr; }
  .addr div { grid-template-columns: 1fr; gap: 2px; }
  .hero-facts { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ================= v2: full-width hero, configurator, video, FAQ ================= */
.hero { padding-top: clamp(32px, 5vw, 64px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.hero-top h1 { font-size: clamp(2.9rem, 8.4vw, 7.6rem); margin-top: 14px; line-height: 0.94; }
.hero-top h1 em { font-style: normal; color: var(--red); display: block; }
.hero-side .lede { max-width: 44ch; }
.hero-side .hero-cta { margin-top: 24px; }
.opening { aspect-ratio: 21 / 9; }
.leaf { width: 20%; transition-duration: 2.6s; }
.leaf.l4::after { content: none; }
.leaf.l5::after { content: ""; position: absolute; left: 18px; top: 44%; width: 5px; height: 13%; background: var(--alu); border-radius: 2px; }
.leaf::before { /* daylight glancing off the glass */
  content: ""; position: absolute; inset: var(--f); pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.1) 46%, transparent 54%);
}
.opening.open .l5 { transform: rotateY(-168deg); }
.opening-cap { padding: 12px 16px; }
.cap-facts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #c9cfd3; }
.cap-facts b { color: #fff; font: 700 1rem var(--mono); margin-right: -8px; }
.cap-facts i { width: 1px; height: 14px; background: #4a5157; }

/* configurator */
.size-sec { background: var(--stucco); border-block: 1px solid var(--line); }
.size-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; border: 1px solid var(--line); background: var(--white); }
.size-ctl { padding: 22px; display: grid; gap: 22px; align-content: start; border-right: 1px solid var(--line); }
.size-ctl .tag { display: block; margin-bottom: 8px; }
.size-ctl .chip { font-family: var(--mono); font-size: 0.82rem; padding: 7px 11px; }
.size-draw { padding: 10px; display: grid; place-items: center; min-width: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; background-color: var(--paper); }
.size-draw svg { width: 100%; height: auto; max-height: 440px; }
.size-draw text { font-family: var(--mono); font-size: 13px; fill: var(--frame); }
.size-out { padding: 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.size-out .big { font: 800 4.2rem/0.9 var(--display); font-variant-numeric: tabular-nums; }
.size-out .big small { display: block; font: 500 0.74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.size-out dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.9rem; padding-top: 14px; border-top: 1px solid var(--line); }
.size-out dt { color: var(--mute); } .size-out dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 0.82rem; }
.size-out .btn { justify-content: center; }
.size-out .acts { margin-top: auto; display: grid; gap: 8px; padding-top: 10px; }

/* two ways to buy */
.ways { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-top: 20px; }
.way { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--white); }
.way + .way { border-left: 1px solid var(--line); background: var(--paper); }
.way h3 { font-size: 1.6rem; } .way p { color: var(--graphite); max-width: 44ch; } .way .btn { margin-top: 8px; }

/* video */
.vid-head { margin: clamp(40px, 5vw, 64px) 0 16px; display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vids video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--frame); border: 1px solid var(--line); display: block; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 700 1.08rem var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.5rem var(--mono); color: var(--red); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--graphite); max-width: 62ch; }

/* phone action bar */
.mbar { display: none; }

@media (max-width: 1020px) {
  .hero-top, .faq-grid { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: 1fr; }
  .size-ctl { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
  .size-out { border-left: 0; border-top: 1px solid var(--line); }
  .vids { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .opening { aspect-ratio: 4 / 3; }
  .cap-facts { order: 3; width: 100%; font-size: 0.78rem; gap: 10px; }
  .size-ctl { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .way + .way { border-left: 0; border-top: 1px solid var(--line); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; border-top: 1px solid var(--line); }
  .mbar a { padding: 15px 8px; text-align: center; font-weight: 700; font-size: 0.92rem; text-decoration: none; background: var(--white); color: var(--frame); }
  .mbar a.r { background: var(--red); color: #fff; }
  body[data-page="home"] footer { padding-bottom: 90px; }
}

/* ================= v3: inner pages ================= */
.phead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.phead .hero-facts { margin-top: 28px; }
.pimg { margin: 0; border: var(--f) solid var(--frame); aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.wgrid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.wcard { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.wcard:nth-child(4n) { border-right: 0; } .wcard:nth-last-child(-n+4) { border-bottom: 0; }
.wcard svg { width: 120px; height: 90px; margin-bottom: 6px; }
.wcard p { font-size: 0.92rem; color: var(--graphite); }
.spec-list.dark { border-top-color: var(--frame); }
.spec-list.dark li { border-bottom-color: var(--line); grid-template-columns: 130px 1fr; }
.spec-list.dark b { color: var(--mute); }
.prose p { font-size: 1.12rem; margin-bottom: 18px; max-width: 62ch; color: var(--graphite); }
.prose p:first-child { font-size: 1.4rem; color: var(--frame); font-weight: 500; line-height: 1.4; }
.areas { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.areas li { padding: 12px 0; border-bottom: 1px solid var(--alu); font: 700 1.05rem var(--display); }
.tw { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; background: var(--white); min-width: 620px; }
.ptable th, .ptable td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: middle; }
.ptable thead th { font: 500 0.76rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); background: var(--paper); }
.ptable tbody th { font: 800 1.35rem var(--display); white-space: nowrap; }
.ptable tbody th small { display: block; font: 400 0.74rem var(--mono); color: var(--mute); margin-top: 2px; }
.ptable .cfgs { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.ptable .cfg { display: flex; align-items: center; gap: 10px; }
.ptable .cfg svg { width: 70px; height: 34px; }
.ptable .cfg b { font: 600 0.9rem var(--mono); display: block; }
.ptable td.tot { font: 800 1.6rem var(--display); text-align: right; white-space: nowrap; }
@media (max-width: 1020px) {
  .phead { grid-template-columns: 1fr; }
  .wgrid { grid-template-columns: 1fr 1fr; }
  .wcard:nth-child(4n) { border-right: 1px solid var(--line); } .wcard:nth-child(2n) { border-right: 0; }
  .wcard:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); } .wcard:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .wgrid { grid-template-columns: 1fr; }
  .wcard { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .wcard:last-child { border-bottom: 0 !important; }
}

/* ================= v4 ================= */
.demo-strip { background: #f3e2b3; color: #4a3a05; font: 500 0.76rem var(--mono); text-align: center; padding: 6px 16px; letter-spacing: .02em; }
.win-teaser { background: var(--white); border-top: 1px solid var(--line); }
.nf { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 80px 20px; background: var(--stucco); }
.nf h1 { font-size: clamp(3rem, 12vw, 9rem); }

/* ================= v5: Open Sans typography ================= */
body { font-size: 16.5px; line-height: 1.65; color: var(--frame); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }
.hero-top h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -0.03em; }
.inv-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.lede { color: #4d565c; font-size: 1.12rem; line-height: 1.6; }
p { color: inherit; }
.tag { font-weight: 700; font-size: 0.74rem; letter-spacing: 0.12em; }
.dim, .sku, .pill, .phone, .cap-facts b, .size-out dd, .qty output, .opening-cap button { font-variant-numeric: tabular-nums; }
.pill { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.01em; }
.item .sku { letter-spacing: 0.02em; }
.top nav a { font-weight: 600; font-size: 0.92rem; }
.top .phone { font-weight: 700; font-size: 0.95rem; }
.btn { font-weight: 700; letter-spacing: 0; }
.arrow::after { font-family: inherit; }
.hero-facts b, .cell .n, .size-out .big, .ptable tbody th, .ptable td.tot, .matrix thead th b, .matrix tbody th b, .steps li::before { font-weight: 800; letter-spacing: -0.03em; }
.cell .n small, .size-out .big small, .matrix thead th, .matrix tbody th, .ptable thead th, .spec-list b, footer h4, .who a .go, .weeks .w { font-weight: 700; letter-spacing: 0.1em; }
.cell .n small { font-size: 0.68rem; }
.faq summary { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.faq summary::after { font-weight: 400; }
.areas li { font-weight: 700; }
.size-ctl .chip { font-weight: 700; }
.size-draw text { font-family: var(--body); font-weight: 600; }
.opening-cap button { font-weight: 700; letter-spacing: 0.08em; }
.demo-strip { font-weight: 600; }
.nf h1 { font-size: clamp(2.6rem, 9vw, 6rem); }

/* ================= v6: cinematic pass ================= */
:root { --stucco: #f0eeea; --paper: #fbfaf8; --line: #dcdad5; --shadow: 0 18px 50px -24px rgba(21,23,26,.35); }
.btn { border: 1.5px solid var(--frame); }
.btn.red { border-color: var(--red); } .btn.light { border-color: rgba(255,255,255,.75); }
.btn.ghost { border-color: var(--frame); }
.btn { padding: 15px 26px; }
.hero-facts { border-top: 1px solid var(--frame); }
.filters { border-block: 1px solid var(--frame); }
.faq { border-top: 1px solid var(--frame); } .areas { border-top: 1px solid var(--frame); } .steps { border-top: 1px solid var(--frame); }

/* hero */
.hero2 { position: relative; height: min(92vh, 900px); min-height: 600px; background: #0b0c0d; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero2 .opening { position: absolute; inset: 0; aspect-ratio: auto; border: 0; box-shadow: none; perspective: 2200px; }
.hero2 .opening > img { animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero2 .leaf { --f: 14px; background: linear-gradient(115deg, rgba(200,222,228,.30), rgba(120,160,170,.12) 45%, rgba(210,230,235,.26) 60%, rgba(120,160,170,.16)); }
.hero2-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,9,10,.82) 0%, rgba(8,9,10,.55) 38%, rgba(8,9,10,.05) 70%), linear-gradient(0deg, rgba(8,9,10,.75) 0%, rgba(8,9,10,0) 34%); }
.hero2-copy { position: relative; padding-bottom: clamp(36px, 6vh, 72px); }
.hero2-copy .tag { color: #d6dadd; display: inline-flex; align-items: center; gap: 14px; }
.hero2-copy .tag::before { content: ""; width: 44px; height: 2px; background: var(--red); }
.hero2-copy h1 { color: #fff; font-size: clamp(2.9rem, 7vw, 6.2rem); line-height: 1; letter-spacing: -0.035em; margin-top: 22px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero2-copy h1 em { font-style: normal; color: #ff5a4a; }
.hero2-copy .lede { color: #e6e9eb; max-width: 46ch; margin-top: 22px; font-size: 1.2rem; }
.hero2-copy .hero-cta { margin-top: 32px; }
.hero2-bar { position: relative; background: rgba(15,17,19,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.16); }
.hero2-bar .wrap { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); min-height: 72px; flex-wrap: wrap; padding-block: 12px; font-size: 0.92rem; color: #cfd5d8; }
.hero2-bar .live { font-weight: 700; font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero2-bar .fact b { color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; margin-right: 8px; font-variant-numeric: tabular-nums; }
.hero2-bar button { margin-left: auto; font: 700 0.76rem var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; background: none; color: #fff; border: 1px solid rgba(255,255,255,.6); padding: 10px 16px; }
.hero2-bar button:hover { background: #fff; color: var(--frame); }

/* section rhythm + accents */
.sec-head .tag, .faq-grid .tag, .visit .tag:first-child, .size-sec .sec-head .tag { display: inline-flex; align-items: center; gap: 12px; }
.sec-head > div > .tag::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.matrix-sec { border-block: 0; }
.matrix { box-shadow: var(--shadow); }
.matrix th, .matrix td { border-color: var(--line); }
.cell:hover, .cell[aria-pressed="true"] { background: var(--frame); }
.size-sec { border-block: 0; }
.size-grid { box-shadow: var(--shadow); border-color: var(--line); }
.size-ctl { border-right-color: var(--line); } .size-out { border-left-color: var(--line); }

/* series: image-led cards */
.series { gap: 18px; }
.card { position: relative; border: 0; overflow: hidden; min-height: 460px; justify-content: flex-end; background: #111; box-shadow: var(--shadow); }
.card.sm { min-height: 380px; }
.card .ph, .card.big .ph { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,10,.92) 0%, rgba(8,9,10,.55) 34%, rgba(8,9,10,0) 62%); }
.card .tx { position: relative; color: #fff; padding: 26px; flex: 0; }
.card h3 { color: #fff; font-size: 1.5rem; }
.card.sm h3 { font-size: 1.25rem; }
.card .tx p { color: #dfe3e5; }
.card .row .tag { color: #c5cbcf; }
.card .stockline { border-top-color: rgba(255,255,255,.22); color: #dfe3e5; }
.card .pill.ok { color: #7fe0a6; } .card .pill.eta { color: #cfd5d8; }
.card:hover .ph img { transform: scale(1.06); }

/* quieter utility surfaces */
.who { border-color: var(--line); box-shadow: var(--shadow); }
.who a { border-right-color: var(--line); }
.ways { border-color: var(--line); box-shadow: var(--shadow); }
.way + .way { border-left-color: var(--line); }
.proj { gap: 10px; } .proj figure { border: 0; }
.vids video { border: 0; }
.pimg { border: 0; box-shadow: var(--shadow); }
form.quote { border-color: var(--line); box-shadow: var(--shadow); }
.wgrid { border-color: var(--line); box-shadow: var(--shadow); } .wcard { border-color: var(--line) !important; }
.ptable { box-shadow: var(--shadow); } .ptable th, .ptable td { border-color: var(--line); }
.inv-head { border-bottom: 0; }
dialog { border: 0; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.specs { background: linear-gradient(180deg, #15171a, #1d2125); }

@media (max-width: 1020px) { .hero2-bar .upd { display: none; } }
@media (max-width: 640px) {
  .hero2 { height: auto; min-height: 88vh; }
  .hero2-shade { background: linear-gradient(0deg, rgba(8,9,10,.9) 0%, rgba(8,9,10,.6) 55%, rgba(8,9,10,.25) 100%); }
  .hero2-copy { padding-top: 120px; }
  .hero2-bar .fact b { font-size: 1.15rem; }
  .hero2-bar button { margin-left: 0; }
  .hero2-bar .wrap { padding-bottom: 76px; }
  .card, .card.sm { min-height: 340px; }
}

/* ================= v7 ================= */
.card .row { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
.matrix-sec { background: #15171a; color: #fff; }
.matrix-sec .sec-head p, .matrix-sec .matrix-foot { color: #b9c1c6; }
.matrix-sec .tag { color: #b9c1c6; }
.matrix-sec .matrix { box-shadow: none; }
.matrix-sec .matrix th, .matrix-sec .matrix td { border-color: #343a40; }
.matrix-sec .matrix thead th, .matrix-sec .matrix tbody th { background: #1c2024; color: #9aa4ab; }
.matrix-sec .matrix thead th b, .matrix-sec .matrix tbody th b { color: #fff; }
.matrix-sec .cell { background: transparent; color: #fff; }
.matrix-sec .cell ul { color: #c3cace; }
.matrix-sec .cell:hover { background: #fff; color: var(--frame); }
.matrix-sec .cell:hover ul { color: var(--graphite); }
.matrix-sec .cell.none, .matrix-sec .cell.none:hover { background: repeating-linear-gradient(135deg, #191c1f 0 9px, #22262a 9px 10px); color: #8b949a; }
.matrix-sec .cell .n { font-size: 2.6rem; }
.band { position: relative; background-size: cover; background-position: center 60%; background-attachment: fixed; color: #fff; padding: clamp(90px, 14vw, 190px) 0; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,10,.78), rgba(8,9,10,.25)); }
.band .wrap { position: relative; display: grid; gap: 22px; justify-items: start; }
.band h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.band p { font-size: 1.2rem; max-width: 40ch; color: #e6e9eb; }
@media (max-width: 1020px) { .band { background-attachment: scroll; } }
/* ================= v8: inner page heads ================= */
.inv-head { background: linear-gradient(180deg, #15171a, #1f2327); color: #fff; padding-block: clamp(44px, 6vw, 84px); }
.inv-head .lede { color: #d8dde0; } .inv-head .tag { color: #b9c1c6; } .inv-head .meta { color: #cfd5d8; }
.inv-head .tag { display: inline-flex; align-items: center; gap: 12px; }
.inv-head .tag::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.inv-head .hero-facts { border-top-color: rgba(255,255,255,.28); } .inv-head .hero-facts span { color: #b9c1c6; }
.inv-head .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.inv-head .btn.ghost:hover { background: #fff; color: var(--frame); }
.pimg { box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
@media (max-width: 640px) { .hero2 .opening > img { object-position: 72% 100%; } }

/* ================= v9: client assets & real specs ================= */
.proof { background: var(--white); padding: 0; border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof .wrap > div { padding: 30px 22px; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.proof .wrap > div:last-child { border-right: 0; }
.proof b { font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1; }
.proof span { font-size: 0.86rem; color: var(--mute); line-height: 1.4; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges span { font-weight: 700; font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.spec-list li.grp { display: block; padding: 26px 0 8px; font-weight: 800; font-size: 1.05rem; color: #fff; border-bottom: 1px solid #5a6168; }
.spec-list li.grp:first-child { padding-top: 14px; }
.draw { margin: 28px 0 0; background: #fff; padding: 18px; max-width: 420px; }
.draw img { width: 100%; height: auto; }
.draw figcaption { color: #5d666c; font-size: 0.8rem; margin-top: 8px; }
.draw.photo { padding: 0; background: none; }
.szh { display: flex; align-items: center; gap: 14px; }
.szh img { width: 84px; height: 60px; object-fit: cover; flex: none; }
.size-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 4px; }
.size-out .big { font-size: 3.4rem; }
.inv-head.wh { background-size: cover; background-position: center; }
.wcard { padding: 0; gap: 0; }
.wcard h3 { padding: 18px 20px 0; } .wcard p { padding: 8px 20px 22px; }
.wph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.wph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.wcard:hover .wph img { transform: scale(1.05); }
.wph svg { position: absolute; left: 12px; bottom: 12px; width: 72px; height: 54px; margin: 0; background: #fff; padding: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
@media (max-width: 1020px) { .proof .wrap { grid-template-columns: 1fr 1fr; } .proof .wrap > div { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .szh img { display: none; } }

/* ================= v10: header, phone menu, polish ================= */
.top .wrap { height: 86px; }
.top .logo img { height: 74px; }
footer img { height: 84px; }
.filters { top: 86px; }
.top { transition: background .3s, box-shadow .3s; }
body[data-page="home"] .top { background: transparent; }
body[data-page="home"] .top.solid, body[data-page="home"] .top.open { background: var(--frame); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
body[data-page="home"] .hero2 { margin-top: -86px; height: min(100vh, 960px); }
body[data-page="home"] .hero2::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; background: linear-gradient(180deg, rgba(8,9,10,.7), rgba(8,9,10,0)); z-index: 1; pointer-events: none; }
.hero2-copy, .hero2-bar { z-index: 2; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid rgba(255,255,255,.35); cursor: pointer; padding: 0; place-content: center; gap: 5px; }
.menu-btn i { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.top.open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); } .top.open .menu-btn i:nth-child(2) { opacity: 0; } .top.open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.who a { padding: 0 0 22px; gap: 10px; }
.who a h3, .who a p, .who a .go { padding-inline: 20px; }
.who a h3 { margin-top: 8px; }
.wp { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.wp img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.who a:hover .wp img { transform: scale(1.06); }

input, select, textarea { border: 1px solid #c5c9c7; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--frame); box-shadow: 0 0 0 3px rgba(211,38,26,.18); }
.chip { border-width: 1px; } .qty { border-width: 1px; } .qty output { border-inline-width: 1px; }
.map { width: 100%; height: 260px; border: 0; margin-top: 22px; filter: grayscale(.35) contrast(1.05); display: block; }
.specs .draw.photo { max-width: 360px; }
.specs .draw.photo img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 1020px) {
  .top .wrap { height: 72px; } .top .logo img { height: 60px; } .filters { top: auto; }
  body[data-page="home"] .hero2 { margin-top: -72px; height: auto; min-height: 100vh; }   /* let the copy push the hero taller on phones and tablets instead of sliding under the header */
  .menu-btn { display: grid; }
  .top .btn { display: none; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--frame); flex-direction: column; gap: 0; margin: 0; padding: 6px 20px 18px; border-top: 1px solid #2f353b; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .top.open nav { display: flex; }
  .top nav a { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid #2f353b; }
  .top nav a:hover, .top nav a[aria-current] { border-color: #2f353b; color: #fff; }
}
@media (max-width: 640px) { .top .phone { font-size: 0.86rem; } .wp { aspect-ratio: 16 / 8; } }

/* ================= v11: compare table, product FAQ ================= */
.cmp-sec { background: var(--paper); padding-top: 0; }
.cmp { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); min-width: 760px; }
.cmp th, .cmp td { padding: 15px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.95rem; }
.cmp thead th { background: var(--frame); color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.25; border-color: #2f353b; }
.cmp thead th a { color: #fff; text-decoration: none; } .cmp thead th a:hover { text-decoration: underline; }
.cmp tbody th { font-weight: 700; font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); width: 150px; background: var(--paper); white-space: nowrap; }
.cmp tr.live td { background: #fdf3f1; } .cmp tr.live b { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--red); }
.dl { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--frame); }
.dl .tag { padding: 14px 0 4px; }
.dl a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.dl a:hover { color: var(--red); }

/* ================= v12: finish ================= */
::selection { background: rgba(211,38,26,.22); }
html { scroll-padding-top: 100px; }
p, li { text-wrap: pretty; }
html.js img { opacity: 0; transition: opacity .6s ease; }
html.js img.ld, html.js .top img, html.js footer img, html.js .hero2 .opening > img, html.js .lb img { opacity: 1; }
.card .ph img, .wp img, .wph img { transition: opacity .6s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.btn:active { transform: translateY(1px); }
.card, .wcard, .who a { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .2s, color .2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -26px rgba(21,23,26,.55); }
.who a:hover { background: var(--white); color: var(--frame); }
.who a:hover p { color: var(--graphite); } .who a:hover .go { color: var(--red); }
.who a:hover h3 { color: var(--red); }
.wcard:hover { background: var(--paper); }
.cmp tbody tr:hover td { background: #faf9f6; } .cmp tr.live:hover td { background: #fdf3f1; }
.ptable tbody tr:hover td, .ptable tbody tr:hover th { background: #faf9f6; }
.item { transition: background .15s; padding-inline: 10px; margin-inline: -10px; }
.item:hover { background: #fff; }
.item { grid-template-columns: 190px minmax(0, 1.6fr) 90px 170px 190px; }
.viz { display: flex; align-items: center; gap: 12px; }
.viz .th { width: 78px; height: 54px; object-fit: cover; flex: none; }
.chip { transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--red); color: var(--red); } .chip[aria-pressed="true"]:hover { color: #fff; border-color: var(--frame); }
.top nav a { transition: color .2s, border-color .2s; }
.proj figure img { cursor: zoom-in; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.6,.2,1); }
.proj figure:hover img { transform: scale(1.03); }
.lb { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; width: auto; overflow: visible; }
.lb::backdrop { background: rgba(10,11,12,.9); }
.lb img { max-width: 94vw; max-height: 90vh; display: block; opacity: 1; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lb button { position: absolute; right: -6px; top: -44px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.totop { text-decoration: underline; }
.faq details[open] summary { color: var(--red); }
.faq details p { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.proof b { color: var(--frame); } .proof .wrap > div { transition: background .2s; } .proof .wrap > div:hover { background: var(--paper); }
.hero2-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero2-copy > *:nth-child(2) { animation-delay: .12s; } .hero2-copy > *:nth-child(3) { animation-delay: .24s; } .hero2-copy > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sec-head h2 { max-width: 26ch; }
.viz span.th { display: block; }
@media (max-width: 1020px) {
  .item { grid-template-columns: 76px 1fr; margin-inline: 0; padding-inline: 0; }
  .viz { flex-direction: column; align-items: flex-start; gap: 6px; } .viz .th { width: 76px; height: 52px; }
}
@media (max-width: 640px) {
  .hero2-bar .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .hero2-bar .live, .hero2-bar button { grid-column: 1 / -1; justify-self: start; }
  footer .base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html.js img { opacity: 1; } }
/* header switches to solid instantly (a background transition can stall on throttled tabs) */
.top { transition: none; }
body[data-page="home"] .top.solid, body[data-page="home"] .top.open { background: var(--frame) !important; }

/* ================= v13: real prices, sale, client photos ================= */
.salebar { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--red); color: #fff; text-decoration: none; font-size: 0.9rem; padding: 8px 16px; text-align: center; }
.salebar b { font-weight: 800; } .salebar i { font-style: normal; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.salebar:hover { background: var(--red-dark); }
.px { display: inline-flex; flex-direction: column; line-height: 1.2; }
.px b { font-weight: 800; font-size: 1.05rem; color: var(--red); font-variant-numeric: tabular-nums; }
.px s { font-size: 0.78rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.px.none { font-size: 0.82rem; color: var(--mute); }
.item { grid-template-columns: 190px minmax(0, 1.5fr) 120px 170px 190px; }
.from { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -0.01em; }
.cp { font-weight: 800; color: var(--red); font-size: 1.02rem; }
.size-price .px b { font-size: 1.7rem; letter-spacing: -0.02em; } .size-price .px s { font-size: 0.9rem; }
.ptable td.pr { text-align: right; white-space: nowrap; } .ptable td.pr small { color: var(--mute); font-size: 0.74rem; display: block; }
.ptable td.pr .px { align-items: flex-end; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gal figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); }
.gal img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.6,.2,1); }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption { position: absolute; left: 0; bottom: 0; background: var(--frame); color: #fff; font-weight: 600; font-size: 0.74rem; padding: 6px 10px; }
.hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; max-width: 460px; }
.hw figure { margin: 0; } .hw img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.hw figcaption { font-size: 0.76rem; color: #b9c1c6; margin-top: 6px; }
.hero2-shade { background: linear-gradient(90deg, rgba(8,9,10,.86) 0%, rgba(8,9,10,.6) 40%, rgba(8,9,10,.12) 75%), linear-gradient(0deg, rgba(8,9,10,.75) 0%, rgba(8,9,10,0) 34%); }
.hero2 .opening > img { object-position: 60% 55%; }
.band { background-position: center 45%; }
@media (max-width: 1020px) {
  .item { grid-template-columns: 76px 1fr; }
  .item .fin { display: block; grid-column: 2; }
  .gal { grid-template-columns: 1fr 1fr; }
}

/* ================= v14: dealer sign-in ================= */
.dlink { color: #d9dde0; font-weight: 600; font-size: 0.86rem; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.dlink:hover { color: #fff; border-color: var(--red); }
.count a { color: inherit; }
#dealerform label[hidden], #dealerform button[hidden] { display: none; }
@media (max-width: 1280px) { .top nav { gap: 18px; } .top .wrap { gap: 18px; } }
@media (max-width: 1020px) { .dlink { margin-left: auto; } .top .phone { margin-left: 0; } }
@media (max-width: 640px) { .dlink { display: none; } }
.only-m { display: none; }
@media (max-width: 1020px) { .top nav a.only-m { display: block; } }

/* v15 */
.sent.err { background: #fdecea; border-color: var(--red); color: var(--red-dark); }
@media (max-width: 640px) { .hero2-copy { padding-top: 176px; } .salebar { font-size: 0.82rem; padding: 7px 12px; gap: 4px 10px; } .demo-strip { font-size: 0.68rem; } }

/* ===== 2026-12-01 revisions after the client review call ===== */
:root {
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, .cell .n, .matrix thead th b, .matrix tbody th b, .size-out .big { font-stretch: 112%; }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h3 { font-weight: 650; letter-spacing: -0.015em; }
.proof b, .cmp thead th { font-family: var(--display); font-stretch: 112%; }

/* compare table: the glass rows carry the selling point */
.cmp tr.hl th { color: var(--frame); background: #eef3f4; box-shadow: inset 4px 0 0 var(--glass); }
.cmp tr.hl td, .cmp tbody tr.hl:hover td { background: #f3f7f8; }
.cmp tr.hl td b { font-weight: 800; }
.cmp td small { display: block; margin-top: 3px; font-size: 0.8rem; color: var(--mute); }

/* stock matrix: one number per size */
.cell { min-height: 112px; display: grid; align-content: center; gap: 6px; }
.cell .n { font-size: 2.6rem; }
.cell .k { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; opacity: .72; }
.matrix-sec .cell .n { color: #fff; }
.matrix-sec .cell:hover .n { color: var(--frame); }
.matrix-sec .matrix thead th b, .matrix-sec .matrix tbody th b { color: #9fd0dc; }
.matrix-sec .cell.none, .matrix-sec .cell.none:hover { font-size: 0.78rem; letter-spacing: .04em; text-transform: uppercase; }

/* stock list: size and count read as two different things */
.item .nm .dim { color: #1f5f70; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.12rem; }
.pill.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.pill.low { background: var(--low); border-color: var(--low); color: #fff; }
.card .pill.ok { background: transparent; }

/* delivery methods on the About page */
.shipways { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--frame); }
.shipways li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--alu); }
.shipways b { font: 700 1.05rem var(--display); font-stretch: 112%; }
@media (max-width: 560px) { .shipways li { grid-template-columns: 1fr; gap: 2px; } }

/* 2026-12-01 pass 2 */
.skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--frame); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.swipe { display: none; margin: 0 0 10px; font-size: 0.85rem; font-weight: 600; color: var(--mute); }
@media (max-width: 820px) { .swipe { display: block; } }
footer .staff { color: inherit; opacity: .55; font-size: 0.82rem; text-decoration: none; margin-left: 14px; }
footer .staff:hover { opacity: 1; text-decoration: underline; }
.vids video { background: #0d0f11; }

/* dealer page: how to apply */
.apply-steps { list-style: none; counter-reset: st; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; }
.apply-steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 4px; }
.apply-steps li::before { content: counter(st); grid-row: span 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--red, #c8102e); color: #fff; }
.apply-steps b { display: block; }
.apply-steps span { min-width: 0; }
.apply-steps .dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
