:root {
  /* Palette, three colours only: jet black, soft white, flame orange.
     --red is the accent fill (flame orange) and --red-hi the accent that is readable as text on the
     current background; each .t-* theme below redefines the set for its section. */
  --jet: #0a0a0a;
  --soft: #f5f2ec;
  --flame: #e25822;
  --bg: var(--jet);
  --bg-alt: #141312;
  --bg-deep: #050505;
  --ink: var(--soft);
  --ink-soft: rgba(245, 242, 236, 0.72);
  --ink-faint: rgba(245, 242, 236, 0.42);
  --line: rgba(245, 242, 236, 0.14);
  --red: var(--flame);
  --red-hi: #ff7a45;
  --hover: #1c1a18;
  --btn-ink: var(--jet);
  --display: "Montserrat", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: clip; }
.two-col > *, .config > *, .cards > *, .news > *, .form-grid > * { min-width: 0; }
h2, h3, p { overflow-wrap: break-word; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.intro-playing { overflow: hidden; }
a { color: inherit; }
h2, h3, p { margin: 0; }
img, video, canvas { display: block; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #000; padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 56px);
  background: linear-gradient(rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0));
  transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s ease;
}
.nav.is-solid { background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.intro-playing .nav { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.nav-brand {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.3em; font-size: 15px; text-decoration: none;
}
.nav-brand span { color: var(--red-hi); }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 34px); align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-links .nav-cta { color: var(--ink); border: 1px solid var(--ink-faint); padding: 9px 18px; }
.nav-links .nav-cta:hover { border-color: var(--red-hi); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; background: var(--bg-deep); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(5, 5, 5, 0) 70%, var(--bg) 100%);
}
.intro-skip {
  position: absolute; right: clamp(16px, 4vw, 56px); bottom: 32px; z-index: 5;
  background: rgba(5, 5, 5, 0.55); color: var(--ink); border: 1px solid var(--ink-faint);
  font: 500 12px/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase;
  padding: 13px 20px; cursor: pointer; transition: opacity 0.4s ease, border-color 0.2s ease;
}
.intro-skip:hover { border-color: var(--ink); }
body:not(.intro-playing) .intro-skip { opacity: 0; pointer-events: none; }
.hero-actions {
  position: absolute; left: 0; right: 0; bottom: 32px; z-index: 4;
  display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; padding: 0 clamp(16px, 4vw, 56px);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}
body:not(.intro-playing) .hero-actions { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- finder ---------- */
.finder { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.finder-form { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 18px 22px; align-items: end; }
.finder-title { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.2; margin: 0; max-width: 11ch; align-self: center; }
.finder-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.finder-field span { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.finder-field b { color: var(--red-hi); margin-right: 10px; }
.finder-field select {
  appearance: none; width: 100%; height: 54px; padding: 0 44px 0 16px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23f2efe9' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--ink); border: 1px solid var(--ink-faint); border-radius: 0; font: 500 16px/1 var(--body);
}
.finder-field select:disabled { opacity: 0.45; cursor: not-allowed; }
.finder-field select:focus-visible { outline: none; border-color: var(--ink); }

.finder .btn { height: 54px; padding-top: 0; padding-bottom: 0; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font: 700 13px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 28px; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: #f0142f; }
.btn-ghost { border-color: var(--ink-faint); color: var(--ink); background: rgba(5, 5, 5, 0.4); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--ink); }
.btn-block { display: block; text-align: center; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-deep); }
.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 56px)); margin: 0 auto; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 18px;
}
.kicker b { color: var(--red-hi); margin-right: 16px; }
h2 {
  font-family: var(--display); font-weight: 300; font-size: clamp(34px, 5vw, 64px); line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 26px; max-width: 18ch;
}
h3 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink); margin-bottom: 18px; }
.lead.narrow { max-width: 62ch; margin-bottom: 44px; color: var(--ink-soft); }
.section p + p { margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col p:not(.kicker):not(.lead) { color: var(--ink-soft); }

.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--bg); padding: 30px 26px; display: flex; flex-direction: column-reverse; gap: 8px; }
.fact dd { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.fact dt { font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft); }

