/* M Squared Power Generation — site styles
   Layout: engineering-datasheet feel. Dark "plant room" bands for heroes, light paper sections,
   monospace readouts for real specs (kVA, A, MW). Power division = brand blue; Rental division = brand yellow. */
:root {
  --ink: #0f1619;          /* near-black, charcoal-biased */
  --charcoal: #3c4e58;     /* CI secondary: charcoal */
  --blue: #00d0d3;         /* CI primary: blue */
  --blue-text: #00777a;    /* blue darkened for text on white (AA) */
  --yellow: #ffbf41;       /* CI secondary: yellow (rental division) */
  --green: #84d500;        /* CI secondary: green (used sparingly for "online" states) */
  --paper: #f3f6f7;
  --white: #ffffff;
  --line: #d6dfe2;
  --muted: #55656d;
  --on-dark-muted: #a9b9c0;
  --accent: var(--blue);
  --accent-text: var(--blue-text);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;   /* CI web typeface */
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --maxw: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
body.rental { --accent: var(--yellow); --accent-text: #8a5a00; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); display: block; margin-bottom: 14px; }
.dark .eyebrow { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.dark .lede { color: var(--on-dark-muted); }

/* ---------- header ---------- */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 50; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--white); z-index: 21; }
.header-row { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { flex-shrink: 0; }
.brand img { width: 200px; }  /* CI: web minimum 200px */
.nav { display: flex; gap: 0; margin-left: auto; align-items: center; }
.nav a[href="index.html"] { display: none; }
.header-cta { white-space: nowrap; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 700; padding: 8px 9px; white-space: nowrap; border-radius: 4px; color: var(--charcoal); }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.nav a.nav-rental[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav .nav-rental::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: 0.95rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 18px var(--gutter-l); gap: 2px; box-shadow: 0 12px 24px rgba(15,22,25,.08); }
.menu-panel a { text-decoration: none; font-weight: 700; padding: 12px 4px; border-bottom: 1px solid var(--line); }
@media (max-width: 1180px) { .nav { display: none; } .menu { display: block; } .header-row .header-cta { display: none; } }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 22px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; font-family: var(--font); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--ink); color: var(--white); }
.header-cta { padding: 10px 16px; font-size: 0.92rem; }
.arrow::after { content: "→"; }

/* ---------- hero ---------- */
.dark { background: var(--ink); color: var(--white); }
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: 72px 64px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 4px; aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.hero-photo figcaption { font-family: var(--mono); font-size: 0.74rem; color: var(--on-dark-muted); margin-top: 10px; letter-spacing: 0.04em; }
.hero-simple { padding-block: 64px 56px; }
.hero-simple .lede { margin-top: 20px; }
.hero-simple .btns { margin-top: 30px; }
.crumb { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; color: var(--on-dark-muted); }
.crumb a { color: var(--on-dark-muted); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: end; }

