/* Shared visual polish and responsive safeguards. */
:where(main, section, article, header, footer, nav, div) { min-width: 0; }
:where(h1, h2, h3, p, li, a, span, strong, td, th) { overflow-wrap: anywhere; }
:where(img, video, svg, canvas) { max-width: 100%; height: auto; }
figure { max-width: 100%; }

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(114, 25, 48, .12), transparent 31rem),
    linear-gradient(180deg, #0a0c0e, #060708 68%);
}

/* CSS-drawn arrows replace font/emoji-style glyphs. */
:is(.models-arrow span, .models-link span, .models-selector-icon, .technology-cta-arrow,
  .ownership-cta span, .journal-all-arrow, .journal-arrow, .request-submit-arrow,
  .request-call span) {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
}

:is(.models-arrow span, .models-link span, .models-selector-icon, .technology-cta-arrow,
  .ownership-cta span, .journal-all-arrow, .journal-arrow, .request-submit-arrow,
  .request-call span)::before {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 13px;
  height: 1px;
  background: currentColor;
  background: #fff;
  content: "";
}

:is(.models-arrow span, .models-link span, .models-selector-icon, .technology-cta-arrow,
  .ownership-cta span, .journal-all-arrow, .journal-arrow, .request-submit-arrow,
  .request-call span)::after {
  position: absolute;
  top: 4px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.models-selector-icon,
.journal-arrow { padding: 7px; }
.models-selector-icon::before,
.journal-arrow::before { left: 8px; }
.models-selector-icon::after,
.journal-arrow::after { right: 7px; }

/* Inner page navigation. */
.inner-header { padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.inner-header__brand { display: inline-flex; align-items: center; }
.inner-header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  color: #fff;
  cursor: pointer;
}
.inner-header__toggle > span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.inner-header__toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.inner-header__toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.inner-header__toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Motion language shared by generated pages. */
@media (prefers-reduced-motion: no-preference) {
  .has-js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .72s ease, transform .82s cubic-bezier(.2,.75,.2,1);
  }
  .has-js [data-reveal].is-visible { opacity: 1; transform: none; }
  .model-hero__car { animation: vehicle-in .9s cubic-bezier(.2,.75,.2,1) both; }
  .model-hero__word { animation: word-in 1.1s ease both; }
  .catalog-card, .blog-card, .text-link, .feature-list li { transition: transform .28s ease, border-color .28s ease, background-color .28s ease; }
  .catalog-card:hover, .blog-card:hover, .text-link:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.42); }
  .model-gallery__item img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .model-gallery__item:hover img { transform: scale(1.025); }
  @keyframes vehicle-in { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes word-in { from { opacity: 0; letter-spacing: -.02em; } to { opacity: 1; letter-spacing: -.08em; } }
}

