:root {
  --red: #c8221a;
  --red-dark: #9d1a14;
  --ink: #1d1f23;
  --muted: #5d636b;
  --bg: #ffffff;
  --alt: #f4f1ec;
  --line: #e2ddd5;
  --radius: 10px;
  --stripe: repeating-linear-gradient(135deg, var(--red) 0 18px, #fff 18px 36px);
}
:root[data-theme="dark"] { --ink: #f0eee9; --muted: #a7acb3; --bg: #15171a; --alt: #1c1f23; --line: #2d3136; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--red); margin-bottom: .6em; }
.eyebrow.light { color: #ffd2cf; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover { color: var(--red); }
nav .nav-cta { background: var(--red); color: #fff; padding: .45rem 1rem; border-radius: 999px; }
nav .nav-cta:hover { background: var(--red-dark); color: #fff; }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--ink); height: 38px; padding: 0 .8rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.theme-toggle svg { flex: none; }
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.header-tools { display: flex; align-items: center; gap: .4rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* hero */
.hero { position: relative; color: #fff; min-height: min(78vh, 720px); display: flex; align-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.82) 0%, rgba(10,12,15,.55) 55%, rgba(10,12,15,.15) 100%); }
.hero-copy { position: relative; padding: 72px 0 88px; }
.hero .eyebrow { color: #ffb4af; }
.hero h1 { max-width: 14em; }
.lead { font-size: 1.15rem; max-width: 34em; opacity: .95; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--stripe); }
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* facts */
.facts { background: var(--ink); color: var(--bg); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 28px 0; text-align: center; }
.facts strong { display: block; font-size: 1.8rem; color: #fff; }
.facts span { font-size: .85rem; opacity: .75; }
:root[data-theme="dark"] .facts { background: #0d0e10; }

/* sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section.alt { background: var(--alt); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split.reverse { grid-template-columns: 1fr 1.15fr; }
.photo img, .datasheet img { border-radius: var(--radius); box-shadow: 0 12px 36px rgba(0,0,0,.18); width: 100%; }
.photo.tall img { max-height: 640px; width: auto; margin-inline: auto; }
.datasheet { margin: 0; }
.datasheet figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }
.datasheet img { background: #fff; }

.specs { width: 100%; border-collapse: collapse; margin-top: 1.6rem; font-size: .95rem; }
.specs caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
.specs th, .specs td { text-align: left; padding: .6rem .4rem; border-top: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--muted); width: 55%; }
.specs td { font-weight: 600; }
.specs small { font-weight: 400; color: var(--muted); }

.ticks, .refs { padding: 0; list-style: none; margin: 1.2rem 0; }
.ticks li, .refs li { position: relative; padding: .45rem 0 .45rem 2rem; }
.ticks li::before, .refs li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 14px; height: 14px; border-radius: 3px; background: var(--red); }
.refs li::before { border-radius: 50%; width: 10px; height: 10px; top: 1rem; left: 2px; }

/* gallery */
.gallery { columns: 3 280px; column-gap: 14px; margin-top: 1.6rem; }
.gallery a { display: block; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }

/* price */
.price-card { border: 2px solid var(--red); border-radius: 14px; padding: clamp(22px, 4vw, 40px); background: var(--bg); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--stripe); }
.price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-top: .6rem; }
.price strong { font-size: clamp(2.4rem, 7vw, 3.6rem); color: var(--red); line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-card ul { padding-left: 1.2rem; margin: 0; }
.price-card li { margin-bottom: .5rem; }

/* contact */
.contact { background: var(--red); color: #fff; }
.contact .who { font-size: 1.2rem; font-weight: 600; margin-bottom: .2em; }
.big-link { color: #fff; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; text-decoration: none; }
.mail-link { color: #fff; font-size: 1.2rem; }
.big-link:hover, .mail-link:hover { text-decoration: underline; }

.site-footer { padding: 22px 0; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,9,11,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* mobile */
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .photo.tall img { max-height: 520px; }
  .nav-toggle { display: block; }
  nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); display: none; }
  nav.open { display: flex; }
  nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  nav .nav-cta { text-align: center; margin-top: .8rem; border: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,12,15,.6), rgba(10,12,15,.8)); }
}
@media (max-width: 400px) { .brand { font-size: .95rem; gap: .45rem; } .theme-toggle { padding: 0 .65rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* faq */
.faq { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1em; font-size: 1.5rem; color: var(--red); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: .7rem 0 0; color: var(--muted); }
