:root {
  color-scheme: dark;
  --bg: #080a0e;
  --bg-2: #0e1117;
  --panel: #12161e;
  --panel-2: #181d27;
  --panel-3: #202733;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #f4f6f8;
  --muted: #aab2bf;
  --muted-2: #747e8d;
  --gold: #A85D36;
  --gold-2: #E7A778;
  --green: #62d39b;
  --red: #ff7b7b;
  --amber: #f6c66b;
  --blue: #78aefb;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --radius: 22px;
  --radius-sm: 13px;
  --max: 1480px;
  --header-h: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% -10%, rgba(196,119,73,.10), transparent 35%), var(--bg); color: var(--text); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 48px 48px; z-index: -1; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); backdrop-filter: blur(22px); background: rgba(8,10,14,.80); border-bottom: 1px solid var(--line); }
.header-inner { width: min(var(--max), calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 38px; height: 38px; }
.brand strong { display: block; letter-spacing: .02em; font-size: 17px; }
.brand small { display: block; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-link { padding: 10px 13px; border-radius: 10px; color: var(--muted); font-size: 14px; background: transparent; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.06); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.language-switcher { display:flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.035); }
.language-choice { min-width:32px; height:30px; padding:0 8px; border-radius:7px; color:var(--muted); background:transparent; cursor:pointer; font-size:10px; font-weight:750; letter-spacing:.02em; white-space:nowrap; }
.language-choice:hover, .language-choice.active { color:var(--text); background:rgba(255,255,255,.10); }
.language-choice[aria-pressed="true"] { box-shadow:inset 0 0 0 1px rgba(196,119,73,.36); }
.menu-toggle { display: none; }
.page { min-height: calc(100vh - var(--header-h)); }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 84px 0; }
.section.compact { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2, .section-head h1 { margin: 0; }
.section-kicker, .eyebrow { color: var(--gold-2); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .18em; }
h1 { font-size: clamp(42px, 6vw, 88px); line-height: .96; letter-spacing: -.055em; margin: 18px 0 24px; }
h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.035em; line-height: 1.05; }
h3 { letter-spacing: -.018em; }
p { line-height: 1.7; }
.brand-line { margin: -7px 0 18px; color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; }
.lede { color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 10px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.gold { color: var(--gold-2); }
.hero { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; border: 1px solid rgba(196,119,73,.14); border-radius: 50%; right: -220px; top: -180px; box-shadow: 0 0 0 100px rgba(196,119,73,.016), 0 0 0 200px rgba(196,119,73,.01); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); align-items: center; gap: 24px; padding: 60px 0; position: relative; z-index: 1; }
.hero-copy { padding: 30px 0; }
.hero-copy h1 span { display: block; color: var(--gold-2); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-visual { position: relative; min-height: 580px; display: grid; place-items: center; }
.hero-stage { position: absolute; inset: 5% -4% 5% 0; border-radius: 50% 50% 35% 35%; background: radial-gradient(circle at 55% 55%, rgba(196,119,73,.20), rgba(28,34,44,.45) 42%, transparent 68%); filter: blur(.2px); }
.hero-car { width: 100%; position: relative; transform: translateY(24px); filter: drop-shadow(0 45px 35px rgba(0,0,0,.58)); }
.hero-card-float { position: absolute; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17,21,29,.86); backdrop-filter: blur(16px); box-shadow: var(--shadow); font-size: 12px; color: var(--muted); }
.hero-card-float strong { color: var(--text); font-size: 14px; display: block; margin-bottom: 3px; }
.hero-card-float.one { left: 2%; bottom: 15%; }
.hero-card-float.two { right: 1%; top: 22%; }
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.trust-item { background: var(--bg-2); padding: 28px 34px; }
.trust-item strong { display: block; font-size: 24px; margin-bottom: 5px; }
.trust-item span { color: var(--muted); font-size: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 17px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 13px; transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), #9f512f); color: #ffffff; box-shadow: 0 10px 28px rgba(196,119,73,.18); }
.btn-secondary { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,.055); }
.btn-ghost { color: var(--muted); background: transparent; }
.btn-danger { background: rgba(255,92,92,.12); color: #ffabab; border: 1px solid rgba(255,92,92,.24); }
.btn-success { background: rgba(98,211,155,.14); color: #8ce6b8; border: 1px solid rgba(98,211,155,.25); }
.btn-small { min-height: 34px; padding: 0 11px; font-size: 11px; border-radius: 9px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--text); cursor: pointer; font-size: 22px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card, .glass-card { background: linear-gradient(145deg, rgba(25,30,40,.94), rgba(15,18,24,.96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.card { padding: 22px; }
.card.clickable { cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card.clickable:hover { transform: translateY(-4px); border-color: rgba(196,119,73,.38); box-shadow: var(--shadow); }
.vehicle-card { overflow: hidden; padding: 0; min-height: 360px; display: flex; flex-direction: column; }
.vehicle-thumb { min-height: 190px; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 72%, rgba(196,119,73,.15), transparent 56%), linear-gradient(145deg, #1a202b, #0d1016); overflow: hidden; }
.vehicle-thumb::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 24px; height: 14px; border-radius: 50%; background: #000; filter: blur(11px); opacity: .62; }
.vehicle-thumb svg { width: 93%; z-index: 1; filter: drop-shadow(0 18px 14px rgba(0,0,0,.42)); }
.vehicle-thumb .real-car-visual { width:100%; height:100%; min-height:190px; z-index:1; }
.vehicle-thumb .real-car-visual img { width:100%; height:100%; min-height:190px; object-fit:cover; }
.vehicle-thumb .real-car-visual figcaption { display:none; }
.vehicle-card-kickers { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.founder-chip { border-color:rgba(231,167,120,.55); color:var(--gold-2); background:rgba(196,119,73,.12); }
.dealer-sourcing-section { border-top:1px solid var(--line); background:linear-gradient(180deg,rgba(196,119,73,.04),transparent 42%); }
.dealer-listing-card { overflow:hidden; padding:0; }
.dealer-listing-media { min-height:210px; background:#090a0c; }
.dealer-listing-media .real-car-visual { min-height:210px; }
.dealer-listing-media figcaption { display:none; }
.dealer-listing-body { padding:20px; }
.dealer-listing-body h3 { margin:14px 0; }
.sourcing-empty { padding:28px; display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center; }
.sourcing-empty p { color:var(--muted); margin:5px 0 0; max-width:860px; }
.vehicle-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.vehicle-body h3 { margin: 5px 0 8px; font-size: 20px; }
.vehicle-body p { color: var(--muted); font-size: 13px; margin: 0 0 16px; flex: 1; }
.category-chip, .pill, .status { display: inline-flex; align-items: center; width: max-content; border-radius: 999px; font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.category-chip { padding: 7px 10px; background: rgba(196,119,73,.10); color: var(--gold-2); border: 1px solid rgba(196,119,73,.19); }
.pill { padding: 6px 9px; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }
.status { padding: 6px 9px; border: 1px solid transparent; }
.status-success, .status-verified, .status-completed, .status-paid, .status-accepted, .status-passed, .status-delivered, .status-won { color: #91e6ba; background: rgba(98,211,155,.12); border-color: rgba(98,211,155,.20); }
.status-warning, .status-conditional, .status-manual_review, .status-pending, .status-open, .status-issued, .status-qualified, .status-negotiation { color: #6ecfff; background: rgba(246,198,107,.11); border-color: rgba(246,198,107,.20); }
.status-danger, .status-not_compatible, .status-failed, .status-declined, .status-cancelled, .status-lost { color: #ffaaaa; background: rgba(255,123,123,.11); border-color: rgba(255,123,123,.20); }
.status-info, .status-restricted_review, .status-restricted, .status-in_progress, .status-planning, .status-procurement, .status-workshop { color: #a9cbff; background: rgba(120,174,251,.11); border-color: rgba(120,174,251,.20); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.035); cursor: pointer; }
.filter-btn.active, .filter-btn:hover { color: #151009; background: var(--gold-2); border-color: var(--gold-2); }
.workflow-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; counter-reset: step; }
.workflow-step { padding: 22px; border-top: 1px solid var(--line-strong); position: relative; }
.workflow-step::before { counter-increment: step; content: "0" counter(step); display: block; color: var(--gold-2); font-family: ui-monospace, monospace; font-size: 11px; margin-bottom: 28px; }
.workflow-step h3 { margin: 0 0 8px; font-size: 16px; }
.workflow-step p { color: var(--muted); font-size: 12px; margin: 0; }
.notice { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(246,198,107,.24); background: rgba(246,198,107,.08); color: #89d7ff; font-size: 13px; line-height: 1.55; }
.notice.info { border-color: rgba(120,174,251,.22); background: rgba(120,174,251,.08); color: #bed6fa; }
.notice.success { border-color: rgba(98,211,155,.22); background: rgba(98,211,155,.08); color: #a2e6c2; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.form-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.input, input, select, textarea { width: 100%; color: var(--text); background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; outline: 0; }
input:focus, select:focus, textarea:focus { border-color: rgba(196,119,73,.65); box-shadow: 0 0 0 3px rgba(196,119,73,.09); }
textarea { min-height: 100px; resize: vertical; }
option { background: #151922; }
.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-row input { width: 18px; margin-top: 3px; }
.config-layout { display: grid; grid-template-columns: minmax(500px, 1.15fr) minmax(420px, .85fr); gap: 20px; align-items: start; }
.config-stage { position: sticky; top: calc(var(--header-h) + 18px); overflow: hidden; min-height: calc(100vh - var(--header-h) - 36px); display: flex; flex-direction: column; }
.config-visual { flex: 1; min-height: 420px; background: radial-gradient(circle at 50% 62%, rgba(196,119,73,.14), transparent 52%), linear-gradient(145deg,#171d27,#090b0f); display: grid; place-items: center; position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.config-visual::after { content:"PRIVATE PROTOTYPE VISUAL"; position:absolute; bottom:14px; right:18px; color:rgba(255,255,255,.28); font-size:9px; letter-spacing:.15em; }
.config-visual svg { width: 96%; max-height: 440px; filter: drop-shadow(0 36px 28px rgba(0,0,0,.58)); }
.real-car-visual { position:relative; width:100%; height:100%; min-height:inherit; margin:0; overflow:hidden; background:#090a0c; }
.real-car-visual img { display:block; width:100%; height:100%; min-height:inherit; object-fit:contain; object-position:center; }
.real-car-visual::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; box-shadow:inset 0 0 90px rgba(0,0,0,.44); }
.real-car-visual figcaption { position:absolute; z-index:4; inset:auto 18px 16px; display:flex; justify-content:space-between; gap:14px; color:rgba(243,239,232,.78); font-size:9px; line-height:1.3; letter-spacing:.08em; text-transform:uppercase; }
.real-car-visual figcaption strong { color:var(--gold-2); }
.hero-car .real-car-visual { min-height:420px; border-radius:24px; border:1px solid rgba(255,255,255,.08); box-shadow:0 35px 70px rgba(0,0,0,.45); }
.hero-car .real-car-visual img { object-fit:cover; }
.view-controls { position: absolute; z-index:5; top: 15px; left: 15px; display: flex; padding: 4px; gap: 3px; background: rgba(7,9,13,.72); border: 1px solid var(--line); border-radius: 11px; backdrop-filter: blur(12px); }
.preview-mode-controls { position:absolute; top:15px; right:15px; z-index:5; display:flex; padding:4px; gap:3px; background:rgba(7,9,13,.78); border:1px solid var(--line); border-radius:11px; backdrop-filter:blur(12px); }
.view-btn { padding: 8px 11px; color: var(--muted); background: transparent; border-radius: 8px; cursor: pointer; font-size: 11px; }
.view-btn.active { background: rgba(255,255,255,.11); color: var(--text); }
.config-summary { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 19px 22px; align-items: center; }
.price-large { font-size: 27px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.config-panel { display: grid; gap: 16px; }
.config-section { padding: 22px; }
.config-section h3 { margin: 0 0 15px; }
.swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); cursor: pointer; position: relative; }
.swatch.active::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--gold-2); border-radius: 50%; }
.product-groups { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 13px; scrollbar-width: thin; }
.product-list { display: grid; gap: 10px; max-height: 560px; overflow: auto; padding-right: 4px; }
.product-option { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; }
.product-option:hover { border-color: var(--line-strong); }
.product-option.selected { border-color: rgba(196,119,73,.52); background: rgba(196,119,73,.065); }
.product-option.incompatible { opacity: .55; cursor: not-allowed; }
.product-option h4 { margin: 0 0 5px; font-size: 14px; }
.product-option p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.product-price { text-align: end; font-weight: 750; font-size: 13px; white-space: nowrap; }
.line-list { display: grid; gap: 8px; }
.line-item { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.line-item:last-child { border-bottom: 0; }
.portal-layout, .admin-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 22px; padding: 28px 0 80px; }
.portal-sidebar, .admin-sidebar { position: sticky; top: calc(var(--header-h) + 20px); height: fit-content; padding: 14px; }
.side-nav { display: grid; gap: 4px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: var(--muted); border-radius: 10px; cursor: pointer; background: transparent; text-align: start; }
.side-link:hover, .side-link.active { background: rgba(255,255,255,.07); color: var(--text); }
.side-link .side-icon { width: 22px; text-align: center; color: var(--gold-2); }
.workspace { min-width: 0; }
.workspace-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 22px; }
.workspace-head h1 { font-size: clamp(30px,4vw,52px); margin: 7px 0 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 20px; }
.metric { padding: 18px; }
.metric span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.metric strong { font-size: 26px; letter-spacing: -.04em; }
.data-card { padding: 0; overflow: hidden; margin-bottom: 16px; }
.data-card-head { padding: 17px 19px; display: flex; justify-content: space-between; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); }
.data-card-head h3 { margin: 0; font-size: 15px; }
.data-card-body { padding: 18px 19px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px 14px; text-align: start; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: top; }
th { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; background: rgba(255,255,255,.022); }
tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8f4529,var(--gold-2)); }
.timeline { display: grid; }
.timeline-item { display: grid; grid-template-columns: 25px 1fr; gap: 13px; padding-bottom: 18px; }
.timeline-marker { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--panel-3); border: 2px solid var(--muted-2); position: relative; }
.timeline-item:not(:last-child) .timeline-marker::after { content:""; position:absolute; width:1px; height:40px; background:var(--line-strong); left:3px; top:12px; }
.timeline-item.completed .timeline-marker { background: var(--green); border-color: var(--green); }
.message-thread { display: grid; gap: 12px; max-height: 520px; overflow: auto; padding: 5px; }
.message { max-width: 78%; padding: 13px 15px; border-radius: 15px 15px 15px 4px; background: rgba(255,255,255,.065); }
.message.own { margin-inline-start: auto; background: rgba(196,119,73,.13); border-radius: 15px 15px 4px 15px; }
.message p { margin: 0 0 5px; font-size: 13px; }
.message small { color: var(--muted-2); }
.empty { display: grid; place-items: center; text-align: center; min-height: 220px; padding: 30px; color: var(--muted); }
.empty strong { color: var(--text); display: block; margin-bottom: 8px; }
.access-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 50px 0; }
.access-grid { display: grid; grid-template-columns: 1.05fr .95fr; max-width: 1040px; width: calc(100% - 40px); overflow: hidden; }
.access-visual { min-height: 610px; padding: 50px; background: radial-gradient(circle at 50% 70%, rgba(196,119,73,.18), transparent 45%), linear-gradient(145deg,#1b222e,#0c0f15); display: flex; flex-direction: column; justify-content: space-between; }
.access-form { padding: 50px; background: var(--panel); }
.access-form h1 { font-size: 42px; margin: 12px 0 12px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 10px; margin: 23px 0; }
.divider::before, .divider::after { content:""; height:1px; background:var(--line); flex:1; }
.modal-shell { width: min(680px, calc(100% - 28px)); max-height: 88vh; overflow: auto; padding: 0; color: var(--text); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow); }
.modal-shell::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.modal-close-row { display: flex; justify-content: flex-end; padding: 12px 12px 0; margin: 0; }
.modal-content-inner { padding: 0 26px 28px; }
.modal-content-inner h2 { font-size: 27px; margin: 0 0 8px; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: grid; gap: 9px; width: min(390px, calc(100% - 36px)); }
.toast { padding: 14px 16px; border-radius: 12px; background: #1c222d; border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: toastIn .25s ease; font-size: 13px; }
.toast.error { border-color: rgba(255,123,123,.36); }
.toast.success { border-color: rgba(98,211,155,.36); }
@keyframes toastIn { from { transform: translateY(12px); opacity:0 } }
.loading { min-height: 70vh; display: grid; place-items: center; }
.spinner { width: 42px; height: 42px; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--gold-2); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer { border-top: 1px solid var(--line); padding: 38px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.rtl { direction: rtl; }
html[dir="rtl"] .hero::after { right:auto; left:-220px; }
html[dir="rtl"] .hero-card-float.one { left:auto; right:2%; }
html[dir="rtl"] .hero-card-float.two { right:auto; left:1%; }
html[dir="rtl"] .toast-region { right:auto; left:18px; }
html[dir="rtl"] .product-list { padding-right:0; padding-left:4px; }
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 500px; }
  .card-grid.four { grid-template-columns: repeat(2,1fr); }
  .workflow-grid { grid-template-columns: repeat(3,1fr); }
  .config-layout { grid-template-columns: 1fr; }
  .config-stage { position: relative; top: 0; min-height: auto; }
  .config-visual { min-height: 500px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header-inner { width: min(100% - 24px, var(--max)); }
  .main-nav { display:none; position:absolute; top:calc(100% + 1px); left:0; right:0; padding:12px; background:rgba(10,12,16,.98); border-bottom:1px solid var(--line); }
  .main-nav.open { display:grid; }
  .menu-toggle { display:grid; }
  .hero { min-height:auto; }
  .hero-grid { grid-template-columns: 1fr; padding:55px 0 20px; }
  .hero-visual { min-height:430px; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .workflow-grid { grid-template-columns: repeat(2,1fr); }
  .portal-layout, .admin-layout { grid-template-columns:1fr; }
  .sourcing-empty { grid-template-columns:1fr; }
  .portal-sidebar, .admin-sidebar { position:relative; top:0; overflow-x:auto; padding:8px; }
  .side-nav { display:flex; min-width:max-content; }
  .side-link { white-space:nowrap; }
  .access-grid { grid-template-columns:1fr; }
  .access-visual { display:none; }
  .access-form { padding:36px; }
}
@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 24px, var(--max)); }
  .section { padding:58px 0; }
  .header-actions .header-portal-label { display:none; }
  .language-switcher { gap:2px; padding:2px; }
  .language-choice { min-width:28px; height:28px; padding:0 6px; font-size:9px; }
  .brand small { display:none; }
  h1 { font-size:44px; }
  .hero-visual { min-height:340px; }
  .hero-card-float { display:none; }
  .trust-strip { grid-template-columns:1fr 1fr; }
  .trust-item { padding:20px 16px; }
  .trust-item strong { font-size:19px; }
  .card-grid, .card-grid.four { grid-template-columns:1fr; }
  .workflow-grid { grid-template-columns:1fr; }
  .split, .form-grid, .form-grid.three { grid-template-columns:1fr; }
  .config-visual { min-height:330px; }
  .config-summary { grid-template-columns:1fr; }
  .product-list { max-height:none; }
  .metric-grid { grid-template-columns:1fr 1fr; }
  .workspace-head { display:block; }
  .workspace-head .button-row { margin-top:14px; }
  .access-form { padding:28px 22px; }
  .footer-grid { display:grid; }
}


/* Trilingual English / Arabic / French release */
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}
html[dir="rtl"] .brand { direction: ltr; }
html[dir="rtl"] .brand small { direction: rtl; text-align: right; }
html[dir="rtl"] .workspace-head,
html[dir="rtl"] .section-head,
html[dir="rtl"] .data-card-head { text-align: right; }
html[dir="rtl"] th, html[dir="rtl"] td { text-align: right; }
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[name="vinLast6"],
html[dir="rtl"] .mono { direction: ltr; unicode-bidi: isolate; text-align: left; }
html[dir="rtl"] .product-price { text-align: left; }
html[dir="rtl"] .timeline-item:not(:last-child) .timeline-marker::after { left: auto; right: 3px; }


/* Arabic layout containment and complete responsive configurator */
.config-stage, .config-panel, .config-layout, .product-groups, .product-list { min-width: 0; max-width: 100%; }
.product-groups { overscroll-behavior-inline: contain; }
html[dir="rtl"] .view-controls { left: auto; right: 15px; }
html[dir="rtl"] .config-visual::after { right: auto; left: 18px; direction: rtl; content: "تصور تجريبي خاص"; }
html[dir="rtl"] th { letter-spacing: 0; text-transform: none; }
@media (max-width: 640px) {
  .config-layout { width: 100%; overflow: hidden; }
  .config-section { padding: 17px; }
  .product-option { grid-template-columns: minmax(0,1fr) auto; }
  .product-groups { width: 100%; }
}
.config-panel { grid-template-columns: minmax(0, 1fr); }
.config-section, .config-section > *, .form-grid, .field { min-width: 0; max-width: 100%; }

/* V3 commission atelier and ERP control surfaces */
.configurator-v3 { min-height: calc(100vh - var(--header-h)); padding: 34px 0 70px; background: radial-gradient(circle at 15% 0%, rgba(194,126,77,.13), transparent 30%), linear-gradient(180deg,#0a0d12,#0e1218 45%,#090b0f); }
.configurator-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; }
.configurator-head h1 { margin:8px 0 0; font-size:clamp(38px,5vw,66px); line-height:.96; }
.platform-meta { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.platform-meta span { border:1px solid var(--line); background:rgba(255,255,255,.025); color:var(--muted); padding:8px 11px; border-radius:999px; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.commission-steps { display:grid; grid-template-columns:repeat(5,1fr); border:1px solid var(--line); border-radius:16px; overflow:hidden; margin-bottom:20px; background:rgba(255,255,255,.018); }
.commission-step { min-height:62px; border:0; border-inline-end:1px solid var(--line); background:transparent; color:var(--muted); display:flex; align-items:center; justify-content:center; gap:9px; cursor:pointer; font:inherit; }
.commission-step:last-child { border-inline-end:0; }
.commission-step span { color:var(--muted-2); font:600 9px/1 var(--font-mono,monospace); letter-spacing:.08em; }
.commission-step.active { color:#fff; background:linear-gradient(135deg,rgba(196,119,73,.23),rgba(196,119,73,.05)); box-shadow:inset 0 -2px var(--gold-2); }
.commission-step.complete span { color:var(--gold-2); }
.config-layout-v3 { display:grid; grid-template-columns:minmax(420px,.92fr) minmax(470px,1.08fr); align-items:start; gap:20px; }
.config-stage-v3 { position:sticky; top:calc(var(--header-h) + 18px); padding:0; overflow:hidden; border-color:rgba(196,119,73,.25); }
.config-stage-v3 .config-visual { min-height:480px; border-radius:0; border:0; background:radial-gradient(circle at 50% 58%,rgba(122,137,151,.19),transparent 34%),linear-gradient(180deg,#151b24,#080a0e); }
.config-stage-v3 .config-visual svg { position:relative; z-index:2; filter:drop-shadow(0 24px 24px rgba(0,0,0,.55)); }
.config-stage-v3 .config-visual .real-car-visual { z-index:2; min-height:480px; }
.visual-grid { position:absolute; inset:0; opacity:.24; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:44px 44px; mask-image:linear-gradient(to bottom,transparent 5%,#000 35%,transparent 95%); }
.visual-caption { position:absolute; inset:auto 20px 18px; z-index:3; display:flex; justify-content:space-between; color:var(--muted-2); font:600 8px/1.2 var(--font-mono,monospace); letter-spacing:.12em; }
.visual-caption strong { color:var(--gold-2); }
.config-intelligence { display:grid; grid-template-columns:1.35fr .7fr .7fr; gap:1px; background:var(--line); border-top:1px solid var(--line); }
.config-intelligence > div { background:#121720; padding:16px 18px; }
.config-intelligence span { display:block; color:var(--muted-2); font-size:9px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:7px; }
.config-intelligence strong { font-size:15px; }
.readiness-track { height:3px; background:#1a1f28; }
.readiness-track span { display:block; height:100%; background:linear-gradient(90deg,#8e5a36,#dcab75); box-shadow:0 0 12px rgba(220,171,117,.5); }
.config-panel-v3 { min-width:0; }
.config-panel-v3 .config-section { margin-bottom:18px; }
.config-section-title { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; }
.config-section-title h3 { margin:5px 0 0; font-size:25px; }
.journey-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:22px; }
.journey-card { min-height:74px; padding:14px; border:1px solid var(--line); border-radius:13px; background:#11161e; color:var(--text); display:flex; justify-content:space-between; align-items:center; text-align:start; cursor:pointer; }
.journey-card span { font:600 10px/1 var(--font-mono,monospace); color:var(--muted-2); }
.journey-card.active { border-color:var(--gold-2); background:linear-gradient(135deg,rgba(196,119,73,.17),rgba(255,255,255,.02)); }
.preset-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:22px; }
.preset-card { display:grid; grid-template-columns:38px 1fr; column-gap:11px; text-align:start; border:1px solid var(--line); border-radius:13px; color:var(--text); background:#11161e; padding:12px; cursor:pointer; }
.preset-card:hover { border-color:var(--gold-2); transform:translateY(-1px); }
.preset-card small { grid-column:2; color:var(--muted); margin-top:4px; }
.preset-swatch { grid-row:span 2; width:38px; height:38px; border-radius:50%; border:3px solid #222; box-shadow:inset 0 0 0 1px rgba(255,255,255,.2); }
.preset-swatch.signature { background:linear-gradient(135deg,#a8b0b8 48%,#b67a4b 50%); }
.preset-swatch.executive { background:linear-gradient(135deg,#111318 48%,#5a3c30 50%); }
.preset-swatch.desert { background:linear-gradient(135deg,#78533b 48%,#373b33 50%); }
.preset-swatch.track { background:linear-gradient(135deg,#143e61 48%,#9b2f30 50%); }
.step-footer { display:flex; justify-content:space-between; gap:12px; margin-top:22px; }
.step-rail { display:flex; justify-content:center; gap:6px; flex-wrap:wrap; }
.step-rail button { width:9px; height:9px; padding:0; overflow:hidden; border:0; border-radius:999px; background:#343b46; color:transparent; cursor:pointer; }
.step-rail button.active { width:32px; background:var(--gold-2); }
.readiness-badge { display:grid; place-items:center; width:55px; height:55px; border-radius:50%; border:2px solid var(--gold-2); color:var(--gold-2); font-weight:700; }
.review-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.selected-scope { margin-top:18px; padding:4px 16px; border:1px solid var(--line); border-radius:13px; background:#0f141b; max-height:240px; overflow:auto; }
.selected-scope > div { display:flex; justify-content:space-between; gap:15px; padding:11px 0; border-bottom:1px solid var(--line); font-size:12px; }
.selected-scope > div:last-child { border-bottom:0; }
.admin-sidebar { max-height:calc(100vh - var(--header-h) - 48px); overflow:auto; scrollbar-width:thin; }
.admin-layout { grid-template-columns:220px minmax(0,1fr); }
.admin-layout .workspace { min-width:0; }
.admin-layout table { min-width:760px; }

@media (max-width:1180px) {
  .config-layout-v3 { grid-template-columns:1fr; }
  .config-stage-v3 { position:relative; top:0; }
  .config-stage-v3 .config-visual { min-height:440px; }
}
@media (max-width:900px) {
  .commission-steps { overflow-x:auto; grid-template-columns:repeat(5,minmax(130px,1fr)); }
  .configurator-head { align-items:start; flex-direction:column; }
  .platform-meta { justify-content:flex-start; }
  .admin-sidebar { max-height:none; }
}
@media (max-width:640px) {
  .configurator-v3 { padding-top:24px; }
  .commission-step { min-height:54px; }
  .config-stage-v3 .config-visual { min-height:315px; }
  .config-intelligence { grid-template-columns:1fr 1fr; }
  .config-intelligence > div:first-child { grid-column:1/-1; }
  .journey-cards,.preset-grid,.review-grid { grid-template-columns:1fr; }
  .visual-caption { display:none; }
}

/* V4 founder-garage configurator: an original ITQORA cinematic tuning interface */
.hero-v4 { background:linear-gradient(115deg,rgba(8,10,14,.98) 0 43%,rgba(8,10,14,.58)),radial-gradient(circle at 82% 48%,rgba(202,112,62,.19),transparent 36%); }
.hero-v4::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(112deg,transparent 0 65%,rgba(231,167,120,.13) 65.15%,transparent 65.3%),repeating-linear-gradient(112deg,transparent 0 92px,rgba(255,255,255,.018) 94px,transparent 96px); }
.hero-v4 .hero-copy { position:relative; z-index:2; }
.hero-v4 .hero-copy::before { content:"FOUNDER GARAGE / 04"; position:absolute; inset:-44px auto auto 0; color:rgba(255,255,255,.16); font:800 10px/1 ui-monospace,monospace; letter-spacing:.2em; }
.hero-v4 h1 { text-transform:uppercase; font-style:italic; max-width:720px; text-shadow:0 12px 44px rgba(0,0,0,.7); }
.hero-v4 .hero-car { transform:translateY(20px) skewY(-.7deg); }
.hero-v4 .hero-car::after { content:""; position:absolute; left:8%; right:-12%; bottom:3%; height:2px; background:linear-gradient(90deg,transparent,var(--gold-2),transparent); box-shadow:0 -22px 48px rgba(231,167,120,.36); }
.hero-audit { display:flex; flex-wrap:wrap; gap:8px; margin-top:35px; }
.hero-audit span { padding:8px 10px; border-inline-start:2px solid var(--gold-2); background:rgba(255,255,255,.035); color:var(--muted); font:700 9px/1 ui-monospace,monospace; letter-spacing:.08em; }

.configurator-v4 { min-height:calc(100vh - var(--header-h)); padding:26px 0 58px; overflow:hidden; background:radial-gradient(circle at 12% 0%,rgba(202,112,62,.12),transparent 25%),linear-gradient(180deg,#080a0e,#0c1016 55%,#080a0e); }
.configurator-shell { width:min(1740px,calc(100% - 34px)); margin-inline:auto; }
.configurator-v4 .configurator-head { margin:0 0 16px; }
.configurator-v4 .configurator-head h1 { margin:6px 0 0; font-size:clamp(30px,3.2vw,54px); text-transform:uppercase; font-style:italic; }
.configurator-v4 .commission-steps { margin-bottom:12px; border-radius:4px; border-color:rgba(255,255,255,.08); }
.configurator-v4 .commission-step { min-height:50px; text-transform:uppercase; font-size:11px; font-weight:750; letter-spacing:.06em; }
.config-layout-v4 { display:grid; grid-template-columns:minmax(540px,1.24fr) minmax(510px,.76fr); gap:12px; align-items:start; }
.config-stage-v4 { position:sticky; top:calc(var(--header-h) + 10px); min-width:0; overflow:hidden; border:1px solid rgba(255,255,255,.10); background:#080b10; box-shadow:0 34px 90px rgba(0,0,0,.46); clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px)); }
.stage-topbar { min-height:46px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 9px; border-bottom:1px solid var(--line); background:linear-gradient(90deg,#111720,#0a0d12); }
.stage-topbar .view-controls,.preview-mode-controls { position:static; display:flex; gap:4px; flex-wrap:wrap; z-index:auto; }
.stage-topbar .view-btn { min-height:30px; padding:0 9px; border-radius:2px; border:1px solid transparent; background:transparent; color:var(--muted-2); font:800 9px/1 ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; }
.stage-topbar .view-btn:hover,.stage-topbar .view-btn.active { color:#fff; border-color:rgba(231,167,120,.55); background:rgba(196,119,73,.16); }
.preview-mode-controls { padding:2px; background:rgba(255,255,255,.03); }
.stage-frame { position:relative; min-height:clamp(420px,46vw,660px); overflow:hidden; background:radial-gradient(circle at 58% 52%,rgba(108,123,145,.24),transparent 31%),linear-gradient(150deg,#1b222d 0,#0b0f15 48%,#05070a 100%); }
.stage-frame::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(112deg,transparent 0 78%,rgba(231,167,120,.24) 78.2%,transparent 78.5%),linear-gradient(180deg,transparent 64%,rgba(0,0,0,.76)); }
.stage-frame::after { content:"ITQORA / REAL-CAR SPECIFICATION"; position:absolute; z-index:5; top:18px; left:20px; color:rgba(255,255,255,.38); font:800 8px/1 ui-monospace,monospace; letter-spacing:.18em; }
.speed-grid { position:absolute; inset:20% -12% -28%; opacity:.3; transform:perspective(500px) rotateX(61deg) rotateZ(-4deg); transform-origin:center bottom; background-image:linear-gradient(rgba(231,167,120,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px); background-size:42px 42px; }
.stage-frame .real-car-visual { position:absolute; inset:0; z-index:2; min-height:100%; background:transparent; }
.stage-frame .real-car-visual img { width:100%; height:100%; min-height:100%; object-fit:cover; object-position:center; filter:saturate(.98) contrast(1.04); }
.stage-frame .real-car-visual::before { box-shadow:inset 0 0 130px rgba(0,0,0,.52),inset 0 -90px 80px rgba(0,0,0,.34); }
.stage-frame .real-car-visual figcaption { inset:auto 22px 18px; color:rgba(255,255,255,.58); }
.stage-path { position:absolute; z-index:6; left:22px; bottom:54px; max-width:70%; display:grid; gap:3px; text-transform:uppercase; }
.stage-path span { color:var(--gold-2); font:750 8px/1 ui-monospace,monospace; letter-spacing:.16em; }
.stage-path strong { font-size:clamp(18px,2.2vw,32px); font-style:italic; letter-spacing:-.03em; text-shadow:0 5px 20px #000; }
.stage-index { position:absolute; z-index:6; right:20px; bottom:48px; color:rgba(255,255,255,.86); font:900 clamp(34px,5vw,68px)/.8 ui-monospace,monospace; letter-spacing:-.1em; }
.stage-index small { font-size:12px; color:var(--gold-2); letter-spacing:0; }
.stage-data { display:grid; grid-template-columns:1fr 1fr; min-height:152px; border-top:1px solid var(--line); background:linear-gradient(100deg,#10151c,#0a0d12); }
.stage-prices { display:grid; grid-template-columns:repeat(3,1fr); align-items:stretch; }
.stage-prices > div { display:flex; flex-direction:column; justify-content:center; padding:16px; border-inline-end:1px solid var(--line); }
.stage-prices span,.stage-source-note { color:var(--muted-2); font:700 8px/1.35 ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; }
.stage-prices strong { margin-top:8px; font-size:clamp(14px,1.35vw,21px); }
.telemetry { padding:15px 18px; }
.telemetry-head { display:flex; justify-content:space-between; gap:12px; margin-bottom:9px; color:var(--muted); font:750 9px/1 ui-monospace,monospace; letter-spacing:.08em; }
.telemetry-head strong { color:var(--gold-2); }
.telemetry-row { display:grid; grid-template-columns:60px 1fr 24px; align-items:center; gap:7px; margin:7px 0; color:var(--muted-2); font:700 8px/1 ui-monospace,monospace; text-transform:uppercase; }
.telemetry-row i { height:2px; background:rgba(255,255,255,.08); }
.telemetry-row b { display:block; height:100%; background:linear-gradient(90deg,#874727,var(--gold-2)); box-shadow:0 0 8px rgba(231,167,120,.35); }
.telemetry-row strong { color:var(--text); font-size:8px; text-align:right; }
.stage-source-note { min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 15px; border-top:1px solid var(--line); }
.stage-source-note a { color:var(--gold-2); }
.config-panel-v4 { min-width:0; }
.config-panel-v4 .config-section { margin:0 0 12px; border-radius:4px; background:linear-gradient(145deg,rgba(22,27,36,.98),rgba(12,15,21,.98)); }
.config-panel-v4 .config-section-title h3 { text-transform:uppercase; font-style:italic; }
.path-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-bottom:20px; }
.path-card { position:relative; min-height:132px; padding:15px; overflow:hidden; text-align:left; color:var(--text); border:1px solid var(--line); background:linear-gradient(145deg,#151b24,#0b0e13); cursor:pointer; clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%); }
.path-card::after { content:""; position:absolute; inset:auto 0 0; height:2px; background:transparent; }
.path-card span { display:block; margin-bottom:20px; color:var(--gold-2); font:800 9px/1 ui-monospace,monospace; }
.path-card strong { display:block; font-size:15px; text-transform:uppercase; font-style:italic; }
.path-card small { display:block; margin-top:8px; color:var(--muted); font-size:9px; line-height:1.45; }
.path-card:hover,.path-card.active { border-color:rgba(231,167,120,.58); background:linear-gradient(145deg,rgba(167,83,42,.30),#10141b); }
.path-card.active::after { background:var(--gold-2); box-shadow:0 -6px 20px rgba(231,167,120,.5); }
.brief-controls { padding:17px; border:1px solid var(--line); background:rgba(255,255,255,.02); }
.owned-value { display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:center; margin-bottom:20px; padding:15px; border-left:3px solid var(--gold-2); background:rgba(196,119,73,.08); }
.owned-value span { display:block; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.1em; }
.owned-value strong { display:block; margin-top:5px; font-size:25px; }
.owned-value p { margin:0; color:var(--muted); font-size:11px; }
.owner-gallery { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin-top:18px; }
.owner-gallery button { position:relative; min-height:88px; padding:0; overflow:hidden; border:1px solid var(--line); background:#090c11; color:#fff; cursor:pointer; }
.owner-gallery img { width:100%; height:88px; object-fit:cover; opacity:.73; }
.owner-gallery span { position:absolute; inset:auto 6px 6px; padding:4px; background:rgba(0,0,0,.68); font:700 8px/1 ui-monospace,monospace; text-transform:uppercase; }
.owner-gallery button:hover { border-color:var(--gold-2); }
.owner-gallery button:hover img { opacity:1; }
.scope-section .product-list { max-height:680px; overflow:auto; padding-right:4px; scrollbar-width:thin; }
.product-option { grid-template-columns:minmax(0,1fr) minmax(132px,auto); border-radius:3px; }
.product-heading { display:grid; grid-template-columns:auto 1fr auto; gap:9px; align-items:start; }
.product-check { display:grid; place-items:center; width:24px; height:24px; border:1px solid var(--line); color:var(--gold-2); font-weight:900; }
.product-evidence { display:flex; flex-wrap:wrap; gap:6px 12px; margin-top:10px; color:var(--muted-2); font-size:9px; }
.product-evidence a { color:var(--gold-2); text-decoration:underline; text-underline-offset:2px; }
.fitment-note { margin-top:8px!important; padding-top:8px; border-top:1px dashed rgba(255,255,255,.08); }
.product-price { min-width:132px; display:flex; flex-direction:column; align-items:flex-end; text-align:right; }
.product-price span { color:var(--muted-2); font-size:8px; text-transform:uppercase; letter-spacing:.08em; }
.product-price strong { margin:5px 0; color:var(--gold-2); font-size:17px; }
.product-price small { max-width:150px; color:var(--muted); font-size:8px; line-height:1.4; }
.placement-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.placement-card { position:relative; min-height:66px; display:grid; place-items:center; border:1px solid var(--line); background:#0d1117; cursor:pointer; text-transform:uppercase; font-size:9px; font-weight:750; letter-spacing:.07em; }
.placement-card input { position:absolute; opacity:0; }
.placement-card.active,.placement-card:has(input:checked) { border-color:var(--gold-2); color:var(--gold-2); background:rgba(196,119,73,.10); }
.field-label { display:block; margin:18px 0 8px; color:var(--muted); font-size:11px; }
.signature-preview { position:absolute; z-index:8; color:var(--signature-color); font-family:cursive; font-weight:800; font-style:italic; letter-spacing:.04em; text-shadow:0 2px 5px #000,0 0 12px rgba(0,0,0,.75); pointer-events:none; }
.signature-dashboard { left:52%; top:55%; font-size:clamp(12px,1.8vw,26px); transform:rotate(-4deg); }
.signature-seats { left:65%; top:45%; font-size:clamp(12px,1.7vw,24px); transform:rotate(-8deg); }
.signature-body { left:55%; top:58%; font-size:clamp(13px,2vw,28px); transform:rotate(-5deg); }
.signature-rims { right:16%; bottom:21%; font-size:clamp(9px,1.2vw,17px); transform:rotate(-12deg); }
.selected-scope span small { display:block; margin-top:4px; color:var(--muted-2); font-size:9px; }

/* V4.1 live specification renderer: independently controlled paint, livery and hardware layers. */
.stage-frame .real-car-visual figcaption { z-index:9; }
.real-car-visual.finish-matte img { filter:saturate(.84) contrast(1.02) brightness(.94); }
.real-car-visual.finish-satin img { filter:saturate(.94) contrast(1.03) brightness(.98); }
.real-car-visual.finish-gloss img { filter:saturate(1.02) contrast(1.06); }
.live-render-layers,.live-cabin-layers { position:absolute; inset:0; z-index:3; overflow:hidden; pointer-events:none; }
.live-render-layers > i,.live-render-layers > span,.live-cabin-layers > i { position:absolute; display:block; pointer-events:none; }
.paint-layer,.paint-depth-layer,.roof-layer,.mirror-layer,.glass-layer,.wheel-layer,.rim-layer,.caliper-layer,.light-layer {
  inset:0;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:cover;
  mask-size:cover;
  mask-mode:luminance;
}
.paint-layer { z-index:1; background:var(--body-color); mix-blend-mode:color; opacity:.82; -webkit-mask-image:var(--body-mask); mask-image:var(--body-mask); }
.paint-depth-layer { z-index:2; opacity:calc(var(--paint-depth) * .48); mix-blend-mode:screen; background:linear-gradient(118deg,transparent 22%,rgba(255,255,255,.24) 39%,transparent 53%,rgba(255,255,255,.08) 70%,transparent 84%); -webkit-mask-image:var(--body-mask); mask-image:var(--body-mask); }
.finish-matte .paint-layer { opacity:.76; mix-blend-mode:hue; }
.finish-matte .paint-depth-layer { opacity:.05; mix-blend-mode:soft-light; background:#727780; }
.finish-satin .paint-depth-layer { opacity:calc(var(--paint-depth) * .28); }
.finish-gloss .paint-depth-layer { opacity:calc(var(--paint-depth) * .52); }
.roof-layer { z-index:3; background:var(--roof-color); mix-blend-mode:color; opacity:.78; -webkit-mask-image:var(--roof-mask); mask-image:var(--roof-mask); }
.mirror-layer { z-index:5; background:var(--mirror-color); mix-blend-mode:color; opacity:.82; -webkit-mask-image:var(--mirror-mask); mask-image:var(--mirror-mask); }
.glass-layer { z-index:4; background:rgba(2,7,12,var(--window-opacity)); mix-blend-mode:multiply; -webkit-mask-image:var(--glass-mask); mask-image:var(--glass-mask); }
.wheel-layer { z-index:5; background:var(--wheel-color); mix-blend-mode:color; opacity:.86; -webkit-mask-image:var(--wheel-mask); mask-image:var(--wheel-mask); }
.rim-layer { z-index:6; background:var(--rim-accent); mix-blend-mode:color; opacity:.88; -webkit-mask-image:var(--rim-mask); mask-image:var(--rim-mask); }
.caliper-layer { z-index:7; background:var(--caliper-color); mix-blend-mode:screen; opacity:.84; -webkit-mask-image:var(--caliper-mask); mask-image:var(--caliper-mask); }
.livery-layer { inset:0; z-index:8; opacity:var(--stripe-opacity); -webkit-mask-image:var(--body-mask); mask-image:var(--body-mask); -webkit-mask-position:center; mask-position:center; -webkit-mask-size:cover; mask-size:cover; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; mask-mode:luminance; }
.livery-layer i { position:absolute; display:block; background:var(--stripe-primary); box-shadow:0 0 0 1px rgba(0,0,0,.18); }
.livery-layer i:nth-child(2) { background:var(--stripe-secondary); }
.stripe-none .livery-layer { display:none; }
.vehicle-c180.stripe-coachline .livery-layer i:first-child { left:45%; top:55.5%; width:45%; height:var(--stripe-width-thin); transform:rotate(-4deg); }
.vehicle-c180.stripe-coachline .livery-layer i:nth-child(2) { left:21%; top:58%; width:31%; height:1px; transform:rotate(-10deg); }
.vehicle-c180.stripe-dual .livery-layer i:first-child { left:16%; top:48%; width:54%; height:var(--stripe-width); transform:rotate(-12deg); clip-path:polygon(0 32%,100% 0,100% 50%,0 100%); }
.vehicle-c180.stripe-dual .livery-layer i:nth-child(2) { left:18%; top:51%; width:53%; height:var(--stripe-width-thin); transform:rotate(-12deg); }
.vehicle-c180.stripe-offset .livery-layer i:first-child { left:15%; top:43%; width:58%; height:var(--stripe-width-wide); transform:rotate(-14deg); clip-path:polygon(0 36%,100% 0,100% 58%,0 100%); }
.vehicle-c180.stripe-offset .livery-layer i:nth-child(2) { left:18%; top:49%; width:56%; height:var(--stripe-width-thin); transform:rotate(-14deg); }
.vehicle-c180.stripe-offset .livery-layer i:nth-child(3) { left:61%; top:56%; width:29%; height:var(--stripe-width); transform:rotate(-5deg); background:var(--stripe-primary); clip-path:polygon(0 0,100% 25%,92% 100%,8% 75%); }
.vehicle-triumph.stripe-coachline .livery-layer i:first-child,.vehicle-triumph.stripe-heritage .livery-layer i:first-child { left:14%; top:47%; width:76%; height:var(--stripe-width-thin); transform:rotate(-1deg); }
.vehicle-triumph.stripe-heritage .livery-layer i:nth-child(2) { left:17%; top:50%; width:70%; height:2px; transform:rotate(-1deg); }
.vehicle-triumph.stripe-offset .livery-layer i:first-child,.vehicle-triumph.stripe-dual .livery-layer i:first-child { left:14%; top:44%; width:70%; height:var(--stripe-width); transform:rotate(-5deg); }
.vehicle-triumph.stripe-offset .livery-layer i:nth-child(2),.vehicle-triumph.stripe-dual .livery-layer i:nth-child(2) { left:18%; top:49%; width:67%; height:var(--stripe-width-thin); transform:rotate(-4deg); }
.light-layer { z-index:9; background:var(--light-color); opacity:.72; mix-blend-mode:screen; filter:drop-shadow(0 0 9px var(--light-color)); -webkit-mask-image:var(--light-mask); mask-image:var(--light-mask); }
.seat-tint { z-index:3; width:17%; height:31%; background:var(--seat-color); mix-blend-mode:color; opacity:.88; border-radius:44% 44% 18% 18%; }
.live-cabin-layers.vehicle-c180 .seat-left { left:20%; top:41%; transform:rotate(-4deg); }
.live-cabin-layers.vehicle-c180 .seat-right { right:20%; top:40%; transform:rotate(4deg); }
.live-cabin-layers.vehicle-triumph .seat-left { left:19%; top:40%; }
.live-cabin-layers.vehicle-triumph .seat-right { right:19%; top:40%; }
.cabin-trim-layer { z-index:4; left:13%; right:13%; top:55%; height:5%; background:var(--stripe-primary); mix-blend-mode:color; opacity:.74; clip-path:polygon(0 38%,100% 0,98% 70%,2% 100%); }
.ambient-light-layer { z-index:5; left:14%; right:14%; top:58%; height:2px; background:var(--ambient-color); box-shadow:0 0 12px 3px var(--ambient-color); opacity:.9; }

.modifier-studio { display:grid; gap:8px; padding:0; border:0; background:transparent; }
.modifier-bank { border:1px solid var(--line); background:rgba(255,255,255,.022); }
.modifier-bank summary { min-height:48px; display:flex; align-items:center; gap:10px; padding:0 14px; cursor:pointer; list-style:none; text-transform:uppercase; letter-spacing:.06em; font-size:10px; }
.modifier-bank summary::-webkit-details-marker { display:none; }
.modifier-bank summary span { color:var(--gold-2); font:800 9px/1 ui-monospace,monospace; }
.modifier-bank summary::after { content:'+'; margin-inline-start:auto; color:var(--muted); font-size:16px; }
.modifier-bank[open] summary::after { content:'−'; }
.modifier-bank-body { padding:14px; border-top:1px solid var(--line); }
.modifier-bank .form-grid { margin-top:12px; }
.modifier-bank input[type='color'],.colour-field input[type='color'] { min-height:42px; padding:3px; cursor:pointer; }
.range-field label { display:flex; justify-content:space-between; gap:12px; }
.range-field output { color:var(--gold-2); font:700 10px/1 ui-monospace,monospace; }
.visual-live-note { margin:0; }
.render-engine-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:13px; align-items:center; min-height:76px; padding:13px 15px; border:1px solid rgba(196,119,73,.28); border-top:0; background:linear-gradient(100deg,rgba(196,119,73,.13),rgba(12,16,22,.98) 34%,rgba(9,12,17,.98)); }
.render-engine-card strong { display:block; color:#f4f1ec; font-size:12px; letter-spacing:.03em; text-transform:uppercase; }
.render-engine-card small { display:block; max-width:720px; margin-top:5px; color:var(--muted); font-size:9px; line-height:1.55; }
.render-engine-card.complete:not(.stale) { border-color:rgba(78,184,127,.35); background:linear-gradient(100deg,rgba(35,111,72,.16),rgba(12,16,22,.98) 36%); }
.render-engine-card.failed { border-color:rgba(214,75,75,.35); }
.render-engine-card.stale { border-color:rgba(222,165,69,.45); }
.render-engine-copy i { display:block; width:min(420px,100%); height:3px; margin-top:9px; overflow:hidden; background:rgba(255,255,255,.08); }
.render-engine-copy i b { display:block; height:100%; background:linear-gradient(90deg,var(--gold),#f2c199); box-shadow:0 0 14px rgba(196,119,73,.64); transition:width .45s ease; }
.render-engine-orbit { position:relative; width:34px; height:34px; border:1px solid rgba(196,119,73,.42); border-radius:50%; box-shadow:inset 0 0 16px rgba(196,119,73,.11); }
.render-engine-orbit::before,.render-engine-orbit::after { content:''; position:absolute; border-radius:50%; }
.render-engine-orbit::before { inset:6px; border:1px solid rgba(255,255,255,.22); }
.render-engine-orbit::after { width:5px; height:5px; left:50%; top:-3px; background:var(--gold-2); box-shadow:0 0 10px var(--gold-2); }
.render-engine-orbit.active { animation:render-orbit 1.25s linear infinite; }
.generated-render img { animation:render-reveal .7s ease both; }
@keyframes render-orbit { to { transform:rotate(360deg); } }
@keyframes render-reveal { from { opacity:.18; filter:blur(10px) saturate(.7); transform:scale(1.012); } to { opacity:1; filter:none; transform:none; } }
.digital-twin-gate { display:grid; grid-template-columns:minmax(150px,.35fr) 1fr auto; gap:16px; align-items:center; margin-top:16px; padding:15px; border:1px solid rgba(120,174,251,.22); background:rgba(120,174,251,.06); }
.digital-twin-gate strong { display:block; margin-top:5px; font-size:13px; text-transform:uppercase; }
.digital-twin-gate p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }

html[dir="rtl"] .stage-frame::after { left:auto; right:20px; }
html[dir="rtl"] .stage-path { left:auto; right:22px; }
html[dir="rtl"] .stage-index { right:auto; left:20px; }
html[dir="rtl"] .path-card { text-align:right; }
html[dir="rtl"] .product-price { align-items:flex-start; text-align:left; }

@media (max-width:1260px) {
  .config-layout-v4 { grid-template-columns:1fr; }
  .config-stage-v4 { position:relative; top:0; }
  .stage-frame { min-height:min(66vw,640px); }
}
@media (max-width:760px) {
  .configurator-shell { width:min(100% - 18px,1740px); }
  .stage-topbar { align-items:flex-start; flex-direction:column; }
  .stage-frame { min-height:68vw; }
  .stage-data { grid-template-columns:1fr; }
  .stage-prices { border-bottom:1px solid var(--line); }
  .path-grid { grid-template-columns:1fr; }
  .path-card { min-height:104px; }
  .path-card span { margin-bottom:10px; }
  .owner-gallery { grid-template-columns:repeat(3,1fr); }
  .placement-grid { grid-template-columns:repeat(2,1fr); }
  .owned-value { grid-template-columns:1fr; gap:8px; }
  .digital-twin-gate { grid-template-columns:1fr; }
  .render-engine-card { grid-template-columns:auto minmax(0,1fr); }
  .render-engine-card .btn { grid-column:1 / -1; width:100%; }
}
@media (max-width:520px) {
  .configurator-v4 { padding-top:16px; }
  .stage-topbar .view-btn { padding:0 6px; font-size:8px; }
  .stage-frame { min-height:78vw; }
  .stage-frame .real-car-visual figcaption,.stage-frame::after { display:none; }
  .stage-path { left:13px; bottom:22px; }
  .stage-index { right:13px; bottom:19px; }
  .stage-prices > div { padding:12px 9px; }
  .telemetry { display:none; }
  .product-option { grid-template-columns:1fr; }
  .product-price { align-items:flex-start; text-align:left; border-top:1px solid var(--line); padding-top:10px; }
  .product-heading { grid-template-columns:auto 1fr; }
  .product-heading .status { grid-column:2; justify-self:start; }
}

/* V4.4 — private commissioning gallery / engineering studio */
:root {
  color-scheme: dark;
  --bg: #0b0d0d;
  --bg-2: #101313;
  --panel: #151818;
  --panel-2: #1a1e1e;
  --panel-3: #222727;
  --line: rgba(239, 235, 226, .105);
  --line-strong: rgba(239, 235, 226, .19);
  --text: #f2eee5;
  --muted: #aba9a2;
  --muted-2: #777d7c;
  --gold: #a48551;
  --gold-2: #d0b27b;
  --champagne: #d0b27b;
  --champagne-deep: #8e7041;
  --ivory: #f2eee5;
  --titanium: #aeb5b4;
  --green: #72c59a;
  --red: #e4817b;
  --amber: #d7b66b;
  --blue: #87aabe;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1560px;
  --header-h: 72px;
  --font-display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-ui);
}

html { background: var(--bg); }
body {
  background:
    radial-gradient(circle at 76% -8%, rgba(208, 178, 123, .075), transparent 31rem),
    linear-gradient(180deg, #0b0d0d 0, #0d1010 44%, #090b0b 100%);
  color: var(--text);
  font-family: var(--font-ui);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}
body::before {
  opacity: .08;
  background-image: linear-gradient(90deg, rgba(239, 235, 226, .025) 1px, transparent 1px);
  background-size: 96px 100%;
}

h1, h2, .access-form h1, .configurator-head h1, .workspace-head h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.035em;
}
h1 { line-height: .98; }
h2 { line-height: 1.02; }
h3 { font-weight: 560; letter-spacing: -.012em; }
p { line-height: 1.68; }
.section-kicker, .eyebrow, .brand-line {
  color: var(--champagne);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .19em;
}
.lede { color: #b8b6af; font-weight: 380; }
.gold { color: var(--champagne); }

.site-header {
  background: rgba(11, 13, 13, .88);
  border-bottom-color: rgba(239, 235, 226, .085);
  backdrop-filter: blur(18px) saturate(.8);
}
.header-inner { gap: 28px; }
.brand img { width: 34px; height: 34px; }
.brand strong { color: var(--ivory); font-size: 15px; font-weight: 620; letter-spacing: .09em; }
.brand small { color: var(--muted-2); font-size: 9px; letter-spacing: .19em; }
.nav-link { border-radius: 4px; color: #aaa9a3; font-size: 12px; letter-spacing: .025em; }
.nav-link:hover, .nav-link.active { color: var(--ivory); background: rgba(242, 238, 229, .055); }
.language-switcher { border-radius: 5px; background: rgba(242, 238, 229, .025); }
.language-choice { border-radius: 3px; font-weight: 650; }
.language-choice:hover, .language-choice.active { background: rgba(242, 238, 229, .09); }
.language-choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(208, 178, 123, .42); }

.btn {
  min-height: 43px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .055em;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn-primary {
  color: #171613;
  background: var(--champagne);
  box-shadow: none;
}
.btn-primary:hover { background: #dfc796; }
.btn-secondary { background: transparent; border-color: var(--line-strong); }
.btn-secondary:hover { border-color: rgba(208, 178, 123, .6); }
.btn-small { min-height: 34px; border-radius: 4px; }
.icon-button { border-radius: 5px; background: rgba(242, 238, 229, .055); }

.card, .glass-card {
  background: linear-gradient(145deg, rgba(24, 28, 28, .97), rgba(15, 18, 18, .98));
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .16);
}
.card.clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(208, 178, 123, .42);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .28);
}
.category-chip, .pill, .status { letter-spacing: .075em; }
.category-chip, .founder-chip {
  color: var(--champagne);
  background: rgba(208, 178, 123, .075);
  border-color: rgba(208, 178, 123, .22);
}
.notice {
  border-radius: 6px;
  border-color: rgba(215, 182, 107, .27);
  background: rgba(215, 182, 107, .065);
  color: #d7ccae;
}
.notice.info { color: #becbd0; }
.notice.success { color: #b7d7c6; }

.input, input, select, textarea {
  min-height: 43px;
  color: var(--ivory);
  background: rgba(242, 238, 229, .035);
  border-color: rgba(242, 238, 229, .13);
  border-radius: 5px;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(208, 178, 123, .72);
  box-shadow: 0 0 0 3px rgba(208, 178, 123, .10);
}
option { background: #171a1a; }

.hero { background: linear-gradient(100deg, rgba(11, 13, 13, .98) 0 42%, rgba(11, 13, 13, .54)); }
.hero::after { border-color: rgba(208, 178, 123, .09); box-shadow: 0 0 0 110px rgba(208, 178, 123, .008), 0 0 0 220px rgba(208, 178, 123, .005); }
.hero-grid { grid-template-columns: minmax(420px, .8fr) minmax(620px, 1.2fr); gap: 42px; }
.hero-v4 { background: linear-gradient(103deg, rgba(11, 13, 13, .99) 0 43%, rgba(11, 13, 13, .55)), radial-gradient(circle at 82% 48%, rgba(208, 178, 123, .10), transparent 38%); }
.hero-v4::before { opacity: .25; background: linear-gradient(112deg, transparent 0 67%, rgba(208, 178, 123, .11) 67.08%, transparent 67.18%); }
.hero-v4 .hero-copy::before { color: rgba(242, 238, 229, .19); font-weight: 600; }
.hero-v4 h1 {
  max-width: 760px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  text-shadow: 0 16px 50px rgba(0, 0, 0, .45);
}
.hero-v4 .hero-car { transform: translateY(12px); }
.hero-v4 .hero-car::after { height: 1px; background: linear-gradient(90deg, transparent, rgba(208, 178, 123, .62), transparent); box-shadow: none; }
.hero-audit span { border-inline-start-color: var(--champagne); background: rgba(242, 238, 229, .025); font-weight: 600; }
.hero-stage { background: radial-gradient(circle at 55% 55%, rgba(208, 178, 123, .10), rgba(31, 36, 36, .34) 43%, transparent 69%); }
.hero-car .real-car-visual { border-radius: 10px; }

.vehicle-thumb { background: radial-gradient(circle at 50% 72%, rgba(208, 178, 123, .095), transparent 56%), linear-gradient(145deg, #191d1d, #0c0e0e); }
.dealer-sourcing-section { background: linear-gradient(180deg, rgba(208, 178, 123, .025), transparent 42%); }
.filter-btn { background: rgba(242, 238, 229, .025); }
.filter-btn.active, .filter-btn:hover { color: #171613; background: var(--champagne); border-color: var(--champagne); }

/* Configurator: a 69/31 commissioning desk with a gallery-scale vehicle canvas. */
.configurator-v4 {
  padding: 30px 0 68px;
  background:
    radial-gradient(circle at 8% -4%, rgba(208, 178, 123, .075), transparent 30rem),
    linear-gradient(180deg, #0b0d0d, #0f1212 48%, #090b0b);
}
.configurator-shell { width: min(1840px, calc(100% - 36px)); }
.configurator-v4 .configurator-head { margin-bottom: 18px; align-items: end; }
.configurator-v4 .configurator-head h1 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 61px);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}
.platform-meta span {
  padding: 7px 10px;
  border-radius: 4px;
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
}
.configurator-v4 .commission-steps {
  margin-bottom: 16px;
  border-radius: 6px;
  background: rgba(242, 238, 229, .018);
}
.configurator-v4 .commission-step {
  min-height: 54px;
  color: #8f918d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .075em;
}
.commission-step.active {
  color: var(--ivory);
  background: rgba(208, 178, 123, .075);
  box-shadow: inset 0 -1px var(--champagne);
}
.commission-step.complete span { color: var(--champagne); }
.config-layout-v4 {
  grid-template-columns: minmax(0, 69fr) minmax(360px, 31fr);
  gap: 18px;
}
.config-stage-v4 {
  top: calc(var(--header-h) + 14px);
  clip-path: none;
  border-color: rgba(242, 238, 229, .13);
  border-radius: 8px;
  background: #090c0c;
  box-shadow: var(--shadow);
}
.stage-topbar {
  min-height: 50px;
  padding: 8px 10px;
  background: rgba(18, 22, 22, .96);
  border-bottom-color: var(--line);
}
.stage-topbar .view-controls, .preview-mode-controls { background: transparent; }
.stage-topbar .view-btn {
  border-radius: 3px;
  color: #898d8b;
  font-weight: 650;
  letter-spacing: .075em;
}
.stage-topbar .view-btn:hover, .stage-topbar .view-btn.active {
  color: var(--ivory);
  border-color: rgba(208, 178, 123, .44);
  background: rgba(208, 178, 123, .085);
}
.stage-frame {
  min-height: clamp(590px, 52vw, 790px);
  background: radial-gradient(circle at 58% 54%, rgba(132, 143, 141, .19), transparent 34%), linear-gradient(150deg, #1b2020 0, #0c1010 51%, #070909 100%);
}
.stage-frame::before {
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .69));
}
.stage-frame::after {
  content: "PRIVATE COMMISSIONING STUDIO";
  color: rgba(242, 238, 229, .39);
  font-weight: 600;
}
.speed-grid {
  opacity: .105;
  transform: perspective(600px) rotateX(64deg);
  background-image: linear-gradient(rgba(208, 178, 123, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 238, 229, .065) 1px, transparent 1px);
  background-size: 62px 62px;
}
.stage-frame .real-car-visual img { filter: saturate(.94) contrast(1.025); }
.stage-path span { color: var(--champagne); font-weight: 650; }
.stage-path strong {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.65vw, 43px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.025em;
}
.stage-index { color: rgba(242, 238, 229, .66); font-weight: 520; }
.stage-index small { color: var(--champagne); }
.stage-data { min-height: 142px; background: linear-gradient(100deg, #151919, #0d1010); }
.stage-prices span, .stage-source-note { font-weight: 600; }
.stage-prices strong { color: var(--ivory); font-weight: 560; }
.telemetry-head, .telemetry-row { font-weight: 600; }
.telemetry-head strong { color: var(--champagne); }
.telemetry-row b { background: linear-gradient(90deg, var(--champagne-deep), var(--champagne)); box-shadow: none; }
.stage-source-note a { color: var(--champagne); }

.config-panel-v4 { display: grid; align-content: start; gap: 14px; }
.config-panel-v4 .config-section {
  margin: 0;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(24, 28, 28, .98), rgba(14, 17, 17, .98));
}
.config-panel-v4 .config-section-title h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}
.path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.path-card {
  min-height: 122px;
  padding: 15px;
  clip-path: none;
  border-radius: 6px;
  background: #121616;
}
.path-card span { color: var(--champagne); font-weight: 650; }
.path-card strong { font-family: var(--font-display); font-size: 16px; font-style: normal; font-weight: 400; text-transform: none; }
.path-card:hover, .path-card.active { border-color: rgba(208, 178, 123, .55); background: rgba(208, 178, 123, .065); }
.path-card.active::after { height: 1px; background: var(--champagne); box-shadow: none; }
.brief-controls, .selected-scope { border-radius: 6px; background: rgba(242, 238, 229, .018); }
.owned-value { border-inline-start-color: var(--champagne); background: rgba(208, 178, 123, .06); }
.owned-value strong { font-family: var(--font-display); font-weight: 400; }
.journey-card, .preset-card, .product-option, .placement-card, .modifier-bank {
  border-radius: 5px;
  background: rgba(242, 238, 229, .018);
}
.journey-card.active, .preset-card:hover, .product-option.selected, .placement-card.active, .placement-card:has(input:checked) {
  border-color: rgba(208, 178, 123, .58);
  background: rgba(208, 178, 123, .065);
}
.product-option { grid-template-columns: minmax(0, 1fr) minmax(116px, auto); }
.product-price strong, .product-evidence a, .range-field output { color: var(--champagne); }
.product-check { color: var(--champagne); }
.modifier-bank summary span { color: var(--champagne); }
.modifier-bank[open] { border-color: rgba(208, 178, 123, .24); }
.render-engine-card {
  border-color: rgba(208, 178, 123, .27);
  background: linear-gradient(100deg, rgba(208, 178, 123, .075), rgba(14, 18, 18, .98) 34%);
}
.render-engine-copy i b { background: linear-gradient(90deg, var(--champagne-deep), var(--champagne)); box-shadow: none; }
.render-engine-orbit { border-color: rgba(208, 178, 123, .42); }
.render-engine-orbit::after { background: var(--champagne); box-shadow: 0 0 8px rgba(208, 178, 123, .5); }
.digital-twin-gate { border-radius: 6px; background: rgba(135, 170, 190, .045); }

/* Calibrated visual layers. Geometry-dependent changes deliberately stay in the render queue. */
.factory-graphics-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  pointer-events: none;
  opacity: var(--stripe-opacity, .9);
  background: var(--graphics-fill, var(--stripe-primary, #d0b27b));
  -webkit-mask-image: var(--graphics-mask);
  mask-image: var(--graphics-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  mask-mode: luminance;
}

/* Only the paint/graphics/glass masks are calibrated closely enough for the
   instant browser preview. Hardware and geometry stay on the approved base
   image until the complete studio proof is generated. */
.live-render-layers .paint-layer { opacity: .58; }
.live-render-layers .paint-depth-layer { opacity: calc(var(--paint-depth) * .22); }
.live-render-layers .roof-layer,
.live-render-layers .mirror-layer,
.live-render-layers .wheel-layer,
.live-render-layers .rim-layer,
.live-render-layers .caliper-layer,
.live-render-layers .light-layer { display: none; }
.factory-graphics-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--stripe-secondary, var(--stripe-primary, #d0b27b));
  opacity: var(--graphics-secondary-opacity, 0);
}
.stripe-none .factory-graphics-layer {
  display: block;
  background: var(--body-color);
  opacity: .82;
}
.live-render-layers[data-visual-state="live"],
[data-visual-state="live"] .live-render-layers { opacity: 1; transition: opacity .16s ease; }
[data-visual-state="updating"] .live-render-layers { opacity: .84; }
[data-visual-state="reference"] .live-render-layers { opacity: 0; }
.stage-frame[data-visual-state="live"]::before { box-shadow: inset 0 0 0 1px rgba(208, 178, 123, .08); }

.visual-capability {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(242, 238, 229, .025);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.visual-capability::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: currentColor;
}
.visual-capability.capability-studio_render {
  color: #d4bd8d;
  border-color: rgba(208, 178, 123, .28);
  background: rgba(208, 178, 123, .055);
}
.visual-capability.capability-spec_only {
  color: #a4adae;
  border-color: rgba(174, 181, 180, .22);
  background: rgba(174, 181, 180, .04);
}
.render-required {
  display: block;
  margin-top: 7px;
  color: #c6b68f;
  font-size: 9px;
  line-height: 1.45;
}
.render-required::before { content: "◇"; margin-inline-end: 6px; color: var(--champagne); }
.visual-truth-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-inline-start: 2px solid var(--titanium);
  color: #aeb5b4;
  background: rgba(174, 181, 180, .035);
  font-size: 10px;
  line-height: 1.55;
}
[data-render-stale-panel].stale,
[data-render-stale-panel][data-stale="true"] {
  border-color: rgba(215, 182, 107, .38);
  background: linear-gradient(100deg, rgba(215, 182, 107, .075), rgba(14, 18, 18, .98) 36%);
}
[data-render-stale-panel].complete:not(.stale),
[data-render-stale-panel][data-stale="false"].complete { border-color: rgba(114, 197, 154, .30); }

/* Locale-specific studio labels; UI copy itself remains data-driven. */
html[lang="nl"] .stage-frame::after { content: "BESLOTEN MAATWERKSTUDIO"; }
html[lang="nl"] .config-visual::after { content: "BESLOTEN CONCEPTBEELD"; }
html[lang="nl"] .hero-v4 .hero-copy::before { content: "OPRICHTERSGARAGE / 04"; }
html[lang="fr"] .stage-frame::after { content: "STUDIO DE COMMANDE PRIVÉ"; }
html[dir="rtl"] .stage-frame::after { content: "استوديو تصميم خاص"; }

/* Portal and operations surfaces inherit the same measured studio language. */
.portal-layout, .admin-layout { gap: 18px; }
.portal-sidebar, .admin-sidebar { border-radius: 8px; }
.side-link { border-radius: 4px; font-size: 12px; }
.side-link:hover, .side-link.active { background: rgba(208, 178, 123, .07); }
.side-link .side-icon { color: var(--champagne); }
.metric strong { font-family: var(--font-display); font-weight: 400; }
.data-card { border-radius: 8px; }
th { background: rgba(242, 238, 229, .018); }
.progress > span { background: linear-gradient(90deg, var(--champagne-deep), var(--champagne)); }
.access-visual { background: radial-gradient(circle at 50% 70%, rgba(208, 178, 123, .10), transparent 45%), linear-gradient(145deg, #1a1f1f, #0d1010); }
.access-form { background: #151818; }
.modal-shell { border-radius: 10px; background: #151818; }
.toast { border-radius: 6px; background: #1b1f1f; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

@media (max-width: 1320px) {
  .config-layout-v4 { grid-template-columns: 1fr; }
  .config-stage-v4 { position: relative; top: 0; }
  .stage-frame { min-height: clamp(520px, 62vw, 720px); }
  .config-panel-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .config-panel-v4 > .step-rail { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .config-panel-v4 { grid-template-columns: 1fr; }
  .config-panel-v4 > .step-rail { grid-column: auto; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .configurator-shell { width: min(100% - 18px, 1840px); }
  .configurator-v4 .configurator-head { align-items: start; }
  .stage-frame { min-height: 69vw; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 102px; }
  .config-panel-v4 .config-section { padding: 18px; }
  .product-option { grid-template-columns: 1fr; }
  .product-price { min-width: 0; align-items: flex-start; text-align: start; border-top: 1px solid var(--line); padding-top: 10px; }
}
@media (max-width: 520px) {
  .stage-frame { min-height: 79vw; }
  .stage-path strong { font-size: 21px; }
  .stage-prices strong { font-size: 13px; }
  .visual-capability { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V4.5 — private gallery outside, performance lab inside */
:root { --signal-copper: #b8663e; --porcelain: #ebe7de; --porcelain-ink: #191b1a; }

.atelier-hero { min-height: min(900px, calc(100vh - var(--header-h))); }
.atelier-hero::before { opacity: .16; background: linear-gradient(114deg, transparent 0 68%, rgba(184, 102, 62, .32) 68.06%, transparent 68.16%); }
.atelier-hero .hero-copy::before { display: none; }
.atelier-hero .hero-copy { max-width: 700px; }
.atelier-hero h1 { font-size: clamp(56px, 7.4vw, 112px); line-height: .9; }
.atelier-hero h1 span { color: var(--ivory); }
.atelier-hero .lede { max-width: 610px; font-size: clamp(17px, 1.6vw, 22px); }
.atelier-hero .hero-car .real-car-visual { border: 0; border-radius: 2px; box-shadow: none; }
.atelier-hero .hero-car::after { display: none; }
.hero-gallery-caption { position: absolute; inset: auto 4% 7% auto; z-index: 6; padding: 14px 0 14px 22px; border-inline-start: 1px solid var(--signal-copper); text-align: end; }
.hero-gallery-caption span, .hero-gallery-caption strong { display: block; }
.hero-gallery-caption span { color: var(--muted); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.hero-gallery-caption strong { margin-top: 5px; color: var(--ivory); font-family: var(--font-display); font-size: 20px; font-weight: 400; }

.journey-section { padding: clamp(72px, 9vw, 132px) 0; color: var(--porcelain-ink); background: var(--porcelain); }
.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid rgba(25, 27, 26, .22); }
.journey-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 3vw, 48px); min-height: 360px; padding: clamp(36px, 5vw, 72px); border-inline-end: 1px solid rgba(25, 27, 26, .22); transition: background .25s ease, color .25s ease; }
.journey-card:last-child { border-inline-end: 0; }
.journey-card > span { color: var(--signal-copper); font-size: 11px; letter-spacing: .16em; }
.journey-card .section-kicker { color: #7d4d37; }
.journey-card h2 { max-width: 520px; margin: 24px 0 18px; font-size: clamp(40px, 4.6vw, 68px); }
.journey-card p { max-width: 580px; color: #5e615d; }
.journey-card div > strong { display: inline-block; margin-top: 30px; color: #7d4d37; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.journey-card:hover { color: var(--ivory); background: #171a19; }
.journey-card:hover p { color: #b7b7b1; }
.journey-card:hover .section-kicker, .journey-card:hover div > strong { color: #d18a66; }

.capability-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); background: #0e1110; }
.capability-strip > div { display: flex; align-items: center; gap: 18px; min-height: 92px; padding: 22px clamp(24px, 4vw, 64px); border-inline-end: 1px solid var(--line); }
.capability-strip > div:last-child { border-inline-end: 0; }
.capability-strip span { color: var(--signal-copper); font-size: 10px; letter-spacing: .13em; }
.capability-strip strong { color: #c7c6bf; font-size: 11px; font-weight: 560; letter-spacing: .08em; text-transform: uppercase; }

.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-vehicles { gap: 28px; }
.editorial-vehicles .vehicle-card { min-height: 570px; border-radius: 2px; box-shadow: none; }
.editorial-vehicles .vehicle-thumb { min-height: 330px; }
.editorial-vehicles .vehicle-thumb .real-car-visual, .editorial-vehicles .vehicle-thumb .real-car-visual img { min-height: 330px; }
.editorial-vehicles .vehicle-body { padding: 28px 30px 30px; }
.editorial-vehicles .vehicle-body h3 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(26px, 2.3vw, 38px); font-weight: 400; }
.commission-chip { color: #b8c4bf; border-color: rgba(174, 181, 180, .22); background: rgba(174, 181, 180, .045); }

.home-platforms { padding-block: clamp(90px, 10vw, 150px); }
.home-availability { padding-block: clamp(80px, 9vw, 130px); background: #111413; border-top: 1px solid var(--line); }
.gallery-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 36px; min-height: 260px; padding: clamp(36px, 5vw, 72px); border-block: 1px solid var(--line-strong); background: linear-gradient(110deg, rgba(242, 238, 229, .025), transparent); }
.gallery-empty h2, .gallery-empty h3 { margin: 15px 0 12px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); font-weight: 400; }
.gallery-empty p { max-width: 760px; color: var(--muted); }
.gallery-empty-large { min-height: 380px; }

.configure-intro, .available-hero { padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 8vw, 112px); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 88% 30%, rgba(184, 102, 62, .10), transparent 34rem), #0c0f0e; }
.configure-intro-copy { max-width: 900px; }
.configure-intro h1, .available-hero h1 { margin-block: 18px 22px; font-size: clamp(58px, 8vw, 118px); }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 92px); border-block: 1px solid var(--line-strong); }
.method-grid > div { min-height: 220px; padding: 30px clamp(22px, 3vw, 44px); border-inline-end: 1px solid var(--line); }
.method-grid > div:last-child { border-inline-end: 0; }
.method-grid span { display: block; margin-bottom: 48px; color: var(--signal-copper); font-size: 10px; letter-spacing: .15em; }
.method-grid strong { display: block; color: var(--ivory); font-family: var(--font-display); font-size: 26px; font-weight: 400; }
.method-grid p { color: var(--muted); font-size: 13px; }

.platform-catalogue { padding-block: clamp(80px, 9vw, 130px); }
.request-model-section { padding-block: clamp(84px, 10vw, 145px); color: var(--porcelain-ink); background: var(--porcelain); }
.request-model-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr); gap: clamp(44px, 8vw, 120px); align-items: start; }
.request-model-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.request-model-copy .section-kicker { color: #7d4d37; }
.request-model-copy h2 { margin: 20px 0; font-size: clamp(46px, 6vw, 82px); }
.request-model-copy .lede { color: #5e615d; }
.request-model-card { padding: clamp(28px, 4vw, 48px); border-radius: 2px; background: #161918; }
.request-assurance { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(25, 27, 26, .18); }
.request-assurance span { color: var(--signal-copper); font-size: 10px; }
.request-assurance p { margin: 0 0 14px; color: #4e514e; font-size: 12px; }
.secure-next-note { margin: 0 0 14px; color: #aeb1ac; font-size: 11px; line-height: 1.55; }

.available-hero .container { max-width: 1100px; margin-inline: auto; text-align: center; }
.available-hero .lede { margin-inline: auto; }
.available-grid-section { min-height: 440px; padding-block: clamp(80px, 9vw, 130px); }
.selected-platforms { border-top: 1px solid var(--line); background: #101312; }

html[dir="rtl"] .hero-gallery-caption { inset: auto auto 7% 4%; text-align: start; }

@media (max-width: 980px) {
  .journey-grid, .card-grid.two, .request-model-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 300px; border-inline-end: 0; border-bottom: 1px solid rgba(25, 27, 26, .22); }
  .journey-card:last-child { border-bottom: 0; }
  .request-model-copy { position: relative; top: 0; }
  .editorial-vehicles .vehicle-card { min-height: 500px; }
}
@media (max-width: 760px) {
  .atelier-hero h1 { font-size: clamp(50px, 15vw, 74px); }
  .atelier-hero .hero-visual { min-height: 360px; }
  .hero-gallery-caption { inset: auto 1% 2% auto; }
  .capability-strip, .method-grid { grid-template-columns: 1fr; }
  .capability-strip > div, .method-grid > div { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .capability-strip > div:last-child, .method-grid > div:last-child { border-bottom: 0; }
  .method-grid > div { min-height: 170px; }
  .method-grid span { margin-bottom: 28px; }
  .gallery-empty { grid-template-columns: 1fr; align-items: start; }
  .editorial-vehicles .vehicle-thumb, .editorial-vehicles .vehicle-thumb .real-car-visual, .editorial-vehicles .vehicle-thumb .real-car-visual img { min-height: 240px; }
}

/* V5 — verified dealer gallery and immersive multi-view studio */
.gallery-hero { min-height: 620px; display: grid; align-items: center; }
.gallery-hero .container { max-width: 1180px; }
.gallery-hero h1 { max-width: 980px; margin-inline: auto; }
.gallery-promise { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 58px; border-block: 1px solid var(--line-strong); text-align: start; }
.gallery-promise span { display: flex; align-items: center; gap: 16px; min-height: 74px; padding: 18px 24px; border-inline-end: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.gallery-promise span:last-child { border-inline-end: 0; }
.gallery-promise b { color: var(--signal-copper); font-size: 9px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 30px; }
.gallery-toolbar > span { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.dealer-listing-card { border-radius: 2px; background: #111514; box-shadow: none; }
.dealer-listing-card.featured-listing { border-color: rgba(208,178,123,.38); }
.dealer-listing-media { position: relative; width: 100%; min-height: 360px; padding: 0; overflow: hidden; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: #090c0b; cursor: pointer; text-align: start; }
.dealer-listing-media .real-car-visual, .dealer-listing-media .real-car-visual img, .gallery-photo, .gallery-photo img { width: 100%; min-height: 360px; height: 100%; }
.dealer-listing-media .real-car-visual img, .gallery-photo img { object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease; }
.dealer-listing-media:hover img { transform: scale(1.025); filter: saturate(1.02) contrast(1.035); }
.gallery-photo { position: relative; margin: 0; }
.gallery-photo figcaption { position: absolute; inset: auto 18px 16px; color: rgba(255,255,255,.68); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.gallery-stock-badge { position: absolute; z-index: 10; inset: 16px 16px auto auto; padding: 8px 10px; border: 1px solid rgba(255,255,255,.22); color: #f2eee5; background: rgba(8,10,10,.72); backdrop-filter: blur(10px); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.dealer-listing-body { padding: 28px 30px 30px; }
.dealer-listing-body h3 { margin: 16px 0 10px; font-family: var(--font-display); font-size: clamp(28px,2.7vw,42px); font-weight: 400; }
.gallery-card-copy { min-height: 48px; margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.gallery-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.gallery-facts > span { min-width: 0; padding: 17px 14px; border-inline-end: 1px solid var(--line); }
.gallery-facts > span:last-child { border-inline-end: 0; }
.gallery-facts small, .gallery-facts strong { display: block; }
.gallery-facts small { margin-bottom: 7px; color: var(--muted-2); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.gallery-facts strong { overflow: hidden; color: var(--ivory); font-size: 11px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.gallery-price-row { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-top: 24px; }
.gallery-price-row > div span, .gallery-price-row > div strong { display: block; }
.gallery-price-row > div span { margin-bottom: 6px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-price-row > div strong { font-family: var(--font-display); font-size: 25px; font-weight: 400; }
.status-available { color: #9bd7b5; border-color: rgba(116,202,157,.28); background: rgba(116,202,157,.07); }
.status-reserved { color: #dcc08a; border-color: rgba(220,192,138,.28); background: rgba(220,192,138,.07); }
.status-in_preparation { color: #a9bcc6; border-color: rgba(169,188,198,.25); background: rgba(169,188,198,.055); }
.modal-shell:has(.gallery-modal) { width: min(1120px,calc(100% - 28px)); max-width: 1120px; }
.gallery-modal { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(360px,.94fr); gap: 0 34px; }
.gallery-modal-image, .gallery-modal-image-wrap { grid-row: span 2; width: 100%; min-height: 560px; height: 100%; object-fit: cover; background: #090c0b; }
.gallery-modal-image-wrap .real-car-visual, .gallery-modal-image-wrap .real-car-visual img { min-height: 560px; height: 100%; }
.gallery-modal-summary { padding-top: 6px; }
.gallery-modal-summary > p { margin: 18px 0 22px; color: var(--muted); line-height: 1.65; }
.gallery-facts-modal { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 22px; }
.gallery-facts-modal > span:nth-child(2) { border-inline-end: 0; }
.gallery-inquiry-head { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.gallery-inquiry-head p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.gallery-inquiry-form { align-self: start; }

.stage-experience-controls { display: flex; align-items: center; gap: 8px; }
.environment-controls { display: flex; gap: 3px; padding-inline-end: 8px; border-inline-end: 1px solid var(--line); }
.stage-frame { cursor: grab; touch-action: pan-y; }
.stage-frame:active { cursor: grabbing; }
.stage-vehicle-visual { position: absolute; inset: 0; z-index: 2; transform: scale(var(--scene-zoom,1)); transform-origin: 50% 56%; transition: transform .22s ease; }
.stage-frame.environment-daylight { background: radial-gradient(circle at 54% 35%,rgba(255,255,255,.78),rgba(176,185,183,.34) 34%,transparent 58%),linear-gradient(160deg,#d6d8d5,#858e8c 62%,#3e4846); }
.stage-frame.environment-daylight::before { background: linear-gradient(180deg,rgba(255,255,255,.04),transparent 48%,rgba(0,0,0,.54)); }
.stage-frame.environment-daylight .speed-grid { opacity: .17; }
.stage-frame.environment-night { background: radial-gradient(circle at 58% 52%,rgba(43,84,108,.32),transparent 31%),linear-gradient(155deg,#071018,#030609 56%,#000 100%); }
.stage-frame.environment-night::before { background: radial-gradient(circle at 74% 38%,rgba(130,200,255,.11),transparent 20%),linear-gradient(180deg,transparent 58%,rgba(0,0,0,.86)); }
.stage-frame.environment-night .real-car-visual img { filter: saturate(.88) contrast(1.1) brightness(.78); }
.viewer-fidelity { position: absolute; z-index: 12; inset: 18px auto auto 20px; display: grid; gap: 4px; max-width: 230px; padding: 11px 13px; border-inline-start: 1px solid var(--signal-copper); background: rgba(7,9,9,.62); backdrop-filter: blur(9px); pointer-events: none; }
.viewer-fidelity span { color: var(--muted-2); font-size: 7px; letter-spacing: .13em; text-transform: uppercase; }
.viewer-fidelity strong { color: var(--ivory); font-size: 10px; font-weight: 620; }
.viewer-fidelity small { color: #a9b0ad; font-size: 8px; }
.scene-control-rail { position: absolute; z-index: 14; inset: auto 18px 18px auto; display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px; border: 1px solid rgba(242,238,229,.16); background: rgba(9,12,11,.82); backdrop-filter: blur(14px); }
.scene-control-rail > span { padding-inline: 5px; color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.scene-icon-button, .scene-fullscreen-button { min-height: 30px; border: 1px solid transparent; color: var(--ivory); background: rgba(255,255,255,.035); cursor: pointer; }
.scene-icon-button { width: 32px; font-size: 19px; }
.scene-fullscreen-button { padding: 0 11px; color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.scene-icon-button:hover, .scene-fullscreen-button:hover { border-color: rgba(208,178,123,.38); color: var(--ivory); }
.scene-control-rail label { display: flex; align-items: center; gap: 5px; }
.scene-control-rail label span { color: var(--muted-2); font-size: 10px; }
.scene-control-rail input[type="range"] { width: 86px; accent-color: var(--champagne); }
.scene-fullscreen-open { overflow: hidden; }
.config-stage-v4.is-fullscreen { position: fixed; z-index: 1000; inset: 10px; top: 10px; width: auto; max-height: calc(100vh - 20px); overflow: auto; border-color: rgba(208,178,123,.35); background: #080b0a; }
.config-stage-v4.is-fullscreen .stage-frame { min-height: calc(100vh - 84px); }
.config-stage-v4.is-fullscreen .render-stale-panel, .config-stage-v4.is-fullscreen .stage-data, .config-stage-v4.is-fullscreen .stage-source-note { display: none; }

@media (max-width: 980px) {
  .gallery-card-grid, .gallery-modal { grid-template-columns: 1fr; }
  .gallery-modal-image, .gallery-modal-image-wrap { grid-row: auto; min-height: 420px; }
  .gallery-modal-image-wrap .real-car-visual, .gallery-modal-image-wrap .real-car-visual img { min-height: 420px; }
  .gallery-modal-summary { padding-top: 26px; }
}
@media (max-width: 760px) {
  .gallery-promise, .gallery-card-grid { grid-template-columns: 1fr; }
  .gallery-promise span { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .gallery-promise span:last-child { border-bottom: 0; }
  .gallery-toolbar { align-items: start; flex-direction: column; }
  .dealer-listing-media, .dealer-listing-media .real-car-visual, .dealer-listing-media .real-car-visual img, .gallery-photo, .gallery-photo img { min-height: 260px; }
  .gallery-facts { grid-template-columns: 1fr; }
  .gallery-facts > span { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .gallery-facts > span:last-child { border-bottom: 0; }
  .stage-experience-controls { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .scene-control-rail { inset: auto 9px 9px; justify-content: center; }
  .scene-control-rail > span { display: none; }
  .scene-control-rail input[type="range"] { width: 58px; }
  .viewer-fidelity { inset: 10px auto auto 10px; }
  .config-stage-v4.is-fullscreen { inset: 0; top: 0; max-height: 100vh; border: 0; }
}

/* V6 — House of Automotive Commissioning */
:root {
  --house-obsidian: #070808;
  --house-ink: #171918;
  --house-ivory: #efede7;
  --house-palladium: #b8bbb7;
  --house-signal: #9c473d;
  --bg: var(--house-obsidian);
  --bg-2: #0d0f0e;
  --panel: #121514;
  --panel-2: #171a19;
  --panel-3: #202422;
  --text: #f0eee8;
  --ivory: #f0eee8;
  --porcelain: var(--house-ivory);
  --porcelain-ink: var(--house-ink);
  --muted: #aaaDA9;
  --muted-2: #747a77;
  --gold: #9da19d;
  --gold-2: #d4d5d0;
  --champagne: #d4d5d0;
  --champagne-deep: #878c89;
  --titanium: var(--house-palladium);
  --signal-copper: var(--house-signal);
  --line: rgba(240, 238, 232, .105);
  --line-strong: rgba(240, 238, 232, .21);
  --header-h: 78px;
}

body {
  background:
    radial-gradient(circle at 78% -12%, rgba(184, 187, 183, .085), transparent 31rem),
    linear-gradient(180deg, #070808 0, #0b0d0c 48%, #070808 100%);
}
body::before { opacity: .045; background-size: 128px 100%; }
.site-header { background: rgba(7, 8, 8, .91); border-bottom-color: rgba(240, 238, 232, .105); }
.brand { gap: 13px; }
.brand img { width: 31px; height: 31px; }
.brand strong { font-size: 14px; font-weight: 560; letter-spacing: .18em; }
.brand small { max-width: 230px; color: #878b88; font-size: 8px; letter-spacing: .18em; }
.nav-link { padding-inline: 12px; font-size: 11px; letter-spacing: .055em; }
.language-choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(156, 71, 61, .48); }
.section-kicker, .eyebrow, .brand-line { color: var(--house-palladium); }
.btn-primary { color: #141615; background: var(--house-ivory); }
.btn-primary:hover { background: #fff; }
.btn-secondary:hover { border-color: rgba(240, 238, 232, .46); }

.house-hero {
  min-height: min(960px, calc(100vh - var(--header-h)));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(102deg, rgba(7, 8, 8, .99) 0 44%, rgba(7, 8, 8, .60) 66%, rgba(7, 8, 8, .88)),
    radial-gradient(circle at 78% 43%, rgba(184, 187, 183, .11), transparent 38%);
}
.house-hero::before { opacity: .2; background: linear-gradient(115deg, transparent 0 72%, rgba(156, 71, 61, .24) 72.04%, transparent 72.11%); }
.house-hero::after { display: none; }
.house-hero-index { position: absolute; z-index: 3; inset: 30px 30px auto auto; color: #707572; font-size: 8px; font-weight: 620; letter-spacing: .18em; }
.house-hero .hero-grid { grid-template-columns: minmax(430px, .84fr) minmax(600px, 1.16fr); gap: 52px; padding-block: clamp(64px, 8vh, 104px); }
.house-hero .hero-copy { max-width: 720px; }
.house-hero h1 { max-width: 780px; margin: 22px 0 30px; font-size: clamp(60px, 7.15vw, 116px); line-height: .88; letter-spacing: -.045em; }
.house-hero h1 span { margin-top: .12em; color: var(--house-ivory); }
.house-hero .lede { max-width: 645px; color: #b3b5b1; font-size: clamp(16px, 1.42vw, 20px); line-height: 1.75; }
.house-hero .hero-visual { min-height: 650px; }
.house-hero .hero-stage { inset: 10% -4% 8% 3%; border: 1px solid rgba(240, 238, 232, .07); border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(214, 216, 211, .10), rgba(22, 26, 24, .22) 44%, transparent 70%); }
.house-hero .hero-car { transform: translateY(24px); filter: drop-shadow(0 50px 42px rgba(0, 0, 0, .62)); }
.hero-service-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vh, 72px); border-block: 1px solid var(--line); }
.hero-service-line span { min-height: 54px; padding: 20px 16px 17px 0; border-inline-end: 1px solid var(--line); color: #868a87; font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-service-line span:last-child { border-inline-end: 0; padding-inline-start: 16px; }
.house-seal { position: absolute; z-index: 8; inset: 9% 2% auto auto; display: grid; place-content: center; width: 112px; aspect-ratio: 1; border: 1px solid rgba(240, 238, 232, .34); border-radius: 50%; color: var(--house-ivory); background: rgba(7, 8, 8, .46); text-align: center; backdrop-filter: blur(10px); }
.house-seal::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(240, 238, 232, .13); border-radius: inherit; }
.house-seal strong, .house-seal span { display: block; }
.house-seal strong { font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.house-seal span { margin-top: 7px; color: var(--house-palladium); font-size: 7px; letter-spacing: .16em; }
.house-hero .hero-gallery-caption { border-inline-start-color: var(--house-signal); }

.house-statement { padding: clamp(92px, 11vw, 170px) 0; color: var(--house-ink); background: var(--house-ivory); border-bottom: 1px solid rgba(23, 25, 24, .18); }
.house-statement-grid { display: grid; grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr); gap: clamp(48px, 10vw, 180px); align-items: start; }
.house-statement .section-kicker { padding-top: 14px; color: #7c4640; }
.house-statement h2 { max-width: 940px; margin: 0; color: var(--house-ink); font-size: clamp(58px, 8vw, 132px); line-height: .86; }
.house-statement p { max-width: 790px; margin: 42px 0 0; color: #565a57; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.8; }

.house-journeys { padding-block: 0; }
.house-journeys .container { width: min(1800px, 100%); }
.house-journeys .journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
.house-journeys .journey-card { min-height: 520px; padding: clamp(36px, 4.2vw, 68px); gap: clamp(18px, 2vw, 36px); }
.house-journeys .journey-card h2 { margin-top: 32px; font-size: clamp(34px, 3.6vw, 58px); line-height: .94; }
.house-journeys .journey-card p { min-height: 112px; font-size: 13px; line-height: 1.75; }
.house-journeys .journey-card > span,
.house-journeys .journey-card .section-kicker,
.house-journeys .journey-card div > strong { color: #8f4940; }
.house-journeys .journey-card:hover { background: #111413; }

.house-capabilities { grid-template-columns: repeat(4, minmax(0, 1fr)); background: #090b0a; }
.house-capabilities > div { min-height: 110px; }
.house-capabilities span { color: var(--house-signal); }
.house-capabilities strong { color: #c7c9c5; }

.configurator-v4 { background: radial-gradient(circle at 8% -4%, rgba(184, 187, 183, .075), transparent 30rem), linear-gradient(180deg, #080a09, #0e1110 48%, #080a09); }
.configurator-v4 .commission-steps { grid-template-columns: repeat(8, minmax(0, 1fr)); border-radius: 2px; }
.configurator-v4 .commission-step { min-width: 0; min-height: 62px; padding: 9px 5px; gap: 7px; font-size: 8px; letter-spacing: .07em; }
.configurator-v4 .commission-step.active { color: var(--house-ivory); background: rgba(240, 238, 232, .055); box-shadow: inset 0 -2px var(--house-signal); }
.configurator-v4 .commission-step.complete span { color: #d1d3cf; }
.commission-step-footer { padding: 18px 0 4px; border-top: 1px solid var(--line); }
.commission-step-footer .btn { min-width: 128px; }
.config-panel-v4 > .commission-step-footer { margin-bottom: 12px; padding-inline: 4px; }
.config-section-title .pill { color: #bebfbb; border-color: rgba(184, 187, 183, .24); background: rgba(184, 187, 183, .045); }
.filter-btn.active, .filter-btn:hover { color: #151716; border-color: var(--house-ivory); background: var(--house-ivory); }
.swatch.active { box-shadow: 0 0 0 2px #0b0d0c, 0 0 0 3px var(--house-ivory); }
.path-card.active, .product-option.selected, .placement-card.active, .placement-card:has(input:checked) { border-color: rgba(156, 71, 61, .72); background: linear-gradient(135deg, rgba(156, 71, 61, .10), rgba(240, 238, 232, .02)); }

@media (max-width: 1180px) {
  .house-hero .hero-grid { grid-template-columns: minmax(360px, .88fr) minmax(480px, 1.12fr); gap: 26px; }
  .house-hero h1 { font-size: clamp(56px, 7.8vw, 92px); }
  .house-journeys .journey-card { min-height: 460px; padding: 40px 30px; }
  .configurator-v4 .commission-steps { overflow-x: auto; grid-template-columns: repeat(8, minmax(118px, 1fr)); }
}
@media (max-width: 980px) {
  .house-hero { min-height: auto; }
  .house-hero .hero-grid { grid-template-columns: 1fr; padding-block: 70px 46px; }
  .house-hero .hero-visual { min-height: 520px; }
  .house-seal { width: 96px; }
  .house-statement-grid { grid-template-columns: 1fr; gap: 38px; }
  .house-journeys .journey-grid { grid-template-columns: 1fr; }
  .house-journeys .journey-card { min-height: 360px; border-inline-end: 0; border-bottom: 1px solid rgba(23, 25, 24, .2); }
  .house-journeys .journey-card p { min-height: 0; }
  .house-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-capabilities > div:nth-child(2) { border-inline-end: 0; }
  .house-capabilities > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand small { max-width: 138px; white-space: normal; line-height: 1.25; }
  .house-hero-index { inset: 14px 14px auto auto; }
  .house-hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .house-hero .hero-visual { min-height: 350px; }
  .house-seal { inset: 2% 0 auto auto; width: 82px; }
  .hero-service-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-service-line span:nth-child(2) { border-inline-end: 0; }
  .hero-service-line span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .house-statement { padding-block: 86px; }
  .house-statement h2 { font-size: clamp(52px, 18vw, 78px); }
  .house-statement p { margin-top: 30px; }
  .house-journeys .journey-card { min-height: 330px; padding: 42px 24px; }
  .house-journeys .journey-card h2 { font-size: clamp(38px, 12vw, 54px); }
  .house-capabilities { grid-template-columns: 1fr; }
  .house-capabilities > div { min-height: 82px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .house-capabilities > div:last-child { border-bottom: 0; }
  .commission-step-footer { gap: 8px; }
  .commission-step-footer .btn { min-width: 0; flex: 1; }
}

/* V7 — ITQORA IQ3D proprietary real-time configurator */
.stage-vehicle-visual:has([data-iq3d-host]) {
  transform: none;
  transition: none;
}
.iq3d-viewer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #080a0b;
  isolation: isolate;
}
.iq3d-canvas-host,
.iq3d-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.iq3d-canvas-host { z-index: 2; }
.iq3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  outline: 0;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  transition: opacity .28s ease;
}
.iq3d-canvas:active { cursor: grabbing; }
.iq3d-canvas:focus-visible {
  outline: 2px solid var(--house-ivory);
  outline-offset: -4px;
}
.iq3d-fallback {
  z-index: 1;
  opacity: 1;
  transition: opacity .24s ease;
}
.iq3d-fallback > .real-car-visual { min-height: 100%; }
.iq3d-viewer[data-engine-status="ready"] .iq3d-canvas { opacity: 1; }
.iq3d-viewer[data-engine-status="ready"] .iq3d-fallback {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.iq3d-viewer[data-engine-status="fallback"] .iq3d-canvas { display: none; }
.iq3d-viewer[data-engine-status="fallback"] .iq3d-fallback { opacity: 1; }
.iq3d-engine-badge {
  position: absolute;
  z-index: 7;
  inset: 18px 20px auto auto;
  display: grid;
  gap: 4px;
  max-width: 270px;
  padding: 12px 14px;
  border: 1px solid rgba(240,238,232,.16);
  border-block-start-color: rgba(156,71,61,.86);
  color: var(--ivory);
  background: rgba(7,8,8,.70);
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.iq3d-engine-badge span {
  color: #d8d8d3;
  font: 700 8px/1.25 ui-monospace, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.iq3d-engine-badge strong { font-size: 10px; font-weight: 560; }
.iq3d-engine-badge small { color: #929793; font-size: 8px; }
.iq3d-engine-status {
  position: absolute;
  z-index: 7;
  inset: 100px 20px auto auto;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 260px;
  color: rgba(240,238,232,.64);
  font: 650 8px/1.35 ui-monospace, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  pointer-events: none;
}
.iq3d-engine-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #be8b6d;
  box-shadow: 0 0 14px rgba(190,139,109,.7);
}
.iq3d-viewer[data-engine-status="ready"] .iq3d-engine-status i { background: #80b897; box-shadow: 0 0 14px rgba(128,184,151,.65); }
.iq3d-viewer[data-engine-status="fallback"] .iq3d-engine-status i { background: #c87970; box-shadow: 0 0 14px rgba(200,121,112,.65); }
.iq3d-engine-hint {
  position: absolute;
  z-index: 7;
  inset: auto auto 20px 22px;
  max-width: min(58%, 430px);
  color: rgba(240,238,232,.62);
  font: 650 8px/1.35 ui-monospace, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  pointer-events: none;
}
.viewer-mode-button { border-color: rgba(156,71,61,.34) !important; }
.iq3d-gate { border-color: rgba(156,71,61,.3); }
.iq3d-gate .pill { color: #d0d1cc; }
.iq3d-brand-section {
  position: relative;
  padding-block: clamp(88px, 11vw, 164px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(7,8,8,.97) 0 52%, rgba(14,17,16,.92)),
    radial-gradient(circle at 78% 45%, rgba(156,71,61,.16), transparent 28rem);
}
.iq3d-brand-section::before {
  content: "IQ3D / PROPRIETARY AUTOMOTIVE TECHNOLOGY";
  position: absolute;
  inset: 28px 4vw auto auto;
  color: rgba(240,238,232,.22);
  font: 650 8px/1 ui-monospace,monospace;
  letter-spacing: .16em;
}
.iq3d-brand-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr); gap: clamp(50px,8vw,140px); align-items: start; }
.iq3d-brand-grid h2 { max-width: 760px; margin: 24px 0 0; font-family: var(--font-display); font-size: clamp(52px,6.2vw,92px); font-weight: 400; line-height: .94; letter-spacing: -.035em; }
.iq3d-brand-grid > div:last-child > p { max-width: 690px; margin: 8px 0 36px; color: #b4b7b3; font-size: clamp(14px,1.35vw,18px); line-height: 1.8; }
.iq3d-brand-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 32px; border-block: 1px solid var(--line); }
.iq3d-brand-facts span { display: grid; gap: 17px; min-height: 105px; padding: 22px 20px; border-inline-end: 1px solid var(--line); color: var(--house-signal); font: 650 9px/1 ui-monospace,monospace; }
.iq3d-brand-facts span:last-child { border-inline-end: 0; }
.iq3d-brand-facts strong { color: var(--ivory); font: 560 11px/1.45 var(--font-sans); }
html[dir="rtl"] .iq3d-engine-badge { inset: 18px auto auto 20px; }
html[dir="rtl"] .iq3d-engine-status { inset: 100px auto auto 20px; }
html[dir="rtl"] .iq3d-engine-hint { inset: auto 22px 20px auto; }

@media (prefers-reduced-motion: reduce) {
  .iq3d-canvas,
  .iq3d-fallback { transition: none; }
}

@media (max-width: 760px) {
  .iq3d-brand-grid { grid-template-columns: 1fr; gap: 44px; }
  .iq3d-brand-section::before { display: none; }
  .iq3d-brand-facts { grid-template-columns: 1fr; }
  .iq3d-brand-facts span { min-height: 78px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .iq3d-brand-facts span:last-child { border-bottom: 0; }
  .iq3d-engine-badge { inset: 9px 9px auto auto; max-width: 210px; padding: 9px 10px; }
  .iq3d-engine-badge span { font-size: 7px; }
  .iq3d-engine-badge small { display: none; }
  .iq3d-engine-status { inset: 68px 10px auto auto; max-width: 205px; font-size: 7px; }
  .iq3d-engine-hint { display: none; }
  html[dir="rtl"] .iq3d-engine-badge { inset: 9px auto auto 9px; }
  html[dir="rtl"] .iq3d-engine-status { inset: 68px auto auto 10px; }
}