/* Journal index. */
.journal-page { width: min(1320px, calc(100% - 2 * var(--gutter))); }
.journal-page > h1 { max-width: 10ch; font-size: clamp(3rem, 7.4vw, 7rem); }
.journal-page .lead { max-width: 720px; }
.journal-page .topic-nav { position: sticky; z-index: 8; top: 92px; width: fit-content; padding: 7px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8,10,12,.82); backdrop-filter: blur(14px); }
.journal-page .topic-nav a { border: 0; }
.blog-grid--wide { gap: 24px; }
.blog-grid--wide .blog-card { min-height: 100%; border-radius: 2px; background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.blog-grid--wide .blog-card:first-child { display: grid; grid-template-columns: 1.22fr .78fr; }
.blog-grid--wide .blog-card:first-child .article-cover { min-height: 520px; }
.article-cover { overflow: hidden; }
.article-cover img { width: 100%; height: 100%; padding: clamp(8px, 1.2vw, 18px); object-fit: contain; filter: drop-shadow(0 24px 22px rgba(0,0,0,.38)); transition: transform .65s ease; }
.blog-card:hover .article-cover img { transform: scale(1.025); }
.blog-card__body { display: flex; flex-direction: column; justify-content: flex-end; }
.blog-card__body h2 { text-wrap: balance; }

/* Editorial article: restrained type, full-width media, readable body. */
.article {
  width: min(1180px, calc(100% - 2 * var(--gutter)));
  padding-block: clamp(58px, 8vw, 118px);
}
.article-header { max-width: 960px; margin-inline: auto; text-align: center; }
.article-header .breadcrumbs { justify-content: center; width: auto; margin: 0 0 34px; }
.article-header .eyebrow { margin-bottom: 22px; }
.article h1 {
  max-width: 19ch;
  margin: 0 auto 24px;
  font-size: clamp(2.35rem, 5.1vw, 5.05rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.article-header .article-lead { max-width: 760px; margin: 0 auto; text-align: center; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; }
.article-meta span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.article-hero {
  width: 100%;
  margin: clamp(42px, 6vw, 76px) 0 0;
  transform: none;
  overflow: hidden;
  border-radius: 2px;
  background: radial-gradient(circle at 50% 53%, rgba(112,31,58,.25), transparent 48%), #0b0d0f;
}
.article-hero img { width: 100%; height: auto; max-height: 720px; aspect-ratio: 16/9; object-fit: contain; }
.article-hero figcaption { border-top: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: clamp(38px, 6vw, 88px); margin-top: clamp(52px, 7vw, 88px); }
.article-layout .toc { position: sticky; top: 112px; align-self: start; margin: 0; padding: 22px 0; border: 0; border-block: 1px solid var(--line); background: transparent; }
.toc strong { display: block; margin-bottom: 16px; color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.toc ol { display: grid; gap: 12px; margin: 0; padding-left: 22px; }
.toc li { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.toc a { text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.toc a:hover { color: #fff; text-decoration-color: var(--accent); }
.article-content { min-width: 0; }
.article-section { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 18px; padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.article-section__index { padding-top: 9px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.article-section h2 { margin: 0 0 16px; font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.article-section p { margin: 0; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.82; }
.article-callout { position: relative; margin: 0 0 58px; padding: 28px 30px 28px 34px; overflow: hidden; border: 1px solid rgba(227,24,32,.32); border-left: 0; background: linear-gradient(100deg, rgba(227,24,32,.12), rgba(255,255,255,.02)); }
.article-callout::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); content: ""; }
.article-callout strong { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.article-related { margin-bottom: 56px; }
.article-related h2 { margin: 14px 0 22px; }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.article-content .page-cta { margin-top: 0; }

/* Model and utility pages. */
.model-hero__car { max-width: min(1240px, 96%); }
.model-gallery__item { min-width: 0; }
.model-gallery__item figcaption { backdrop-filter: blur(4px); }
.facts-grid { overflow: hidden; }
.fact strong { line-height: 1.05; }
.table-wrap { max-width: 100%; overscroll-behavior-inline: contain; scrollbar-color: var(--accent) #111; }

@media (max-width: 899px) {
  .inner-header { min-height: 68px; padding: 10px 18px; }
  .inner-header__toggle { display: flex; }
  .inner-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(8,10,12,.97);
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
    transform-origin: top;
  }
  .inner-header__nav:not(.is-open) { visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; }
  .inner-header__nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .inner-header__nav a:not(.button) { display: flex; min-height: 48px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: .92rem; }
  .inner-header__phone { margin-top: 12px; }

  .model-hero__content { padding-top: 72px; }
  .model-hero__car { width: min(112%, 820px); max-width: none; margin: 0 0 -1% -6%; }
  .display-title { font-size: clamp(2.15rem, 10.2vw, 4.2rem); line-height: .96; }
  .model-hero__actions { flex-direction: column; align-items: stretch; }
  .model-hero__actions .button { width: 100%; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact { min-width: 0; }
  .fact strong { font-size: clamp(1.35rem, 6vw, 2.2rem); overflow-wrap: anywhere; }
  .feature-list { grid-template-columns: 1fr; }
  .related-links { grid-template-columns: 1fr; }
  .model-gallery { grid-template-columns: 1fr; gap: 12px; }
  .model-gallery__item, .model-gallery__item:first-child { grid-row: auto; }
  .model-gallery__item img, .model-gallery__item:first-child img { width: 100%; min-height: 0; aspect-ratio: 16/10; object-fit: cover; }

  .journal-page .topic-nav { position: static; width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 12px; scrollbar-width: none; }
  .journal-page .topic-nav a { flex: 0 0 auto; }
  .blog-grid--wide .blog-card:first-child { display: block; }
  .blog-grid--wide .blog-card:first-child .article-cover { min-height: 0; aspect-ratio: 16/10; }

  .article { width: min(100% - 36px, 760px); padding-top: 52px; }
  .article-header { text-align: left; }
  .article-header .breadcrumbs { justify-content: flex-start; overflow: hidden; margin-bottom: 28px; white-space: nowrap; }
  .article-header .breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .article h1 { max-width: none; margin-inline: 0; font-size: clamp(2.2rem, 9.8vw, 4.2rem); }
  .article-header .article-lead { margin-inline: 0; text-align: left; }
  .article-meta { justify-content: flex-start; }
  .article-hero { margin-top: 38px; }
  .article-layout { display: block; margin-top: 42px; }
  .article-layout .toc { position: static; margin-bottom: 48px; padding: 20px 22px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
  .article-section { grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding-bottom: 36px; margin-bottom: 36px; }
  .article-section__index { padding-top: 6px; }
  .article-content .page-cta { padding: 28px 22px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; --section-space: 64px; }
  .section { padding-block: 64px; }
  .button { width: 100%; min-height: 50px; padding-inline: 18px; }
  .inner-header__logo { width: 80px; height: 42px; }
  .breadcrumbs { max-width: calc(100% - 36px); margin-top: 16px; }
  .legal-page { width: calc(100% - 36px); padding-block: 58px 80px; }
  .legal-page > h1, .journal-page > h1 { margin-bottom: 22px; font-size: clamp(2.4rem, 12vw, 4rem); line-height: .96; }
  .catalog-card { min-height: 0; padding: 18px; }
  .catalog-card h2 { font-size: 2.15rem; }
  .catalog-card strong { margin-top: 26px; }
  .catalog-card .button { width: 100%; }
  .page-cta { margin-top: 70px; padding: 28px 22px; clip-path: none; border-radius: 16px; }
  .model-form { gap: 14px; }
  .model-form__consent { line-height: 1.45; }
  .model-hero__word { top: 8%; font-size: 23vw; }
  .model-hero__copy { padding-inline: 18px; }
  .model-hero__price { font-size: 1.55rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(2), .facts-grid--dense .fact:nth-child(4) { min-height: 0; padding: 22px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .page-copy { gap: 28px; }
  .section-title { font-size: clamp(2rem, 10vw, 3rem); }
  .version-list li { flex-direction: column; gap: 6px; }
  .model-gallery-section .section-title { font-size: 2.15rem; }
  .model-gallery__item img, .model-gallery__item:first-child img { aspect-ratio: 4/3; }
  .contact-grid { border: 0; gap: 10px; }
  .contact-grid section, .contact-grid section:nth-child(2n), .contact-grid section:nth-last-child(-n+2) { padding: 24px 20px; border: 1px solid var(--line); }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

  .article { width: calc(100% - 32px); padding-top: 38px; }
  .article-header .eyebrow { margin-bottom: 18px; }
  .article h1 { font-size: clamp(2.05rem, 11vw, 3.15rem); line-height: 1; }
  .article-lead { font-size: 1rem; line-height: 1.58; }
  .article-meta { gap: 6px; }
  .article-meta span { padding: 6px 9px; font-size: .72rem; }
  .article-hero { width: calc(100% + 32px); margin-left: -16px; border-inline: 0; }
  .article-hero img { aspect-ratio: 4/3; }
  .article-layout .toc { padding: 18px; }
  .article-section { grid-template-columns: 1fr; gap: 6px; }
  .article-section__index { padding: 0; }
  .article-section p { font-size: 1rem; line-height: 1.72; }
  .article-callout { padding: 24px 20px 24px 24px; }
  .article-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .has-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .model-hero__car, .model-hero__word { animation: none; }
}
