/* ============================================================
   PX98 — design system
   Lifted from the pack: black plastic, one yellow, white type,
   an angled chevron cut, and specification data set in mono.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --ink:        #08090a;
  --ink-1:      #0d0f11;
  --ink-2:      #131619;
  --ink-3:      #1b1f23;
  --bone:       #f2f0eb;
  --bone-2:     #e6e3db;
  --bone-3:     #d5d1c7;
  --y:          #ffd200;
  --y-deep:     #e0b400;
  --y-dim:      #6b5900;
  --white:      #ffffff;
  --grey:       #8b9299;
  --grey-2:     #5d646b;
  --slate:      #3a4046;

  --hair-d:     rgba(255,255,255,.09);
  --hair-d-2:   rgba(255,255,255,.16);
  --hair-l:     rgba(8,9,10,.12);
  --hair-l-2:   rgba(8,9,10,.22);

  --fd: 'Archivo', 'Arial Narrow', sans-serif;   /* display */
  --fb: 'IBM Plex Sans', system-ui, sans-serif;  /* body */
  --fm: 'IBM Plex Mono', ui-monospace, monospace;/* data */

  --e-out:  cubic-bezier(.16,1,.3,1);
  --e-in:   cubic-bezier(.7,0,.84,0);
  --e-both: cubic-bezier(.76,0,.24,1);

  --pad-x: 44px;
  --max: 1400px;
  --notch: 26px;

  --hatch: repeating-linear-gradient(-45deg,
            rgba(255,255,255,.035) 0 1px, transparent 1px 9px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 350;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--y); color: #000; }

:focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a2f34; }
::-webkit-scrollbar-thumb:hover { background: var(--y-deep); }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.sect { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.sect--tight { padding-block: clamp(56px, 6vw, 88px); }
.sect--bone { background: var(--bone); color: var(--ink); }
.sect--ink1 { background: var(--ink-1); }

.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .28; mix-blend-mode: overlay;
}

/* ---------- photographic section grounds ----------
   Set --shot (and optionally --shot-pos / --shot-fade) on the section.
   The photo is atmosphere: it never competes with the type sitting on it. */
.sect--photo { isolation: isolate; overflow: hidden; }
.sect--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: var(--shot) var(--shot-pos, center) / cover no-repeat;
  opacity: var(--shot-op, .92);
  filter: saturate(1.02) contrast(1.02) brightness(.86);
  transform: scale(1.02);
}
/* the ink is spent on the left, under the headline — the rest of the frame stays open */
.sect--photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--shot-fade,
    linear-gradient(90deg, rgba(8,9,10,.93) 0%, rgba(8,9,10,.7) 32%,
                           rgba(8,9,10,.3) 58%, rgba(8,9,10,.12) 80%, rgba(8,9,10,.4) 100%));
}
/* a black-ground plate drops straight in with screen blending */
.sect--photo.is-screen::before { mix-blend-mode: screen; opacity: var(--shot-op, .78); filter: none; }

/* The image URL lives here, not in an inline style: a url() inside a custom
   property resolves against the stylesheet that consumes it, so an HTML-relative
   path would 404. Swap a photo by editing one line below. */
.shot--workshop { --shot: url("../img/scene-workshop.jpg"); }
.shot--drive    { --shot: url("../img/scene-drive.jpg"); }
.shot--pixels   { --shot: url("../img/scene-pixels.webp"); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--y);
}
.eyebrow::before {
  content: ''; width: 20px; height: 8px; flex: none; background: var(--y);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}
.sect--bone .eyebrow { color: var(--slate); }
.sect--bone .eyebrow::before { background: var(--ink); }

.d1, .d2, .d3, .d4 {
  font-family: var(--fd); font-weight: 800; font-stretch: 88%;
  text-transform: uppercase; line-height: .92; letter-spacing: -.012em;
}
.d1 { font-size: clamp(46px, 8.2vw, 118px); line-height: .88; letter-spacing: -.022em; }
.d2 { font-size: clamp(34px, 4.6vw, 66px); }
.d3 { font-size: clamp(26px, 2.9vw, 40px); }
.d4 { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.05; }
.d1 i, .d2 i, .d3 i {
  font-style: italic; font-weight: 900; color: var(--y);
  font-stretch: 82%; letter-spacing: -.03em;
}

