@font-face { font-family: "Chakra Petch"; src: url("/assets/fonts-b/chakra-petch-latin-600-normal.woff2?v=a5888696") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; src: url("/assets/fonts-b/chakra-petch-latin-700-normal.woff2?v=ce5095dc") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts-b/barlow-latin-400-normal.woff2?v=b0a8ad37") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts-b/barlow-latin-600-normal.woff2?v=4b52ddd4") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* site.css - Ivan Wang e.MAS page. ORDER 260 (web-developer, 4 Dec 2026). Mobile first: 390 -> 768/1024 -> 1280+ (D-593).
   Look: dark, futuristic (grid floor, light trails, teal glow), taken from the name card (black + teal frame). No brand logos. */
:root {
  --bg: #05080c; --bg2: #0a1118; --card: #0d151d; --line: rgba(110, 220, 230, .18); --line2: rgba(110, 220, 230, .34);
  --tx: #eaf2f6; --mut: #a6b7c3; --teal: #35e0d0; --cyan: #4cc9f0; --wa: #25d366; --wa-tx: #04160b; --wa-deep: #169c58;
  --r: 16px; --pad: 20px; --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.55 "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 9vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 6.4vw, 2.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--tx); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: .7em; }
.lead { font-size: 1.08rem; color: var(--mut); max-width: 40em; }
.pnote { font-size: .82rem; color: var(--mut); margin-top: .8em; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn small { display: block; font-weight: 400; font-size: .76rem; opacity: .85; }
.btn span { text-align: left; line-height: 1.2; }
.btn.wa { background: var(--wa); color: var(--wa-tx); }
.btn.wa:hover { background: #3ee07c; }
.btn.ghost { background: rgba(255, 255, 255, .03); color: var(--tx); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--teal); background: rgba(53, 224, 208, .08); }
.btn.lg { min-height: 54px; padding: 12px 24px; font-size: 1.05rem; }
.btn.sm { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
.acts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.acts .btn { width: 100%; justify-content: flex-start; }
.acts .btn.lg { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(5, 8, 12, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.me { display: flex; flex-direction: column; text-decoration: none; color: var(--tx); min-height: 44px; justify-content: center; }
.me-name { font-weight: 700; font-size: 1.08rem; letter-spacing: .02em; }
.me-role { font-size: .78rem; color: var(--mut); }
.nav { display: none; }
.top .head-wa { display: inline-flex; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 36px 0 28px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 70% 20%, #0d2430 0%, var(--bg) 60%); }
.hero-bg .grid { position: absolute; left: -50%; right: -50%; bottom: 0; height: 52%; transform: perspective(380px) rotateX(62deg); transform-origin: bottom center;
  background-image: linear-gradient(rgba(76, 201, 240, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 201, 240, .5) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 95%); mask-image: linear-gradient(to top, #000 30%, transparent 95%); animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 48px, 0 0; } }
.hero-bg .glow { position: absolute; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px; right: -20vw; top: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(53, 224, 208, .22), transparent 65%); filter: blur(10px); }
.trails { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; overflow: hidden; }
.trails i { position: absolute; left: -40%; height: 2px; width: 40%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan), #fff); opacity: .0; animation: trail 5.5s linear infinite; }
.trails i:nth-child(1) { top: 8%; animation-delay: 0s; }
.trails i:nth-child(2) { top: 28%; animation-delay: 1.4s; background: linear-gradient(90deg, transparent, var(--teal), #fff); }
.trails i:nth-child(3) { top: 48%; animation-delay: 2.6s; }
.trails i:nth-child(4) { top: 66%; animation-delay: 3.7s; background: linear-gradient(90deg, transparent, #e05d7a, #ffd1db); height: 1.5px; }
.trails i:nth-child(5) { top: 84%; animation-delay: 4.5s; background: linear-gradient(90deg, transparent, var(--teal), #fff); }
@keyframes trail { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: .9; } 70% { opacity: .9; } 100% { transform: translateX(380%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-bg .grid, .trails i { animation: none; } .trails { display: none; } }
.hero-in { display: grid; gap: 8px; }
.hero h1 .hl { display: block; background: linear-gradient(90deg, var(--teal), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 4px; }
.hp { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(13, 21, 29, .7); text-decoration: none; color: var(--tx); min-height: 64px; }
.hp span { font-size: .85rem; color: var(--mut); }
.hp b { font-size: 1.12rem; font-weight: 650; }
.who { margin-top: 16px; font-size: .9rem; color: var(--tx); }
.hero-car { margin: 4px -12px 0; }
.hero-car .art { position: relative; }

/* drawn car */
.car { width: 100%; height: auto; overflow: visible; }
.car-shadow { fill: rgba(53, 224, 208, .18); }
.car-body { stroke: var(--cyan); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(76, 201, 240, .55)); }
.car-glass { fill: rgba(76, 201, 240, .14); stroke: rgba(76, 201, 240, .55); stroke-width: 1.2; }
.car-line { stroke: rgba(53, 224, 208, .7); stroke-width: 1.4; }
.car-wheel { fill: #05080c; stroke: var(--teal); stroke-width: 3; }
.car-hub { fill: #0d151d; stroke: rgba(234, 242, 246, .5); stroke-width: 1.5; }
.car-lamp { stroke: #ff5b7f; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 5px #ff5b7f); }
.art img { width: 100%; height: auto; }

/* sections */
.sec { padding: 56px 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 22px; }
.models { display: grid; gap: 22px; }
.model { border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: linear-gradient(180deg, #0e1821, #0a1017); overflow: hidden; }
.model.hot { border-color: var(--line2); box-shadow: 0 0 0 1px rgba(53, 224, 208, .08), 0 20px 60px -30px rgba(53, 224, 208, .45); }
.model-art { position: relative; padding: 26px 18px 6px; background: radial-gradient(80% 70% at 50% 70%, rgba(53, 224, 208, .14), transparent 70%); }
.badge { position: absolute; top: 14px; left: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--teal); padding: 5px 10px; border-radius: 999px; }
.model-body { padding: 8px 18px 22px; }
.model .kicker { margin-bottom: .3em; }
.from { font-size: 1.05rem; color: var(--mut); margin-bottom: .6em; }
.from strong { color: var(--tx); font-size: 1.5rem; font-weight: 700; }
.star { color: var(--teal); }
.blurb { color: var(--tx); }
.tbl-wrap { overflow-x: auto; margin: 0 -2px; }
table.var { width: 100%; border-collapse: collapse; font-size: .9rem; }
.var th, .var td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.var thead th { color: var(--mut); font-weight: 500; font-size: .8rem; letter-spacing: .02em; }
@media (max-width: 420px) { .var th, .var td { padding: 9px 5px; } table.var { font-size: .86rem; } .model-body { padding: 8px 14px 20px; } }
.var tbody th { font-weight: 600; }
.var .pr { color: var(--teal); font-weight: 650; white-space: nowrap; }
.var caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.more { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.more summary { cursor: pointer; padding: 12px 14px; min-height: 44px; font-weight: 600; list-style-position: inside; }
.more ul { margin: 0; padding: 0 16px 6px 32px; color: var(--mut); }
.more li { margin-bottom: 6px; }
.more li b { color: var(--tx); font-weight: 600; }
.more .cols { padding: 0 16px 12px; color: var(--mut); margin: 0; font-size: .9rem; }
.vs { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: rgba(13, 21, 29, .6); }
.vs-t td { color: var(--tx); }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line2); border-radius: 999px; color: var(--tx); text-decoration: none; }
.chips a:hover { border-color: var(--teal); }
.petrol .btn { margin-top: 12px; width: 100%; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 64px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--bg); background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.steps b { display: block; }
.steps span { color: var(--mut); }
.visit { display: grid; gap: 26px; }
address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }
.hours caption { color: var(--tx); }
.foot { padding: 36px 0 110px; border-top: 1px solid var(--line); color: var(--mut); font-size: .9rem; }
.foot p { margin: 0 0 .5em; }
.f-name { color: var(--tx); font-weight: 700; font-size: 1.1rem; }
.fine { font-size: .8rem; margin-top: 1em !important; max-width: 60em; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa-deep); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 4px rgba(37, 211, 102, .25); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: var(--wa); color: var(--wa-tx); }

/* reveal */
.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* 404 */
.nf-in { min-height: 100vh; display: flex; align-items: center; }

/* ---- 768+ ---- */
@media (min-width: 768px) {
  :root { --pad: 32px; }
  .acts { flex-direction: row; flex-wrap: wrap; }
  .acts .btn { width: auto; }
  .hero { padding: 56px 0 40px; }
  .hero-prices { max-width: 460px; }
  .models { grid-template-columns: 1fr 1fr; }
  .hero-car { max-width: 620px; margin: 0 auto; width: 100%; }
  .models.one { grid-template-columns: 1fr; }
  .models.one .model { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .visit { grid-template-columns: 1fr 1fr; align-items: start; }
  .petrol .btn { width: auto; }
  .model .acts { flex-direction: column; }
  .model .acts .btn { width: 100%; }
}
/* ---- 1024+ ---- */
@media (min-width: 1024px) {
  .nav { display: flex; gap: 6px; }
  .nav a { color: var(--mut); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
  .nav a:hover { color: var(--tx); background: rgba(255, 255, 255, .04); }
  .hero { padding: 80px 0 70px; min-height: 640px; }
  .hero-in { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; }
  .hero-car { margin: 0; }
  .trails { left: 48%; height: 34%; }
  .hero-bg .grid { height: 46%; }
  .sec { padding: 84px 0; }
  .model .acts { flex-direction: row; }
  .model .acts .btn { width: auto; }
  .model .acts .btn.wa { width: 100%; }
}

/* ==== design review o260 (design-manager, DESIGN-REVIEW-o260.md, applied 4 Dec 2026) ==== */
/* fix 9: car parts */
.car-front { stroke: #e9f6ff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(233, 246, 255, .8)); }
.car-lamp { stroke-width: 3; }
.car-port { fill: var(--teal); filter: drop-shadow(0 0 4px var(--teal)); }
/* image boxes fixed now, so nothing jumps when the cut-outs land (IMAGES-WANTED-o260.md) */
.hero-car .art, .model-art .art { position: relative; isolation: isolate; aspect-ratio: 16 / 7; display: flex; align-items: flex-end; justify-content: center; }
.art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.art svg.car { width: 100%; height: auto; }
/* fix 2: the car stands on its own lit floor; horizon = wheel baseline */
.hero-car .art::before, .model-art .art::before { content: ""; position: absolute; left: -30%; right: -30%; top: calc(100% - 3px); height: 110px; z-index: -1;
  background-image: linear-gradient(rgba(76, 201, 240, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 201, 240, .45) 1px, transparent 1px); background-size: 40px 40px;
  transform: perspective(300px) rotateX(64deg); transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 85%); mask-image: linear-gradient(to bottom, #000 10%, transparent 85%); }
.hero-car .art::after { content: ""; position: absolute; left: -15%; right: -15%; top: calc(100% - 3px); height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.model-art .art::before { opacity: .55; height: 60px; }
.model-art { padding-bottom: 34px; }
.hero-car { padding-bottom: 46px; }
.hero-bg .grid { opacity: .3; }
/* fix 3: one green; FAB = same green as the buttons, dark glyph */
.wa-float { background: var(--wa); color: var(--wa-tx); }
.wa-float:hover { background: #3ee07c; color: var(--wa-tx); }
/* fix 4: dealer line as a trust strip under the hero; small print smaller */
.hero .who { margin: 18px calc(-1 * var(--pad)) 0; padding: 12px var(--pad); border-top: 1px solid var(--line); font-size: .85rem; color: var(--mut); }
.hero .pnote { font-size: .75rem; }
/* fix 5: numbers in one line */
.var .pr, .var td.n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.var thead th { white-space: nowrap; }
.var .std { font-weight: 400; }
/* fix 6: the model name leads */
.model h3 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .15em; }
.from strong { font-size: 1.35rem; }
.model .kicker { color: var(--mut); }
/* fix 8: one static light rail per section */
.sec { position: relative; }
.sec::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(53, 224, 208, .6), transparent); }
/* fix 10: calmer motion, trails stop after 3 runs, paused off-screen (site.js) */
.hero-bg .grid { animation-duration: 14s; }
.trails i { animation-iteration-count: 3; }
.hero.off .grid, .hero.off .trails i { animation-play-state: paused; }
.nf-in { min-height: 100svh; }
/* James 4 Dec: smaller "Other PROTON models" group; hours as one line */
.sec.petrol { padding: 40px 0; }
.h-small { font-size: 1.4rem; }
.hours-box { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--card); }
.hours-k { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--mut); margin: 0 0 .3em; }
.hours-v { font-size: 1.5rem; font-weight: 650; margin: 0 0 .2em; }

/* fix 1: phone + tablet: car right under the headline */
@media (max-width: 1023px) {
  .hero { padding-top: 20px; }
  .hero-in { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero .kicker { order: 1; }
  .hero h1 { order: 2; margin-bottom: .25em; }
  .hero-car { order: 3; }
  .hero .lead { order: 4; }
  .hero-prices { order: 5; margin-top: 4px; }
  .hero .acts { order: 6; }
  .hero .pnote { order: 7; }
  .hero .who { order: 8; }
}
@media (max-width: 767px) {
  .hero-car { margin: 6px -8px 0; padding-bottom: 34px; }
  .hero-car .art { aspect-ratio: 3 / 1; }
  .hero-car .car { max-height: 150px; }
  .hero .kicker { font-size: .7rem; letter-spacing: .1em; white-space: nowrap; }
  /* fix 3: header pill = icon-only outline on phones */
  .top .head-wa { background: transparent; border: 1px solid rgba(37, 211, 102, .55); color: var(--wa); padding: 0; width: 44px; min-width: 44px; }
  .top .head-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* fix 5: room for the last column; standard under the unit */
  .var .std { display: block; }
  .var th:last-child, .var td:last-child { text-align: right; padding-right: 2px; }
  /* fix 7: brochure + price list side by side */
  .model .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .model .acts .btn.wa { grid-column: 1 / -1; }
  .model .acts .btn.ghost { justify-content: center; text-align: center; padding: 10px 8px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-car { margin: 8px auto 0; }
}
/* proof round 2: PHEV two-line ranges may wrap; tablet hot cards = one per row (tables fit) */
.var td.n2 { white-space: normal; min-width: 5.5em; }
.art svg.car { flex: 0 0 auto; aspect-ratio: 600 / 192; height: auto; align-self: flex-end; }
@media (min-width: 1024px) { .hero-car { align-self: center; } }
.hero-car .art, .model-art .art { min-height: 0; }
@media (min-width: 768px) and (max-width: 1023px) {
  .models { grid-template-columns: 1fr; }
  .models .model { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; }
  .var .std { display: block; }
}
/* ORDER 260c real e.MAS cut-outs (1460x569 trimmed): boxes match the pictures; tyres sit on the box bottom = floor line */
.hero-car .art, .model-art .art { aspect-ratio: 1460 / 569; }
.art picture { display: block; width: 100%; height: 100%; }
.hero-car .art img { filter: drop-shadow(0 0 28px rgba(53, 224, 208, .22)); }
.hero .who { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.who .mark img { display: block; width: 96px; height: auto; opacity: .9; }
@media (max-width: 767px) { .hero-car .art { aspect-ratio: 1460 / 569; } }
/* ===== ORDER 267 (v2) ===== */
/* 1: one-line buttons */
.btn span { white-space: nowrap; }
.btn small { display: inline; margin-left: 6px; font-size: .8rem; }
/* 3: colour picker */
.swatches { padding: 12px 18px 0; }
.sw-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.sw::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.sw::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid transparent; }
.sw[aria-pressed="true"]::after { border-color: var(--teal); }
.sw:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.sw-empty::before { opacity: .55; outline: 1.5px dashed rgba(234, 242, 246, .55); outline-offset: 3px; }
.sw-name { margin: 6px 0 0; font-size: .88rem; color: var(--mut); min-height: 1.4em; }
.sw-name b { color: var(--tx); font-weight: 600; }
.model-art .art img { transition: opacity .25s ease; }
.model-art .art.swap img { opacity: .15; }
/* colour pictures from e.MAS are angled shots / photos: show whole picture inside the frame */
.model-art .art.colour-pic { aspect-ratio: 1200 / 780; }
.model-art .art.colour-pic img { object-fit: contain; }
/* 4: "Test drive?" bubble beside the floating button */
.wa-tip { position: fixed; right: 84px; bottom: 26px; z-index: 39; display: flex; align-items: center; background: #eaf2f6; color: #04160b; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6); animation: tipin .3s ease-out; }
.wa-tip[hidden] { display: none; }
.wa-tip::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: #eaf2f6; }
.wa-tip-a { display: flex; align-items: center; min-height: 40px; padding: 0 4px 0 14px; color: #04160b; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.wa-tip-x { width: 40px; height: 40px; border: 0; background: transparent; color: #36505e; font-size: 1.3rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.wa-tip-x:focus-visible, .wa-tip-a:focus-visible { outline: 2px solid var(--wa-deep); outline-offset: 2px; }
@keyframes tipin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wa-tip { animation: none; } }
/* 5: guides */
.g-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.g-list a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--tx); text-decoration: none; }
.g-list a:hover { border-color: var(--teal); }
.g-list b { display: block; font-size: 1.05rem; }
.g-list span { display: block; margin-top: 4px; color: var(--mut); font-size: .92rem; }
@media (min-width: 768px) { #guides .g-list { grid-template-columns: repeat(3, 1fr); } }
.g-main { padding-top: 28px; }
.g-wrap { max-width: 760px; }
.g-wrap h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.1; margin: 8px 0 12px; }
.g-wrap h2 { font-size: 1.35rem; margin: 30px 0 10px; }
.g-wrap p { margin: 0 0 12px; }
.g-ul { margin: 0 0 12px; padding-left: 20px; } .g-ul li { margin: 6px 0; }
.g-t td, .g-t th { white-space: normal; }
.crumb { font-size: .88rem; color: var(--mut); } .crumb a { color: var(--teal); }
.g-cta { margin: 28px 0 8px; padding: 18px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(13, 21, 29, .7); }
.g-src { padding-left: 20px; font-size: .9rem; color: var(--mut); } .g-src li { margin: 8px 0; overflow-wrap: anywhere; } .g-src a { color: var(--teal); }
body.guide .wa-float { background: var(--wa); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumb { margin-bottom: -4px; }

/* ORDER 277 articles: read-next links, arithmetic-example box, FAQ */
.g-see { margin: 1.2em 0; font-size: .95rem; color: var(--mut); line-height: 2.2; }
.g-see a { display: inline-block; min-height: 44px; line-height: 44px; }
.g-ex { margin: 1em 0; padding: 12px 14px; border: 1px dashed var(--line2); border-radius: 12px; background: rgba(53, 224, 208, .05); color: var(--tx); font-size: .92rem; }
.g-ex b { color: var(--teal); }
.g-faq h3 { font-size: 1.05rem; margin: 1.2em 0 .3em; }
.g-faq p { margin: 0; color: var(--mut); }
/* ORDER 277: pair B (Chakra Petch + Barlow) is wider than Outfit; at 360 the two PDF buttons pushed the card's button grid
   past the card edge. Let grid items shrink and put the file size under the label on narrow phones. */
.model .acts > .btn { min-width: 0; }
@media (max-width: 767px) { .model .acts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 400px) {
  .model .acts .btn.ghost span { white-space: normal; text-align: center; }
  .model .acts .btn.ghost small { display: block; margin-left: 0; }
}
/* ORDER 277: instalment tables (5 columns) fit a 360 phone without sideways scroll */
@media (max-width: 420px) { .g-t { font-size: .8rem; } .g-t th, .g-t td { padding: 8px 4px; } }
.g-t thead th { white-space: normal; }
@media (max-width: 380px) { table.var { font-size: .82rem; } }
.g-ask { margin: 16px 0; }

/* ORDER 277: EV background "A Charge" (q1898) - drop-in README step 3, verbatim. The fixed WebGL layer sits behind
   everything, so full-width opaque layers become see-through; the old CSS floor + trails are replaced by the layer. */
body { background: #05080c; }
.hero-bg { background: radial-gradient(120% 70% at 70% 20%, rgba(13,36,48,.55) 0%, rgba(5,8,12,0) 60%); }
.sec.alt { background: linear-gradient(180deg, rgba(10,17,24,.55), rgba(5,8,12,.35)); }
.model { background: linear-gradient(180deg, rgba(14,24,33,.9), rgba(10,16,23,.92)); }
.steps li, .hours-box, .g-list a { background: rgba(13,21,29,.9); }
.hero-car .art::before { display: none; }
.hero-bg .grid, .hero-bg .trails { display: none; }

/* ORDER 267 font pair */
body { font-family: "Barlow", system-ui, sans-serif; }
h1, h2, h3, .kicker, .me-name, .hp b, .from strong, .hours-v, .btn, .badge, .f-name { font-family: "Chakra Petch", "Barlow", system-ui, sans-serif; }
