/* Prototype extensions. A inherits the original Demo's tokens and components. */
:root {
  --font-body: 'Noto Sans CJK SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-display: 'Noto Serif CJK SC', 'Songti SC', 'SimSun', serif;
  --review-height: 56px;
  --header-height: 88px;
}
body { padding-bottom: var(--review-height); }
html { scroll-padding-top: 110px; scroll-padding-bottom: 80px; }
[data-design='A'][data-theme='light'] { --color-accent: #896207; }
[data-design='A'][data-theme='light'] .hero__eyebrow { color: #725105; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a, button { transition: color 180ms, background 180ms, border-color 180ms; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.container { width: min(1280px, 100%); padding-inline: 40px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 2000; background: var(--color-surface); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); }
.header-wrap { max-width: 1440px; min-height: var(--header-height); padding: 12px 40px; margin: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.brand strong { font: 700 23px/1.3 var(--font-display); display: block; }
.brand small { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--color-text-muted); }
.brand svg { width: 38px; height: 44px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--color-accent); border-color: currentColor; }
.header-tools { display: flex; }
.theme-button, .menu-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.theme-button:hover, .menu-button:hover { background: var(--color-surface-offset); }
.menu-button { display: none; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 13px 24px; background: var(--color-primary); color: #fff; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 600; }
.action:hover { background: var(--color-primary-hover); }
.action--secondary { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.action--secondary:hover { background: var(--color-surface-offset); }
.muted, .data-note { color: var(--color-text-muted); }
.eyebrow { font-size: 13px; letter-spacing: .12em; }
.section { padding-block: 80px; }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.section-heading p, .section-subtitle { color: var(--color-text-muted); font-size: 16px; }
.hero { min-height: 700px; }
.hero__content { max-width: 1280px; padding: 72px 40px; }
.hero__title { font-size: clamp(44px, 5.6vw, 80px); }
.hero__desc { font-size: 21px; }
.hero__stats { margin-top: 54px; }
[data-design='A'] .hero__overlay { background: linear-gradient(100deg, color-mix(in srgb, var(--color-bg) 94%, transparent) 5%, color-mix(in srgb, var(--color-bg) 78%, transparent) 60%, color-mix(in srgb, var(--color-bg) 30%, transparent) 100%); }
[data-design='A'] .btn--primary { background: #976d06; color: #fff; }
[data-design='A'] .action { border-radius: 999px; }
.quote-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 28px; border-bottom: 1px solid var(--color-divider); }
.quote-strip .eyebrow { margin: 0 0 4px; font-size: 11px; }
.quote-strip strong { font-size: 18px; }
.strip-value { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.strip-value span { font-size: 14px; font-weight: 400; margin-left: 10px; color: var(--color-text-muted); }
.quote-strip a { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; display: flex; align-items: center; }
.change { color: var(--color-accent); font-size: 14px; font-weight: 600; }
.new-hero { padding: 64px 0; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.new-hero h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.24; margin: 24px 0; }
.new-hero-copy > p { font-size: 18px; line-height: 1.9; color: var(--color-text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-caption { font-size: 13px; color: var(--color-text-muted); margin-top: 52px; display: flex; gap: 28px; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { width: 100%; height: 530px; object-fit: cover; }
.hero-photo figcaption { font-size: 12px; color: var(--color-text-muted); margin-top: 14px; letter-spacing: .12em; }
.page-intro { padding-top: 64px; padding-bottom: 40px; }
.page-intro h1 { font-size: clamp(34px, 4vw, 54px); margin: 16px 0 22px; }
.page-intro > p { color: var(--color-text-muted); font-size: 17px; }
.page-about .about, .page-products .products, .page-trust .trust { padding-top: 40px; }
.page-intro + .products { background: transparent; }
.product-card { box-shadow: none; border: 1px solid var(--color-divider); }
.product-card:hover { transform: none; border-color: var(--color-accent); }
.product-card__img { aspect-ratio: 4 / 3; }
.product-card__desc { font-size: 16px; }
.product-card__tag { color: var(--color-accent); }
.about__text p { font-size: 17px; }
.about__visual img { aspect-ratio: 1 / 1; object-fit: cover; }
.trust__card p { font-size: 16px; }
.contact__map #map { min-height: 360px; height: 420px; }
.contact__map { max-width: 1200px; }
.contact__map a { min-height: 44px; display: inline-flex; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps article { padding: 26px; border-top: 2px solid var(--color-accent); background: var(--color-surface-2); }
.step-number { color: var(--color-accent); font: 36px var(--font-display); }
.steps h3 { font-size: 21px; margin: 30px 0 14px; }
.steps p { color: var(--color-text-muted); font-size: 15px; line-height: 1.9; }
.audiences { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--color-divider); font-size: 17px; }
.audiences > span { color: var(--color-text-muted); }
.warehouse img { width: 100%; max-height: 480px; object-fit: cover; }
.warehouse figcaption { font-size: 14px; color: var(--color-text-muted); margin-top: 14px; }
.faq { max-width: 960px; }
.faq h2 { font-size: 36px; margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary { cursor: pointer; min-height: 60px; padding: 20px 4px; font-size: 17px; }
.faq details p { padding: 0 20px 22px; color: var(--color-text-muted); font-size: 16px; }
.callout { padding-block: 45px; border-top: 1px solid var(--color-divider); display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 50px; margin-bottom: 40px; }
.callout h2 { font-size: 29px; margin-bottom: 16px; }
.callout p { font-size: 15px; color: var(--color-text-muted); }
.callout .action { flex-shrink: 0; }
.site-footer { background: var(--color-surface-offset); padding: 46px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; font-size: 14px; }
.footer-grid strong { font: 700 22px var(--font-display); }
.footer-grid p { margin: 10px 0; color: var(--color-text-muted); }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { border-top: 1px solid var(--color-divider); display: flex; justify-content: space-between; margin-top: 24px; padding-top: 24px; font-size: 12px; color: var(--color-text-muted); }
.review-bar { position: fixed; z-index: 1100; bottom: 0; left: 0; right: 0; min-height: var(--review-height); display: flex; justify-content: center; align-items: center; gap: 24px; background: var(--color-surface); border-top: 1px solid var(--color-border); box-shadow: 0 -4px 24px #00000008; padding: 5px 16px; font-size: 13px; }
.review-bar > a { min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.review-bar > span { color: var(--color-text-muted); }
.review-bar nav { display: flex; gap: 8px; }
.review-bar nav a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--color-divider); border-radius: 4px; }
.review-bar nav a[aria-current] { background: var(--color-primary); color: #fff; }
.hide-review { width: 44px; height: 44px; font-size: 24px; }
.mock-notice { display: flex; align-items: center; gap: 18px; border: 1px solid var(--color-divider); background: var(--color-surface-2); padding: 15px 20px; font-size: 14px; margin-bottom: 26px; }
.mock-notice b { white-space: nowrap; color: var(--color-accent); }
.mock-notice span { color: var(--color-text-muted); }
.quote-overview { display: grid; grid-template-columns: .9fr 1.25fr; gap: 26px; margin-bottom: 30px; }
.current-price, .chart-card, .history-card { border: 1px solid var(--color-divider); background: var(--color-surface); border-radius: 12px; padding: 28px; min-width: 0; }
.card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.card-heading h2 { font-size: 22px; }
.card-heading > span { font-size: 13px; color: var(--color-text-muted); }
.large-price { font: 700 78px/1.3 var(--font-body); font-variant-numeric: tabular-nums; margin: 14px 0 4px; letter-spacing: -3px; }
.large-price > span { font-size: 28px; margin-right: 10px; }
.large-price small { font-size: 15px; font-weight: 400; color: var(--color-text-muted); letter-spacing: 0; margin-left: 12px; }
.price-facts { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--color-divider); margin: 23px 0; padding-top: 20px; }
.price-facts span { display: block; color: var(--color-text-muted); font-size: 12px; margin-bottom: 7px; }
.price-facts small { display: inline-block; font-size: inherit; white-space: nowrap; }
.price-facts strong { font-size: 19px; }
.current-price > .action { width: 100%; }
.quote-chart { width: 100%; margin-top: 25px; overflow: visible; }
.quote-chart text { fill: var(--color-text-muted); font: 12px var(--font-body); }
.quote-chart .chart-grid line { stroke: var(--color-divider); stroke-dasharray: 4 5; }
.quote-chart polyline { fill: none; stroke: var(--color-accent); stroke-width: 3; }
.quote-chart circle { fill: var(--color-surface); stroke: var(--color-accent); stroke-width: 3; }
.quote-chart .point-label { fill: var(--color-text); font-weight: 600; }
.quote-chart .chart-area { fill: color-mix(in srgb, var(--color-accent) 8%, transparent); }
.chart-caption { font-size: 12px; color: var(--color-text-muted); margin-top: 12px; }
.table-hint { font-size: 13px; color: var(--color-text-muted); margin: 20px 0 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--color-divider); }
thead th { background: var(--color-surface-2); color: var(--color-text-muted); font-weight: 500; }
tbody th { font-weight: 500; }
tbody tr:first-child { background: color-mix(in srgb, var(--color-accent) 6%, var(--color-surface)); }
tbody tr:hover { background: var(--color-surface-2); }
.date-sort { min-height: 44px; margin-block: -12px; }
.table-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--color-text-muted); margin-top: 22px; }
.data-note { font-size: 13px; margin-top: 20px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: 30px; align-items: stretch; }
.contact-card { padding: 32px; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 10px; }
.contact-card h2 { font-size: 28px; margin-bottom: 14px; }
.contact-card p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 20px; }
.contact-number { font-size: 28px; font-weight: 600; min-height: 48px; display: block; white-space: nowrap; }
.secondary-number { font-size: 23px; }
hr { border: 0; border-top: 1px solid var(--color-divider); margin: 20px 0; }
.contact-card h3 { font-size: 22px; line-height: 1.7; margin-bottom: 12px; }
.contact-card .action { width: 100%; }
.copy-address { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; width: 100%; margin-top: 8px; }
.contact-card .copy-status { margin: 0; font-size: 13px; }
.map-card { border: 1px solid var(--color-divider); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: var(--color-surface); }
#map { min-height: 460px; height: 100%; flex: 1; background: var(--color-surface-offset); position: relative; isolation: isolate; }
.map-fallback { padding: 70px 30px; text-align: center; font-size: 16px; }
.map-fallback p { margin: 15px auto; }
.map-fallback a { text-decoration: underline; }
.map-caption { padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.map-caption a { min-height: 44px; display: flex; align-items: center; text-decoration: underline; }
.map-status { padding: 0 20px; font-size: 13px; color: var(--color-text-muted); }
.map-status:not(:empty) { padding-bottom: 18px; }
.leaflet-container { font-family: var(--font-body); color: #17212b; }
.leaflet-popup-content { line-height: 1.8; }
.leaflet-container a { color: #17446b; }
.leaflet-control-zoom a { width: 44px !important; height: 44px !important; line-height: 44px !important; }
.leaflet-popup-close-button { min-width: 32px; min-height: 32px; }
.visit-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; padding-block: 55px; }
.visit-notes article { border-top: 1px solid var(--color-divider); padding-top: 24px; }
.visit-notes span { font-size: 12px; color: var(--color-accent); }
.visit-notes h2 { font-size: 22px; margin: 16px 0; }
.visit-notes p { font-size: 15px; color: var(--color-text-muted); }
/* B: warm, asymmetric product catalogue. */
[data-design='B'][data-theme='light'] { --color-bg: #f6f1e8; --color-surface: #fffdf8; --color-surface-2: #eee7da; --color-surface-offset: #e9e0d0; --color-primary: #805039; --color-primary-hover: #603b29; --color-accent: #805039; --color-text: #372f27; --color-text-muted: #6a6258; --color-divider: #dcd1bf; --color-border: #b4a48c; }
[data-design='B'] .hero-photo img { border-radius: 48% 48% 5px 5px; }
[data-design='B'] .hero-photo { padding-left: 35px; }
[data-design='B'] .hero-photo figcaption { text-align: right; }
[data-design='B'] .new-hero-copy { padding-bottom: 28px; }
[data-design='B'] .products__grid { grid-template-columns: repeat(3, 1fr); gap: 34px; }
[data-design='B'] .product-card { background: transparent; border: 0; border-radius: 0; }
[data-design='B'] .product-card:nth-child(3n+2) { margin-top: 45px; }
[data-design='B'] .product-card__img { aspect-ratio: 1; border-radius: 45% 45% 4px 4px; }
[data-design='B'] .product-card__body { padding: 24px 0; }
[data-design='B'] .about__visual { order: -1; }
[data-design='B'] .about__visual img { border-radius: 4px 80px 4px 4px; }
[data-design='B'] .quote-overview { grid-template-columns: 1.25fr .9fr; }
[data-design='B'] .chart-card { order: -1; }
[data-design='B'] .current-price, [data-design='B'] .chart-card, [data-design='B'] .history-card { border-radius: 3px; }
[data-design='B'] .contact-layout { grid-template-columns: 1.4fr .8fr; }
[data-design='B'] .map-card { order: -1; }
/* C: purchasing portal with a compact, practical hierarchy. */
[data-design='C'][data-theme='light'] { --color-bg: #f3f6fa; --color-surface: #fff; --color-surface-2: #edf2f8; --color-surface-offset: #e5ecf5; --color-primary: #153c67; --color-primary-hover: #0b294a; --color-accent: #255a8a; --color-text: #152b43; --color-text-muted: #51657a; --color-divider: #d4dfea; --color-border: #aabccf; }
[data-design='C'] { --font-display: var(--font-body); }
[data-design='C'] .site-header { border-top: 4px solid var(--color-primary); }
[data-design='C'] .new-hero { padding-block: 42px; }
[data-design='C'] .hero-layout { grid-template-columns: 1.1fr .8fr .85fr; gap: 24px; }
[data-design='C'] .new-hero h1 { font-size: 45px; }
[data-design='C'] .new-hero-copy > p { font-size: 16px; }
[data-design='C'] .hero-actions { gap: 10px; }
[data-design='C'] .hero-actions .action { padding: 12px 14px; font-size: 13px; gap: 12px; }
[data-design='C'] .hero-photo img { height: 380px; border-radius: 8px; }
[data-design='C'] .hero-photo figcaption { font-size: 11px; letter-spacing: 0; }
[data-design='C'] .hero-caption { gap: 15px; margin-top: 30px; font-size: 12px; }
.hero-market { background: var(--color-surface); padding: 28px; border: 1px solid var(--color-divider); border-radius: 8px; }
.hero-market h2 { font-size: 22px; }
.hero-number { font-size: 70px; font-weight: 700; letter-spacing: -3px; }
.hero-number small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--color-text-muted); }
.hero-market > p:not(.hero-number) { font-size: 13px; color: var(--color-text-muted); }
.hero-market .action { width: 100%; margin-top: 24px; font-size: 13px; padding-inline: 12px; }
[data-design='C'] .products__header { text-align: left; }
[data-design='C'] .products__header .section-subtitle { margin-inline: 0; }
[data-design='C'] .products__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
[data-design='C'] .product-card { display: flex; align-items: center; border-radius: 8px; }
[data-design='C'] .product-card__img { width: 36%; aspect-ratio: 1; flex-shrink: 0; }
[data-design='C'] .product-card__body { padding: 18px; }
[data-design='C'] .product-card__desc { font-size: 13px; }
[data-design='C'] .product-card__name { font-size: 20px; }
[data-design='C'] .quote-content { display: flex; flex-direction: column; }
[data-design='C'] .mock-notice { order: -3; }
[data-design='C'] .history-card { order: -2; margin-bottom: 26px; }
[data-design='C'] .large-price { font-size: 65px; }
[data-design='C'] .quote-overview { margin-bottom: 0; }
/* D: an editorial masthead, wide photograph and ruled columns. */
[data-design='D'][data-theme='light'] { --color-bg: #f6f2e9; --color-surface: #fbf8f1; --color-surface-2: #eee8dc; --color-surface-offset: #e7dfd1; --color-primary: #843e30; --color-primary-hover: #622a20; --color-accent: #9b4030; --color-text: #292724; --color-text-muted: #655f56; --color-divider: #cfc5b4; --color-border: #aa9c84; }
[data-design='D'] .site-header { border-bottom: 2px solid var(--color-text); }
[data-design='D'] .new-hero { padding-top: 38px; }
[data-design='D'] .hero-layout { display: block; }
[data-design='D'] .new-hero-copy { display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; column-gap: 50px; }
[data-design='D'] .new-hero-copy > .eyebrow { grid-column: 1 / -1; border-bottom: 1px solid var(--color-divider); padding-bottom: 18px; }
[data-design='D'] .new-hero h1 { font-size: clamp(44px, 5.5vw, 76px); margin-block: 28px; }
[data-design='D'] .new-hero-copy > p { font-size: 17px; border-left: 1px solid var(--color-divider); padding-left: 30px; }
[data-design='D'] .hero-actions { margin: 0 0 32px; }
[data-design='D'] .hero-caption { margin: 0 0 32px; }
[data-design='D'] .hero-photo img { height: 360px; object-position: center 57%; }
[data-design='D'] .hero-photo figcaption { position: absolute; right: 20px; bottom: 20px; background: #f6f2e9; color: #292724; padding: 12px 18px; }
[data-design='D'] .action, [data-design='D'] .product-card, [data-design='D'] .trust__card, [data-design='D'] .current-price, [data-design='D'] .chart-card, [data-design='D'] .history-card { border-radius: 0; }
[data-design='D'] .products__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
[data-design='D'] .product-card { display: flex; align-items: center; background: transparent; border: 0; border-top: 1px solid var(--color-divider); padding: 24px 0; margin-right: 30px; }
[data-design='D'] .product-card__img { width: 38%; flex-shrink: 0; aspect-ratio: 1; }
[data-design='D'] .product-card__body { padding: 20px; }
[data-design='D'] .products__header { text-align: left; }
[data-design='D'] .products__header .section-subtitle { margin-inline: 0; }
[data-design='D'] .quote-overview { grid-template-columns: .7fr 1.3fr; }
[data-design='D'] .page-intro { border-bottom: 1px solid var(--color-divider); margin-bottom: 32px; }
[data-design='D'] .page-intro h1 { font-size: clamp(36px, 4.6vw, 64px); }
[data-design='D'] .contact-card { border-radius: 0; border: 0; border-top: 3px solid var(--color-primary); }
/* E: image-led supply partner, framed dark-green hero. */
[data-design='E'][data-theme='light'] { --color-bg: #f4f5f0; --color-surface: #fff; --color-surface-2: #e9eee5; --color-surface-offset: #e1e8dc; --color-primary: #244437; --color-primary-hover: #132e24; --color-accent: #655b28; --color-text: #1c352b; --color-text-muted: #596b60; --color-divider: #ced9cd; --color-border: #a1b39f; }
[data-design='E'] .new-hero { background: #15382d; color: #fff; padding-block: 0; }
[data-design='E'] .hero-layout { max-width: 1440px; padding-right: 0; min-height: 640px; gap: 40px; grid-template-columns: 1fr 1.1fr; }
[data-design='E'] .new-hero-copy { padding: 60px 0 60px 30px; }
[data-design='E'] .new-hero .eyebrow { color: #d8c58c; }
[data-design='E'] .new-hero-copy > p, [data-design='E'] .hero-caption { color: #d1ddd4; }
[data-design='E'] .new-hero .action { background: #dac795; color: #17352a; }
[data-design='E'] .new-hero .action--secondary { background: transparent; border-color: #81998b; color: #fff; }
[data-design='E'] .hero-photo { align-self: stretch; }
[data-design='E'] .hero-photo img { height: 100%; min-height: 640px; object-fit: cover; }
[data-design='E'] .hero-photo figcaption { position: absolute; bottom: 28px; left: 24px; background: #15382de6; color: #fff; padding: 12px; }
[data-design='E'] .steps { gap: 0; }
[data-design='E'] .steps article { padding: 32px; border-right: 1px solid var(--color-divider); }
[data-design='E'] .trust__grid { gap: 0; border: 1px solid var(--color-divider); }
[data-design='E'] .trust__card { border: 0; border-right: 1px solid var(--color-divider); border-radius: 0; }
[data-design='E'] .current-price { background: #15382d; color: #fff; border-color: #15382d; }
[data-design='E'] .current-price .change { color: #dac795; }
[data-design='E'] .current-price .card-heading > span, [data-design='E'] .current-price small, [data-design='E'] .price-facts span { color: #c4d4ca; }
[data-design='E'] .current-price .action { background: #dac795; color: #15382d; }
[data-design='E'] .price-facts { border-color: #557565; }
[data-design='E'] .contact-layout { grid-template-columns: 1.35fr .8fr; }
[data-design='E'] .map-card { order: -1; }
[data-theme='dark'] { --color-text-muted: #b3becf; --color-text-faint: #a1afc4; --color-border: #4a5d78; }
[data-theme='dark'] .action:not(.action--secondary) { background: #d4a843; color: #0a1220; }
[data-theme='dark'] .review-bar nav a[aria-current] { background: #d4a843; color: #0a1220; }
[data-theme='dark'] .contact__item-value, [data-theme='dark'] .contact__title { color: #e2e6ed; }
/* Design review gallery. */
.gallery { padding-bottom: 0; }
.gallery-heading { padding-top: 65px; padding-bottom: 35px; position: relative; }
.gallery-heading h1 { font-size: clamp(36px, 4.5vw, 60px); margin: 20px 0; line-height: 1.25; }
.gallery-heading > p { color: var(--color-text-muted); font-size: 17px; }
.gallery-heading > .action { position: absolute; right: 40px; top: 100px; }
.requirements { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 35px; border-top: 1px solid var(--color-divider); padding-top: 22px; font-size: 13px; color: var(--color-text-muted); }
.gallery-list { display: grid; gap: 36px; }
.gallery-card { border: 1px solid var(--color-divider); background: var(--color-surface); padding: 28px; border-radius: 8px; }
.gallery-card-title { display: flex; align-items: center; gap: 22px; }
.design-letter { width: 60px; height: 60px; display: grid; place-items: center; background: #0c2340; color: #fff; font: 32px var(--font-display); }
.gallery-B .design-letter { background: #805039; }.gallery-C .design-letter { background: #153c67; }.gallery-D .design-letter { background: #843e30; }.gallery-E .design-letter { background: #244437; }
.gallery-card h2 { font-size: 28px; }.gallery-card .eyebrow { margin-bottom: 8px; }
.palette-label { margin-left: auto; color: var(--color-text-muted); font-size: 13px; }
.gallery-card > p { margin: 20px 0; color: var(--color-text-muted); font-size: 15px; max-width: none; }
.gallery-previews { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.gallery-previews img { width: 100%; aspect-ratio: 1.45; object-fit: cover; object-position: top; border: 1px solid var(--color-divider); }
.gallery-previews span { display: block; padding-top: 10px; font-size: 12px; }
.gallery-card nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gallery-card nav a { border: 1px solid var(--color-divider); min-height: 44px; padding: 10px 14px; font-size: 13px; }
.gallery-card nav a:first-child { background: #0c2340; color: #fff; }
.gallery-card a:hover { color: var(--color-accent); }
.gallery-mobile { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 15px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.gallery-mobile a { min-height: 44px; display: flex; align-items: center; }
.gallery-end { padding-block: 40px; font-size: 14px; color: var(--color-text-muted); }
@media (max-width: 1150px) {
  .header-wrap { padding-inline: 24px; gap: 15px; }
  .site-nav { gap: 15px; }.site-nav a { font-size: 13px; }
  .brand strong { font-size: 20px; }.brand { gap: 7px; }.brand small { font-size: 9px; }
  [data-design='C'] .hero-layout { grid-template-columns: 1.2fr 1fr; }
  [data-design='C'] .hero-photo { display: none; }
  [data-design='C'] .products__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout, [data-design='B'] .contact-layout, [data-design='E'] .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 20px; }
  .contact-card { padding: 25px; }.contact-number { font-size: 25px; }
}
@media (max-width: 950px) {
  :root { --header-height: 76px; }
  .container { padding-inline: 28px; }
  .header-wrap { padding-inline: 28px; }.header-tools { margin-left: auto; }
  .menu-button { display: grid; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); padding: 16px 28px 26px; border-bottom: 1px solid var(--color-divider); max-height: calc(100dvh - 140px); overflow-y: auto; }
  .site-nav.is-open { display: grid; gap: 8px; }.site-nav a { padding: 10px; font-size: 16px; }
  .hero-layout { gap: 30px; }.hero-photo img { height: 430px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quote-overview, [data-design='B'] .quote-overview, [data-design='D'] .quote-overview { grid-template-columns: 1fr 1fr; gap: 18px; }
  .current-price, .chart-card, .history-card { padding: 22px; }.price-facts { gap: 10px; }.price-facts strong { font-size: 16px; }
  .large-price { font-size: 65px; }
  .contact-layout, [data-design='B'] .contact-layout, [data-design='E'] .contact-layout { grid-template-columns: 1fr; }
  .map-card { min-height: 500px; }[data-design='B'] .map-card, [data-design='E'] .map-card { order: 0; }
  [data-design='B'] .products__grid { gap: 18px; }
  [data-design='D'] .new-hero-copy { column-gap: 25px; }
  [data-design='D'] .hero-caption { gap: 12px; }
  [data-design='E'] .new-hero-copy { padding-left: 0; }[data-design='E'] .hero-layout { gap: 25px; }
  .gallery-previews { gap: 12px; }.palette-label { display: none; }
}
@media (max-width: 650px) {
  :root { --header-height: 72px; --review-height: 56px; }
  .container, .header-wrap { padding-inline: 20px; }
  .brand strong { font-size: 21px; }.brand small { font-size: 9px; }.brand svg { width: 32px; }
  .header-tools { gap: 4px; }
  .section { padding-block: 52px; }
  .hero { min-height: 660px; }.hero__content { padding: 48px 20px; }.hero__title { font-size: 46px; max-width: 9ch; line-height: 1.2; }.hero__title span { display: block; }.hero__desc { font-size: 17px; }.hero__stats { gap: 28px; margin-top: 35px; }.hero__stat-num { font-size: 34px; }.hero__stat-label { font-size: 12px; }
  .hero__actions { gap: 12px; }.hero__actions .btn { padding: 14px 20px; font-size: 14px; }
  .quote-strip { gap: 14px; padding-block: 24px; }.quote-strip > div:first-child { width: 100%; }.quote-strip > .muted { font-size: 13px; }.quote-strip > a { margin-left: auto; }
  .new-hero { padding-block: 35px; }.hero-layout { grid-template-columns: 1fr; gap: 30px; }.new-hero h1 { font-size: 44px; margin: 20px 0; }.new-hero-copy > p { font-size: 16px; }.hero-actions { gap: 10px; margin-top: 26px; }.action { padding: 12px 18px; font-size: 14px; gap: 14px; }.hero-caption { margin-top: 28px; gap: 24px; font-size: 12px; }.hero-photo img { height: 330px; }
  [data-design='B'] .hero-photo { padding-left: 32px; padding-right: 32px; }[data-design='B'] .new-hero-copy { padding-bottom: 0; }
  [data-design='B'] .hero-photo img { height: 350px; }
  [data-design='C'] .hero-layout { grid-template-columns: 1fr; }[data-design='C'] .new-hero h1 { font-size: 39px; }.hero-market { padding: 24px; }.hero-number { font-size: 60px; }.hero-number small { display: inline; margin-left: 15px; }.hero-market hr { margin: 12px 0; }.hero-market .action { margin-top: 16px; }
  [data-design='D'] .new-hero-copy { display: block; }[data-design='D'] .new-hero h1 { font-size: 43px; max-width: 7em; }[data-design='D'] .new-hero-copy > p { border: 0; padding: 0; margin-bottom: 25px; }[data-design='D'] .hero-actions { margin-bottom: 24px; }[data-design='D'] .hero-caption { margin-bottom: 24px; gap: 22px; }[data-design='D'] .hero-photo img { height: 280px; }[data-design='D'] .hero-photo figcaption { font-size: 10px; bottom: 12px; right: 12px; padding: 8px; letter-spacing: 0; }
  [data-design='E'] .hero-layout { display: block; padding: 0; min-height: 0; }[data-design='E'] .new-hero-copy { padding: 40px 20px; }[data-design='E'] .hero-photo img { min-height: 0; height: 320px; }[data-design='E'] .hero-photo figcaption { bottom: 18px; left: 20px; }
  .page-intro { padding-top: 40px; padding-bottom: 28px; }.page-intro h1, [data-design='D'] .page-intro h1 { font-size: 35px; line-height: 1.3; }.page-intro > p { font-size: 16px; }
  .products__grid, [data-design='B'] .products__grid, [data-design='C'] .products__grid, [data-design='D'] .products__grid { grid-template-columns: 1fr; }
  [data-design='B'] .product-card:nth-child(3n+2) { margin-top: 0; }[data-design='B'] .product-card__img { aspect-ratio: 1.15; }[data-design='B'] .product-card { margin-bottom: 15px; }
  [data-design='D'] .product-card { margin-right: 0; }[data-design='D'] .product-card__desc { font-size: 14px; }
  [data-design='C'] .product-card__desc { font-size: 15px; }
  .about__grid { grid-template-columns: 1fr; }.about__visual { margin-top: 20px; }.about__text p { font-size: 16px; }
  .trust__grid { grid-template-columns: 1fr; }.trust__card { padding: 28px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }.steps article { padding: 24px; }.steps h3 { margin-top: 18px; }.audiences { gap: 16px 26px; font-size: 15px; }.audiences > span { width: 100%; }
  .callout { display: block; margin-top: 20px; margin-bottom: 20px; }.callout h2 { font-size: 27px; }.callout .action { margin-top: 25px; }.faq h2 { font-size: 30px; }
  .footer-grid, .footer-bottom { flex-direction: column; gap: 15px; }.footer-grid strong { font-size: 21px; }
  .review-bar { padding: 5px 8px; gap: 8px; justify-content: space-between; font-size: 12px; }.review-bar > span { display: none; }.review-bar nav { gap: 5px; }.review-bar nav a { width: 40px; height: 44px; }.hide-review { width: 28px; }
  .mock-notice { align-items: flex-start; padding: 14px; gap: 10px; font-size: 13px; }.mock-notice b { margin-top: 1px; }
  .quote-overview, [data-design='B'] .quote-overview, [data-design='D'] .quote-overview { grid-template-columns: 1fr; gap: 18px; }[data-design='B'] .chart-card { order: 0; }
  .current-price, .chart-card, .history-card { padding: 20px; border-radius: 6px; }.large-price { font-size: 72px; }.card-heading h2 { font-size: 20px; }.price-facts strong { font-size: 18px; }.price-facts span { font-size: 12px; }
  .chart-card { padding-inline: 16px; }.quote-chart { margin-top: 20px; }.chart-caption { font-size: 11px; }.export-button { min-height: 44px; font-size: 12px; padding: 10px 14px; }.history-card .card-heading { gap: 20px; }
  .quote-chart text { font-size: 26px; }
  th, td { padding: 14px; }th:first-child { padding-left: 12px; }.table-footer { font-size: 12px; }
  .contact-card { padding: 24px; }.contact-number { font-size: 27px; }.secondary-number { font-size: 24px; }
  #map { min-height: 360px; }.map-card { min-height: 0; }.map-caption { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; }.visit-notes { grid-template-columns: 1fr; gap: 30px; padding-block: 40px; }
  .contact__map #map { min-height: 320px; height: 360px; }.contact__map-info { flex-direction: column; gap: 12px; }.contact__info { gap: 28px; }
  .gallery-heading { padding-top: 40px; }.gallery-heading h1 { font-size: 39px; }.gallery-heading > p { font-size: 15px; }.gallery-heading > .action { position: static; margin-top: 24px; }.requirements { font-size: 12px; gap: 12px; }.gallery-card { padding: 20px; }.gallery-card-title { gap: 15px; }.gallery-card h2 { font-size: 25px; }.design-letter { width: 48px; height: 52px; }.gallery-card .eyebrow { font-size: 11px; }.gallery-previews { grid-template-columns: 1fr; gap: 20px; }.gallery-previews img { aspect-ratio: 1.3; }.gallery-card nav { gap: 8px; }.gallery-card nav a { font-size: 12px; padding: 10px; }.gallery-mobile { font-size: 12px; gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