.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.72; color: rgba(255,255,255,.7); max-width: 62ch; }
.sect--bone .lede { color: #454b51; }
.body-c { color: rgba(255,255,255,.62); max-width: 66ch; }
.sect--bone .body-c { color: #4d5359; }

.mono { font-family: var(--fm); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }

.hr { height: 1px; background: var(--hair-d); border: 0; }
.sect--bone .hr { background: var(--hair-l); }

/* section index plate — marks position in the page, mirrors the pack's data stamp */
.plate {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--fm); font-size: 10.5px; letter-spacing: .2em;
  color: var(--grey-2); text-transform: uppercase;
}
.plate b { color: var(--y); font-weight: 600; }

/* ---------- the chevron notch (signature) ---------- */
.notch   { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.notch-s { --notch: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.notch-tl{ clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }

/* ---------- buttons ---------- */
.btn {
  --notch: 13px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border: 0; cursor: pointer;
  font-family: var(--fm); font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: transform .4s var(--e-out), color .3s;
  overflow: hidden; isolation: isolate; text-align: left;
}
.btn > * { position: relative; z-index: 2; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: 1; transition: transform .45s var(--e-out); }
.btn:hover { transform: translateY(-2px); }
.btn .chev { width: 16px; height: 9px; flex: none; transition: transform .4s var(--e-out); }
.btn:hover .chev { transform: translateX(5px); }

.btn--y { background: var(--y); color: #000; }
.btn--y::before { background: var(--white); transform: translateY(101%); }
.btn--y:hover::before { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--hair-d-2); }
.btn--ghost::before { background: var(--y); transform: translateY(101%); }
.btn--ghost:hover { color: #000; }
.btn--ghost:hover::before { transform: translateY(0); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink::before { background: var(--y); transform: translateY(101%); }
.btn--ink:hover { color: #000; }
.btn--ink:hover::before { transform: translateY(0); }

/* ---------- reveals ---------- */
[data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--e-out), transform .9s var(--e-out); }
[data-rv="l"] { transform: translateX(-30px); }
[data-rv="r"] { transform: translateX(30px); }
[data-rv="s"] { transform: scale(.965); }
[data-rv].in { opacity: 1; transform: none; }

.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(105%); transition: transform 1s var(--e-out); }
.mask.in > span, .in .mask > span { transform: none; }

/* ============================================================
   NAV
   ============================================================ */
#top-nav {
  position: fixed; inset: 0 0 auto; z-index: 900;
  transition: background .45s var(--e-out), backdrop-filter .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
#top-nav.stuck {
  background: rgba(8,9,10,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--hair-d);
}
.nav-in {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x);
  height: 80px; display: flex; align-items: center; gap: 32px;
  transition: height .45s var(--e-out);
}
#top-nav.stuck .nav-in { height: 66px; }

/* PX98 wordmark, built in type so it stays crisp — swap for the supplied logo file */
.mark { display: flex; align-items: center; gap: 11px; flex: none; }
.mark-lock {
  font-family: var(--fd); font-weight: 900; font-size: 27px; line-height: 1;
  letter-spacing: -.03em; font-stretch: 92%; display: inline-flex; align-items: baseline;
}
.mark-lock .px { color: var(--white); }
.mark-lock .n98 { color: var(--y); font-style: italic; margin-left: 1px; letter-spacing: -.05em; }
.mark-by {
  display: flex; flex-direction: column; gap: 1px; padding-left: 11px;
  border-left: 1px solid var(--hair-d-2);
}
.mark-by span { font-family: var(--fm); font-size: 7.5px; letter-spacing: .18em; color: var(--grey-2); text-transform: uppercase; line-height: 1.35; }
.mark-by b { font-family: var(--fm); font-size: 8.5px; font-weight: 600; letter-spacing: .2em; color: rgba(255,255,255,.72); text-transform: uppercase; line-height: 1.35; }
.mark-by--logo { gap: 6px; }
.mark-by--logo img { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 9px 14px;
  font-family: var(--fm); font-size: 11px; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: rgba(255,255,255,.66);
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px;
  background: var(--y); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--e-out);
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-cta { flex: none; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 1001; }
.burger i { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--white); transition: transform .4s var(--e-out), opacity .25s; }
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 22px; }
.burger i:nth-child(3) { top: 27px; }
.burger.on i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.on i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger.on i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

#drawer {
  position: fixed; inset: 0; z-index: 899; background: var(--ink-1);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 96px var(--pad-x) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--e-both);
}
#drawer.on { clip-path: inset(0 0 0 0); }
#drawer a {
  font-family: var(--fd); font-weight: 800; font-stretch: 88%; text-transform: uppercase;
  font-size: clamp(30px, 8vw, 52px); line-height: 1.14; color: var(--white);
  border-bottom: 1px solid var(--hair-d); padding: 10px 0;
  display: flex; justify-content: space-between; align-items: center;
}
#drawer a span { font-family: var(--fm); font-size: 10px; letter-spacing: .2em; color: var(--y); font-weight: 500; }

#scan { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--y); z-index: 950; }

/* ============================================================
   HERO
   ============================================================ */