/* readout: a controller-style spec panel */
.readout { background: #0a1013; border: 1px solid #22323a; border-radius: 6px; padding: 18px 20px; font-family: var(--mono); font-size: 0.86rem; color: #dfe9ec; }
.readout-head { display: flex; justify-content: space-between; color: var(--on-dark-muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px dashed #2c3f48; margin-bottom: 6px; }
.readout-head .live { color: var(--green); }
.readout-head .live::before { content: "●"; margin-right: 6px; }
.readout dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); }
.readout dt, .readout dd { padding: 9px 0; border-bottom: 1px solid #1b2a31; margin: 0; }
.readout dt { color: var(--on-dark-muted); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; padding-right: 18px; }
.readout dd { color: var(--accent); text-align: right; }
.readout dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- stat strip ---------- */
.stats { border-top: 1px solid #22323a; }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 26px 22px 28px 0; border-right: 1px solid #22323a; padding-left: 22px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 0.88rem; color: var(--on-dark-muted); margin-top: 4px; line-height: 1.4; }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section.paper { background: var(--paper); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose p { color: #26343a; }

/* market numbers */
.market { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.figure { padding: 18px 16px 0 0; }
.figure + .figure { padding-left: 16px; border-left: 1px solid var(--line); }
.figure b { font-family: var(--mono); font-size: 2rem; font-weight: 500; display: block; letter-spacing: -0.02em; }
.figure span { font-size: 0.86rem; color: var(--muted); display: block; line-height: 1.45; margin-top: 4px; }
.source { font-size: 0.78rem; color: var(--muted); margin-top: 16px; font-family: var(--mono); }
.drivers { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.drivers li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.drivers li b { font-size: 0.95rem; }
.drivers li span { color: var(--muted); font-size: 0.97rem; }

/* offerings */
.offer-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.offer { background: var(--white); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; grid-column: span 2; text-decoration: none; position: relative; }
.offer:nth-child(4), .offer:nth-child(5) { grid-column: span 3; }
.offer .code { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; }
.offer p { color: var(--muted); font-size: 0.98rem; }
.offer .more { margin-top: auto; font-weight: 700; font-size: 0.93rem; color: var(--blue-text); padding-top: 8px; }
a.offer:hover { background: #fbfdfd; }
a.offer:hover h3 { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.offer.is-rental { background: var(--ink); color: var(--white); }
.offer.is-rental p, .offer.is-rental .code { color: var(--on-dark-muted); }
.offer.is-rental .more { color: var(--yellow); }
a.offer.is-rental:hover { background: #172126; }
a.offer.is-rental:hover h3 { text-decoration-color: var(--yellow); }

/* sector cards */
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sector { border: 1px solid var(--line); border-top: 4px solid var(--blue); background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.sector .tag { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sector ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sector li { padding-left: 22px; position: relative; color: #26343a; font-size: 0.98rem; }
.sector li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--blue); }
.sector .btn { align-self: flex-start; margin-top: 8px; }
.rental-band { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 32px; border-left: 6px solid var(--yellow); }
.rental-band p { color: var(--on-dark-muted); margin-top: 6px; }

/* challenge / provide lists */
.split-lists { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.challenges { display: grid; gap: 0; counter-reset: c; }
.challenge { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.challenge:last-child { border-bottom: 1px solid var(--line); }
.challenge p { color: var(--muted); }
.provide { background: var(--ink); color: var(--white); padding: 32px; border-radius: 4px; position: sticky; top: 96px; }
.provide h3 { margin-bottom: 18px; }
.provide ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.provide li { padding-left: 28px; position: relative; color: #dbe5e8; font-size: 0.98rem; }
.provide li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.provide .btn { margin-top: 26px; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.why { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); }
.why p { color: var(--muted); font-size: 0.98rem; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.project { display: flex; flex-direction: column; gap: 14px; }
.project img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 3px; }
.project .meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.project ul { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.86rem; display: grid; gap: 0; }
.project li { padding: 8px 0; border-top: 1px solid var(--line); }

/* monitoring */
.noc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.noc-visual { position: relative; padding-bottom: 60px; }
.noc-visual .screen { border-radius: 4px; border: 1px solid #22323a; width: 100%; }
.noc-visual .ctrl { position: absolute; right: -10px; bottom: 0; width: 42%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.feature-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.feature-list li { padding: 13px 0 13px 28px; border-top: 1px solid #22323a; position: relative; color: #dbe5e8; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 12px; height: 2px; background: var(--accent); }
.light .feature-list li { border-color: var(--line); color: #26343a; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--white); padding: 28px; display: grid; gap: 10px; align-content: start; }
.service p { color: var(--muted); font-size: 0.97rem; }
.clients { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.clients .eyebrow { margin: 0; }
.clients b { font-size: 1.1rem; }

/* rental */
.rental-sub { background: #172126; border-top: 1px solid #22323a; }
.rental-sub .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 0; }
.rental-sub a { color: var(--on-dark-muted); text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 14px 14px; white-space: nowrap; }
.rental-sub a:hover { color: var(--white); }
.rental-sub a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--yellow); }
.rental-sub .label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); padding: 16px 14px 14px 0; white-space: nowrap; }
.fleet { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fleet-item { background: var(--white); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start; }
.fleet-item .spec { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-text); letter-spacing: 0.04em; }
.fleet-item p { color: var(--muted); font-size: 0.95rem; }
.seg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.seg { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--yellow); text-decoration: none; }
.seg p { color: var(--muted); font-size: 0.96rem; }
.seg .more { margin-top: auto; font-weight: 700; font-size: 0.93rem; color: #8a5a00; }
.seg:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.package { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.85rem; margin-top: 28px; }
.package span { border: 1px solid #34474f; padding: 7px 12px; border-radius: 3px; color: #dfe9ec; }
.package i { color: var(--yellow); font-style: normal; }
.related { display: flex; flex-wrap: wrap; gap: 12px; }
.related a { text-decoration: none; font-weight: 700; border: 1.5px solid var(--line); padding: 10px 16px; border-radius: 4px; background: var(--white); }
.related a:hover { border-color: var(--ink); }

/* footprint */
.provinces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.provinces span { font-family: var(--mono); font-size: 0.82rem; padding: 7px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--white); }
.provinces span.new { border-style: dashed; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline b { font-family: var(--mono); font-weight: 500; color: var(--blue-text); }
.timeline span { color: #26343a; }

/* CTA + contact */
.cta-band { padding-block: 80px; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contacts { display: grid; gap: 0; }
.contact { padding: 18px 0; border-top: 1px solid #22323a; display: grid; gap: 4px; }
.contact:last-child { border-bottom: 1px solid #22323a; }
.contact .role { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.contact .name { font-weight: 700; font-size: 1.08rem; }
.contact .lines { display: flex; flex-wrap: wrap; gap: 4px 22px; color: #dfe9ec; }
.light .contact { border-color: var(--line); }
.light .contact .role { color: var(--muted); }
.light .contact .lines { color: #26343a; }

.form { display: grid; gap: 16px; background: var(--white); color: var(--ink); padding: 32px; border-radius: 4px; }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #b9c7cc; border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.form .note { font-size: 0.85rem; color: var(--muted); }
.form-done { background: var(--paper); border-left: 4px solid var(--accent); padding: 16px 18px; font-size: 0.95rem; }
.form-done pre { white-space: pre-wrap; font-family: var(--mono); font-size: 0.8rem; margin: 10px 0 0; background: var(--white); padding: 12px; border: 1px solid var(--line); max-height: 220px; overflow: auto; }

/* footer */
.site-footer { background: #0a1013; color: var(--on-dark-muted); padding-block: 56px 32px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer img { width: 200px; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 0.8rem; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #d3dee2; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid #1b2a31; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8rem; font-family: var(--mono); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .two-col, .market, .split-lists, .noc, .cta-grid, .hero-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer, .offer:nth-child(4), .offer:nth-child(5) { grid-column: span 1; }
  .offer:nth-child(5) { grid-column: span 2; }
  .why-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-item:last-child { grid-column: span 2; }
  .seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provide { position: static; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid #22323a; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding-block: 60px; }
  .hero-grid { padding-block: 48px; }
  .sectors, .projects, .why-grid, .service-grid, .seg-grid, .fleet, .offer-grid, .form .row { grid-template-columns: minmax(0, 1fr); }
  .offer:nth-child(5), .fleet-item:last-child { grid-column: span 1; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .figure { padding-bottom: 14px; }
  .drivers li, .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rental-band { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .sector, .provide, .form { padding: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .noc-visual .ctrl { width: 48%; right: 0; }
}

/* hero media: photo with controller readout overlapping */
.hero-split { align-items: center; }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.hero-media .readout { position: relative; margin: -64px 0 0 28px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.media-cap { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--on-dark-muted); margin-top: 10px; }
.photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.photo-strip figcaption { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-top: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 680px) {
  .hero-media .readout { margin: -40px 0 0 12px; }
  .photo-strip { grid-template-columns: minmax(0, 1fr); }
}

/* ================= interactive layer ================= */
.site-header { transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,22,25,.08); }
html.lb-open { overflow: hidden; }

/* hero slideshow */
.slideshow { position: relative; margin: 0; }
.slides { position: relative; aspect-ratio: 4 / 3.3; border-radius: 4px; overflow: hidden; background: #0a1013; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slides > .slide:first-child { opacity: 1; }
.slides.js-ready > .slide:first-child:not(.is-active) { opacity: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.slide.is-active img { transform: scale(1); }
.slide-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 4px; max-width: calc(100% - 28px); }
.slide-tag span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: var(--blue); padding: 4px 8px; align-self: flex-start; border-radius: 2px; }
.slide-tag span.rent { background: var(--yellow); }
.slide-tag b { background: rgba(10,16,19,.82); color: var(--white); padding: 8px 12px; font-size: 0.95rem; border-radius: 2px; backdrop-filter: blur(4px); }
.slide-tag a { color: inherit; text-decoration: none; }
.slide-tag a:hover b { text-decoration: underline; text-decoration-color: var(--blue); }
.slide-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.slide-dot { width: 34px; height: 4px; border: 0; padding: 0; background: #33444c; cursor: pointer; border-radius: 2px; }
.slide-dot[aria-current="true"] { background: var(--blue); }
.slide-prev, .slide-next { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #34474f; background: transparent; color: var(--white); cursor: pointer; font-size: 1.1rem; }
.slide-next { margin-left: 0; }
.slide-prev:hover, .slide-next:hover { border-color: var(--blue); color: var(--blue); }
.slide-progress { height: 2px; background: #1b2a31; margin-top: 10px; overflow: hidden; }
.slide-progress span { display: block; height: 100%; width: 0; background: var(--blue); }

/* hero media portrait variant */
.hero-media.portrait > img { aspect-ratio: 4 / 4.6; }
.hero-media.video video { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; border-radius: 4px; background: #0a1013; display: block; }

/* carousel */
.carousel { position: relative; }
.carousel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.carousel-btns { display: flex; gap: 8px; }
.carousel-prev, .carousel-next { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.carousel-prev:hover, .carousel-next:hover { background: var(--ink); color: var(--white); }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.carousel-track > * { scroll-snap-align: start; }
.tile { position: relative; display: block; border: 0; padding: 0; margin: 0; cursor: zoom-in; background: #0a1013; border-radius: 3px; overflow: hidden; aspect-ratio: 3 / 4; text-align: left; font: inherit; color: var(--white); width: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile .tile-cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(10,16,19,.88)); font-size: 0.9rem; font-weight: 700; display: grid; gap: 2px; }
.tile .tile-cap small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.tile[data-cat="rental"] .tile-cap small, .tile[data-cat="events"] .tile-cap small { color: var(--yellow); }

/* gallery (masonry columns) */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gallery-filters button { font: inherit; font-weight: 700; font-size: 0.9rem; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; color: var(--charcoal); }
.gallery-filters button:hover { border-color: var(--ink); color: var(--ink); }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-count { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 22px; display: block; }
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery .tile { aspect-ratio: auto; margin-bottom: 16px; break-inside: avoid; display: block; }
.gallery .tile img { height: auto; }
.gallery.compact { columns: 4 200px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,10,12,.94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: max(20px, env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 3px; }
.lb-fig figcaption { display: flex; gap: 18px; color: #dfe9ec; font-size: 0.95rem; align-items: baseline; }
.lb-n { font-family: var(--mono); font-size: 0.8rem; color: var(--on-dark-muted); }
.lb-prev, .lb-next, .lb-close { background: transparent; border: 1px solid #34474f; color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; justify-self: center; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { border-color: var(--blue); color: var(--blue); }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }

/* video feature */
.video-feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.video-feature video { width: 100%; max-width: 380px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; border: 1px solid #22323a; background: #0a1013; justify-self: center; display: block; margin: 0 auto; }

/* sector cards with photos */
.sector-photo { margin: -32px -32px 8px; aspect-ratio: 16 / 9; overflow: hidden; }
.sector-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sector:hover .sector-photo img { transform: scale(1.04); }

/* estimator */
.estimator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.est-in { padding: 32px; background: var(--white); display: grid; gap: 22px; align-content: start; }
.est-out { padding: 32px; background: var(--ink); color: var(--white); display: grid; gap: 14px; align-content: start; }
.est-in label { font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.est-in output { font-family: var(--mono); color: #8a5a00; font-weight: 500; }
.est-in input[type=range] { width: 100%; accent-color: #c98a00; height: 28px; }
.est-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: -10px; }
.est-in select { font: inherit; padding: 11px 12px; border: 1.5px solid #b9c7cc; border-radius: 4px; width: 100%; background: var(--white); color: var(--ink); }
.check { display: flex !important; justify-content: flex-start !important; align-items: center; gap: 10px; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; accent-color: #c98a00; }
.est-out .lbl { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.est-big { font-family: var(--mono); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--yellow); letter-spacing: -0.02em; line-height: 1.1; }
.est-meter { height: 8px; background: #1b2a31; border-radius: 4px; overflow: hidden; }
.est-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), #ff8a3d); transition: width .3s ease; }
.est-out p { color: #dbe5e8; font-size: 0.95rem; }
.est-fine { font-size: 0.8rem !important; color: var(--on-dark-muted) !important; }

@media (max-width: 1000px) {
  .video-feature, .estimator { grid-template-columns: minmax(0, 1fr); }
  .carousel-track { grid-auto-columns: minmax(240px, 42%); }
}
@media (max-width: 680px) {
  .carousel-track { grid-auto-columns: 78%; }
  .gallery, .gallery.compact { columns: 2 140px; column-gap: 10px; }
  .gallery .tile { margin-bottom: 10px; }
  .tile .tile-cap { font-size: 0.8rem; padding: 30px 10px 9px; }
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .sector-photo { margin: -24px -24px 8px; }
  .est-in, .est-out { padding: 24px; }
}
@media (max-width: 1320px) { .nav { display: none; } .menu { display: block; } .header-row .header-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .slide, .slide img, .tile img { transition: none; } }
[hidden] { display: none !important; }

/* ================= instant quote ================= */
.quote { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 28px; align-items: start; }
.q-form { display: grid; gap: 20px; min-width: 0; }
.q-card { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: 24px 26px 26px; margin: 0; display: grid; gap: 20px; min-width: 0; }
.q-card legend { font-weight: 700; font-size: 1.15rem; padding: 0; float: left; width: 100%; display: flex; align-items: center; gap: 12px; }
.q-card legend + * { clear: both; }
.q-n { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: inline-grid; place-items: center; font-family: var(--mono); font-size: 0.9rem; }
.q-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.q-field { display: grid; gap: 8px; min-width: 0; }
.q-field > label { font-weight: 700; font-size: 0.95rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.q-field > label small { font-weight: 400; color: var(--muted); }
.q-field output { font-family: var(--mono); color: #8a5a00; font-weight: 500; }
.q-field select, .q-field input[type=number], .q-field input:not([type]) { font: inherit; padding: 12px 14px; border: 1.5px solid #b9c7cc; border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
.q-field select:focus, .q-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 55%, transparent); }
.q-field input[type=range] { width: 100%; accent-color: #c98a00; height: 28px; }
.q-help { font-size: 0.85rem; color: #8a5a00; font-weight: 700; }
.stepper { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; border: 1.5px solid #b9c7cc; border-radius: 4px; overflow: hidden; max-width: 220px; }
.stepper button { border: 0; background: var(--paper); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--yellow); }
.stepper input { border: 0 !important; text-align: center; font-family: var(--mono); font-size: 1.05rem; padding: 10px 4px !important; width: 100%; -moz-appearance: textfield; border-radius: 0 !important; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.q-dbs { display: grid; gap: 0; }
.q-db { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.q-db:first-child { border-top: 0; padding-top: 0; }
.q-db label { display: grid; gap: 2px; }
.q-db small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.q-db .stepper { grid-template-columns: 40px minmax(0, 1fr) 40px; }
.q-switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; }
.q-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-switch .track { width: 48px; height: 28px; border-radius: 14px; background: #b9c7cc; position: relative; transition: background .2s; flex: none; }
.q-switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.q-switch input:checked + .track { background: #c98a00; }
.q-switch input:checked + .track::after { transform: translateX(20px); }
.q-switch input:focus-visible + .track { outline: 3px solid var(--yellow); outline-offset: 2px; }
.q-dest { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.q-route { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 10px 12px; background: var(--ink); color: var(--white); border-radius: 4px; padding: 16px 18px; font-size: 0.9rem; }
.q-route-pin { display: grid; gap: 2px; color: var(--on-dark-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--mono); }
.q-route-pin b { color: var(--white); font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 0.98rem; }
.q-route-line { height: 2px; background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 14px); position: relative; }
.q-route-line::before, .q-route-line::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.q-route-line::before { left: -4px; } .q-route-line::after { right: -4px; }
.q-route-km { grid-column: 1 / -1; font-family: var(--mono); color: var(--yellow); font-size: 1.05rem; border-top: 1px dashed #2c3f48; padding-top: 10px; }
.q-route-km small { color: var(--on-dark-muted); font-size: 0.78rem; margin-left: 8px; }
.q-out { position: sticky; top: 96px; background: var(--ink); color: var(--white); border-radius: 6px; padding: 28px; display: grid; gap: 18px; min-width: 0; }
.q-out .lbl { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.q-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.q-table th { text-align: left; font-weight: 700; padding: 10px 12px 10px 0; border-bottom: 1px solid #1f2f36; vertical-align: top; }
.q-table th small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: 0.8rem; margin-top: 2px; font-family: var(--mono); }
.q-table td { text-align: right; font-family: var(--mono); padding: 10px 0; border-bottom: 1px solid #1f2f36; vertical-align: top; white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-table tfoot th, .q-table tfoot td { color: var(--on-dark-muted); font-weight: 400; border-bottom: 0; padding-block: 6px; }
.q-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 12px; border-top: 2px solid var(--yellow); padding-top: 14px; }
.q-total span { font-weight: 700; }
.q-total b { font-family: var(--mono); font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--yellow); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.q-total small { grid-column: 1 / -1; text-align: right; font-family: var(--mono); color: var(--on-dark-muted); font-size: 0.8rem; }
.q-notes { margin: 0; padding-left: 18px; color: #dbe5e8; font-size: 0.88rem; display: grid; gap: 6px; }
.q-notes:empty { display: none; }
.q-out .btn-ghost { color: var(--white); }
.q-copytext { white-space: pre-wrap; font-family: var(--mono); font-size: 0.78rem; background: #0a1013; padding: 12px; border-radius: 4px; color: #dfe9ec; margin: 0; }
.q-fine { font-size: 0.78rem; color: var(--on-dark-muted); }
@media (max-width: 1000px) { .quote { grid-template-columns: minmax(0, 1fr); } .q-out { position: static; } }
@media (max-width: 680px) {
  .q-row, .q-dest { grid-template-columns: minmax(0, 1fr); }
  .q-card { padding: 20px; }
  .q-db { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .q-out { padding: 22px; }
}

/* ================= events & production ================= */
.nav a.nav-contact { display: none; }
.menu-panel a.nav-contact { display: block; }
.clients-band { background: var(--yellow); padding-block: 34px; }
.clients-band .eyebrow { color: var(--ink); margin-bottom: 16px; }
.client-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.client-wall li { display: grid; gap: 4px; padding: 6px 20px 6px 0; border-left: 2px solid rgba(15,22,25,.25); padding-left: 18px; }
.client-wall li:first-child { border-left: 0; padding-left: 0; }
.client-wall b { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.15; }
.client-wall span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5c4300; }
.evt-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.evt-type { display: grid; gap: 10px; align-content: start; }
.evt-photo { border: 0; padding: 0; cursor: zoom-in; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); display: block; width: 100%; }
.evt-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.evt-type:hover .evt-photo img { transform: scale(1.05); }
.evt-type h3 { margin-top: 6px; }
.evt-type p { color: var(--muted); font-size: 0.96rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 22px 20px 4px 0; border-top: 2px solid #2c3f48; position: relative; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }
.steps .step-n { font-family: var(--mono); color: var(--yellow); font-size: 0.8rem; letter-spacing: 0.1em; }
.steps h3 { color: var(--white); }
.steps p { color: #c3d0d5; font-size: 0.95rem; }
.db-list { list-style: none; margin: 0; padding: 0; display: grid; }
.db-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.db-list li:last-child { border-bottom: 1px solid var(--line); }
.db-list b { font-family: var(--mono); font-weight: 500; font-size: 1.15rem; color: #8a5a00; }
.db-list span { color: #26343a; font-size: 0.95rem; }
.events-band { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 20px 32px; background: var(--yellow); color: var(--ink); text-decoration: none; border-radius: 2px; }
.events-band .eyebrow { color: var(--ink); }
.events-names { font-weight: 700; font-size: 1.05rem; }
.events-band .more { font-weight: 700; }
.events-band:hover .events-names { text-decoration: underline; }
@media (max-width: 1000px) {
  .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .client-wall li:nth-child(3) { border-left: 0; padding-left: 0; }
  .evt-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-top: 0; border-left: 2px solid #2c3f48; padding: 0 0 26px 24px; }
  .steps li::before { top: 4px; left: -7px; }
  .events-band { grid-template-columns: minmax(0, 1fr); padding: 20px 24px; }
}
@media (max-width: 680px) {
  .evt-types { grid-template-columns: minmax(0, 1fr); }
  .evt-photo { aspect-ratio: 4 / 3; }
}
.section:not(.dark) .feature-list li { color: #26343a; border-color: var(--line); }
/* event photo marquee */
.clients-band { padding-bottom: 0; }
.marquee { margin-top: 30px; overflow: hidden; padding-bottom: 34px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: mq 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.mq-item { flex: none; width: 260px; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 4px; overflow: hidden; background: var(--ink); cursor: zoom-in; display: block; box-shadow: 0 8px 20px rgba(15,22,25,.18); }
span.mq-item { cursor: default; }
.mq-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
button.mq-item:hover img { transform: scale(1.06); }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; }
  span.mq-item { display: none; }
}
@media (max-width: 680px) { .mq-item { width: 200px; } }
/* featured events */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: #0a1013; border: 1px solid #22323a; border-top: 4px solid var(--yellow); border-radius: 4px; padding: 26px; display: grid; gap: 16px; align-content: start; color: var(--white); }
.feat-type { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.feat-head h3 { font-size: 1.4rem; margin-top: 6px; }
.feat-total { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed #2c3f48; }
.feat-total b { font-family: var(--mono); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--yellow); letter-spacing: -0.03em; line-height: 1; }
.feat-total span { font-family: var(--mono); font-size: 0.8rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.feat-units { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-family: var(--mono); font-size: 0.92rem; }
.feat-units li { padding: 8px 0; border-bottom: 1px solid #1b2a31; color: #dfe9ec; }
.feat-units b { color: var(--yellow); font-weight: 500; display: inline-block; min-width: 38px; }
.feat-units i { font-style: normal; color: var(--on-dark-muted); font-size: 0.8rem; margin-left: 6px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-tags span { font-size: 0.8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid #34474f; color: #dfe9ec; }
.feat p { color: #c3d0d5; font-size: 0.95rem; }
@media (max-width: 1000px) { .feats { grid-template-columns: minmax(0, 1fr); } }
.feat-pics { margin: -26px -26px 4px; display: grid; gap: 4px; }
.feat-main { position: relative; border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1013; display: block; width: 100%; }
.feat-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feat-main:hover img { transform: scale(1.04); }
.feat-count { position: absolute; right: 10px; bottom: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; background: rgba(10,16,19,.8); color: var(--white); padding: 4px 8px; border-radius: 2px; }
.feat-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.feat-thumbs button { border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; background: #0a1013; }
.feat-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s; }
.feat-thumbs button:hover img { opacity: 1; transform: scale(1.06); }
.feat { border-top-width: 4px; overflow: hidden; }
.feats { align-items: start; }
.gen-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gen-steps li::before { background: var(--blue); }
.gen-steps .step-n { color: var(--blue); }
@media (max-width: 1000px) { .gen-steps { grid-template-columns: minmax(0, 1fr); } }
.nav a { padding: 8px 7px; font-size: 0.88rem; }
.header-row { gap: 18px; }
/* reference list */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ref-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.ref-tools input { font: inherit; padding: 12px 16px; border: 1.5px solid #b9c7cc; border-radius: 4px; width: min(460px, 100%); background: var(--white); color: var(--ink); }
.ref-tools input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 45%, transparent); }
.ref-tools .filter-count { margin: 0; }
.ref-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 4px; max-height: 620px; overflow: auto; }
.ref-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ref-table thead th { position: sticky; top: 0; background: var(--ink); color: var(--white); text-align: left; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; padding: 12px 18px; z-index: 1; }
.ref-table tbody th { text-align: left; font-weight: 700; padding: 13px 18px; width: 34%; vertical-align: top; border-top: 1px solid var(--line); }
.ref-table td { padding: 13px 18px; font-family: var(--mono); font-size: 0.86rem; color: #26343a; border-top: 1px solid var(--line); vertical-align: top; }
.ref-table tbody tr:hover { background: #f7fafb; }
.ref-table mark { background: color-mix(in srgb, var(--blue) 30%, transparent); color: inherit; padding: 0 1px; }
.ref-empty { margin-top: 14px; color: var(--muted); }
@media (max-width: 680px) {
  .ref-table, .ref-table tbody, .ref-table tr, .ref-table th, .ref-table td { display: block; width: 100%; }
  .ref-table thead { display: none; }
  .ref-table tbody tr { border-top: 1px solid var(--line); padding: 12px 16px; }
  .ref-table tbody th, .ref-table td { border: 0; padding: 2px 0; }
  .ref-wrap { max-height: 560px; }
}
/* generator purchase estimator */
.buy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.buy-in { background: var(--white); padding: 32px; display: grid; gap: 24px; align-content: start; }
.buy-brands { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.buy-brands legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; padding: 0; }
#buy-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.buy-brand { position: relative; cursor: pointer; }
.buy-brand input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.buy-brand span { display: grid; gap: 4px; padding: 18px 20px; border: 2px solid var(--line); border-radius: 6px; transition: border-color .15s, background .15s; }
.buy-brand b { font-size: 1.15rem; }
.buy-brand small { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.buy-brand:hover span { border-color: #9fb0b7; }
.buy-brand input:checked + span { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--white)); box-shadow: inset 0 0 0 1px var(--blue); }
.buy-brand input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.buy-range { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.buy-spec { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.buy-spec div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.buy-spec dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.buy-spec dd { margin: 4px 0 0; font-weight: 700; }
.buy-out { background: var(--ink); color: var(--white); padding: 32px; display: grid; gap: 16px; align-content: start; }
.buy-out .lbl { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.buy-model { font-size: 1.3rem; font-weight: 700; }
.buy-out .q-total { border-top-color: var(--blue); }
.buy-out .q-total b { color: var(--blue); }
.buy-terms { margin: 0; padding: 14px 16px 14px 34px; background: #0a1013; border-radius: 4px; display: grid; gap: 6px; font-size: 0.86rem; color: #dbe5e8; }
@media (max-width: 1000px) { .buy { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .buy-in, .buy-out { padding: 22px; } #buy-brands, .buy-spec { grid-template-columns: minmax(0, 1fr); } }
