@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-roman.var.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --white: #fbfbfa;
  --ink: #15171a;
  --muted: #656a73;
  --line: #dfe2e6;
  --soft: #f1f3f5;
  --panel: #22262d;
  --blue: #2463eb;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --header-h: 56px;
  --radius: 4px;
  --consent-h: 0px;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body[data-cookie-visible="true"] { --consent-h: 240px; }
.cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom)); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; appearance: none; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3 { font-weight: 550; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 16px; }
h1 { font-size: clamp(46px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.5vw, 58px); }
h3 { font-size: 22px; }
p { margin: 0 0 20px; }
.container { width: min(calc(100% - 2 * var(--pad)), var(--max)); margin-inline: auto; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.section { padding: 112px 0; }
.section-header { max-width: 620px; margin-bottom: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid var(--ink); border-radius: var(--radius); padding: 10px 18px; font-size: 14px; font-weight: 650; transition: background-color .18s, color .18s, border-color .18s; }
.button.primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button.secondary { background: transparent; color: var(--ink); }
.button.ghost { border-color: transparent; background: transparent; color: var(--ink); }
.button:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.button .icon { width: 16px; height: 16px; }
.icon { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: 56px; display: flex; align-items: center; padding: 0 var(--pad); color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s; }
.site-header.scrolled { color: var(--ink); background: var(--white); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark { width: 27px; height: 27px; display: block; }
.site-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 24px; font-size: 13px; font-weight: 600; }
.site-nav a { color: inherit; opacity: .78; }
.site-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 3px; }
.icon-button { width: 40px; height: 40px; border: 0; background: transparent; color: inherit; display: grid; place-items: center; border-radius: var(--radius); }
.icon-button:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }
.site-footer { padding: 78px var(--pad) 28px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { max-width: var(--max); margin: 0 auto 56px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 12%; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-links strong { display: block; margin-bottom: 12px; font-size: 13px; }
.footer-links a { display: block; color: var(--muted); font-size: 13px; margin: 7px 0; }
.footer-bottom { max-width: var(--max); margin: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* Home carousel: touch scrolling is native; controls appear for desktop pointers and keyboard focus. */
.home-slides { position: relative; height: 100vh; min-height: 100vh; height: 100svh; min-height: 100svh; height: 100dvh; min-height: 100dvh; overflow: clip; background: #f3f4f6; color: #fff; }
.carousel-track { display: flex; width: 100%; height: 100vh; height: 100svh; height: 100dvh; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; }
.company-slide { position: relative; flex: 0 0 100%; min-width: 0; min-height: 100vh; height: 100vh; min-height: 100svh; height: 100svh; min-height: 100dvh; height: 100dvh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: stretch; padding: calc(var(--header-h) + 28px + env(safe-area-inset-top)) var(--pad) calc(24px + var(--consent-h, 0px) + env(safe-area-inset-bottom)); }
.company-slide-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.company-slide-image-fallback, .company-slide-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: #f3f4f6; color: var(--ink); }
.company-slide-fallback-mark { display: grid; place-items: center; width: 96px; min-height: 96px; }
.company-slide-fallback-mark .company-icon { width: 96px; height: 96px; object-fit: contain; }
.company-slide-fallback-mark .company-wordmark { font-size: 24px; font-weight: 750; text-align: center; }
.company-slide-fallback-state { color: var(--ink); }
.company-slide-fallback-state .company-slide-scrim { background: linear-gradient(180deg, rgb(243 244 246 / 0) 0%, rgb(243 244 246 / 0.08) 100%); }
.company-slide-fallback-state .company-slide-content p { color: var(--muted); }
.company-slide-fallback-state .company-slide-logo { color: var(--ink); }
.company-slide-fallback-state .company-slide-logo .company-icon { filter: none; }
.company-slide-fallback-state .company-slide .button.secondary, .company-slide-fallback-state .button.secondary { border-color: var(--ink); color: var(--ink); }
.company-slide-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(8 12 20 / .46) 0%, rgb(8 12 20 / .08) 22%, rgb(8 12 20 / 0) 48%, rgb(8 12 20 / .12) 68%, rgb(8 12 20 / .78) 100%); pointer-events: none; }
.company-slide-logo { position: absolute; z-index: 2; top: calc(var(--header-h) + 24px); right: var(--pad); min-width: 120px; min-height: 48px; display: grid; place-items: center; color: #fff; }
.company-slide-logo .company-icon { max-width: 148px; max-height: 72px; object-fit: contain; filter: brightness(0) invert(1); }
.company-slide-logo .company-wordmark { font-size: clamp(20px, 3vw, 34px); font-weight: 700; letter-spacing: -0.04em; }
.company-slide-content { position: relative; z-index: 2; display: flex; width: min(100%, var(--max)); flex-direction: column; justify-content: space-between; margin-inline: auto; min-width: 0; }
.company-slide-copy { max-width: 720px; padding-top: clamp(24px, 8vh, 80px); }
.company-slide-content p { max-width: 590px; color: rgba(255,255,255,.9); font-size: clamp(16px, 1.4vw, 19px); }
.company-slide-content h2 { max-width: 720px; }
.company-slide .button.secondary { border-color: rgba(255,255,255,.78); color: #fff; }
.company-slide .hero-actions .button.secondary, .company-slide .hero-actions .button.secondary:hover { color: #000; background: #fff; border-color: #fff; }
.carousel-controls { position: absolute; z-index: 5; inset: 50% 0 auto; height: 0; pointer-events: none; }
.carousel-arrow { position: absolute; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(8,12,20,.42); color: #fff; opacity: 0; visibility: visible; pointer-events: none; transform: translateY(-50%); }
.carousel-arrow-prev { left: 24px; }
.carousel-arrow-next { right: 24px; }
.carousel-arrow:focus-visible { opacity: 1; pointer-events: auto; }
.carousel-arrow:hover { background: #fff; color: #15171a; }

 .detail-hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 20, .42); z-index: 1; pointer-events: none; }
 .detail-hero-content, .detail-hero-mark { position: relative; z-index: 2; }
 .detail-hero-mark { position: absolute; z-index: 2; top: 110px; right: var(--pad); display: grid; place-items: center; min-width: 148px; min-height: 72px; color: #fff; }
.detail-hero-mark .company-icon { max-width: 148px; max-height: 72px; filter: brightness(0) invert(1); object-fit: contain; }
.detail-hero-mark .company-wordmark { font-size: clamp(20px,3vw,34px); font-weight: 700; letter-spacing: -0.04em; }
.company-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; display: block; }
.company-photo-fallback { position: absolute; inset: 0; z-index: 0; background: #252a32; }
.company-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.detail-hero > img.company-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.detail-hero { min-height: 68svh; padding: 160px var(--pad) 78px; background: var(--panel); color: #fff; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.detail-hero-content { width: min(100%, var(--max)); margin-inline: auto; }
.detail-hero-content p { max-width: 620px; color: rgba(255,255,255,.78); font-size: 18px; }
.secondary-nav { position: sticky; top: 56px; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); overflow: auto; }
.secondary-nav .container { display: flex; gap: 28px; min-height: 54px; align-items: center; white-space: nowrap; }
.secondary-nav a { font-size: 13px; color: var(--muted); }
.secondary-nav a:hover { color: var(--ink); }
.fact-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.fact-panel dt { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.fact-panel dd { margin: 0; font-weight: 650; }
.article-section { padding: 96px 0; }
.article-section + .article-section { border-top: 1px solid var(--line); }
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 130px; align-items: start; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-row > * { min-width: 0; }
.news-row time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.news-row strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.4; overflow-wrap: anywhere; }
.news-row .muted { overflow-wrap: anywhere; }
.empty-state { padding: 20px; border-left: 3px solid var(--line); background: var(--soft); }
.empty-state p { margin: 0 0 14px; }
.empty-state p:last-child { margin-bottom: 0; }
.source-groups { display: grid; gap: 28px; }
.source-group h3 { margin: 0 0 14px; font-size: 22px; letter-spacing: -0.02em; }
.source-register { border-top: 1px solid var(--line); }
.source-record { padding: 20px 0; border-bottom: 1px solid var(--line); }
.source-record h3, .source-record h4 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.source-record h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.35; }
.source-record h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.source-record p { margin: 0; }
.source-record .source-kind { margin-bottom: 7px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.related-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.related-links-grid li { min-width: 0; }
.related-links-grid a { display: flex; min-height: 100%; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.related-links-grid a:hover { border-color: var(--blue); color: var(--blue); }
.related-links-grid .muted { font-size: 14px; }
.related-links-grid strong { overflow-wrap: anywhere; }
.page-hero { padding: 160px 0 82px; background: var(--soft); border-bottom: 1px solid var(--line); }
.company-list { border-top: 1px solid var(--line); }
.company-list-row { display: grid; grid-template-columns: 100px 1fr 180px 28px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.company-list-row p { margin: 0; color: var(--muted); }
.timeline-entry { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.filters { display: flex; gap: 12px; align-items: end; margin: 32px 0; }
.filters label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 13px; }
.filters input, .filters select, .form input, .form textarea { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 10px 12px; min-height: 44px; }
.form { max-width: 640px; display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; }
.tabbar { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabbar a { padding: 14px 0; font-size: 14px; color: var(--muted); }
.tabbar a.active { color: var(--ink); border-bottom: 2px solid var(--blue); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.data-table th { font-size: 12px; color: var(--muted); font-weight: 600; }
.technical-drawing { width: 100%; color: var(--blue); background: var(--soft); padding: 32px; border-radius: var(--radius); }
.vision-sections { padding-top: 40px; }
.vision-row { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 560px; align-items: stretch; border-top: 1px solid var(--line); }
.vision-row-reverse { grid-template-columns: 1.15fr .85fr; }
.vision-row-reverse .vision-copy { order: 2; }
.vision-row-reverse .vision-media { order: 1; }
.vision-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 12% 72px 0; }
.vision-row-reverse .vision-copy { padding-left: 12%; padding-right: 0; }
.vision-copy h2 { font-size: clamp(34px,5vw,64px); margin: 10px 0 22px; }
.vision-copy p:not(.eyebrow) { max-width: 430px; color: var(--muted); font-size: 17px; }
.vision-media { position: relative; min-height: 420px; overflow: hidden; background: var(--soft); }
.vision-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-unavailable { display: grid; width: 100%; height: 100%; min-height: 180px; margin: 0; padding: 24px; place-items: center; color: var(--muted); text-align: center; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.portfolio-card { position: relative; min-height: 190px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.portfolio-card:hover { background: var(--soft); }
.portfolio-card-logo { min-height: 38px; display: flex; align-items: center; }
.portfolio-card-logo .company-icon { max-width: 100px; max-height: 34px; object-fit: contain; }
.portfolio-card-logo .company-wordmark { font-weight: 750; }
.portfolio-card strong { font-size: 20px; letter-spacing: -0.03em; }
.portfolio-card > .muted { font-size: 13px; line-height: 1.35; }
.detail-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.detail-card { min-height: 190px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--soft); }
.detail-card h3 { font-size: 20px; margin-bottom: 10px; }
.detail-card p { font-size: 14px; margin: 0; }
.source { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.source .icon { width: 14px; height: 14px; }
.verification-note { margin: 2rem 0 0; padding: 1rem 1.1rem; border-left: 3px solid var(--ink); background: var(--soft); }
.verification-note strong { display: block; margin-bottom: .35rem; }
.verification-note p { margin: 0; color: var(--muted); }




@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms; animation-duration: .01ms; }
}
/* Shared header, mobile navigation, and dialog foundations. */
.site-header { display: flex; justify-content: space-between; gap: 12px; height: calc(var(--header-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); background: #fff; color: var(--ink); }
.site-header .header-actions { margin-left: auto; gap: 4px; }
.site-nav { display: none; margin: 0; gap: 28px; }
.brand > span { display: none; }
.header-portal { flex: 0 0 auto; min-height: 40px; padding: 8px 10px; font-size: 12px; white-space: nowrap; }
.header-portal .icon { width: 14px; height: 14px; }
.header-actions .support-button, .header-actions .globe-button { display: none; }
.icon-button { width: 40px; height: 40px; min-width: 40px; display: grid; place-items: center; border-radius: var(--radius); }
.globe-button { border-radius: 50%; }
.globe-button .icon { width: 20px; height: 20px; }
.globe-button:hover { background: #f4f4f4; }
.icon-button:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.menu-toggle { display: grid; flex: 0 0 40px; }
.menu-lines { display: grid; width: 20px; gap: 4px; }
.menu-lines i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.mobile-menu[hidden], .region-overlay[hidden], .cookie-modal[hidden] { display: none; }
.dialog-open { overflow: hidden; }
.mobile-menu { position: fixed; z-index: 95; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0; padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom)); background: #fff; color: var(--ink); overflow: auto; }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: grid; margin: 24px 0; }
.mobile-menu nav a { min-height: 56px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 20px; }
.mobile-menu-secondary { display: grid; gap: 4px; margin: 20px 0; }
.mobile-menu-secondary a, .mobile-menu-secondary button { min-height: 44px; text-align: left; }
.mobile-portal { width: 100%; min-height: 48px; }





/* Region and language overlay. */
.region-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  padding: 64px 24px 200px;
  background: #fff;
  color: #171a20;
}
.region-grid {
  max-width: 1064px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 38px;
  align-items: start;
}
.region-col-europe {
  grid-column: 3 / span 2;
}
.region-group {
  margin: 0 0 40px;
}
.region-group h2 {
  margin: 0 0 8px;
  color: #171a20;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}
.region-list {
  margin: 0;
  padding: 0;
}
.region-group-europe .region-list {
  columns: 2;
  column-gap: 38px;
}
.region-item {
  min-height: 62px;
  margin: 0;
  padding: 10px 11px;
  border-radius: 4px;
  list-style: none;
  break-inside: avoid;
}
.region-item:hover,
.region-item.is-selected {
  background: #f4f4f4;
}
.region-name {
  display: block;
  color: #171a20;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  text-align: left;
}
.region-langs {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.region-lang {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: #5c5e62;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.region-lang:hover {
  color: #171a20;
  text-decoration: underline;
}
.region-close {
  position: fixed;
  top: 16px;
  right: 32px;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: #171a20;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
}
.region-overlay :focus-visible,
.cookie-choice:focus-visible {
  outline: 2px solid #171a20;
  outline-offset: 2px;
}

/* Cookie consent. */
.cookie-banner {
  position: fixed;
  z-index: 90;
  bottom: 24px;
  left: 50%;
  width: min(1100px, calc(100% - 48px));
  transform: translateX(-50%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 28px;
  background: #f4f4f4;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
}
.cookie-copy {
  max-width: 780px;
}
.cookie-copy h2 {
  margin: 0 0 8px;
  color: #171a20;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}
.cookie-copy p {
  margin: 0;
  color: #393c41;
  font-size: 14px;
  line-height: 20px;
}
.cookie-copy a {
  color: inherit;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}
.cookie-choice {
  min-width: 100px;
  min-height: 44px;
  padding: 0 16px;
  background: #fff;
  color: #171a20;
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}
.cookie-choice:hover {
  background: #fafafa;
}
.cookie-choice:active {
  background: #f0f0f0;
}
.cookie-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 23, 26, .35);
}
.cookie-modal-card {
  width: min(520px, 100%);
  max-height: 90svh;
  overflow: auto;
  padding: 24px;
  background: #fff;
  border-radius: 4px;
}
.cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal-head h2 {
  margin: 0;
  font-size: 28px;
}
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cookie-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.cookie-row input {
  min-width: 24px;
  min-height: 24px;
}
body:has(.cookie-banner) {
  padding-bottom: var(--consent-h, 136px);
}

/* Existing support layout. */
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
.support-search { display: grid; gap: 8px; color: var(--muted); }
.support-search input { min-height: 48px; border: 1px solid var(--line); padding: 12px; background: #fff; color: var(--ink); }
.faq-group { margin: 40px 0; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 650; }
.faq-item p { margin: 14px 0 0; color: var(--muted); }
.support-aside { display: grid; align-content: start; gap: 16px; }
.support-company-link { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.support-company-link .company-icon { width: 70px; height: 28px; object-fit: contain; }
.investor-side-card { margin: 28px 0; }
.investor-nav-link { color: var(--blue); font-weight: 700; }




/* Roadster feature and detail page. */
.roadster-feature { background: #f1f3f5; color: var(--ink); }
.roadster-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.roadster-feature-media { order: -1; min-width: 0; }
.roadster-feature-copy { min-width: 0; }
.roadster-tag { margin: 0 0 6px; color: #a31d2b; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.roadster-date { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.roadster-summary { max-width: 68ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; }
.roadster-facts { display: grid; gap: 0; margin: 28px 0; }
.roadster-facts > div { display: grid; grid-template-columns: minmax(105px, .28fr) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid #d1d5da; }
.roadster-facts dt { font-size: 13px; font-weight: 700; }
.roadster-facts dd { min-width: 0; margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.roadster-facts a, .video-links a { text-decoration: underline; text-underline-offset: 3px; }
.roadster-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.roadster-actions .button { width: 100%; min-height: 48px; }
.roadster-video { min-width: 0; margin: 0; }
.video-poster { position: relative; display: block; width: 100%; min-width: 0; overflow: hidden; background: #d9dde1; text-align: center; aspect-ratio: 16 / 9; }
.video-poster picture, .video-poster img { display: block; width: 100%; height: 100%; max-width: 100%; }
.video-poster img { object-fit: cover; }
.video-play-control { position: absolute; inset: 50% auto auto 50%; display: inline-flex; min-height: 48px; align-items: center; gap: 12px; padding: 10px 18px; transform: translate(-50%, -50%); border: 1px solid #15171a; border-radius: 4px; background: #fbfbfa; color: #15171a; font-size: 14px; font-weight: 700; white-space: nowrap; }
.video-play-icon { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }
.video-poster:hover .video-play-control { background: #15171a; color: #fff; }
.roadster-video figcaption { display: grid; gap: 4px; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.roadster-video figcaption strong { color: var(--ink); font-size: 16px; }
.video-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; font-size: 14px; }
.video-consent-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.video-frame { width: 100%; min-width: 0; aspect-ratio: 16 / 9; background: #111; }
.video-frame iframe { display: block; width: 100%; height: 100%; max-width: 100%; border: 0; }
.roadster-video [hidden] { display: none; }
.roadster-page-hero { position: relative; display: grid; min-height: 50vh; min-height: 50svh; align-items: end; overflow: hidden; padding: calc(var(--header-h) + 40px) var(--pad) 40px; background: #22262d; color: #fff; }
.roadster-page-hero > picture, .roadster-page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.roadster-page-hero > picture { display: block; }
.roadster-page-hero > picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.roadster-page-hero::after { position: absolute; inset: 0; content: ""; background: rgba(8, 12, 20, .48); }
.roadster-page-hero .container { position: relative; z-index: 1; }
.roadster-page-hero h1 { max-width: 16ch; font-size: clamp(38px, 7vw, 78px); }
.roadster-page-hero p { max-width: 68ch; color: rgba(255,255,255,.92); }
.roadster-image-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); padding-block: clamp(24px, 5vw, 56px); }
.roadster-image-gallery figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 8px; background: #17191d; color: #fff; }
.roadster-image-gallery picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.roadster-image-gallery img { display: block; width: 100%; height: 100%; object-fit: contain; background: #17191d; }
.roadster-image-gallery figcaption { padding: 12px 16px; color: rgba(255,255,255,.8); font-size: 13px; }
.roadster-timeline { display: grid; gap: 0; }
.roadster-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.roadster-step h3 { margin: 0; font-size: 20px; }
.roadster-step p { margin: 0; max-width: 72ch; }
.roadster-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.roadster-table { width: 100%; border-collapse: collapse; }
.roadster-table th, .roadster-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.roadster-table th { min-width: 120px; font-size: 14px; }
.roadster-table td { min-width: 180px; }
.roadster-table a { text-decoration: underline; text-underline-offset: 3px; }
.roadster-uncertainties { display: grid; gap: 12px; padding-left: 1.25rem; }
.roadster-note { max-width: 72ch; padding: 18px 0; border-top: 1px solid var(--line); }
.roadster-source-list { display: grid; gap: 0; }
.roadster-source { padding: 16px 0; border-top: 1px solid var(--line); }
.roadster-source h3, .roadster-source h4 { margin: 0 0 6px; font-size: 18px; }
.roadster-source p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.roadster-source a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.article-image-fallback { display: grid; min-height: 280px; place-content: center; justify-items: start; gap: 12px; padding: clamp(24px, 5vw, 56px); background: #edf0f2; color: var(--ink); }
.article-image-fallback .company-icon { width: 96px; height: 36px; object-fit: contain; }
.article-image-fallback strong { max-width: 24ch; font-size: clamp(22px, 4vw, 42px); line-height: 1.1; }
.article-image-fallback time { color: var(--muted); font-size: 14px; }
.article-hero-media picture, .article-hero-media img { display: block; width: 100%; max-width: 100%; }
.article-hero-media img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero-media { margin: 0 auto; max-width: 1440px; }
.article-hero-media figcaption { max-width: 1200px; margin: 10px auto 0; padding-inline: var(--pad); color: var(--muted); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.article-card { display: flex; min-width: 0; flex-direction: column; height: 100%; background: #f1f3f5; color: var(--ink); }
.article-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.article-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-card-copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px; }
.article-card-copy h2 { margin: 0; font-size: clamp(20px, 2vw, 28px); }
.article-card-copy p { margin: 0; }
.article-card-copy time { margin-top: auto; color: var(--muted); font-size: 13px; }

/* Mobile-first responsive system. Breakpoints: 360, 480, 640, 768, 1024, 1280, 1536px. */
.site-header { height: calc(var(--header-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
.site-nav { display: none; }
.menu-toggle { display: grid; }
.mobile-menu { inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0; max-height: 85dvh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.brand > span { display: none; }
.header-actions .support-button, .header-actions .globe-button { display: none; }
.icon-button { width: 44px; height: 44px; min-width: 44px; }
.header-portal { min-height: 44px; }
.region-overlay, .cookie-banner, .cookie-modal { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.footer-grid { display: block; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.section { padding-block: clamp(56px, 12vw, 80px); }
.portfolio-grid, .detail-card-grid { grid-template-columns: minmax(0, 1fr); }
.company-overview { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.news-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.related-links-grid { grid-template-columns: minmax(0, 1fr); }
.company-list-row { grid-template-columns: minmax(0, 1fr) 28px; }
.company-list-row > .company-logo { grid-column: 1; grid-row: 1; }
.company-list-row > span:nth-child(2) { grid-column: 1; grid-row: 2; min-width: 0; }
.company-list-row > span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.company-list-row .row-meta { display: none; }
.fact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-hero { min-height: 60svh; padding-top: calc(var(--header-h) + 72px); }
.secondary-nav { top: var(--header-h); }
.timeline-entry { grid-template-columns: minmax(0, 1fr); }
.filters { display: grid; align-items: stretch; }
.page-hero { padding-top: calc(var(--header-h) + 56px); }
.vision-row, .vision-row-reverse { display: block; }
.vision-row-reverse .vision-copy, .vision-row-reverse .vision-media { order: initial; }
.vision-copy, .vision-row-reverse .vision-copy { padding-block: 48px; }
.vision-media { min-height: 320px; }
.region-overlay { padding: calc(var(--header-h) + 16px) 16px calc(24px + env(safe-area-inset-bottom)); max-height: 100dvh; }
.region-grid { grid-template-columns: minmax(0, 1fr); }
.region-col-europe { grid-column: auto; }
.region-group-europe .region-list { columns: 1; }
.region-close { right: 16px; }
.cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-height: 50svh; overflow: auto; align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
.cookie-actions { width: 100%; }
.cookie-choice { flex: 1; min-width: 0; min-height: 44px; }
.support-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.support-aside { grid-template-columns: minmax(0, 1fr); }
.roadster-feature-grid { grid-template-columns: minmax(0, 1fr); }
.roadster-feature-media { order: -1; }
.roadster-actions { grid-template-columns: minmax(0, 1fr); }
.roadster-step { grid-template-columns: minmax(0, 1fr); }
.roadster-facts > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.article-grid { grid-template-columns: minmax(0, 1fr); }
.form-grid { grid-template-columns: minmax(0, 1fr); }
input, select, textarea { font-size: 16px; }
@media (min-width: 360px) {
  .brand > span { display: inline; }
}
@media (min-width: 480px) {
  .header-actions .support-button, .header-actions .globe-button { display: grid; }
  .company-slide-logo { display: grid; }
  .roadster-facts > div { grid-template-columns: minmax(105px, .28fr) minmax(0, 1fr); }
}
@media (min-width: 640px) {
  body[data-cookie-visible="true"] { --consent-h: 196px; }
  .cookie-banner { width: min(1100px, calc(100% - 48px)); bottom: calc(24px + env(safe-area-inset-bottom)); max-height: none; overflow: visible; align-items: center; flex-direction: row; gap: 32px; padding: 24px 28px; }
  .cookie-actions { width: auto; }
  .cookie-choice { min-width: 100px; }
  .portfolio-grid, .detail-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-col-europe { grid-column: 1 / span 2; }
  .region-group-europe .region-list { columns: 2; }
  .support-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadster-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadster-step { grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr); gap: 24px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-entry { grid-template-columns: 80px minmax(0, 1fr); }
}
@media (min-width: 768px) {
  .roadster-actions { display: flex; flex-wrap: wrap; }
  .roadster-actions .button { width: auto; }
  .news-header .container { grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr); align-items: end; }
}
@media (min-width: 1024px) {
  body[data-cookie-visible="true"] { --consent-h: 172px; }
  .site-nav { display: flex; margin-left: auto; margin-right: 24px; }
  .menu-toggle { display: none; }
  .header-portal { font-size: 14px; padding-inline: 12px; }
  .header-portal .icon { width: 16px; height: 16px; }
  .portfolio-grid, .detail-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 12%; }
  .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section { padding-block: 112px; }
  .company-slide { padding: calc(var(--header-h) + 28px + env(safe-area-inset-top)) var(--pad) calc(24px + var(--consent-h, 0px) + env(safe-area-inset-bottom)); }
  .company-slide-logo { top: calc(var(--header-h) + 24px); }
  .company-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10%; }
  .news-row { grid-template-columns: 160px minmax(0, 1fr) 130px; gap: 20px; }
  .company-list-row { grid-template-columns: 100px minmax(0, 1fr) 180px 28px; gap: 24px; }
  .company-list-row > .company-logo, .company-list-row > span:nth-child(2), .company-list-row > span:last-child { grid-column: auto; grid-row: auto; }
  .company-list-row .row-meta { display: block; }
  .fact-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-hero { min-height: 68svh; padding-top: 160px; }
  .timeline-entry { grid-template-columns: 120px minmax(0, 1fr); }
  .filters { display: flex; align-items: end; }
  .page-hero { padding-top: 160px; }
  .vision-row { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 560px; }
  .vision-row-reverse { grid-template-columns: 1.15fr .85fr; }
  .vision-row-reverse .vision-copy { order: 2; padding: 72px 0 72px 12%; }
  .vision-row-reverse .vision-media { order: 1; }
  .vision-copy { padding: 72px 12% 72px 0; }
  .vision-media { min-height: 420px; }
  .region-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 38px; }
  .region-col-europe { grid-column: 3 / span 2; }
  .support-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .support-aside { grid-template-columns: minmax(0, 1fr); }
  .roadster-feature-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .roadster-feature-media { order: initial; }
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carousel-arrow-prev { left: 24px; }
  .carousel-arrow-next { right: 24px; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .carousel-arrow { opacity: 1; visibility: visible; pointer-events: auto; }
  .carousel-arrow:hover { opacity: 1; }
}
@media (min-width: 1280px) {
  body[data-cookie-visible="true"] { --consent-h: 156px; }
  .roadster-feature-grid { gap: 72px; }
}
@media (min-width: 1536px) {
  .container { max-width: var(--max); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .home-slides, .carousel-track, .company-slide { min-height: 100vh; min-height: 100svh; }
  .company-slide-copy { padding-top: 0; }
  .company-slide-content h2 { font-size: clamp(30px, 7vh, 48px); }
  .company-slide-content p { max-width: 62ch; margin-bottom: 12px; font-size: 15px; }
  .company-slide .hero-actions { margin-top: 12px; }
}


/* Reusable component foundations. */
:root {
  --radius: 8px;
  --accent: #2463eb;
  --accent-hover: #1d4fc1;
  --danger: #b42318;
  --danger-hover: #8f1d14;
  --layer-shadow: 0 12px 32px rgba(21, 23, 26, .14), 0 2px 8px rgba(21, 23, 26, .08);
}

.button {
  position: relative;
  min-height: 44px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.button:hover { background: #f0f1f2; border-color: #c8ccd1; color: var(--ink); }
.button:active { transform: translateY(1px); }
.button:focus-visible, .icon-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}
.button.primary { color: #fff; background: #15171a; border-color: #15171a; }
.button.primary:hover { color: #fff; background: #30343a; border-color: #30343a; }
.button.accent { color: #fff; background: var(--accent); border-color: var(--accent); }
.button.accent:hover { color: #fff; background: var(--accent-hover); border-color: var(--accent-hover); }
.button.secondary { color: var(--ink); background: #fff; border-color: #c8ccd1; }
.button.secondary:hover { color: var(--ink); background: #f2f3f4; border-color: #aeb4bb; }
.button.outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button.outline:hover { color: var(--ink); background: #f2f3f4; border-color: #30343a; }
.button.ghost { color: var(--ink); background: transparent; border-color: transparent; }
.button.ghost:hover { color: var(--ink); background: #f0f1f2; }
.button.danger { color: #fff; background: var(--danger); border-color: var(--danger); }
.button.danger:hover { color: #fff; background: var(--danger-hover); border-color: var(--danger-hover); }
.button.link { min-height: auto; padding: 4px 0; color: var(--ink); background: transparent; border: 0; border-radius: 0; }
.button.link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(.35); transform-origin: left; transition: transform 150ms ease; }
.button.link:hover { color: var(--ink); background: transparent; }
.button.link:hover::after { transform: scaleX(1); }
.button.sm { min-height: 36px; padding-inline: 12px; font-size: 14px; }
.button.md { min-height: 44px; padding-inline: 16px; }
.button.lg { min-height: 52px; padding-inline: 20px; }
.button.icon-only { width: 44px; padding-inline: 0; }
.button.icon-only.sm { width: 36px; }
.button.icon-only.lg { width: 52px; }
.button .icon, .button svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform 150ms ease; }
.button:hover .icon-arrow, .button:hover .icon[data-nudge="true"] { transform: translateX(2px); }
.button[disabled], .button[aria-disabled="true"] { opacity: .5; pointer-events: none; transform: none; }
.button[aria-busy="true"] { cursor: progress; }
.button[aria-busy="true"] .icon, .button[aria-busy="true"] svg { visibility: hidden; }
.button[aria-busy="true"]::before { position: absolute; left: 18px; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; content: ""; animation: button-spin .7s linear infinite; }
@keyframes button-spin { to { transform: rotate(360deg); } }
.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.alert { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--alert-border, var(--line)); border-radius: 12px; background: var(--alert-bg, #fff); color: var(--ink); }
.alert-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--alert-chip, #eef0f2); color: var(--alert-ink, var(--ink)); }
.alert-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alert-body { min-width: 0; }
.alert-title { display: block; margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.alert-description { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.alert-success { --alert-border: #bfe3cf; --alert-bg: #f1faf5; --alert-chip: #d9f2e4; --alert-ink: #0f7b43; }
.alert-info { --alert-border: #c9d9f7; --alert-bg: #f3f7ff; --alert-chip: #dce8fb; --alert-ink: #1d4ed8; }
.alert-warning { --alert-border: #f1d9a6; --alert-bg: #fffaf0; --alert-chip: #fbeccb; --alert-ink: #8a5a00; }
.alert-error { --alert-border: #f3c7c3; --alert-bg: #fff5f4; --alert-chip: #fde3e0; --alert-ink: #b42318; }
.error-page-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.error-page-search { margin-top: 28px; }
@media (max-width: 639px) { .error-page-links .button { flex: 1 1 100%; } }
@media (prefers-reduced-motion: no-preference) { .alert { animation: alert-in 200ms ease-out both; } @keyframes alert-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
.field { display: grid; gap: 7px; }
.field-label { font-size: 14px; font-weight: 600; }
.field-control { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c8ccd1; border-radius: 8px; background: #fff; color: var(--ink); }
.field-control:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; border-color: var(--accent); }
.field-help { color: var(--muted); font-size: 13px; }
.field-error { color: #a82118; font-size: 13px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: #fff; transition: transform 150ms ease, border-color 150ms ease; }
.card-interactive:hover { transform: translateY(-2px); border-color: #aeb4bb; }
.card img, .feature-card img { display: block; max-width: 100%; height: auto; }
.badge, .status-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 9px; background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 600; }
.empty-state { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.empty-state h2, .empty-state h3 { font-size: 20px; }
.data-table thead { position: sticky; top: var(--header-h); z-index: 2; background: var(--white); }
.floating-layer { box-shadow: var(--layer-shadow); }

@media (max-width: 639px) {
  .detail-hero { min-height: min(56svh, 420px); padding: calc(var(--header-h) + 44px) var(--pad) 32px; }
  .detail-hero > img.company-photo { height: min(56svh, 420px); }
  .roadster-page-hero { min-height: min(56svh, 420px); }
  .roadster-page-hero > picture, .roadster-page-hero > img { height: min(56svh, 420px); }
  .article-hero, .article-detail-hero { aspect-ratio: 3 / 2; max-height: 52svh; min-height: 0; }
  .roadster-page-hero img, .article-hero img, .article-detail-hero img { max-height: 100%; }
  .article-hero-media img { max-height: 52svh; }
  .video-poster { max-height: 46svh; }
  .vision-media { min-height: 0; aspect-ratio: 16 / 10; max-height: min(38svh, 240px); }
  .vision-media img { height: 100%; }
  .news-row { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 14px; align-items: center; }
  .news-row img, .news-row picture { grid-row: 1 / span 2; grid-column: 1; width: 112px; height: 84px; aspect-ratio: 4 / 3; object-fit: cover; }
  .news-row picture img { width: 100%; height: 100%; object-fit: cover; }
  .news-row time { grid-column: 2; white-space: normal; font-size: 12px; }
  .news-row strong { grid-column: 2; }
  .story-grid, .company-gallery { grid-template-columns: 1fr; }
  .story-card-media { max-height: 180px; aspect-ratio: 16 / 10; }
  .story-card-media img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-strip { display: grid; grid-auto-columns: 78%; grid-auto-flow: column; gap: 12px; overflow-x: auto; padding: 0 0 12px; scroll-snap-type: x mandatory; }
  .gallery-strip > * { min-width: 0; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .button-group, .button-pair { width: 100%; }
  .button-group > .button { flex: 1 1 auto; }
  .button-pair { grid-template-columns: 1fr; }
  .button-full-mobile { width: 100%; }
  .roadster-image-gallery { grid-template-columns: none; grid-auto-columns: 78%; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
  .roadster-image-gallery figure { min-width: 0; scroll-snap-align: start; }
  .roadster-image-gallery img { max-height: min(60svh, 420px); }
}

@media (min-width: 480px) and (max-width: 639px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .button, .button::before, .button::after, .button .icon, .card-interactive { transition: none; animation: none; }
  .button:hover .icon-arrow, .button:hover .icon[data-nudge="true"], .card-interactive:hover { transform: none; }
}


.roadster-update-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.roadster-type-panel { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 8px; background: #17191d; color: #fff; }
.roadster-registration-image picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.roadster-registration-image img { display: block; width: 100%; height: auto; aspect-ratio: 2880 / 1884; object-fit: cover; }
.roadster-registration-image figcaption { padding: 12px 16px; color: rgba(255,255,255,.8); font-size: 13px; }
.roadster-registration-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.roadster-registration-card h2 { font-size: 32px; }
.roadster-registration-card .form { margin-top: 24px; }
.roadster-registration-card .checkbox { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 14px; }
.roadster-registration-card .checkbox input { margin-top: 4px; }
.roadster-registration-card .checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.roadster-update-actions { margin-top: 28px; }
.roadster-result-card { padding: clamp(24px, 5vw, 48px); }
.roadster-result-card h1 { font-size: clamp(32px, 6vw, 56px); }
.roadster-result-card ol { display: grid; gap: 12px; padding-left: 22px; margin: 22px 0; }
.verified-mark { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 0 20px; border-radius: 50%; background: #edf7f0; color: #23653b; font-size: 28px; }
.roadster-what-next ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-left: 22px; }
@media (max-width: 700px) {
  .roadster-update-layout { grid-template-columns: 1fr; }
  .roadster-what-next ol { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 650px){
  .home-slides{height:67svh;min-height:67svh;height:67dvh;min-height:67dvh}
  .carousel-track{height:67svh;height:67dvh}
  .company-slide{min-height:67svh;height:67svh;min-height:67dvh;height:67dvh;padding-top:calc(var(--header-h) + 18px + env(safe-area-inset-top));padding-bottom:calc(18px + var(--consent-h, 0px) + env(safe-area-inset-bottom))}
  .company-slide-image{height:100%;width:100%;object-fit:cover;object-position:var(--focal-point,center center)}
  .company-slide-content{justify-content:flex-end}
  .company-slide-copy{padding-top:0;padding-bottom:12px}
  .company-slide-logo{top:calc(var(--header-h) + 16px);right:var(--pad);min-width:96px;min-height:38px}
  .company-slide-logo .company-icon{max-width:110px;max-height:48px}
  .company-slide-content h2{font-size:clamp(30px,8vw,44px)}
  .company-slide-content p{font-size:14px;line-height:1.4;margin-bottom:10px}
  .company-slide .hero-actions{margin-top:8px}
}

/* Musk Vision brand mark inside the mobile navigation drawer. */
.mobile-menu-brand { display: inline-flex; min-width: 0; align-items: center; gap: 9px; color: var(--ink); font-size: 15px; font-weight: 750; text-decoration: none; }
.mobile-menu-brand img { display: block; width: 30px; height: 30px; object-fit: contain; }
.mobile-menu-head h2 { margin-left: auto; }

/* Mobile navigation drawer layout; scoped away from the desktop site header. */
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { position: fixed; inset: 0; z-index: 1000; display: block; }
.menu-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ink); opacity: .42; }
.mobile-menu-panel { position: absolute; inset-block: 0; right: 0; display: flex; flex-direction: column; width: min(420px, 100vw); height: 100vh; height: 100dvh; overflow-y: auto; padding: 24px; border-left: 1px solid var(--line); background: var(--white); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu-head h2 { margin: 0 0 0 auto; font-size: 20px; }
.menu-account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu-account > .menu-member { grid-column: 1 / -1; }
.menu-account > .button, .menu-account form .button { width: 100%; }
.menu-member { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.mobile-main-links { display: grid; padding: 12px 0; }
.mobile-main-links a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 650; text-decoration: none; }
.mobile-main-links svg { width: 18px; height: 18px; }
.mobile-menu-secondary { display: grid; gap: 2px; margin-top: auto; padding-top: 22px; }
.mobile-menu-secondary a, .mobile-menu-secondary button { display: block; width: 100%; min-height: 44px; padding: 13px 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none; }
.mobile-menu-secondary a:hover, .mobile-menu-secondary button:hover { color: var(--blue); }
.dialog-open { overflow: hidden; }
@media (max-width: 520px) { .mobile-menu-panel { width: 100%; padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu-panel { animation: none; } }