/* bottom padding keeps the grade rail clear of the fixed corner widgets */
#hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 96px 0 62px; overflow: hidden; background: var(--ink); }
/* taller than the hero so the scroll parallax never exposes an edge */
.hero-field { position: absolute; inset: -14% 0; z-index: 0; overflow: hidden; will-change: transform; }

/* supplied hero photograph, held to the right so the headline keeps clean ground */
.hero-photo {
  position: absolute; inset: 0;
  background: url("../img/hero-bg.jpeg") center right / cover no-repeat;
  filter: contrast(1.04) saturate(1.08) brightness(.92);
  transform: scale(1.03); will-change: transform;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.6%, -1%, 0); }
}

/* left-weighted: enough ink under the headline, then it opens right up so the car reads */
.hero-vig {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(6,7,8,.92) 0%, rgba(6,7,8,.8) 22%,
                           rgba(6,7,8,.5) 40%, rgba(6,7,8,.16) 60%,
                           rgba(6,7,8,.06) 76%, rgba(6,7,8,.34) 100%),
    linear-gradient(180deg, rgba(6,7,8,.8) 0%, rgba(6,7,8,.02) 20%,
                            rgba(6,7,8,.04) 56%, rgba(6,7,8,.88) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: .3; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-in { position: relative; z-index: 3; width: 100%; padding-bottom: 0; }
/* copy holds the dark left; the pack group sits over the car on the right */
.hero-cols { display: grid; grid-template-columns: minmax(0, 54%) 1fr; gap: 20px; align-items: end; }
.hero-copy { max-width: 740px; padding-bottom: 8px; }

.hero-pack { position: relative; justify-self: end; align-self: end; width: 100%; }
.hero-pack img {
  position: relative; width: 100%; max-width: 596px; height: auto; margin-left: auto; margin-right: 26px;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.8));
  animation: bob 8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
/* pool of light so the black packs separate from the black car behind them */
.hero-pack::before {
  content: ''; position: absolute; z-index: 0; right: -4%; bottom: -6%;
  width: 92%; max-width: 700px; aspect-ratio: 1.5; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,210,0,.2) 0%, rgba(8,9,10,.86) 40%,
                                                rgba(8,9,10,.55) 58%, transparent 74%);
  filter: blur(22px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: 20px;
  padding: 7px 15px 7px 12px; background: rgba(255,210,0,.07);
  box-shadow: inset 0 0 0 1px rgba(255,210,0,.25);
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--y);
  --notch: 9px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.pulse { width: 6px; height: 6px; background: var(--y); border-radius: 50%; animation: pulse 2s var(--e-out) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,210,0,.55); } 60% { box-shadow: 0 0 0 9px rgba(255,210,0,0); } }

#hero h1 { font-family: var(--fd); font-weight: 800; font-stretch: 86%; text-transform: uppercase;
  font-size: clamp(42px, 6.9vw, 100px); line-height: .88; letter-spacing: -.028em; margin-bottom: 24px; }
#hero h1 i { font-style: italic; font-weight: 900; color: var(--y); font-stretch: 80%; }
.hero-sub { max-width: 46ch; color: rgba(255,255,255,.66); font-size: clamp(15px,1.1vw,17px); line-height: 1.7; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* the grade rail — PX98's actual viscosity coverage, doubles as a jump-off.
   Scrolls continuously, holds on hover, arrows nudge it by a step. */
.rail { position: relative; z-index: 3; border-top: 1px solid var(--hair-d); margin-top: clamp(22px,3vw,38px); }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 8px; gap: 20px; flex-wrap: wrap; }
.rail-head .mono { font-size: 10px; letter-spacing: .22em; }

.rail-marquee { position: relative; }
.rail-viewport { overflow: hidden; padding-bottom: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 46px, #000 calc(100% - 46px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 46px, #000 calc(100% - 46px), transparent); }
.rail-track { display: flex; width: max-content; will-change: transform; }

.rail-step {
  position: relative; flex: 0 0 auto; min-width: 178px; padding: 18px 30px 0 0; background: none; border: 0;
  border-top: 1px solid var(--hair-d); cursor: pointer; text-align: left;
  font-family: var(--fd); font-weight: 900; font-stretch: 84%; font-style: italic;
  font-size: clamp(28px, 2.7vw, 42px); line-height: 1; letter-spacing: -.02em;
  color: rgba(255,255,255,.5);
  transition: color .35s var(--e-out);
}
.rail-step::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 30px; height: 2px;
  background: var(--y); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .5s var(--e-out);
}
.rail-step em { display: block; font: 500 11px/1 var(--fm); font-style: normal; letter-spacing: .16em;
  text-transform: uppercase; color: var(--grey-2); margin-top: 10px; }
