/*
 * Leyiyou product showroom polish, approved 2026-11-06.
 * Keeps the existing page structure, brand, four videos and product galleries.
 * Informed by Unslop by Damir Sokolovsky (@heydamir), CC BY 4.0:
 * https://heydamir.design/unslop
 */

:root {
  --showroom-section: 96px;
  --showroom-gap: 48px;
  --heading: clamp(32px, 3.3vw, 48px);
  --lead: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 1. Spacing: keep the alternating sections and give related content one rhythm. */
.section { margin-top: var(--showroom-section); }
.section-heading { gap: 48px; margin-bottom: 40px; }
.home-intro { margin-top: 96px; gap: 8%; }
.home-scenarios, .home-approach { margin-top: 96px; }
.home-scenarios > .section-heading { gap: 48px; margin-bottom: 48px; }
.home-scenario-list { gap: 80px 48px; }
.home-scenario, .home-scenario:nth-child(even) { gap: 6%; }
.home-scenario-copy p { margin-top: 16px; }
.home-scenario-copy .text-link, .home-intro .text-link { margin-top: 24px; gap: 24px; }
.home-approach-steps { gap: 40px; margin-top: 40px; }
.home-approach-steps p { margin-top: 16px; }
.page-intro { padding: 56px var(--gutter) 16px; }
.page-intro > p { margin-top: 24px; }
.breadcrumb { margin-bottom: 24px; }
.catalog { margin-top: 48px; }
.catalog-tools { gap: 24px; }
.product-row { gap: 48px; padding: 32px 0; }
.product-info p { margin: 16px 0 24px; }
.product-actions { gap: 24px; }
.detail-intro { padding: 48px; }
.detail-intro .lead { margin: 24px 0 28px; }
.detail-body, .specs, .quote-layout { gap: 64px; }
.detail-body > div:first-child p { margin-top: 24px; }
.plain-list li { padding: 16px; margin-bottom: 8px; }
.plain-list + h3 { margin-top: 32px; }
.quote-layout { margin-top: 48px; }
.quote-layout h2 { margin-bottom: 24px; }
.quote-form label { gap: 8px; }
.quote-form .consent { margin: 24px 0; }
.quote-form input, .quote-form textarea { min-height: 52px; padding: 16px; }
.quote-form .consent input { min-height: 20px; width: 20px; height: 20px; margin-top: 4px; padding: 0; }
.article-body { margin: 64px auto; }
.story-feature { gap: 48px; }
.story-feature p { margin: 24px 0; }
.stories-list .story-feature + .story-feature { margin-top: 80px; }
.careers-copy, .job-details { gap: 64px; }
.career-empty { padding: 32px; margin-top: 32px; }

/* 2. Color: the photographs carry the color; green marks meaningful actions. */
.home-privacy { margin-top: 80px; padding: 24px var(--gutter); background: var(--surface); }
.home-privacy-inner { gap: 32px; }
.home-privacy h2 { font-size: 16px; line-height: 1.6; letter-spacing: 0; }
.home-privacy p { color: #5b5a54; font-size: 16px; line-height: 1.6; }
.product-gallery, .product-gallery .gallery-image { background: var(--surface); }
.selection-trigger { box-shadow: none; }
.selection-trigger .selection-count { background: transparent; color: inherit; min-width: 20px; line-height: 24px; }
.receipt-check { background: var(--surface); }

/* 3. Icons: one size and one visual weight; touch targets remain larger. */
.control-icon,
.receipt-check .control-icon,
.menu-button .control-icon,
.gallery-controls .control-icon,
.solutions-toggle > span,
.solutions-toggle > span > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.control-icon { display: block; }
.button > span, .selection-icon, .empty-plus { display: inline-flex; align-items: center; justify-content: center; }
.search-label > span:last-child { display: flex; align-items: center; margin-left: 12px; }
.solutions-toggle { gap: 8px; }

/* 4–5. Concise copy, a smaller supporting type scale and readable Chinese. */
.nav > a, .solutions-toggle { font-size: 16px; }
.nav { gap: 28px; margin-right: 32px; }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.solutions-menu a { font-size: 16px; min-height: 44px; padding: 12px 16px; }
.home .cinema-content p { font-size: 18px; line-height: 1.6; max-width: 34ch; }
.home-intro h2 { font-size: clamp(30px, 2.7vw, 40px); line-height: 1.2; max-width: 20ch; }
.home-intro p { font-size: 18px; line-height: 1.7; }
.home-scenarios > .section-heading h2, .home-approach > h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.2; }
.home-scenario-copy h3 { font-size: clamp(30px, 2.5vw, 40px); line-height: 1.2; }
.home-scenario-copy .home-scenario-statement { font-size: 24px; line-height: 1.45; }
.home-scenario-copy p, .home-approach-steps p { font-size: 18px; line-height: 1.7; }
.home-approach-steps h3 { font-size: 24px; line-height: 1.35; }
.text-link { font-size: 16px; }
.inner-page .page-intro h1 { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.15; letter-spacing: -.025em; }
.inner-page .page-intro > p { font-size: 18px; line-height: 1.7; max-width: 50ch; }
.product-info h2 { font-size: clamp(28px, 2.5vw, 40px); line-height: 1.2; }
.product-info p { font-size: 18px; line-height: 1.65; max-width: 38ch; }
.inner-page .detail-intro h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.16; letter-spacing: -.025em; max-width: 18ch; }
.detail-intro .lead { font-size: 18px; line-height: 1.7; max-width: 38ch; }
.detail-body h3, .quote-layout h2, .career-empty h3 { font-size: 28px; line-height: 1.3; }
.detail-body p, .plain-list, .specs dl { font-size: 18px; line-height: 1.7; }
.article-body { font-size: 20px; line-height: 1.8; }
.article-body p { margin-bottom: 24px; }
.story-feature h3 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.25; }
.small-note, .product-code, .footer-copyright, .result-count { letter-spacing: 0; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { letter-spacing: 0; }
html[lang="zh-CN"] .home .cinema-content h1 { letter-spacing: -.015em; }
html[lang="zh-CN"] .inner-page .detail-intro h1,
html[lang="zh-CN"] .inner-page .page-intro h1 { letter-spacing: 0; }

/* 6. Proportions: images lead, with the original split and mobile reading order. */
.product-row { grid-template-columns: .9fr 1.1fr; }
.product-thumb img { height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: var(--surface); }
.product-detail { grid-template-columns: 1.15fr 1fr; min-height: 0; }
.product-gallery { min-height: 520px; }
.home-scenario-photo img { aspect-ratio: 16 / 10; }
.inner-page .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* 7. Details: preserve square edges and the requested hero glass action. */
.button { min-height: 48px; padding: 12px 20px; gap: 24px; font-size: 16px; }
.home .cinema-content .button { min-height: 48px; padding: 12px 20px; }
.menu-button { position: relative; width: 44px; height: 44px; padding: 0; flex: 0 0 44px; }
.menu-button .control-icon { margin: auto; }
.languages button { min-height: 44px; }
.filter-tabs button { min-height: 44px; padding: 12px 16px; font-size: 16px; }
.search-label { min-height: 48px; }
.search-label input { min-height: 48px; padding: 12px 0; font-size: 16px; }
.gallery-controls { right: 16px; bottom: 16px; }
.gallery-controls button, .gallery-controls a { width: 44px; height: 44px; }
.gallery-counter { font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery-dots { left: 12px; bottom: 12px; gap: 0; }
.gallery-dots button, .gallery-dots button[aria-current=true] { position: relative; width: 32px; height: 32px; padding: 0; background: transparent; }
.gallery-dots button::after { content: ''; position: absolute; width: 8px; height: 8px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff8; }
.gallery-dots button[aria-current=true]::after { background: var(--paper); }
.basket-item, .drawer-content .basket-item, .quote-selection .basket-item { grid-template-columns: 80px minmax(0, 1fr) 44px; gap: 16px; }
.quantity { gap: 12px; margin-top: 16px; }
.quantity button { width: 44px; height: 44px; display: grid; place-items: center; }
.remove-item, .drawer-close { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
.selection-trigger { right: var(--gutter); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); min-height: 48px; padding: 12px 16px; gap: 12px; font-size: 16px; }
.selection-trigger .selection-icon { font-size: 18px; }
.empty-plus, .receipt-check { width: 44px; height: 44px; padding: 0; margin-bottom: 24px; }
.receipt-check { display: inline-flex; align-items: center; justify-content: center; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline-width: 2px; outline-offset: 4px; }

/* 8–9. Existing media stays intact; movement is feedback, not decoration. */
.cinema-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.52), rgba(0,0,0,.16) 40%, rgba(0,0,0,.50) 68%, rgba(0,0,0,.72)); }
.drift, .motion-reveal, h1.motion-reveal, .collection-item.motion-reveal { animation: none; }
.home-scenario-photo img, .product-thumb img, .collection-item > img { transition: opacity 180ms var(--ease); }
.home-scenario-photo:hover img, .product-thumb:hover img, .collection-item:hover > img { transform: none; }
.selection-trigger:hover { transform: none; }
.button, .nav a, .text-link { transition: background 180ms var(--ease), color 180ms var(--ease), opacity 180ms var(--ease); }
.solutions-toggle > span { transition: transform 180ms var(--ease); }
.solutions-menu { transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.solutions-menu.is-open { transition-duration: 180ms; }

@media (max-width: 1100px) {
  .home-intro { margin-top: 80px; }
  .home-scenario-list { gap: 64px 32px; }
  .home-scenario, .home-scenario:nth-child(even) { gap: 5%; }
  .product-row { gap: 32px; }
  .detail-intro { padding: 32px; }
  .product-gallery { min-height: 480px; }
  .nav { margin-right: 0; gap: 16px 24px; }
}

@media (max-width: 760px) {
  :root { --showroom-section: 72px; }
  .section-heading { margin-bottom: 32px; }
  .home-intro { margin-top: 64px; gap: 24px; }
  .home-intro h2 { font-size: 32px; }
  .home-intro p { font-size: 18px; }
  .home-scenarios, .home-approach { margin-top: 72px; }
  .home-scenarios > .section-heading { margin-bottom: 32px; }
  .home-scenarios > .section-heading h2, .home-approach > h2 { font-size: 32px; }
  .home-scenarios > .section-heading p { margin-top: 16px; }
  .home-scenario-list { gap: 56px; }
  .home-scenario-copy { padding-top: 24px; }
  .home-scenario-copy h3 { font-size: 32px; }
  .home-scenario-copy .home-scenario-statement { font-size: 22px; }
  .home-scenario-copy p, .home-approach-steps p { font-size: 17px; line-height: 1.7; }
  .home-scenario-copy .text-link { margin-top: 24px; }
  .home-approach-steps { margin-top: 32px; gap: 32px; }
  .home-approach-steps h3 { font-size: 24px; }
  .home-privacy { margin-top: 64px; }
  .home-privacy-inner { gap: 8px; }
  .home-privacy h2, .home-privacy p { font-size: 16px; }
  .detail-body, .specs, .quote-layout, .careers-copy, .job-details { gap: 40px; }
}

@media (max-width: 650px) {
  .header { gap: 8px; }
  .header-actions { gap: 8px; }
  .languages { gap: 3px; }
  .languages button { padding: 0; }
  .nav-request { min-height: 44px; padding: 12px; }
  .home .cinema-content p { font-size: 17px; max-width: 30ch; }
  .page-intro { padding-top: 32px; }
  .inner-page .page-intro h1 { font-size: 36px; line-height: 1.2; max-width: 20ch; }
  .inner-page .page-intro > p { font-size: 17px; line-height: 1.7; margin-top: 20px; }
  .catalog { margin-top: 32px; }
  .catalog-tools { gap: 16px; }
  .filter-tabs { gap: 4px; }
  .filter-tabs button { padding: 12px; }
  .product-row { padding: 24px 0; }
  .product-info { margin-top: 24px; }
  .product-info h2 { font-size: 28px; line-height: 1.25; }
  .product-info p { font-size: 17px; margin: 12px 0 20px; }
  .detail-intro { padding: 32px var(--gutter); }
  .inner-page .detail-intro h1 { font-size: 36px; max-width: 18ch; }
  .detail-intro .lead { font-size: 17px; margin: 20px 0 24px; }
  .detail-intro .small-note { margin-top: 16px; }
  .product-gallery { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .gallery-controls { bottom: 76px; }
  .gallery-dots { bottom: 8px; }
  .detail-body p, .plain-list, .specs dl { font-size: 17px; }
  .detail-body h3, .quote-layout h2 { font-size: 24px; }
  .plain-list li { font-size: 17px; padding: 16px; }
  .article-body { font-size: 18px; line-height: 1.8; padding: 0 var(--gutter); }
  .story-feature h3 { font-size: 28px; }
  .story-feature { gap: 24px; }
  .stories-list .story-feature + .story-feature { margin-top: 56px; }
  .story-cover, .about-cover { margin-top: 32px; }
  .selection-trigger { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 48px; padding: 12px 16px; }
}

@media (max-width: 370px) {
  .header { padding-right: 16px; padding-left: 16px; gap: 4px; }
  .wordmark { font-size: 28px; }
  .header-actions { gap: 4px; }
  .languages { gap: 2px; }
  .languages button { font-size: 12px; min-width: 20px; }
  .nav-request { font-size: 12px; padding: 8px; }
  .basket-item, .drawer-content .basket-item, .quote-selection .basket-item { grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav a, .text-link, .solutions-toggle > span, .solutions-menu { transition: none !important; }
}
