/* MG Red Shift Canada: shared styles.
   Visual language follows the Canadian labels and catalog: black and deep red gradients, red halftone dots,
   heavy uppercase condensed type, a red swoosh line, gold "Super Combo" badge accents. */
:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #121214;
  --card: #17171a;
  --card-2: #1d1d21;
  --ink: #f5f3f1;
  --muted: #b3adaa;
  --line: #2c2a2b;
  --red: #e4202c;
  --red-d: #c2111d;
  --red-hot: #ff4753;
  --wine: #3b0a10;
  --gold: #e8b44a;
  --good: #43b581;
  --focus: #ffcc4d;
  --flag: #4a3a08;
  --flag-ink: #ffe08a;
  --tbc: #14304d;
  --tbc-ink: #a9d3ff;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #000; }
img, svg { max-width: 100%; }
a { color: var(--red-hot); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.02; }
h3 { font-size: 1.5rem; line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--red-hot); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1212px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 760px; }
.eyebrow { margin: 0 0 12px; font: 700 .9rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--red-hot); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { left: 8px; top: calc(8px + env(safe-area-inset-top, 0px)); }

/* red swoosh rule, as on the label footers */
.swoosh { display: block; height: 3px; width: 100%; background: linear-gradient(90deg, transparent, var(--red) 12%, var(--red) 88%, transparent); border: 0; margin: 0; }
.rule { display: block; height: 4px; width: 120px; margin: 0 0 18px; background: linear-gradient(90deg, #6b6b6b, var(--red)); border-radius: 2px; }

/* halftone dot field */
.dots { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image: radial-gradient(circle, var(--red) 0 38%, transparent 42%);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(115deg, transparent 38%, #000 100%);
          mask-image: linear-gradient(115deg, transparent 38%, #000 100%); }
.dots.l { -webkit-mask-image: linear-gradient(245deg, transparent 40%, #000 100%); mask-image: linear-gradient(245deg, transparent 40%, #000 100%); }
.dots.fine { background-size: 11px 11px; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(8,8,9,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { display: block; height: 42px; width: auto; }
.lg { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.lg .tag { font: 700 .86rem/1 var(--display); letter-spacing: .075em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.brand small { font: 700 .8rem/1 var(--display); letter-spacing: .24em; color: var(--muted); text-transform: uppercase; padding-left: 10px; border-left: 1px solid #3a3637; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 10px 9px; border-radius: 4px; color: #cfc9c6; text-decoration: none; font: 700 1rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-links .nav-cta a { background: var(--red); color: #fff; margin-left: 6px; }
.nav-links .nav-cta a:hover { background: var(--red-d); }
.lang { display: inline-flex; flex: none; border: 1px solid #4a4647; border-radius: 4px; overflow: hidden; }
.lang a { display: block; padding: 9px 11px; color: #cfc9c6; text-decoration: none; font: 700 .95rem/1 var(--display); letter-spacing: .08em; }
.lang a + a { border-left: 1px solid #4a4647; }
.lang a:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang a.on { background: #fff; color: #0a0a0b; }
.menu-btn { display: none; background: transparent; color: var(--ink); border: 1px solid #4a4647; border-radius: 4px; padding: 10px 14px; font: 700 1rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
/* the menu collapses earlier in French, where the labels run longer */
@media (max-width: 1330px) {
  .menu-btn { display: inline-block; }
  .lang { margin-left: auto; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 8px var(--gutter-r) 16px var(--gutter-l); background: #08080a; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; }
  .nav-links .nav-cta a { margin: 6px 0 0; }
}
@media (max-width: 1480px) {
  html:lang(fr) .menu-btn { display: inline-block; }
  html:lang(fr) .lang { margin-left: auto; }
  html:lang(fr) .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 8px var(--gutter-r) 16px var(--gutter-l); background: #08080a; border-bottom: 1px solid var(--line); }
  html:lang(fr) .nav-links.open { display: flex; }
  html:lang(fr) .nav-links a { padding: 14px 12px; }
  html:lang(fr) .nav-links .nav-cta a { margin: 6px 0 0; }
}
@media (max-width: 1500px) { .brand small { display: none; } }
@media (max-width: 560px) { .lg .tag { font-size: .74rem; letter-spacing: .04em; white-space: normal; max-width: 150px; line-height: 1.1; } .nav { gap: 10px; } .lang a { padding: 9px 9px; } .menu-btn { padding: 10px 11px; } }

/* buttons */
.btn { position: relative; overflow: hidden; display: inline-block; cursor: pointer; text-align: center; text-decoration: none; padding: 14px 24px; border-radius: 4px; border: 1px solid transparent; font: 800 1.05rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red); transition: background .3s ease, transform .3s ease; }
.btn::before { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transition: transform .5s ease; }
.btn:hover { background: var(--red-d); color: #fff; transform: translateY(-1px); }
.btn:hover::before { transform: translateX(120%); }
.btn.ghost, .btn.line { background: transparent; border-color: #6b6460; color: #f4f1ee; }
.btn.ghost:hover, .btn.line:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.snd { display: inline-flex; align-items: center; gap: 8px; padding: 13px 16px; }
.snd[hidden] { display: none; }
.snd svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.snd .waves { display: none; }
.snd[aria-pressed="true"] .waves { display: inline; }
.snd[aria-pressed="true"] .mute { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 44px 64px; background: radial-gradient(80% 90% at 82% 30%, #4a0d14 0%, #1a0508 45%, #0a0a0b 80%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; }
.hero .logo { display: block; width: min(320px, 70%); height: auto; margin: 0 0 22px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: .98; font-style: italic; }
.hero h1 b { color: var(--red-hot); font-weight: 800; }
.hero .lede { margin: 0 0 26px; max-width: 36ch; color: #ddd7d3; font-size: 1.2rem; }
.hero .btn-row { margin-bottom: 18px; }
.fine { margin: 0; color: var(--muted); font-size: .85rem; }
.stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid #3a1217; background: radial-gradient(90% 80% at 55% 45%, #35090f 0%, #12050700 75%), linear-gradient(160deg, #150608, #0a0a0b 60%); aspect-ratio: 16 / 11; }
.stage .dots { opacity: .55; }
.stage .rim { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, transparent, var(--red) 15%, var(--red) 85%, transparent); }
#shake { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; }
#rig { position: relative; width: 72%; margin-top: 7%; transform-style: preserve-3d; will-change: transform; }
#eng { width: 100%; height: auto; display: block; }
#shadow { position: absolute; left: 8%; right: 6%; bottom: -5%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.75), rgba(0,0,0,0)); filter: blur(6px); }
#shine { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 34%, rgba(255,214,150,.55) 44%, rgba(255,255,255,.98) 50%, rgba(255,214,150,.55) 56%, rgba(255,255,255,0) 66%) no-repeat;
  background-size: 260% 100%;
  -webkit-mask: url(img/engine.webp) center / 100% 100% no-repeat; mask: url(img/engine.webp) center / 100% 100% no-repeat; }
#fill { position: absolute; left: 59%; top: 37.5%; width: 9%; aspect-ratio: 1; margin: -4.5% 0 0 -4.5%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,226,150,.95) 0 18%, rgba(242,169,0,.55) 40%, rgba(242,169,0,0) 72%); mix-blend-mode: screen; }
#bottle { position: absolute; left: 0; top: 0; width: 15%; pointer-events: none; opacity: 0; transform-origin: 50% 50%; filter: drop-shadow(0 10px 12px rgba(0,0,0,.6)); will-change: transform; }
#stream { position: absolute; width: .7%; min-width: 3px; border-radius: 3px; background: linear-gradient(#ffd36a, #f2a900); box-shadow: 0 0 8px rgba(242,169,0,.8); opacity: 0; pointer-events: none; }
#heat, #cool { position: absolute; inset: 0; pointer-events: none; }
#heat { background: radial-gradient(55% 50% at 52% 52%, rgba(255,70,40,.5), rgba(255,40,20,0) 70%); opacity: .75; }
#cool { background: radial-gradient(55% 50% at 52% 52%, rgba(255,214,140,.3), rgba(255,200,120,0) 70%); opacity: 0; }
#pulse { position: absolute; left: 0; bottom: 3%; width: 100%; height: 24%; pointer-events: none; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
#cap { flex: 1 0 100%; margin: 0; display: flex; align-items: center; gap: 10px; min-height: 24px; font: 800 1.3rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); transition: background .4s, box-shadow .4s; }
.led.run { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.led.ok { background: var(--good); box-shadow: 0 0 10px var(--good); }
#capText { transition: opacity .25s; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .hero { padding-top: 28px; } }
@media (max-width: 560px) { .btn { padding: 14px 16px; } }

/* page head for inner pages */
.pagehead { position: relative; overflow: hidden; background: radial-gradient(70% 140% at 85% 0%, #470c13 0%, #130507 55%, #0a0a0b 100%); padding-block: 60px 52px; border-bottom: 1px solid var(--line); }
.pagehead .wrap { position: relative; }
.pagehead h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: .98; margin-bottom: 14px; font-style: italic; }
.pagehead p { margin: 0; max-width: 60ch; color: #ddd7d3; font-size: 1.2rem; }

/* bands */
.band { position: relative; padding-block: 76px; }
.band.alt { background: var(--surface); }
.band.red { background: linear-gradient(160deg, #3b0a10 0%, #14070a 70%); overflow: hidden; }
.band.red > .wrap { position: relative; }
.band.red > .dots { opacity: .5; -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 12%), linear-gradient(270deg, #000 0, transparent 12%); mask-image: linear-gradient(90deg, #000 0, transparent 12%); }
.band.red > .dots.l { -webkit-mask-image: linear-gradient(270deg, #000 0, transparent 14%); mask-image: linear-gradient(270deg, #000 0, transparent 14%); }
.sec-head { margin-bottom: 38px; }
.sec-head h2 { margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.45); border-color: var(--red); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card .ico { width: 44px; height: 44px; margin-bottom: 16px; color: var(--red-hot); }

/* category tiles (home) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(170deg, #1d0a0e 0%, #0d0d0f 70%); text-decoration: none; color: var(--ink); transition: transform .3s ease, border-color .3s ease; min-width: 0; }
.tile:hover { transform: translateY(-4px); border-color: var(--red); color: var(--ink); }
.tile .pics { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 230px; padding: 18px 12px 0; overflow: hidden; }
.tile .pics .dots { opacity: .45; }
.tile .pics img { position: relative; height: 100%; width: auto; max-width: 48%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 14px rgba(0,0,0,.6)); }
.tile .pics img.solo { max-width: 80%; }
.tile .pics img.tri { max-width: 32%; }
.tile .tb { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 3px solid var(--red); }
.tile h3 { font-size: 1.6rem; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }
.tile .go { margin-top: auto; padding-top: 6px; font: 800 1rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red-hot); }

/* oil spotlight (home) */
.oilrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.oil { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px; border: 1px solid #4a141b; border-radius: 12px; background: linear-gradient(160deg, #2a0b10, #0f0809 75%); overflow: hidden; }
.oil img { width: 120px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.6)); }
.oil h3 { font-size: 2rem; font-style: italic; line-height: 1; margin-bottom: 6px; }
.oil .std { font: 700 .95rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.oil p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 420px) { .oil { grid-template-columns: 92px minmax(0, 1fr); } .oil img { width: 92px; } }

/* products */
.catnav { position: sticky; top: calc(86px + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(10,10,11,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.catnav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: thin; }
.catnav a { display: block; white-space: nowrap; padding: 9px 14px; border: 1px solid #3a3637; border-radius: 999px; color: #ddd7d3; text-decoration: none; font: 700 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.catnav a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cat-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 6px; }
.cat-head .count { font: 700 .95rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cat-intro { max-width: 74ch; color: var(--muted); margin-bottom: 8px; }
.pdetail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: start; padding-block: 52px; border-top: 1px solid var(--line); scroll-margin-top: 168px; }
.pdetail .pic { position: sticky; top: calc(158px + env(safe-area-inset-top, 0px)); display: flex; justify-content: center; align-items: flex-end; min-height: 320px; padding: 28px 16px 16px; border-radius: 14px; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #3a0b12 0%, #120708 78%); border: 1px solid #3a1217; }
.pdetail .pic .dots { opacity: .5; }
.pdetail .pic img { position: relative; max-height: 380px; width: auto; max-width: 100%; filter: drop-shadow(0 14px 18px rgba(0,0,0,.65)); }
.pdetail h3.pt { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-style: italic; line-height: 1; margin-bottom: 10px; }
.pdetail h3.pt b { color: var(--red-hot); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { display: inline-block; padding: 5px 11px; border: 1px solid #4a4546; border-radius: 999px; font: 700 .85rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #d8d2ce; }
.chip.gold { border-color: #7a5d22; color: var(--gold); }
.chip.red { border-color: #7d1a22; color: var(--red-hot); }
.specs { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2.6fr); margin: 20px 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { font: 700 .95rem/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 16px; }
.benefits { margin: 0 0 1em; padding-left: 1.2em; color: var(--muted); }
.benefits li { margin-bottom: .35em; }
@media (max-width: 800px) { .pdetail { grid-template-columns: minmax(0, 1fr); gap: 22px; } .pdetail .pic { position: static; min-height: 0; } .pdetail .pic img { max-height: 300px; } }

/* documents */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-decoration: none; color: var(--ink); transition: border-color .3s, transform .3s; }
.doc:hover { border-color: var(--red); transform: translateY(-2px); color: var(--ink); }
.doc svg { flex: none; width: 34px; height: 34px; color: var(--red-hot); }
.doc b { display: block; font: 800 1.2rem/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.doc span { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }

/* two-column blocks */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 22px; border: 1px solid #3a1c21; border-radius: 10px; background: rgba(0,0,0,.35); }
.steps b { display: block; margin-bottom: 6px; font: 800 1.35rem/1.15 var(--display); text-transform: uppercase; }
.steps span { color: var(--muted); }
.figure { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.figure svg { display: block; width: 100%; height: auto; color: var(--ink); }
.note { padding: 16px 18px; border-left: 3px solid var(--red); background: var(--surface); border-radius: 0 8px 8px 0; margin: 0 0 1em; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 800 1.45rem/1.15 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--red-hot); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* forms */
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .lbl, fieldset legend { font: 700 1rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--body); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #6f6866; border-radius: 4px; background: #0e0e10; color: var(--ink); font: 400 1rem/1.4 var(--body);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.opt-chip { position: relative; }
.opt-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-chip span { display: inline-block; padding: 10px 14px; border: 1px solid #6f6866; border-radius: 999px; font-size: .95rem; background: #0e0e10; transition: background .2s, border-color .2s, color .2s; }
.opt-chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.opt-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--red); }
.consent label { font-size: .95rem; }
.err { min-height: 0; color: var(--red-hot); font-size: .9rem; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red-hot); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { font-size: .85rem; color: var(--muted); margin: 0; }
.success { padding: 28px; border: 1px solid var(--good); border-radius: 10px; background: var(--card); }
.success h3 { margin-bottom: 8px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: #2a0a0e; border: 1px solid var(--red-hot); color: var(--ink); padding: 14px 20px; border-radius: 10px; font-size: .95rem; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; z-index: 999; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.formcard { padding: 32px; border: 1px solid #3a1c21; border-radius: 14px; background: linear-gradient(170deg, #17090c, #0f0f11 60%); }
@media (max-width: 560px) { .formcard { padding: 20px; } }
.join-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .join-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.plain-list { margin: 0 0 1em; padding-left: 1.2em; color: var(--muted); }
.plain-list li { margin-bottom: .5em; }

/* footer */
.site-footer { position: relative; background: #050506; color: var(--muted); padding-block: 56px 32px; font-size: .98rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--red) 12%, var(--red) 88%, transparent); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
.site-footer h3 { color: var(--ink); font-size: 1.15rem; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .flogo { margin-bottom: 16px; display: flex; }
.site-footer .flogo img { height: 56px; width: auto; display: block; }
.site-footer .flogo .tag { font-size: 1rem; }
.fine-print { border-top: 1px solid #231f20; padding-top: 20px; font-size: .85rem; }
@media (max-width: 860px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* review flags (preview only) */
.claim, .tbc { border-radius: 3px; }
body.review .claim { background: var(--flag); color: var(--flag-ink); box-shadow: 0 0 0 3px var(--flag); cursor: help; }
body.review .tbc { background: var(--tbc); color: var(--tbc-ink); box-shadow: 0 0 0 3px var(--tbc); cursor: help; }
.review-btn { position: fixed; z-index: 70; left: var(--gutter-l); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 10px 14px; border-radius: 999px; border: 1px solid #4a4546; background: #1d1d21; color: var(--ink); font: 700 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.review-btn[aria-pressed="true"] { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.review-btn[hidden] { display: none; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s ease-out both; }
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
  .snd.hint { animation: ring 2.4s ease-out infinite; }
  .dots { animation: drift 40s linear infinite; }
}
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(228,32,44,.55); } 100% { box-shadow: 0 0 0 12px rgba(228,32,44,0); } }
@keyframes drift { from { background-position: 0 0; } to { background-position: 160px 80px; } }

/* how-it-works figures: bare metal catches and jolts, the film version glides */
.surf .hit { opacity: .55; transform-box: fill-box; transform-origin: center; }
.surf .spark { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .surf.bare .slide { animation: grind 1.9s infinite; }
  .surf.bare .hit { animation: hit 1.9s infinite; }
  .surf.bare .spark { animation: spark 1.9s infinite; }
  .surf.bare .spark.s1 { animation-delay: 30ms; } .surf.bare .spark.s2 { animation-delay: 70ms; }
  .surf.film .slide { animation: glide 2.6s linear infinite; }
  .surf.film .flow { animation: flow 1.3s linear infinite; }
  .surf.film .gapfill { animation: sheen 3.2s ease-in-out infinite; }
}
/* the teeth are 40 units apart, so a 40-unit slide loops without a seam; tips meet at 0 and at -40 */
@keyframes grind {
  0% { transform: translate(0, -4px); animation-timing-function: cubic-bezier(.2,.9,.3,1); }
  9% { transform: translate(-9px, 1.5px); }
  13% { transform: translate(-8px, -1px); }
  17% { transform: translate(-10px, .5px); animation-timing-function: cubic-bezier(.6,0,.9,.4); }
  58% { transform: translate(-27px, 0); }
  61% { transform: translate(-26.5px, -1.2px); }
  64% { transform: translate(-28px, .4px); animation-timing-function: cubic-bezier(.7,0,1,.6); }
  88% { transform: translate(-36px, -1px); }
  100% { transform: translate(-40px, -4px); }
}
@keyframes hit { 0%, 100% { opacity: 1; transform: scale(1.5); } 12% { opacity: .35; transform: scale(.8); } 80% { opacity: .3; transform: scale(.8); } }
@keyframes spark { 0% { opacity: 1; transform: translate(0,0); } 14% { opacity: 0; transform: translate(4px,-8px); } 100% { opacity: 0; } }
@keyframes glide { from { transform: translate(0, 0); } to { transform: translate(-40px, 0); } }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 24; } }
@keyframes sheen { 0%, 100% { opacity: .28; } 50% { opacity: .42; } }

/* =====================================================================================================
   THEME 2: technology look. Black canvas, large quiet type, red for heat and blue for flow.
   This layer restyles everything above it; the home-page 3D story is at the end.
   ===================================================================================================== */
:root {
  --bg: #000; --surface: #06070a; --card: #0d0f13; --card-2: #14171d; --ink: #f5f6f8; --muted: #9ba2ae; --line: #1f232b;
  --red: #f0162a; --red-d: #c90d1f; --red-hot: #ff4b59; --blue: #2f8cff; --ice: #8fcbff; --gold: #8fcbff; --focus: #8fcbff;
  --display: 'Sora', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-transform: none; letter-spacing: -0.025em; font-style: normal; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--muted); }
em.hot { color: var(--red-hot); } em.cool { color: var(--ice); }
a { color: var(--ice); } a:hover { color: #fff; }
.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .16em; color: var(--ice); }
.lead { font-size: 1.2rem; color: var(--muted); }
.rule { display: none; }
.dots { background-image: radial-gradient(60% 80% at 80% 0%, rgba(47,140,255,.16), transparent 70%); background-size: auto; -webkit-mask-image: none; mask-image: none; animation: none; opacity: 1; }
.dots.l { background-image: radial-gradient(60% 80% at 20% 0%, rgba(47,140,255,.12), transparent 70%); -webkit-mask-image: none; mask-image: none; }
.swoosh { background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); height: 1px; }

/* header */
.site-header { background: rgba(0,0,0,.72); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-links a { font: 500 .9rem/1 var(--body); letter-spacing: 0; text-transform: none; color: #c9ced6; border-radius: 999px; padding: 9px 12px; }
.nav-links .nav-cta a { background: #fff; color: #000; font-weight: 600; padding: 9px 16px; }
.nav-links .nav-cta a:hover { background: var(--ice); color: #000; }
.lg .tag { font: 600 .74rem/1 var(--body); letter-spacing: .1em; color: #e9ecf0; }
.brand small { font: 600 .7rem/1 var(--body); letter-spacing: .2em; }
.lang { border-radius: 999px; border-color: #2b3038; } .lang a { font: 600 .78rem/1 var(--body); letter-spacing: .06em; padding: 8px 11px; } .lang a + a { border-left-color: #2b3038; }
.menu-btn { font: 600 .85rem/1 var(--body); letter-spacing: .02em; text-transform: none; border-radius: 999px; border-color: #2b3038; }
.nav-links { background-color: transparent; }
@media (max-width: 1330px) { .nav-links { background: rgba(0,0,0,.96) !important; } .nav-links a { border-radius: 10px; font-size: 1.05rem; } .nav-links .nav-cta a { text-align: center; } }
@media (max-width: 1480px) { html:lang(fr) .nav-links { background: rgba(0,0,0,.96) !important; } html:lang(fr) .nav-links a { border-radius: 10px; font-size: 1.05rem; } html:lang(fr) .nav-links .nav-cta a { text-align: center; } }

/* buttons */
.btn { font: 600 .98rem/1 var(--body); letter-spacing: 0; text-transform: none; border-radius: 999px; padding: 14px 24px; background: var(--red); }
.btn::before { display: none; }
.btn.ghost, .btn.line { border-color: #3a404a; color: #fff; background: rgba(255,255,255,.04); }
.btn.ghost:hover, .btn.line:hover { background: rgba(255,255,255,.12); }

/* page heads and bands */
.pagehead { background: radial-gradient(70% 120% at 80% -10%, rgba(47,140,255,.2), transparent 60%), #000; padding-block: 84px 64px; border-bottom: 1px solid var(--line); }
.pagehead h1 { font-style: normal; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; }
.pagehead p { color: var(--muted); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band.alt { background: var(--surface); }
.band.red { background: radial-gradient(60% 90% at 85% 0%, rgba(47,140,255,.18), transparent 65%), radial-gradient(50% 80% at 0% 100%, rgba(240,22,42,.12), transparent 60%), #030407; }
.band.red > .dots { display: none; }
.sec-head { margin-bottom: 48px; max-width: 900px; }

/* cards, tiles */
.card, .tile, .oil, .doc, .figure, .formcard, .steps li, .pdetail .pic, .consent, .success { border-radius: 22px; border-color: var(--line); }
.card { background: var(--card); padding: 30px; } .card:hover { border-color: #3a404a; box-shadow: none; transform: translateY(-3px); }
.card .ico { color: var(--ice); }
.tile { background: linear-gradient(180deg, #11141a, #090a0d); } .tile:hover { border-color: #3a404a; }
.tile .pics { height: 250px; background: radial-gradient(70% 90% at 50% 100%, rgba(47,140,255,.16), transparent 70%); }
.tile .tb { border-top: 1px solid var(--line); }
.tile h3 { font-size: 1.4rem; } .tile .go { font: 600 .92rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--ice); }
.oil { background: linear-gradient(160deg, #10131a, #07080b); border-color: var(--line); }
.oil h3 { font-style: normal; font-size: 1.6rem; } .oil .std { font: 600 .74rem/1.4 var(--body); letter-spacing: .08em; color: var(--ice); }
.steps li { background: rgba(255,255,255,.03); } .steps b { font: 600 1.2rem/1.2 var(--display); text-transform: none; letter-spacing: -0.01em; }
.note { border-left-color: var(--blue); border-radius: 0 14px 14px 0; }

/* products */
.catnav { background: rgba(0,0,0,.8); } .catnav a { font: 500 .88rem/1 var(--body); letter-spacing: 0; text-transform: none; border-color: #2b3038; }
.catnav a:hover { background: #fff; border-color: #fff; color: #000; }
.cat-head .count { font: 500 .85rem/1 var(--body); letter-spacing: .04em; text-transform: none; }
.pdetail .pic { background: radial-gradient(80% 70% at 50% 100%, rgba(47,140,255,.18), transparent 70%), #0a0c10; }
.pdetail h3.pt { font-style: normal; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; } .pdetail h3.pt b { color: #fff; font-weight: 600; }
.chip { font: 500 .78rem/1.2 var(--body); letter-spacing: .02em; text-transform: none; border-color: #2b3038; color: #c9ced6; }
.chip.gold { border-color: rgba(143,203,255,.5); color: var(--ice); } .chip.red { border-color: rgba(255,75,89,.5); color: var(--red-hot); }
.specs dt { font: 500 .88rem/1.5 var(--body); letter-spacing: 0; text-transform: none; }
.doc b { font: 600 1.05rem/1.2 var(--display); text-transform: none; letter-spacing: -0.01em; } .doc svg { color: var(--ice); } .doc:hover { border-color: #3a404a; }

/* faq, forms, footer */
.faq summary { font: 600 1.2rem/1.3 var(--display); text-transform: none; letter-spacing: -0.015em; } .faq summary::after { color: var(--ice); }
.field > label, .field > .lbl, fieldset legend { font: 500 .9rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: #d5d9df; }
input[type=text], input[type=email], input[type=tel], select, textarea { border-radius: 12px; border-color: #2f343d; background: #090b0e; }
.opt-chip span { border-color: #2f343d; background: #090b0e; } .opt-chip input:checked + span { background: #fff; border-color: #fff; color: #000; }
.formcard { background: linear-gradient(170deg, #0f1218, #08090c); }
.site-footer { background: #000; border-top: 1px solid var(--line); } .site-footer::before { display: none; }
.site-footer h3 { font: 600 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #d5d9df; }
.review-btn { font: 600 .78rem/1 var(--body); letter-spacing: .02em; text-transform: none; } .review-btn[aria-pressed="true"] { background: var(--ice); border-color: var(--ice); color: #000; }
.surf.film .gapfill { animation-name: sheen; }

/* ---------- home: the 3D story ----------
   Without JavaScript or WebGL this is an ordinary stacked section. With them (.ready) it becomes a tall
   scroll track with the engine pinned to the screen. Visitors who ask for reduced motion (.static) get one still frame. */
.story { position: relative; background: #000; }
.stage3d { position: relative; padding: 40px var(--gutter-r) 56px var(--gutter-l); max-width: 1212px; margin-inline: auto; }
#engine3d { display: none; }
.fallback3d { display: block; width: min(560px, 90%); height: auto; margin: 0 auto 24px; }
.aura { display: none; }
.cap3d { max-width: 620px; margin: 0 0 56px; }
.cap3d h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.0; letter-spacing: -0.04em; margin: 0 0 20px; }
.cap3d h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 0 0 18px; }
.cap3d .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c3c8d0; max-width: 46ch; margin: 0 0 24px; }
.rail3d, .scrollcue { display: none; }
.illus { margin: 0; font-size: .8rem; color: #6f7682; }

.story.ready .fallback3d { display: none; }
.story.ready #engine3d { display: block; width: 100%; height: 100%; }
.story.ready.static .stage3d { padding-top: 0; }
.story.ready.static #engine3d { height: min(62vh, 560px); margin-bottom: 16px; }

.story.ready:not(.static) { height: 640vh; }
.story.ready:not(.static) .stage3d { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: none; padding: 0; overflow: hidden; }
.story.ready:not(.static) #engine3d { position: absolute; inset: 0; }
.story.ready:not(.static) .aura { display: block; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 50% at 71% 50%, rgba(255,60,30, calc(var(--heat, 0) * .34)), transparent 72%),
    radial-gradient(52% 56% at 71% 50%, rgba(40,130,255, calc(var(--cool, 0) * .36)), transparent 74%),
    radial-gradient(60% 60% at 71% 46%, rgba(120,140,170,.1), transparent 70%); }
.story.ready:not(.static) .caps { position: absolute; inset: 0; pointer-events: none; }
.story.ready:not(.static) .cap3d { position: absolute; left: max(var(--gutter-l), calc((100vw - 1180px) / 2)); top: 50%; width: min(42vw, 560px); margin: 0;
  opacity: 0; transform: translateY(calc(-50% + 26px)); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.story.ready:not(.static) .cap3d.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.story.ready:not(.static) .scrollcue { display: block; margin: 26px 0 0; font-size: .85rem; color: #8b93a0; letter-spacing: .04em; }
.story.ready:not(.static) .scrollcue::before { content: ""; display: inline-block; width: 1px; height: 26px; margin-right: 12px; vertical-align: middle; background: linear-gradient(#fff, transparent); animation: cue 1.8s ease-in-out infinite; }
.story.ready:not(.static) .rail3d { display: flex; flex-direction: column; gap: 10px; position: absolute; right: max(18px, var(--gutter-r)); top: 50%; transform: translateY(-50%); }
.rail3d i { display: block; width: 6px; height: 6px; padding: 0; border-radius: 6px; background: #3a404a; cursor: pointer; transition: height .4s ease, background .4s ease; }
.rail3d i.on { height: 28px; background: #fff; }
.story.ready:not(.static) .illus { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); text-align: center; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); transform-origin: top; opacity: 1; } }
@media (max-width: 899px) {
  .story.ready:not(.static) { height: 580vh; }
  .story.ready:not(.static) .cap3d { left: var(--gutter-l); right: var(--gutter-r); width: auto; top: auto; bottom: calc(52px + env(safe-area-inset-bottom, 0px)); transform: translateY(22px); }
  .story.ready:not(.static) .cap3d.on { transform: none; }
  .story.ready:not(.static) .stage3d::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.82) 45%, #000 85%); }
  .story.ready:not(.static) .caps, .story.ready:not(.static) .illus { z-index: 2; }
  .story.ready:not(.static) .aura { background:
    radial-gradient(70% 34% at 50% 34%, rgba(255,60,30, calc(var(--heat, 0) * .34)), transparent 72%),
    radial-gradient(76% 38% at 50% 34%, rgba(40,130,255, calc(var(--cool, 0) * .36)), transparent 74%); }
  .cap3d h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); margin-bottom: 14px; } .cap3d h2 { font-size: clamp(1.6rem, 7.4vw, 2.3rem); margin-bottom: 12px; }
  .cap3d .lede { font-size: 1rem; margin-bottom: 18px; }
  .story.ready:not(.static) .rail3d { right: 10px; top: 30%; }
  .story.ready:not(.static) .scrollcue { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .story.ready:not(.static) .scrollcue::before { animation: none; } }

.review-btn { left: auto; right: var(--gutter-r); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); opacity: .85; }