.rail-step:hover, .rail-step:focus-visible { color: var(--white); }
.rail-step:hover::before, .rail-step:focus-visible::before { transform: scaleX(1); }
.rail-step:hover em { color: var(--y); }

.rail-nav {
  position: absolute; top: 50%; translate: 0 -60%; z-index: 4;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(8,9,10,.86); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px var(--hair-d-2); color: var(--white);
  border: 0; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, background .3s, color .3s, transform .3s var(--e-out);
  --notch: 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.rail-nav svg { width: 15px; height: 9px; }
.rail-nav--prev { left: -8px; }
.rail-nav--next { right: -8px; }
.rail-marquee:hover .rail-nav, .rail-nav:focus-visible { opacity: 1; pointer-events: auto; }
.rail-nav:hover { background: var(--y); color: #000; box-shadow: none; }
.rail-nav--prev:hover { transform: translateX(-3px); }
.rail-nav--next:hover { transform: translateX(3px); }

/* ============================================================
   STAT ROW
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 30px 30px 0; border-right: 1px solid var(--hair-l); }
.stat:last-child { border-right: 0; }
.stat:not(:first-child) { padding-left: 30px; }
.stat-n { font-family: var(--fd); font-weight: 900; font-stretch: 84%; font-style: italic;
  font-size: clamp(44px, 5vw, 70px); line-height: .9; letter-spacing: -.035em; color: var(--ink); }
.stat-n sup { font-size: .44em; vertical-align: super; color: var(--y-deep); font-style: normal; }
.stat-k { font-family: var(--fm); font-size: 10.5px; letter-spacing: .19em; text-transform: uppercase; color: var(--grey-2); margin-top: 10px; }
.stat-d { font-size: 13.5px; color: #5c6268; margin-top: 6px; line-height: 1.5; max-width: 26ch; }

/* ============================================================
   GENERIC SPLIT + FEATURE CARDS
   ============================================================ */
.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev .split-a { order: 2; }
.split-head { max-width: 46ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1px; background: var(--hair-d); border: 1px solid var(--hair-d); }
.card {
  background: var(--ink-1); padding: 36px 30px 34px; position: relative;
  transition: background .5s var(--e-out); overflow: hidden;
}
.card::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--y); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--e-out);
}
.card:hover { background: var(--ink-2); }
.card:hover::after { transform: scaleX(1); }
.card-tag { font-family: var(--fm); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--y); margin-bottom: 26px; display: block; }
.card-icon { width: 34px; height: 34px; margin-bottom: 20px; stroke: var(--y); fill: none; stroke-width: 1.3; }
.card h3 { font-family: var(--fd); font-weight: 700; font-stretch: 90%; text-transform: uppercase; font-size: 19px; line-height: 1.12; margin-bottom: 12px; letter-spacing: -.005em; }
.card p { font-size: 14px; line-height: 1.62; color: rgba(255,255,255,.56); }

.sect--bone .cards { background: var(--hair-l); border-color: var(--hair-l); }
.sect--bone .card { background: var(--bone); }
.sect--bone .card:hover { background: #fff; }
.sect--bone .card-tag { color: var(--slate); }
.sect--bone .card-icon { stroke: var(--ink); }
.sect--bone .card p { color: #5c6268; }

/* chip list — technology highlights, brake specs, benefits */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--fm); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 14px; background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px var(--hair-d); color: rgba(255,255,255,.75);
  --notch: 8px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: background .35s, color .35s, box-shadow .35s;
}
.chip:hover { background: var(--y); color: #000; box-shadow: none; }
.sect--bone .chip { background: rgba(8,9,10,.04); box-shadow: inset 0 0 0 1px var(--hair-l); color: #3f454b; }

/* spec rows — reads like the data panel on the back of the pack */
.spec-list { border-top: 1px solid var(--hair-d); }
.spec-row { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--hair-d); align-items: baseline; }
.spec-row dt { font-family: var(--fm); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-2); }
.spec-row dd { font-size: 14.5px; color: rgba(255,255,255,.86); line-height: 1.55; }
.sect--bone .spec-list, .sect--bone .spec-row { border-color: var(--hair-l); }
.sect--bone .spec-row dd { color: #23282d; }

/* designed placeholder — clearly not final art, but on-brand */
.ph {
  position: relative; background: var(--ink-2); background-image: var(--hatch);
  box-shadow: inset 0 0 0 1px var(--hair-d); display: grid; place-items: center; overflow: hidden;
}
.ph::before {
  content: ''; position: absolute; left: -6%; bottom: -22%; width: 46%; height: 72%;
  background: var(--y); opacity: .035; clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
}
.ph-label { position: relative; text-align: center; padding: 20px; }
.ph-label b { display: block; font-family: var(--fm); font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--y); }
.ph-label span { display: block; font-family: var(--fm); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); margin-top: 8px; }
.ph--16x9 { aspect-ratio: 16/9; }
.ph--4x3 { aspect-ratio: 4/3; }
.ph--1x1 { aspect-ratio: 1; }
.ph--3x4 { aspect-ratio: 3/4; }
.sect--bone .ph { background: var(--bone-2); box-shadow: inset 0 0 0 1px var(--hair-l);
  background-image: repeating-linear-gradient(-45deg, rgba(8,9,10,.045) 0 1px, transparent 1px 9px); }