.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 36px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); padding: 32px 26px 36px; transition: background 0.25s ease; }
.section-alt .card { background: var(--bg-alt); }
.card:hover { background: #16181c; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-num { display: block; font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; color: var(--red-hi); margin-bottom: 28px; }
.text-link { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--ink); text-underline-offset: 4px; }

.brands { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brands li {
  background: var(--bg); padding: 44px 24px; text-align: center;
  font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.22em; text-transform: uppercase;
}
.brands small { display: block; font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft); margin-top: 8px; }
.brands a { text-decoration: none; }
.brand-hot { box-shadow: inset 0 -3px 0 var(--red); }
.note { color: var(--ink-soft); font-size: 15px; max-width: 70ch; }

/* ---------- configurator ---------- */
.config { display: grid; grid-template-columns: 1fr 340px; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.viewer { position: relative; background: radial-gradient(ellipse 80% 70% at 50% 45%, #1b1e23 0%, #0a0b0d 62%, #050607 100%); min-height: 560px; }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
  background: rgba(5, 5, 5, 0.6); transition: opacity 0.6s ease;
}
.viewer-loading.is-done { opacity: 0; pointer-events: none; }
.viewer-bar { width: 220px; height: 2px; background: var(--line); }
.viewer-bar i { display: block; height: 100%; width: 0; background: var(--red-hi); transition: width 0.2s linear; }
.viewer-hint {
  position: absolute; left: 0; right: 0; top: 20px; text-align: center; pointer-events: none;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); transition: opacity 0.5s ease;
}
.viewer-hint.is-hidden { opacity: 0; }
.viewer-note {
  position: absolute; left: 16px; right: 16px; top: 52px; margin: 0 auto; width: fit-content; max-width: calc(100% - 32px);
  text-align: center; font-size: 13px; line-height: 1.4; color: var(--ink); pointer-events: none;
  background: rgba(5, 5, 5, 0.72); border: 1px solid var(--line); padding: 9px 14px;
}
.text-link.inline { margin: 0 0 0 6px; white-space: nowrap; }
.price-note { font-size: 12px; line-height: 1.45; color: var(--ink-faint); margin: -10px 0 18px; }
.viewer-views { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 0 12px; }
.viewer-views button {
  background: rgba(5, 5, 5, 0.6); color: var(--ink-soft); border: 1px solid var(--line); cursor: pointer;
  font: 500 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; padding: 11px 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.viewer-views button:hover { color: var(--ink); border-color: var(--ink-faint); }
.viewer-views button[aria-pressed="true"] { color: var(--ink); border-color: var(--red-hi); }

.config-panel { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; }
.config-panel h3 { font-size: 13px; font-family: var(--body); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; padding: 0;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 42%), var(--c);
  border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--ink-faint); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-on { box-shadow: 0 0 0 2px var(--ink); }
.swatch-name { margin: 14px 0 32px; font-size: 15px; }
.specs { margin: 0 0 24px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.price { font-family: var(--display); font-weight: 300; font-size: 28px; margin: auto 0 20px; padding-top: 12px; }

.offer { margin-top: 56px; max-width: 860px; }
.offer h3 { font-size: 28px; font-weight: 300; }
.offer-sub { color: var(--ink-soft); margin-bottom: 26px; }
.offer-sub strong { color: var(--ink); font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-bottom: 26px; }
.form-grid .full { grid-column: 1 / -1; }
.offer label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.offer input, .offer select, .offer textarea {
  background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); border-radius: 0;
  font: 400 16px/1.4 var(--body); padding: 14px 14px; letter-spacing: 0; text-transform: none;
}
.offer input:focus, .offer select:focus, .offer textarea:focus { outline: none; border-color: var(--ink); }
.offer .is-invalid { border-color: var(--red-hi); }
.form-status { min-height: 1.6em; margin-top: 16px; font-size: 15px; color: var(--ink); }
.form-status.is-error { color: var(--red-hi); }

/* ---------- news / contact ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.news article { background: var(--bg); padding: 30px 26px 34px; }
.news time { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 14px; }
.news p { color: var(--ink-soft); font-size: 15.5px; }

address { font-style: normal; font-size: 19px; line-height: 1.6; margin-bottom: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { width: 130px; flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.contact-list a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.partner-box { border: 1px solid var(--line); padding: 36px 30px; background: var(--bg); }
.partner-box p { color: var(--ink-soft); margin-bottom: 26px; }

.footer { border-top: 1px solid var(--line); padding: 32px 0; background: var(--bg-deep); }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer span { font-family: var(--display); font-weight: 700; letter-spacing: 0.3em; font-size: 13px; }
.footer b { color: var(--red-hi); }
.footer .footer-note { font-family: var(--body); font-weight: 400; letter-spacing: 0; color: var(--ink-faint); font-size: 13px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .config { grid-template-columns: 1fr; }
  .viewer { min-height: 460px; }
  .news { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: block; background: none; color: var(--ink); border: 1px solid var(--ink-faint); cursor: pointer;
    font: 500 12px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; padding: 11px 14px;
  }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 10, 0.97); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-links .nav-cta { border: 0; border-bottom: 1px solid var(--line); padding: 15px 4px; }
  .two-col { grid-template-columns: 1fr; }
  .finder-form { grid-template-columns: 1fr 1fr; }
  .finder-title { grid-column: 1 / -1; max-width: none; }
  .finder .btn { grid-column: 1 / -1; }
  .hero-video { object-fit: contain; }
  .hero-actions { bottom: 6%; justify-content: center; }
  .hero-foot { bottom: calc(6% + 150px); }
  .hero-copy { top: 16%; }
}
@media (max-width: 620px) {
  .cards.four, .news, .form-grid, .finder-form { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
  .brands li { padding: 30px 8px; letter-spacing: 0.06em; font-size: 15px; min-width: 0; }
  .brands small { letter-spacing: 0.12em; font-size: 10px; }
  .viewer { min-height: 380px; }
  .btn { padding: 16px 20px; }
}
/* ---------- colour themes: jet black, soft white, flame orange ----------
   .t-white = soft white, .t-mist = soft white a shade deeper with lifted cards,
   .t-blue = the flame-orange band (name kept from the earlier palette), .t-navy = jet black. */
.section, .finder { background: var(--bg); color: var(--ink); }
.t-white {
  --bg: var(--soft); --bg-alt: #ebe6dc; --card: #fbf9f5; --hover: #ffffff;
  --ink: var(--jet); --ink-soft: rgba(10, 10, 10, 0.74); --ink-faint: rgba(10, 10, 10, 0.46); --line: rgba(10, 10, 10, 0.14);
  --red-hi: #b3410f;
}
.t-mist {
  --bg: #ebe6dc; --bg-alt: var(--soft); --card: #fbf9f5; --hover: #ffffff;
  --ink: var(--jet); --ink-soft: rgba(10, 10, 10, 0.74); --ink-faint: rgba(10, 10, 10, 0.46); --line: rgba(10, 10, 10, 0.13);
  --red-hi: #a83c0d;
}
.t-blue {
  --bg: var(--flame); --bg-alt: #cf4d1b; --card: #ea6a38; --hover: #ef7a4c;
  --ink: var(--jet); --ink-soft: rgba(10, 10, 10, 0.82); --ink-faint: rgba(10, 10, 10, 0.55); --line: rgba(10, 10, 10, 0.24);
  --red: var(--jet); --red-hi: var(--jet); --btn-ink: var(--soft);
}
.t-navy {
  --bg: var(--jet); --bg-alt: #141312; --card: #141312; --hover: #1e1c1a;
}
.section-dark { background: linear-gradient(var(--bg-deep), var(--jet) 60%, #161412); }
.card, .fact, .brands li, .news article, .partner-box { background: var(--card, var(--bg)); }
.section-alt .card { background: var(--card, var(--bg-alt)); }
.card:hover, .news article:hover { background: var(--hover); }
.t-white .cards, .t-white .facts, .t-mist .cards, .t-mist .news { box-shadow: 0 18px 50px -28px rgba(10, 10, 10, 0.4); }
.t-white .fact dd { color: var(--red-hi); }
.btn-primary { color: var(--btn-ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red); filter: brightness(1.14); }
.t-blue .btn-primary:hover, .t-blue .btn-primary:focus-visible { filter: none; background: #262422; }
.btn-ghost { background: transparent; }
.hero .btn-ghost { background: rgba(5, 5, 5, 0.5); }
.brand-hot { box-shadow: inset 0 -3px 0 var(--red-hi); }
.finder { border: 0; }
.finder-field select {
  background-color: var(--soft); color: var(--jet); border-color: var(--soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230a0a0a' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
.finder-field select:focus-visible { outline: 2px solid var(--jet); outline-offset: 3px; }
.finder-field option { background: var(--soft); color: var(--jet); }
.viewer { background: radial-gradient(ellipse 80% 70% at 50% 45%, #2a2623 0%, #121110 60%, #050505 100%); }
.footer { background: var(--bg-deep); }

/* ---------- configurator ---------- */
.config { grid-template-columns: 1fr 400px; align-items: start; }
/* The car stays in view while the visitor scrolls through the options beside it. */
.config .viewer { position: sticky; top: var(--nav-h); height: min(calc(100vh - var(--nav-h)), 760px); min-height: 420px; }
.config { background: #0d0c0b; gap: 0; }
.config-panel { padding: 0 0 28px; border-left: 1px solid var(--line); }
.config-panel > h3, .config-panel > .specs, .config-panel > .price, .config-panel > .price-note, .config-panel > .btn { margin-left: 26px; margin-right: 26px; }
.config-panel > h3 { margin-top: 26px; }
.opt-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.opt-tabs::-webkit-scrollbar { display: none; }
.opt-tab {
  flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  color: var(--ink-soft); font: 700 11.5px/1 var(--body); letter-spacing: 0.07em; text-transform: uppercase; padding: 20px 8px 18px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.opt-tab:hover { color: var(--ink); }
.opt-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.opt-pane { padding: 24px 26px 4px; min-height: 250px; }
.opt-group { margin-bottom: 22px; }
.opt-label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.opt-3d { font-size: 10px; letter-spacing: 0.1em; color: var(--jet); background: var(--red); padding: 3px 6px; }
.opt-group .swatch-name { margin: 10px 0 0; font-size: 14px; }
.swatch { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 42%), var(--c); }
.swatch.is-on { box-shadow: 0 0 0 2px var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: transparent; color: var(--ink-soft); border: 1px solid var(--line); cursor: pointer;
  font: 500 13px/1 var(--body); padding: 11px 14px; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--ink-faint); }
.chip.is-on { color: var(--jet); background: var(--soft); border-color: var(--soft); }
.chip-toggle.is-on { background: var(--red); border-color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--flame); flex-shrink: 0; }
.check-text { display: flex; flex-direction: column; gap: 3px; }
.check-text b { font-weight: 500; font-size: 15px; }
.check-text small { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.opt-note { font-size: 12.5px; line-height: 1.45; color: var(--ink-faint); margin-bottom: 14px; }
.config-panel .specs div { font-size: 14px; padding: 9px 0; }
.config-panel .price { margin-top: 18px; }
.offer-list { list-style: none; margin: -12px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.offer-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.offer-list span { color: var(--ink-soft); }
.offer-list b { font-weight: 500; text-align: right; }
@media (max-width: 1080px) {
  .config { grid-template-columns: 1fr; }
  .config .viewer { position: relative; top: 0; height: 460px; }
}
@media (max-width: 620px) { .offer-list { grid-template-columns: 1fr; } }

/* ---------- cabin view: the camera pushes into the car, then the interior fades up ---------- */
.viewer { overflow: hidden; }
.viewer canvas { transform-origin: 50% 56%; transition: transform 1s cubic-bezier(0.6, 0, 0.9, 0.4), opacity 0.7s ease 0.3s, filter 1s ease; }
.viewer.is-inside canvas { transform: scale(3.2); opacity: 0; filter: blur(10px); pointer-events: none; }
.interior {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #050505;
  opacity: 0; visibility: hidden; transform: scale(1.28); filter: blur(12px);
  transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.1s ease, visibility 0s linear 0.9s;
}
.viewer.is-inside .interior { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0.35s, 0.35s, 0.35s, 0s; }
.interior img, .interior-tint, .interior-ambient { position: absolute; inset: 0; width: 100%; height: 100%; }
.interior img { object-fit: cover; object-position: center; }
.interior-tint {
  mix-blend-mode: multiply; background-color: #242426; transition: background-color 0.5s ease;
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.interior-ambient {
  --amb: #ff6a2b; mix-blend-mode: screen; opacity: 0; transition: opacity 0.6s ease;
  background:
    radial-gradient(ellipse 26% 20% at 10% 84%, var(--amb), transparent 72%),
    radial-gradient(ellipse 26% 20% at 90% 84%, var(--amb), transparent 72%),
    radial-gradient(ellipse 30% 9% at 50% 62%, var(--amb), transparent 75%),
    linear-gradient(90deg, var(--amb), transparent 9%, transparent 91%, var(--amb));
}
.interior-ambient.is-on { opacity: 0.42; }
.interior.is-loading img, .interior.is-loading .interior-tint, .interior.is-missing img, .interior.is-missing .interior-tint { opacity: 0; }
.interior-cap {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--soft);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}
.view-switch {
  position: absolute; right: 16px; top: 14px; z-index: 4; cursor: pointer;
  background: rgba(5, 5, 5, 0.7); color: var(--soft); border: 1px solid var(--ink-faint);
  font: 700 11.5px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.view-switch:hover { border-color: var(--red); }
.view-switch[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--jet); }
/* 360° cabin panorama (cabin360.js). It is a canvas inside the viewer, so undo the push-in rules. */
.viewer .interior .interior-pano,
.viewer.is-inside .interior .interior-pano {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: none; opacity: 1; filter: none; transition: none; pointer-events: auto;
  cursor: grab; touch-action: none; outline: none;
}
.interior:not(.is-pano) .interior-pano { display: none; }
.interior.is-pano.is-grabbing .interior-pano { cursor: grabbing; }
.interior.is-pano img, .interior.is-pano .interior-tint, .interior.is-pano .interior-ambient { display: none; }
.interior-cap { pointer-events: none; }
.interior-360 {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 3; pointer-events: none;
  display: none; align-items: center; gap: 10px; padding: 9px 14px; background: rgba(5, 5, 5, 0.62);
  border: 1px solid rgba(245, 242, 236, 0.18); color: var(--soft);
  font: 700 11px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
  transition: opacity 0.6s ease;
}
.interior-360 b { color: var(--red-hi); font-weight: 800; }
.interior.is-pano .interior-360 { display: inline-flex; }
.interior.is-pano.has-moved .interior-360 { opacity: 0; }
@media (max-width: 620px) { .interior-360 { top: 64px; } }
/* Touch screens: horizontal swipe turns the cabin, vertical swipe keeps scrolling the page. */
@media (pointer: coarse) { .viewer .interior .interior-pano, .viewer.is-inside .interior .interior-pano { touch-action: pan-y; } }
.viewer-hint { right: 190px; text-align: left; left: 20px; }
.viewer.is-inside .viewer-hint, .viewer.is-inside .viewer-views, .viewer.is-inside .viewer-note { opacity: 0; pointer-events: none; }
.viewer-views, .viewer-note { transition: opacity 0.4s ease; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .viewer canvas, .interior { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

/* ---------- hero: film first, then the live car ---------- */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; cursor: grab;
  background: radial-gradient(ellipse 75% 60% at 50% 42%, #1a1816 0%, #080808 60%, #030303 100%);
  opacity: 0; pointer-events: none; transition: opacity 1.1s ease;
}
.hero-canvas:active { cursor: grabbing; }
.hero.is-live .hero-canvas { opacity: 1; pointer-events: auto; }
.hero-video { z-index: 0; }
.nav-brand { white-space: nowrap; }
.nav-links { gap: clamp(10px, 1.8vw, 34px); }
.hero-shade { z-index: 2; background: linear-gradient(rgba(5, 5, 5, 0) 78%, rgba(5, 5, 5, 0.9) 100%); }
.hero-copy, .hero-foot {
  position: absolute; left: 0; right: 0; z-index: 3; text-align: center; pointer-events: none;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero.is-live .hero-copy, .hero.is-live .hero-foot { opacity: 1; }
.hero-copy { top: 13.5%; }
.hero-title {
  margin: 0; font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(38px, 6.15vw, 118px); letter-spacing: 0.34em; padding-left: 0.34em;
}
.hero-model { margin-top: clamp(12px, 1.4vw, 26px); font-size: clamp(14px, 1.45vw, 28px); font-weight: 700; letter-spacing: 0.6em; padding-left: 0.6em; color: rgba(245, 242, 236, 0.8); }
.hero-rule { display: block; width: clamp(60px, 6.2vw, 120px); height: 2px; margin: clamp(12px, 1.4vw, 26px) auto 0; background: var(--red); }
.hero-foot { bottom: clamp(96px, 13vh, 150px); padding: 0 16px; }
.hero-tagline { font-family: var(--display); font-weight: 300; font-size: clamp(17px, 1.6vw, 30px); letter-spacing: 0.06em; }
.hero-hint { margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-faint); transition: opacity 0.5s ease; }
.hero.is-grabbed .hero-hint { opacity: 0; }
.hero-actions, .intro-skip { z-index: 5; }
/* The buttons sit over the canvas; only they take clicks, the rest of the strip lets drags through. */
.hero-actions { pointer-events: none !important; }
body:not(.intro-playing) .hero-actions .btn { pointer-events: auto; }

@media (max-width: 860px) {
  .hero-copy { top: 15%; }
  .hero-foot { bottom: calc(6% + 158px); }
  .hero-hint { letter-spacing: 0.24em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Porsche Sever sections ---------- */
/* Used cars (Das WeltAuto) */
.used { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-bottom: 36px; }
.used-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--card, var(--bg));
  border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.used-card:hover, .used-card:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10, 10, 10, 0.55); }
.used-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--line); }
.used-card.used-text { border-top: 3px solid var(--red-hi); }
.used-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.used-body h3 { font-size: 19px; margin: 0; }
.used-meta { color: var(--ink-soft); font-size: 14px; margin: 0; }
.used-price { margin: auto 0 0; padding-top: 10px; font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--red-hi); }

/* Service booking */
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 2px; background: currentColor; }
.ticks b { display: block; color: var(--ink); font-weight: 600; }
.booking { margin-top: 0; max-width: none; }
.offer label.check { flex-direction: row; align-items: center; gap: 12px; letter-spacing: 0.08em; text-transform: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.offer label.check input { width: 20px; height: 20px; accent-color: var(--jet); }

/* Ratings */
.rating { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; margin-bottom: 36px; }
.rating-score { font-family: var(--display); font-weight: 300; font-size: clamp(56px, 8vw, 96px); line-height: 1; margin: 0; color: var(--ink-soft); }
.rating-score span { color: var(--red-hi); font-weight: 500; }
.rating-meta { margin: 0; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.quotes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quotes li { background: var(--card, var(--bg)); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.quotes q { font-family: var(--display); font-size: 21px; font-weight: 300; quotes: "„" "“"; }
.quotes span { color: var(--ink-faint); font-size: 13px; }

/* Team */
.team { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.team li { background: var(--card, var(--bg)); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.team b { font-weight: 600; }
.team span { color: var(--ink-soft); font-size: 14px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border: 1px solid var(--line); padding: 30px; }
.job h3 { margin: 0 0 8px; }
.job p:not(.kicker) { color: var(--ink-soft); margin: 0; }
.job .kicker { margin-bottom: 12px; }

/* Opening hours */
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 15px; }
.hours th, .hours td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.hours tbody th { font-weight: 500; }
.hours td { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 1080px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .used { grid-template-columns: 1fr 1fr; gap: 10px; }
  .used-body { padding: 12px 12px 14px; gap: 4px; }
  .used-body h3 { font-size: 15px; }
  .used-meta { font-size: 12px; }
  .used-price { font-size: 17px; padding-top: 6px; }
  .quotes { grid-template-columns: 1fr; }
  .hours th, .hours td { padding-right: 4px; font-size: 14px; }
}

/* ---------- drive hero: the intro film hands over to a looping drive, price and equipment on top ---------- */
.hero--drive { height: 100svh; min-height: 640px; }
.hero-drive { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.drive-on .hero-drive { opacity: 1; }
.hero--drive .drive-shade { z-index: 2; background: linear-gradient(to left, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.78) 30%, rgba(5, 5, 5, 0) 58%), linear-gradient(rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0) 22%); opacity: 0; transition: opacity 700ms ease; }
.drive-on .drive-shade { opacity: 1; }
.drive-card {
  position: absolute; z-index: 4; right: clamp(16px, 5vw, 80px); top: 50%; transform: translateY(-46%);
  width: min(440px, 38vw); color: var(--soft);
  opacity: 0; visibility: hidden; transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 200ms, transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 200ms, visibility 0s 900ms;
}
.drive-on .drive-card { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 200ms, 200ms, 0s; }
.drive-title { font: 700 clamp(44px, 5vw, 76px)/0.95 var(--display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.drive-trim { margin-top: 10px; font-size: 16px; color: rgba(245, 242, 236, 0.78); }
.drive-toggle { display: inline-flex; margin-top: 28px; border: 1px solid rgba(245, 242, 236, 0.3); border-radius: 999px; padding: 3px; }
.drive-toggle button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(245, 242, 236, 0.8); font: 500 14px/1 var(--body); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.drive-toggle button[aria-pressed="true"] { background: var(--soft); color: var(--jet); }
.drive-toggle button:focus-visible, .drive-pause:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.drive-price { margin-top: 14px; font: 700 clamp(40px, 4.2vw, 60px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.drive-price small { font: 500 18px/1 var(--body); color: rgba(245, 242, 236, 0.75); letter-spacing: 0; }
.drive-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: rgba(245, 242, 236, 0.72); max-width: 46ch; }
.drive-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(245, 242, 236, 0.18); }
.drive-facts dt { font-size: 12px; color: rgba(245, 242, 236, 0.62); }
.drive-facts dd { margin: 4px 0 0; font: 500 16px/1.25 var(--body); }
.drive-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 20px 0 0; padding: 0; font-size: 14px; color: rgba(245, 242, 236, 0.86); }
.drive-feats li:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px; border-radius: 50%; background: var(--red-hi); vertical-align: middle; }
.drive-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.drive-pause { position: absolute; z-index: 5; left: clamp(16px, 4vw, 56px); bottom: 24px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(245, 242, 236, 0.35); border-radius: 999px; background: rgba(5, 5, 5, 0.55); color: var(--soft); font: 500 13px/1 var(--body); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 400ms ease; }
.drive-on .drive-pause { opacity: 1; visibility: visible; }
@media (max-width: 860px) {
  .hero--drive { height: auto; min-height: 0; padding-top: 56vw; background: var(--jet); }
  .hero--drive .hero-video, .hero--drive .hero-drive { height: 56vw; bottom: auto; }
  .intro-playing .hero--drive { height: 100svh; padding-top: 0; }
  .intro-playing .hero--drive .hero-video { height: 100%; }
  .hero--drive .drive-shade { background: linear-gradient(rgba(5, 5, 5, 0) 30vw, var(--jet) 56vw); }
  .drive-card { position: relative; right: auto; top: auto; transform: none; width: auto; padding: 8px clamp(16px, 5vw, 32px) 40px; }
  .drive-on .drive-card { transform: none; }
  .drive-pause { top: calc(56vw - 56px); bottom: auto; left: auto; right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-drive, .drive-card, .drive-shade { transition: none; } }

/* ---------- loan calculator ---------- */
.rate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rate-intro h2 { margin-bottom: 18px; }
.rate-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.rate-form label { display: grid; gap: 8px; min-width: 0; font-size: 14px; color: var(--ink-soft); }
.rate-form label output { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.rate-form input[type=number], .rate-form select { width: 100%; max-width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: 400 16px/1 var(--body); }
.rate-form input[type=range] { min-height: 44px; accent-color: var(--red); }
.rate-out { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }
.rate-label { font-size: 14px; color: var(--ink-soft); }
.rate-big { margin-top: 6px; font: 700 clamp(36px, 4vw, 52px)/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rate-sum { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.rate-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 860px) { .rate-grid, .rate-form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- trust strip ---------- */
.trust { background: var(--jet); color: var(--soft); border-bottom: 1px solid rgba(245, 242, 236, 0.12); }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 auto; padding: 28px 0; }
.trust-list li { display: grid; gap: 4px; }
.trust-list b { font: 700 clamp(22px, 2.4vw, 32px)/1 var(--display); color: var(--soft); }
.trust-list span { font-size: 14px; color: rgba(245, 242, 236, 0.74); }
@media (max-width: 860px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 24px 0; } }

/* ---------- offers ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.offer-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; transition: transform 200ms ease, box-shadow 200ms ease; }
.offer-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
.offer-card h3 { font: 700 20px/1.2 var(--display); }
.offer-card p { color: var(--ink-soft); flex: 1; }
.offer-card .text-link { align-self: flex-start; color: var(--red-hi); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1000px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.loc-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.loc-card h3 { font: 700 22px/1.2 var(--display); }
.loc-addr { font-weight: 600; }
.loc-what { color: var(--ink-soft); flex: 1; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.loc-actions .btn { padding: 12px 16px; }
.loc-note { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font: 600 18px/1.35 var(--body); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font: 400 26px/1 var(--body); color: var(--red-hi); transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 65ch; line-height: 1.6; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- chat assistant ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.chat-open { position: fixed; z-index: 60; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--flame); color: #fff; font: 600 15px/1 var(--body); cursor: pointer; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3); transition: transform 200ms ease, opacity 300ms ease; }
.chat-open:hover { transform: translateY(-2px); }
.chat-open:focus-visible, .chat-close:focus-visible, .chat-chips button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.intro-playing .chat-open, .chat-is-open .chat-open { opacity: 0; pointer-events: none; }
.chat-panel { position: fixed; z-index: 70; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 120px)); display: flex; flex-direction: column; background: #fff; color: #0f172a; border-radius: 16px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: #0f172a; color: #f8fafc; }
.chat-head b { display: block; font: 700 16px/1.2 var(--display); }
.chat-head small { display: block; margin-top: 2px; font-size: 12px; color: rgba(248, 250, 252, 0.75); }
.chat-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-line; }
.chat-bot { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }
.chat-me { align-self: flex-end; background: #0f172a; color: #f8fafc; border-bottom-right-radius: 4px; }
.chat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: #fee2e2; color: #991b1b; font-size: 13px; font-weight: 600; text-decoration: none; }
.chat-chips { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; background: #fff; }
.chat-chips button { flex-shrink: 0; min-height: 36px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #0f172a; font: 500 13px/1 var(--body); cursor: pointer; }
.chat-chips button:hover { border-color: var(--flame); }
.chat-form { display: flex; gap: 8px; padding: 12px; background: #fff; }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: 400 16px/1 var(--body); color: #0f172a; }
.chat-form input:focus-visible { outline: 2px solid var(--flame); outline-offset: 1px; }
.chat-form .btn { padding: 0 16px; min-height: 44px; }
.action-bar { display: none; }
@media (max-width: 860px) {
  .chat-open { display: none; }
  .action-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #0f172a; border-top: 1px solid rgba(248, 250, 252, 0.12); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a, .action-bar button { display: grid; place-items: center; min-height: 56px; border: 0; background: transparent; color: #f8fafc; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; }
  .action-bar a + a, .action-bar button { border-left: 1px solid rgba(248, 250, 252, 0.12); }
  .action-bar a:nth-child(2) { background: var(--flame); }
  .intro-playing .action-bar { display: none; }
  body.has-action-bar { padding-bottom: 56px; }
  .chat-panel { right: 8px; left: 8px; bottom: 8px; width: auto; height: calc(100svh - 16px); }
}
@media (prefers-reduced-motion: reduce) { .offer-card, .chat-open, .faq summary::after { transition: none; } }
