:root {
  --bg: #f3f4f1;
  --paper: #ffffff;
  --ink: #18201c;
  --muted: #667069;
  --line: #dce1dc;
  --green: #275c45;
  --green-dark: #173c2c;
  --acid: #c9e255;
  --sand: #e9e2d6;
  --rust: #a54b2a;
  --shadow: 0 12px 35px rgba(20, 38, 28, .08);
  --radius: 14px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 10px; z-index: 100; background: #fff; padding: 10px 14px; }

.topline { background: var(--green-dark); color: #dfe9e3; font-size: 13px; }
.topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline a:hover { color: #fff; }
.topline__meta { display: flex; gap: 22px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); display: inline-block; margin-right: 7px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-main { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; border-radius: 9px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 19px; transform: rotate(-3deg); }
.brand__name { font-weight: 900; letter-spacing: -.03em; font-size: 20px; line-height: 1; }
.brand__tag { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 5px; }
.main-nav { display: flex; justify-content: center; gap: 24px; font-size: 14px; font-weight: 700; }
.main-nav a { padding: 27px 0 24px; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); border-color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-btn, .menu-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; }
.search-btn:hover, .menu-btn:hover { background: #eef3ef; }
.menu-btn { display: none; }
.search-panel { display: none; padding: 16px 0; border-top: 1px solid var(--line); }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 13px 15px; border-radius: 8px; font: inherit; }
.search-results { flex: 0 0 100%; background: #f4f7f4; border: 1px solid var(--line); border-radius: 10px; padding: 15px 17px; }
.search-results strong { display: block; margin-bottom: 8px; color: var(--green-dark); }
.search-results ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 22px; }
.search-results a { color: var(--green); font-weight: 750; }
.search-results a:hover { text-decoration: underline; }
.search-results p { margin: 0; color: var(--muted); }
.btn { border: 0; border-radius: 8px; padding: 12px 17px; background: var(--green); color: #fff; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: var(--green-dark); }
.btn--ghost { color: var(--green); background: #eef4f0; }

.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker__inner { min-height: 42px; display: flex; align-items: center; overflow: hidden; }
.ticker__label { background: var(--acid); color: #20301f; align-self: stretch; display: flex; align-items: center; padding: 0 16px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.ticker__items { display: flex; gap: 34px; padding-left: 24px; white-space: nowrap; font-size: 13px; }
.ticker__items span::before { content: "•"; color: var(--rust); margin-right: 9px; }

.page { padding: 28px 0 72px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.crumbs a:hover { color: var(--green); }
.crumbs span { margin: 0 8px; color: #9ba39d; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .82fr); gap: 30px; align-items: stretch; }
.lead-story { background: #111; color: #fff; border-radius: var(--radius); overflow: hidden; position: relative; min-height: 500px; box-shadow: var(--shadow); }
.lead-story img { position: absolute; inset: 0; height: 100%; min-height: 500px; object-fit: cover; opacity: .82; }
.lead-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 16, 11, .92), rgba(8,16,11,0) 65%); }
.lead-story__content { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lead-story .eyebrow { color: var(--acid); }
.lead-story h1 { font-size: clamp(30px, 4vw, 51px); line-height: 1.02; letter-spacing: -.045em; max-width: 760px; margin: 10px 0 13px; }
.lead-story p { max-width: 700px; color: #dce3de; margin: 0; font-size: 17px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; font-weight: 650; margin-top: 14px; }
.lead-story .article-meta { color: #cbd4cd; }
.side-stack { display: grid; gap: 16px; }
.fact-card { border-radius: var(--radius); padding: 22px; background: var(--green); color: #fff; }
.fact-card__title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #c8d9ce; font-weight: 900; }
.fact-card__value { font-size: clamp(29px, 3vw, 36px); line-height: 1; font-weight: 900; margin: 9px 0 7px; letter-spacing: -.04em; }
.fact-card p { margin: 0; color: #d9e5dc; font-size: 13px; }
.popular { background: #fff; border-radius: var(--radius); padding: 21px; border: 1px solid var(--line); }
.popular h2 { margin: 0 0 8px; font-size: 19px; }
.popular-list { list-style: none; padding: 0; margin: 0; counter-reset: pop; }
.popular-list li { counter-increment: pop; border-top: 1px solid var(--line); padding: 14px 0 14px 38px; position: relative; }
.popular-list li::before { content: counter(pop, decimal-leading-zero); position: absolute; left: 0; color: var(--green); font-size: 12px; font-weight: 900; }
.popular-list a { font-weight: 750; line-height: 1.25; display: block; }
.popular-list a:hover { color: var(--green); }
.popular-list small { display: block; color: var(--muted); margin-top: 4px; }

.section { margin-top: 48px; }
.section--paper { background: #fff; padding: 38px; border-radius: var(--radius); border: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 22px; }
.section-head h2 { margin: 4px 0 0; font-size: clamp(26px, 3vw, 37px); letter-spacing: -.035em; line-height: 1.08; }
.section-head p { margin: 0; max-width: 580px; color: var(--muted); }
.section-link { color: var(--green); font-weight: 850; font-size: 14px; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: #dfe4df; }
.card__image img { height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card__image img { transform: scale(1.025); }
.card__body { padding: 19px; }
.card__rubric { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.card h3 { font-size: 20px; line-height: 1.18; margin: 8px 0 9px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .article-meta { margin-top: 14px; }
.card--horizontal { display: grid; grid-template-columns: 43% 1fr; }
.card--horizontal .card__image { aspect-ratio: auto; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--4 .card h3 { font-size: 17px; }
.text-card { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 10px; }
.text-card h3 { margin: 5px 0 8px; font-size: 20px; }
.text-card p { margin: 0; color: var(--muted); }
.text-card--warn { border-top-color: var(--rust); }

.split-feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--green-dark); color: #fff; }
.split-feature__image img { height: 100%; object-fit: cover; min-height: 410px; }
.split-feature__content { padding: clamp(28px, 5vw, 55px); display: flex; flex-direction: column; justify-content: center; }
.split-feature h2 { font-size: clamp(29px, 4vw, 44px); line-height: 1.04; letter-spacing: -.04em; margin: 10px 0 16px; }
.split-feature p { color: #d2ddd6; }
.check-list { list-style: none; padding: 0; margin: 16px 0 22px; }
.check-list li { padding: 8px 0 8px 26px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--acid); font-weight: 900; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.metric { background: #fff; padding: 22px; }
.metric strong { display: block; color: var(--green); font-size: 27px; line-height: 1; letter-spacing: -.03em; }
.metric span { display: block; color: var(--muted); font-size: 12px; margin-top: 7px; }

.comparison { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.comparison th, .comparison td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: #eef2ee; color: var(--green-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison .best { color: var(--green); font-weight: 850; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.badge { display: inline-block; border-radius: 99px; background: #eef3ef; color: var(--green); padding: 5px 10px; font-size: 11px; font-weight: 850; }
.badge--rust { background: #f7ece7; color: var(--rust); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; }
.review__top { display: flex; justify-content: space-between; gap: 12px; }
.review__name { font-weight: 900; }
.review__car { color: var(--muted); font-size: 12px; }
.review__rating { color: #b1791b; letter-spacing: 1px; }
.review blockquote { margin: 20px 0 0; font-size: 15px; }
.review p { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

.gallery-strip { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 10px; }
.gallery-strip button { border: 0; padding: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; background: #ddd; }
.gallery-strip button:first-child { grid-row: 1 / 3; }
.gallery-strip button:nth-child(4) { grid-column: 2 / 4; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-strip button:hover img { transform: scale(1.035); }
.lightbox { position: fixed; inset: 0; background: rgba(7,12,9,.92); z-index: 100; display: none; place-items: center; padding: 40px; }
.lightbox.is-open { display: grid; }
.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, calc(100vw - 80px));
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
}
.lightbox__close { position: absolute; top: 18px; right: 22px; color: #fff; background: transparent; border: 0; font-size: 36px; cursor: pointer; }

.faq { display: grid; gap: 9px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 34px 18px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; font-size: 22px; color: var(--green); top: 13px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 900px; }

.page-hero { background: var(--green-dark); color: #fff; padding: 46px 0 48px; }
.page-hero .crumbs { color: #bfcac3; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.05em; margin: 12px 0 16px; }
.page-hero p { max-width: 720px; color: #d2ddd6; font-size: 18px; margin: 0; }
.page-hero .eyebrow { color: var(--acid); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; align-items: start; }
.content-main h2 { font-size: 30px; margin: 40px 0 16px; letter-spacing: -.03em; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 21px; margin: 28px 0 10px; }
.content-main p { max-width: 820px; }
.aside { position: sticky; top: 105px; display: grid; gap: 16px; }

.article-page { min-width: 0; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-bottom: 26px; }
.article-lead { font-size: 20px; line-height: 1.55; color: #34423a; margin: 0 0 28px; }
.article-summary { background: #eef3ef; border-left: 5px solid var(--green); border-radius: 0 12px 12px 0; padding: 22px 25px; margin: 0 0 30px; }
.article-summary h2 { font-size: 22px; margin: 0 0 10px; }
.article-summary ul { margin: 0; padding-left: 20px; }
.article-summary li + li { margin-top: 7px; }
.article-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 30px; }
.article-fact { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.article-fact strong { display: block; color: var(--green); font-size: 23px; line-height: 1.1; }
.article-fact span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.article-page .check-list { max-width: 820px; }
.article-verdict { background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 26px; margin: 34px 0; }
.article-verdict h2 { color: #fff; margin: 0 0 10px; }
.article-verdict p { color: #d6e1da; margin: 0; }
.article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.article-nav a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 17px; background: #fff; font-weight: 800; }
.article-nav a:hover { border-color: var(--green); color: var(--green); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.aside-card h3 { margin: 0 0 12px; font-size: 17px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.aside-card a:hover { color: var(--green); }
.note { border-left: 4px solid var(--green); background: #edf3ef; padding: 17px 20px; border-radius: 0 8px 8px 0; color: #34463a; }
.note--warn { border-left-color: var(--rust); background: #f7eeea; }
.spec-section { margin-bottom: 28px; }
.spec-section h2 { font-size: 24px; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 48%; color: var(--muted); font-weight: 600; }
.spec-table td { font-weight: 750; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.dimensions-gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin: 0 0 18px; }
.dimensions-figure { min-width: 0; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.dimensions-figure button { display: grid; place-items: center; width: 100%; min-height: 260px; padding: 16px; border: 0; background: #f7f8f6; cursor: zoom-in; }
.dimensions-figure img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; }
.dimensions-figure figcaption { padding: 13px 16px 15px; color: var(--muted); font-size: 13px; line-height: 1.45; border-top: 1px solid var(--line); }
.trims-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trim { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
.trim--featured { border: 2px solid var(--green); transform: translateY(-5px); }
.trim__head { padding: 23px; background: #eef2ee; }
.trim--featured .trim__head { background: var(--green); color: #fff; }
.trim h2 { margin: 5px 0 0; font-size: 25px; }
.trim__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.trim ul { padding-left: 19px; margin: 0; }
.trim li { margin: 9px 0; color: #48524c; }
.trim__verdict { border-top: 1px solid var(--line); margin-top: auto; padding-top: 17px; font-weight: 750; }

.timeline { display: grid; gap: 0; margin-top: 20px; }
.timeline__item { display: grid; grid-template-columns: 100px 30px 1fr; }
.timeline__km { font-weight: 900; color: var(--green); padding-top: 3px; }
.timeline__line { position: relative; }
.timeline__line::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--acid); border: 3px solid var(--green); position: absolute; left: 5px; top: 5px; z-index: 2; }
.timeline__line::after { content: ""; width: 2px; background: var(--line); position: absolute; top: 18px; bottom: 0; left: 11px; }
.timeline__item:last-child .timeline__line::after { display: none; }
.timeline__text { padding-bottom: 25px; }
.timeline__text strong { display: block; }
.timeline__text span { color: var(--muted); font-size: 14px; }
.gallery-page { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 170px; gap: 12px; }
.gallery-page button { grid-column: span 4; grid-row: span 2; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.gallery-page button:nth-child(1), .gallery-page button:nth-child(6) { grid-column: span 8; }
.gallery-page button:nth-child(3), .gallery-page button:nth-child(4) { grid-column: span 6; }
.gallery-page img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { background: #12251b; color: #d5dfd8; padding: 48px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .brand__mark { background: var(--acid); color: var(--green-dark); }
.site-footer .brand__tag { color: #98aa9f; }
.footer-copy { color: #9cad9f; font-size: 13px; max-width: 340px; margin-top: 17px; }
.footer-col h3 { margin: 0 0 13px; color: #fff; font-size: 14px; }
.footer-col a { display: block; color: #aebdb3; font-size: 13px; margin: 9px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #294034; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; color: #819487; font-size: 12px; gap: 30px; }
.back-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: #fff; display: none; cursor: pointer; z-index: 20; box-shadow: var(--shadow); }
.back-top.is-visible { display: block; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.error-code { font-size: clamp(100px, 25vw, 260px); font-weight: 950; line-height: .75; color: #d9dfda; letter-spacing: -.08em; }
.error-page h1 { font-size: clamp(30px, 5vw, 50px); margin: 30px 0 10px; }
.error-page p { color: var(--muted); max-width: 590px; margin: 0 auto 25px; }

@media (max-width: 1040px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); background: #fff; display: none; flex-direction: column; justify-content: flex-start; padding: 30px 24px; gap: 0; overflow-y: auto; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-btn { display: grid; }
  .header-main { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; }
  .portal-grid, .content-layout { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .aside { position: static; grid-template-columns: repeat(2,1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .trims-grid { grid-template-columns: 1fr; }
  .trim--featured { transform: none; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topline__meta span:not(:first-child), .topline__right { display: none; }
  .brand__name { font-size: 17px; }
  .brand__tag { font-size: 9px; }
  .header-main { min-height: 68px; }
  .main-nav { height: calc(100vh - 68px); }
  .ticker__label { display: none; }
  .ticker__items { padding-left: 0; overflow: hidden; }
  .page { padding-top: 18px; }
  .lead-story, .lead-story img { min-height: 490px; height: 490px; }
  .lead-story__content { left: 20px; right: 20px; bottom: 22px; }
  .lead-story h1 { font-size: 32px; }
  .lead-story p { font-size: 15px; }
  .side-stack, .cards, .cards--2, .cards--4, .review-grid { grid-template-columns: 1fr; }
  .section { margin-top: 36px; }
  .section--paper { padding: 23px 18px; }
  .section-head { align-items: start; flex-direction: column; }
  .card--horizontal { grid-template-columns: 1fr; }
  .card--horizontal .card__image { aspect-ratio: 16/10; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature__image img { min-height: 260px; height: 280px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery-strip button:first-child { grid-column: 1 / 3; grid-row: auto; }
  .gallery-strip button:nth-child(4) { grid-column: 1 / 3; }
  .gallery-page { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-page button, .gallery-page button:nth-child(1), .gallery-page button:nth-child(3), .gallery-page button:nth-child(4), .gallery-page button:nth-child(6) { grid-column: auto; grid-row: auto; }
  .lightbox { padding: 20px; }
  .lightbox img { max-width: calc(100vw - 40px); max-height: 88vh; }
  .aside { grid-template-columns: 1fr; }
  .article-facts { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-lead { font-size: 18px; }
  .dimensions-gallery { grid-template-columns: 1fr; }
  .dimensions-figure button { min-height: 0; padding: 10px; }
  .page-hero { padding: 30px 0 34px; }
  .page-hero h1 { font-size: 39px; }
  .page-hero p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-bottom { flex-direction: column; }
  .search-results ul { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .search-btn { display: none; }
  .metric-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .timeline__item { grid-template-columns: 74px 25px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