.sect--bone .ph-label b { color: var(--slate); }

/* ============================================================
   PRODUCT RANGE / CATALOGUE CARDS
   ============================================================ */
.range { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 18px; }
.rcard {
  --notch: 24px;
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px;
  background: linear-gradient(170deg, var(--ink-2), var(--ink-1) 62%);
  box-shadow: inset 0 0 0 1px var(--hair-d);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: transform .55s var(--e-out), background .55s;
  overflow: hidden; min-height: 350px;
}
.rcard::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--y);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--e-out);
}
.rcard:hover { transform: translateY(-6px); background: linear-gradient(170deg, #1a1e22, var(--ink-2) 62%); }
.rcard:hover::before { transform: scaleX(1); }
/* flex + max-height, not grid + height:100% — a centred grid item auto-sizes its
   track, which leaves a percentage height indefinite and the pack overflows */
.rcard-shot { height: 168px; display: flex; align-items: center; justify-content: center; margin: 6px 0 20px; }
.rcard-shot img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0,0,0,.6));
  transition: transform .6s var(--e-out); }
.rcard:hover .rcard-shot img { transform: translateY(-7px) scale(1.04); }
.rcard-k { font-family: var(--fm); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--y); }
.rcard h3 { font-family: var(--fd); font-weight: 800; font-stretch: 88%; text-transform: uppercase; font-size: 20px; line-height: 1.06; margin: 10px 0 9px; }
.rcard p { font-size: 13px; line-height: 1.58; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.rcard-go { margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--fm); font-size: 10px; letter-spacing: .19em; text-transform: uppercase; color: var(--white); }
.rcard-go svg { width: 15px; height: 8px; transition: transform .45s var(--e-out); }
.rcard:hover .rcard-go svg { transform: translateX(5px); }

/* ---------- catalogue grid ---------- */
.cat-bar { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--hair-d); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  --notch: 8px; background: transparent; border: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--hair-d);
  padding: 9px 14px; font-family: var(--fm); font-size: 10.5px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: background .3s, color .3s, box-shadow .3s;
}
.filter:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--hair-d-2); }
.filter[aria-pressed="true"] { background: var(--y); color: #000; box-shadow: none; }
.filter b { font-weight: 500; opacity: .55; margin-left: 7px; }

.search { position: relative; }
.search input {
  width: 250px; max-width: 100%; background: rgba(255,255,255,.04); border: 0;
  box-shadow: inset 0 0 0 1px var(--hair-d); padding: 11px 14px 11px 36px;
  font-family: var(--fm); font-size: 11.5px; letter-spacing: .08em; color: var(--white);
  --notch: 9px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.search input::placeholder { color: var(--grey-2); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.search svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; stroke: var(--grey-2); fill: none; stroke-width: 1.6; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; margin-top: 30px; }
.pcard {
  --notch: 22px; position: relative; display: flex; flex-direction: column;
  background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--hair-d);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  padding: 22px 22px 20px; overflow: hidden;
  transition: transform .5s var(--e-out), background .5s;
  animation: pop .55s var(--e-out) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.pcard::before { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--e-out); }
.pcard:hover { transform: translateY(-5px); background: var(--ink-2); }
.pcard:hover::before { transform: scaleX(1); }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard-cat { font-family: var(--fm); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2); }
.pcard-euro { font-family: var(--fm); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #000; background: var(--y); padding: 3px 7px; white-space: nowrap; }
.pcard-shot { height: 150px; display: flex; align-items: center; justify-content: center; margin: 12px 0 14px; }
.pcard-shot img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); transition: transform .55s var(--e-out); }
.pcard:hover .pcard-shot img { transform: scale(1.06) translateY(-5px); }
.pcard-grade { font-family: var(--fd); font-weight: 900; font-style: italic; font-stretch: 82%;
  font-size: 30px; line-height: .95; letter-spacing: -.035em; color: var(--y); }
.pcard-grade.na { font-size: 20px; color: var(--white); font-style: normal; font-weight: 800; }
.pcard-name { font-family: var(--fd); font-weight: 700; font-stretch: 92%; text-transform: uppercase;
  font-size: 15px; line-height: 1.14; margin: 7px 0 10px; color: var(--white); }
.pcard-spec { font-family: var(--fm); font-size: 10px; letter-spacing: .08em; color: var(--grey);
  line-height: 1.65; border-top: 1px solid var(--hair-d); padding-top: 11px; margin-top: auto; }
.pcard-spec b { color: rgba(255,255,255,.8); font-weight: 500; }

/* CSS pack plate — stands in where label artwork is not supplied yet */
.plate-pack {
  position: relative; width: 96px; height: 150px; background: linear-gradient(155deg, #1d2126, #0b0d0f 70%);
  box-shadow: inset 0 0 0 1px var(--hair-d-2); border-radius: 5px 5px 3px 3px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 8px;
}
.plate-pack::before { content: ''; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 34%; height: 13px; background: var(--y); border-radius: 2px 2px 0 0; }
.plate-pack-mark { text-align: center; font-family: var(--fd); font-weight: 900; font-size: 22px; line-height: .9; letter-spacing: -.04em; margin-bottom: 8px; }
.plate-pack-mark .px { color: var(--white); display: block; }
.plate-pack-mark .n98 { color: var(--y); font-style: italic; display: block; }
.plate-pack-band { background: var(--y); color: #000; font-family: var(--fm); font-size: 6.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; text-align: center;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pd { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(36px,5vw,72px); align-items: start; }
.pd-shot { position: sticky; top: 108px; }
.pd-stage {
  position: relative; display: flex; align-items: center; justify-content: center; padding: 44px 24px;
  background: radial-gradient(75% 62% at 50% 42%, rgba(255,210,0,.13), transparent 68%), var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--hair-d); overflow: hidden;
  --notch: 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.pd-stage img { height: clamp(280px, 42vh, 430px); width: auto; filter: drop-shadow(0 32px 44px rgba(0,0,0,.7)); }
.pd-stage .plate-pack { width: 190px; height: 300px; }
.pd-grade { font-family: var(--fd); font-weight: 900; font-style: italic; font-stretch: 80%;
  font-size: clamp(44px, 6vw, 82px); line-height: .9; letter-spacing: -.04em; color: var(--y); margin: 4px 0 6px; }
.pd h1 { font-family: var(--fd); font-weight: 800; font-stretch: 88%; text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.06; margin-bottom: 18px; }
.pd-desc { color: rgba(255,255,255,.7); font-size: 15.5px; line-height: 1.75; margin-bottom: 32px; max-width: 62ch; }
.pd-back { display: flex; width: fit-content; align-items: center; gap: 9px; font-family: var(--fm); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 22px; transition: color .3s; }
.pd-back:hover { color: var(--y); }
.pd-back svg { width: 15px; height: 8px; rotate: 180deg; }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--fm); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.03); border: 0;
  box-shadow: inset 0 0 0 1px var(--hair-d); padding: 13px 15px; font-size: 14.5px; color: var(--white);
  transition: box-shadow .3s, background .3s;
  --notch: 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px var(--y);
}
.field input::placeholder, .field textarea::placeholder { color: #4b5157; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b9299' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 11px; padding-right: 40px; }
.field select option { background: var(--ink-2); }
.form-note { font-family: var(--fm); font-size: 10px; letter-spacing: .12em; color: var(--grey-2); text-transform: uppercase; }

/* fields sitting on a bone section need the palette inverted */
.sect--bone .field label { color: var(--slate); }
/* background-color, not the shorthand — the shorthand would reset the select
   arrow's repeat/position/size and tile it across the field */
.sect--bone .field input,
.sect--bone .field select,
.sect--bone .field textarea {
  background-color: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px var(--hair-l-2); color: var(--ink);
}
.sect--bone .field input:focus,
.sect--bone .field select:focus,
.sect--bone .field textarea:focus { background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sect--bone .field input::placeholder,
.sect--bone .field textarea::placeholder { color: #979da3; }
.sect--bone .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a4046' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
}
.sect--bone .field select option { background: #fff; color: var(--ink); }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-band { background: var(--y); color: #000; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.045) 0 2px, transparent 2px 14px);
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-in h2 { font-family: var(--fd); font-weight: 900; font-stretch: 86%; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 62px); line-height: .92; letter-spacing: -.025em; max-width: 16ch; }
.cta-in p { font-size: 15px; max-width: 44ch; color: rgba(0,0,0,.72); margin-top: 14px; }

footer { background: var(--ink-1); border-top: 1px solid var(--hair-d); padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-about p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 34ch; margin-top: 22px; }
.foot-col h4 { font-family: var(--fm); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--y); margin-bottom: 20px; }
.foot-col li { margin-bottom: 11px; }
.foot-col a { font-size: 13.5px; color: rgba(255,255,255,.6); transition: color .28s, padding-left .35s var(--e-out); display: inline-block; }
.foot-col a:hover { color: var(--y); padding-left: 5px; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 22px 0 28px; border-top: 1px solid var(--hair-d); }
.foot-base p, .foot-base a { font-family: var(--fm); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--grey-2); }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 34px; height: 34px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-d);
  font-size: 9.5px; transition: background .3s, color .3s; }
.foot-social a:hover { background: var(--y); color: #000; }

#totop {
  position: fixed; right: 22px; bottom: 86px; z-index: 800; width: 44px; height: 44px;
  background: var(--y); color: #000; border: 0; cursor: pointer; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .4s, transform .4s var(--e-out);
  --notch: 11px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
#totop.on { opacity: 1; pointer-events: auto; transform: none; }
#totop svg { width: 15px; height: 9px; rotate: -90deg; }

/* mockup disclosure — a chip that stays out of the way until asked */
#mock-note {
  position: fixed; left: 14px; bottom: 14px; z-index: 850; width: 158px; height: 34px;
  background: rgba(13,15,17,.94); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--hair-d-2); padding: 9px 13px;
  font-family: var(--fm); font-size: 9px; line-height: 1.75; letter-spacing: .08em;
  color: transparent; text-transform: uppercase; overflow: hidden; white-space: normal;
  opacity: 0; pointer-events: none; translate: 0 10px;
  transition: width .45s var(--e-out), height .45s var(--e-out), color .3s,
              opacity .4s, translate .4s var(--e-out);
}
/* stays clear of the hero's grade rail until the page is scrolled */
#mock-note.on { opacity: 1; pointer-events: auto; translate: 0 0;
  --notch: 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
#mock-note b { color: var(--y); font-weight: 600; white-space: nowrap; }
#mock-note:hover, #mock-note:focus-within { width: 310px; height: 76px; color: rgba(255,255,255,.6); padding-right: 34px; }
#mock-note button {
  position: absolute; top: 4px; right: 6px; background: none; border: 0; cursor: pointer;
  color: var(--grey-2); font-size: 15px; line-height: 1; padding: 4px; opacity: 0; transition: opacity .3s;
}
#mock-note:hover button, #mock-note:focus-within button { opacity: 1; }
#mock-note button:hover { color: var(--y); }

/* ============================================================
   ASSISTANT — two-way product finder, runs against the catalogue
   ============================================================ */
#chat-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 880;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--y); color: #000; border: 0; cursor: pointer;
  padding: 14px 20px; font-family: var(--fm); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
  transition: transform .4s var(--e-out), opacity .3s;
  --notch: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
#chat-launch:hover { transform: translateY(-3px); }
#chat-launch.hide { opacity: 0; pointer-events: none; transform: translateY(10px); }
#chat-launch .dot { width: 7px; height: 7px; border-radius: 50%; background: #000; animation: pulse-b 2.2s var(--e-out) infinite; }
@keyframes pulse-b { 0%,100% { box-shadow: 0 0 0 0 rgba(0,0,0,.4); } 60% { box-shadow: 0 0 0 8px rgba(0,0,0,0); } }

#chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 881;
  width: 392px; height: min(640px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--hair-d-2), 0 30px 70px rgba(0,0,0,.66);
  opacity: 0; pointer-events: none; transform: translateY(18px) scale(.97);
  transform-origin: 100% 100%;
  transition: opacity .35s var(--e-out), transform .45s var(--e-out);
  --notch: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
#chat-panel.on { opacity: 1; pointer-events: auto; transform: none; }

.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid var(--hair-d); background: var(--ink-2); flex: none;
}
.chat-head-mark { font-family: var(--fd); font-weight: 900; font-size: 19px; letter-spacing: -.03em; line-height: 1; }
.chat-head-mark .px { color: var(--white); }
.chat-head-mark .n98 { color: var(--y); font-style: italic; }
.chat-head-t { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.chat-head-t b { font-family: var(--fm); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.chat-head-t span { font-family: var(--fm); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--y); display: flex; align-items: center; gap: 6px; }
.chat-head-t span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--y); }
.chat-x { background: none; border: 0; cursor: pointer; color: var(--grey); font-size: 20px; line-height: 1; padding: 6px; transition: color .25s; }
.chat-x:hover { color: var(--y); }

.chat-log { flex: 1 1 auto; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.chat-log::-webkit-scrollbar { width: 6px; }
.chat-log::-webkit-scrollbar-thumb { background: #2c3136; }

.msg { max-width: 88%; font-size: 13.5px; line-height: 1.62; animation: msgIn .4s var(--e-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { align-self: flex-start; background: var(--ink-3); color: rgba(255,255,255,.86); padding: 12px 15px;
  --notch: 10px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.msg--me { align-self: flex-end; background: var(--y); color: #000; padding: 12px 15px; font-weight: 400;
  --notch: 10px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.msg b { color: var(--y); font-weight: 600; }
.msg--me b { color: #000; }
.msg a { color: var(--y); text-decoration: underline; text-underline-offset: 2px; }

.chat-typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 15px; background: var(--ink-3); }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: blink 1.3s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .18s; }
.chat-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity: .28; } 30% { opacity: 1; } }

.chat-hits { display: flex; flex-direction: column; gap: 7px; align-self: stretch; }
.chat-hit {
  display: flex; align-items: center; gap: 12px; padding: 9px 11px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-d);
  transition: background .3s, box-shadow .3s; animation: msgIn .4s var(--e-out) both;
}
.chat-hit:hover { background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255,210,0,.4); }
.chat-hit-img { width: 30px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.chat-hit-img img { max-height: 100%; max-width: 100%; width: auto; }
.chat-hit-fallback { width: 20px; height: 34px; background: linear-gradient(160deg,#232830,#0d0f11); box-shadow: inset 0 0 0 1px var(--hair-d); border-radius: 3px; }
.chat-hit-txt { min-width: 0; flex: 1 1 auto; }
.chat-hit-g { display: block; font-family: var(--fd); font-weight: 900; font-style: italic; font-stretch: 84%; font-size: 15px; color: var(--y); line-height: 1; letter-spacing: -.02em; }
.chat-hit-n { display: block; font-size: 12px; color: rgba(255,255,255,.86); line-height: 1.35; margin-top: 3px; }
.chat-hit-s { display: block; font-family: var(--fm); font-size: 9px; letter-spacing: .1em; color: var(--grey-2); margin-top: 4px; text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; }
.chat-chip {
  background: transparent; border: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,210,0,.4); color: var(--y);
  font-family: var(--fm); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px; transition: background .28s, color .28s;
  --notch: 7px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.chat-chip:hover { background: var(--y); color: #000; }

.chat-form { flex: none; display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--hair-d); background: var(--ink-2); }
.chat-form input {
  flex: 1 1 auto; min-width: 0; background: rgba(255,255,255,.04); border: 0;
  box-shadow: inset 0 0 0 1px var(--hair-d); padding: 12px 14px; font-size: 13.5px; color: var(--white);
  --notch: 9px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.chat-form input:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--y); }
.chat-form input::placeholder { color: #4b5157; }
.chat-send {
  flex: none; width: 46px; background: var(--y); color: #000; border: 0; cursor: pointer;
  display: grid; place-items: center; transition: transform .3s var(--e-out);
  --notch: 9px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.chat-send:hover { transform: translateY(-2px); }
.chat-send svg { width: 16px; height: 9px; }
.chat-foot { flex: none; padding: 0 14px 12px; font-family: var(--fm); font-size: 8.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-2); background: var(--ink-2); }

@media (max-width: 560px) {
  #chat-panel { right: 12px; left: 12px; width: auto; bottom: 12px; height: min(560px, calc(100vh - 90px)); }
  #chat-launch { right: 12px; bottom: 12px; }
}

/* page transition wipe */
#wipe {
  position: fixed; inset: 0; z-index: 9999; background: var(--y); pointer-events: none;
  transform: translateY(-101%); transition: transform .45s var(--e-both);
}
#wipe.out { transform: translateY(0); }
#wipe.done { transform: translateY(101%); transition-duration: .55s; }

/* ============================================================
   PAGE HEADERS (inner pages)
   ============================================================ */
/* page headers carry a photographic ground via .sect--photo (see tokens above) */
.phead { position: relative; padding: 168px 0 clamp(46px,5vw,74px); overflow: hidden; border-bottom: 1px solid var(--hair-d); }
.phead-in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.crumb { display: flex; gap: 9px; align-items: center; font-family: var(--fm); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 18px; }
.crumb a:hover { color: var(--y); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--hair-l); padding-inline: 0 !important; padding-block: 24px; }
  .stat:nth-child(odd) { padding-right: 24px !important; border-right: 1px solid var(--hair-l); }
  .pd { grid-template-columns: 1fr; }
  .pd-shot { position: static; }
}
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero-cols { grid-template-columns: 1fr; gap: 8px; }
  #hero { padding-top: 104px; align-items: center; }
  .split, .split--rev .split-a { grid-template-columns: 1fr; order: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .form-2 { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { border-right: 0 !important; padding-right: 0 !important; }
  #mock-note { max-width: calc(100% - 32px); }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { padding: 16px 14px 15px; }
  .pcard-shot { height: 110px; }
  .pcard-grade { font-size: 23px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-rv] { opacity: 1 !important; transform: none !important; }
  .mask > span { transform: none !important; }
  #wipe { display: none; }
}
