/* Porsche-inspired product presentation system, built around YADILO assets. */
:root { --p-showcase-line: #d8d8d8; --p-showcase-muted: #6d6d6d; --p-showcase-soft: #f3f3f3; }

body[data-page="home"], body.catalog-page, body.compare-page { background: #fff; }
body[data-page="home"] .site-header, body.catalog-page .site-header, body.compare-page .site-header { color: #111; background: rgba(255,255,255,.94); border-color: #dedede; backdrop-filter: blur(18px); }
body[data-page="home"] .header-save:hover, body.catalog-page .header-save:hover, body.compare-page .header-save:hover { color: #fff; background: #111; }
body[data-page="home"] .wordmark b, body.catalog-page .wordmark b, body.compare-page .wordmark b { font-family: var(--sans); font-weight: 600; letter-spacing: .08em; }
body[data-page="home"] .menu-drawer, body.catalog-page .menu-drawer, body.compare-page .menu-drawer { color: #111; background: rgba(255,255,255,.98); border-right: 1px solid #ddd; }
body[data-page="home"] .menu-drawer nav a, body.catalog-page .menu-drawer nav a, body.compare-page .menu-drawer nav a { font-family: var(--sans); font-size: clamp(28px,3vw,44px); font-weight: 400; }
body[data-page="home"] .menu-drawer p, body.catalog-page .menu-drawer p, body.compare-page .menu-drawer p { color: #666; }

/* Home: a clean product platform, title and controls following the source hierarchy. */
body[data-page="home"] .page-shell { background: #fff; }
body[data-page="home"] .hero { min-height: min(960px,100svh); color: #111; background: #fff; }
body[data-page="home"] .hero-media { inset: 74px 0 auto; height: min(54svh,560px); display: grid; place-items: center; background: linear-gradient(#fff 0 45%,#f0f0f0 45% 100%); }
body[data-page="home"] .hero-media::before { content: 'YADILO'; position: absolute; top: 3%; left: 50%; z-index: 0; transform: translateX(-50%) skewX(-12deg); color: #e7e7e7; font-size: clamp(90px,16vw,260px); font-style: italic; font-weight: 700; letter-spacing: -.1em; }
body[data-page="home"] .hero-media::after { display: none; }
body[data-page="home"] .hero-media img { position: relative; z-index: 1; width: min(82vw,930px); height: 100%; object-fit: contain; object-position: 50% 65%; mix-blend-mode: multiply; animation: showcase-arrive .9s cubic-bezier(.16,1,.3,1) both; }
body[data-page="home"] .hero-content { position: relative; z-index: 2; align-items: center; min-height: 0; padding: min(61svh,630px) 24px 46px; text-align: center; }
body[data-page="home"] .hero-content .eyebrow { order: 3; margin: 13px 0 0; color: #616161; font-size: 9px; }
body[data-page="home"] .hero h1 { order: 1; max-width: none; font-family: var(--sans); font-size: clamp(38px,4.6vw,68px); font-weight: 400; letter-spacing: -.06em; line-height: 1; }
body[data-page="home"] .hero-copy { order: 2; max-width: 520px; margin: 16px auto 0; color: #555; font-size: 13px; line-height: 1.7; }
body[data-page="home"] .hero-actions { order: 4; margin-top: 30px; }
body[data-page="home"] .hero .button-primary { color: #fff; background: #111; border-radius: 0; }
body[data-page="home"] .hero .button-primary:hover { background: #393939; transform: none; }
body[data-page="home"] .hero-slide-dots { right: auto; bottom: auto; top: min(58svh,590px); left: 50%; flex-direction: row; z-index: 3; transform: translateX(-50%); gap: 0; overflow: hidden; border-radius: 6px; background: #e7e7e9; }
body[data-page="home"] .hero-slide-dots button { width: auto; height: 34px; padding: 0 16px; border: 0; border-radius: 0; color: transparent; background: transparent; opacity: 1; }
body[data-page="home"] .hero-slide-dots button::after { color: #111; font-size: 12px; }
body[data-page="home"] .hero-slide-dots button:first-child::after { content: 'K80'; }
body[data-page="home"] .hero-slide-dots button:last-child::after { content: 'D90'; }
body[data-page="home"] .hero-slide-dots button.is-active { color: #fff; background: #cfcfd3; }
body[data-page="home"] .hero-scroll { display: none; }
body[data-page="home"] .section.paper-deep, body[data-page="home"] .section { background: #fff; border-top: 1px solid var(--p-showcase-line); }
body[data-page="home"] .section { padding: clamp(78px,10vw,150px) 5.8vw; }
body[data-page="home"] .section-head h2, body[data-page="home"] .config-cta-copy h2 { font-family: var(--sans); font-weight: 400; letter-spacing: -.06em; }
body[data-page="home"] .section-head > p { color: #666; }
body[data-page="home"] .product-toolbar { margin-bottom: 38px; }
body[data-page="home"] .filter-tab { min-height: 40px; border-radius: 3px; }
body[data-page="home"] .product-rail { grid-auto-columns: minmax(300px,32vw); gap: 28px; padding-bottom: 18px; }
body[data-page="home"] .product-card { min-height: 430px; border: 0; background: #f5f5f5; box-shadow: none; }
body[data-page="home"] .product-card:hover { transform: none; box-shadow: none; }
body[data-page="home"] .product-card-media { height: 320px; background: #ededed; }
body[data-page="home"] .product-card-media::after { background: linear-gradient(0deg,rgba(0,0,0,.18),transparent 42%); }
body[data-page="home"] .product-card-body { padding: 18px 20px; }
body[data-page="home"] .product-card-body h3 { font-family: var(--sans); font-size: 22px; font-weight: 400; }
body[data-page="home"] .config-cta { min-height: 670px; color: #111; background: #f3f3f3; }
body[data-page="home"] .config-cta-copy p { color: #555; }
body[data-page="home"] .config-cta-copy .button-primary { color: #fff; background: #111; border-radius: 0; }
body[data-page="home"] .config-meta { border-color: #d0d0d0; }
body[data-page="home"] .config-meta span { color: #666; }

/* Product detail: hero, action deck, metrics, editorial and horizontal highlights. */
.catalog-page .catalog-hero, .catalog-page .catalog-controls { display: none; }
.catalog-page .catalog-content { padding: 0 0 100px; }
.catalog-page .product-detail { display: block; margin: 0; padding: 0; border: 0; }
.product-stage { position: relative; display: grid; min-height: min(900px,100svh); overflow: hidden; place-items: end center; padding: 80px 24px 46px; background: linear-gradient(#fff 0 49%,#f0f0f0 49% 100%); isolation: isolate; text-align: center; }
.product-stage-media { position: absolute; inset: 9% 8% 31%; display: grid; place-items: center; }
.product-stage-media::after { position: absolute; right: 13%; bottom: 3%; left: 13%; height: 6%; border-radius: 50%; background: rgba(0,0,0,.18); content: ''; filter: blur(12px); }
.product-stage-media img { position: relative; z-index: 1; width: auto; max-width: min(72vw,780px); height: min(58svh,560px); max-height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.02); transition: opacity .14s ease, transform .75s cubic-bezier(.16,1,.3,1); animation: showcase-arrive .95s cubic-bezier(.16,1,.3,1) both; }
.product-stage-media img.is-changing { opacity: .15; transform: scale(.98); }
.product-stage-copy { position: relative; z-index: 2; }
.product-stage-copy .series-label { display: block; margin: 0 0 12px; color: #5e5e5e; font-size: 10px; letter-spacing: .15em; }
.product-stage-copy h1 { margin: 0; font-family: var(--sans); font-size: clamp(38px,5vw,68px); font-weight: 400; letter-spacing: -.06em; line-height: 1; }
.product-stage-copy .latin { display: block; margin-top: 12px; color: #777; font-size: 10px; letter-spacing: .22em; }
.product-stage-tag { margin: 14px 0 0; color: #333; font-size: 12px; }
.product-stage-switch { position: absolute; z-index: 3; bottom: min(26svh,248px); left: 50%; display: flex; max-width: min(94vw,750px); overflow: auto; transform: translateX(-50%); border-radius: 6px; background: #e2e2e4; }
.product-stage.has-clean-showcase { grid-template-columns: minmax(230px,.75fr) minmax(520px,1.25fr); align-items: center; gap: clamp(38px,6vw,108px); min-height: 700px; padding: clamp(88px,10vw,150px) 9vw 90px; background: #f4f3f1; text-align: left; }
.product-stage.has-clean-showcase .product-stage-media { position: relative; inset: auto; order: 2; display: block; overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 10; background: #272018; box-shadow: 0 22px 55px rgba(23,18,13,.16); }
.product-stage.has-clean-showcase .product-stage-media::after { display: none; }
.product-stage.has-clean-showcase .product-stage-media img { display: block; width: 100%; max-width: none; height: 100%; max-height: none; object-fit: cover; filter: none; mix-blend-mode: normal; }
.product-stage.has-clean-showcase .product-stage-copy { order: 1; align-self: center; }
.product-stage.has-clean-showcase .product-stage-copy .series-label { margin-bottom: 20px; color: #7c6957; font-size: 11px; letter-spacing: .18em; }
.product-stage.has-clean-showcase .product-stage-copy h1 { font-size: clamp(48px,5.2vw,78px); letter-spacing: -.075em; }
.product-stage.has-clean-showcase .product-stage-copy .latin { margin-top: 16px; }
.product-stage.has-clean-showcase .product-stage-tag { max-width: 240px; margin-top: 28px; color: #5a524b; font-size: 13px; line-height: 1.7; }
.product-view-tab { min-height: 34px; padding: 0 14px; border: 0; color: #222; background: transparent; font-size: 11px; white-space: nowrap; transition: background .25s; }
.product-view-tab.is-active { background: #c8c8cc; }
.product-action-deck { display: flex; justify-content: center; gap: 12px; padding: 30px 24px 20px; background: #fff; }
.product-action-deck .button-primary, .product-action-deck .button-ghost { min-width: 170px; justify-content: center; border-radius: 5px; }
.product-action-deck .button-primary { color: #fff; background: #111; }
.product-action-deck .button-ghost { color: #111; border-color: #ddd; background: #e8e8ea; }
.product-action-deck .button-primary:hover, .product-action-deck .button-ghost:hover { transform: none; color: #fff; background: #333; }
.product-disclaimer { max-width: 770px; margin: 0 auto; padding: 0 24px 58px; color: #777; font-size: 11px; line-height: 1.8; text-align: center; }
.product-metrics-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.9fr); align-items: stretch; gap: clamp(36px,6vw,110px); min-height: 540px; padding: 96px 9vw; border-top: 1px solid #ddd; background: #fff; }
.product-metrics-copy { align-self: center; }
.product-metrics-copy h2 { max-width: 420px; margin: 15px 0 42px; font-size: clamp(36px,4.1vw,58px); font-weight: 400; letter-spacing: -.065em; line-height: 1.06; }
.product-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; }
.product-metric { min-width: 0; padding: 25px 20px 27px 0; border-right: 1px solid #dedede; }
.product-metric + .product-metric { padding-left: 20px; }
.product-metric:last-child { border-right: 0; }
.product-metric strong { display: block; font-size: clamp(42px,4.8vw,74px); font-weight: 300; letter-spacing: -.075em; line-height: .9; white-space: nowrap; }
.product-metric span { display: block; min-height: 2.8em; margin-top: 13px; color: #707070; font-size: 12px; line-height: 1.45; }
.product-metrics-media { min-height: 420px; height: auto; overflow: hidden; border-radius: 20px; background: #ededed; }
.product-metrics-media img { width: 122%; max-width: none; height: 100%; object-fit: cover; object-position: left center; transform: translateX(-5%); }
.product-metrics-section.is-text-only { display: block; min-height: 0; padding-top: 82px; padding-bottom: 82px; }
.product-metrics-section.is-text-only .product-metrics-copy { max-width: 880px; }
.product-metrics-section.is-text-only .product-metrics-copy h2 { margin-bottom: 34px; }
.product-editorial { display: grid; grid-template-columns: minmax(0,.88fr) minmax(400px,1.12fr); gap: clamp(42px,7vw,130px); align-items: center; padding: 120px 10vw; border-top: 1px solid #ddd; background: #fff; }
.product-editorial-image { overflow: hidden; border-radius: 24px; aspect-ratio: 1.12; background: #ddd; }
.product-editorial-image img { width: 120%; max-width: none; height: 100%; object-fit: cover; object-position: left center; transform: translateX(-8%); }
.product-editorial-copy { max-width: 520px; }
.product-editorial-copy h2 { margin: 0; font-family: var(--sans); font-size: clamp(36px,3.6vw,54px); font-weight: 400; letter-spacing: -.055em; line-height: 1.14; }
.product-editorial-copy .section-kicker { margin: 0 0 18px; }
.product-editorial-copy p:last-child { max-width: 460px; margin: 32px 0 0; color: #333; font-size: 15px; line-height: 1.9; }
.product-editorial.is-text-only { grid-template-columns: minmax(300px,.9fr) minmax(360px,1.1fr); padding-top: 94px; padding-bottom: 94px; }
.product-editorial-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid #d8d8d8; }
.product-editorial-facts div { display: grid; grid-template-columns: 132px 1fr; gap: 24px; padding: 21px 0; border-bottom: 1px solid #d8d8d8; }
.product-editorial-facts dt { color: #777; font-size: 12px; }
.product-editorial-facts dd { margin: 0; color: #252525; font-size: 15px; line-height: 1.55; }
.product-highlights { padding: 110px 0 120px; overflow: hidden; background: #fff; }
.product-highlights-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 0 9vw 50px; }
.product-highlights-head h2, .product-specifications h2 { margin: 0; font-family: var(--sans); font-size: clamp(34px,3.4vw,50px); font-weight: 400; letter-spacing: -.055em; }
.product-rail-controls { display: flex; gap: 10px; }
.product-rail-controls button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: #111; background: #e3e3e5; font-size: 18px; }
.product-rail-controls button:hover { color: #fff; background: #111; }
.product-highlights-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px,52vw); gap: 28px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 9vw 16px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-highlight-card { display: grid; grid-template-rows: minmax(300px,520px) auto; overflow: hidden; scroll-snap-align: start; border-radius: 28px; background: #f1f1f1; }
.product-highlight-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.product-highlight-card:hover img { transform: scale(1.03); }
.product-highlight-card div { padding: 23px 26px 28px; }
.product-highlight-card small { color: #686868; font-size: 9px; letter-spacing: .15em; }
.product-highlight-card h3 { margin: 14px 0 8px; font-size: 25px; font-weight: 400; letter-spacing: -.04em; }
.product-highlight-card p { margin: 0; color: #5d5d5d; font-size: 13px; line-height: 1.75; }
.product-specifications { display: grid; grid-template-columns: minmax(300px,.92fr) minmax(480px,1.08fr); gap: clamp(48px,7vw,120px); padding: 110px 9vw 130px; border-top: 1px solid #ddd; background: #fff; }
.product-specifications-head .detail-source { display: grid; gap: 10px; margin: 26px 0 0; }
.product-specifications .spec-table { border-top-color: #ddd; }
.product-specifications .spec-row { padding: 15px 0; border-bottom-color: #ddd; font-size: 12px; }
.catalog-page .catalog-content > .section-head, .catalog-page .catalog-grid { max-width: 1200px; margin-right: auto; margin-left: auto; }
.catalog-page .catalog-content > .section-head { padding: 0 5vw; }
.catalog-page .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0 5vw; }

/* Comparison: clean comparison surface with real product cards in the table head. */
.compare-page { color: #111; background: #fff; }
.compare-page .site-header { position: fixed; }
.compare-hero { min-height: 430px; padding: 170px 9vw 76px; color: #111; background: #fff; border-bottom: 1px solid #ddd; }
.compare-hero .eyebrow { color: #777; }
.compare-hero h1 { max-width: 920px; font-family: var(--sans); font-size: clamp(56px,9vw,132px); font-weight: 400; letter-spacing: -.08em; line-height: .9; }
.compare-hero p { color: #555; }
.compare-controls { gap: 10px; padding: 44px 9vw; background: #f4f4f4; }
.compare-picker { padding: 12px 14px; border-radius: 5px; background: #fff; }
.compare-picker label { color: #777; }
.compare-picker select { color: #111; border: 0; background: transparent; }
.compare-table-wrap { margin: 0; padding: 86px 9vw 120px; background: #fff; }
.compare-table { min-width: 920px; border-top-color: #111; }
.compare-table th, .compare-table td { border-bottom-color: #ddd; }
.compare-table thead th { width: 24%; padding: 0 12px 30px; color: #666; }
.compare-table thead th:not(:first-child) { color: #111; font-family: var(--sans); font-size: 20px; }
.compare-table thead th img { width: 100%; height: 210px; margin-bottom: 20px; object-fit: cover; background: #eee; }
.compare-table thead th b, .compare-table thead th small, .compare-table thead th a { display: block; }
.compare-table thead th b { font-size: 25px; font-weight: 400; letter-spacing: -.05em; }
.compare-table thead th small { margin-top: 7px; color: #777; font-family: var(--sans); font-size: 9px; letter-spacing: .12em; }
.compare-table thead th a { margin-top: 18px; color: #111; font-family: var(--sans); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.compare-table tbody th { color: #666; font-size: 12px; }
.compare-table tbody td { color: #222; font-size: 13px; }
.compare-table tbody tr:hover { background: #f5f5f5; }
.compare-next { margin: 0 9vw; padding: 35px 0 100px; border-top-color: #ddd; }
.compare-next h2 { font-family: var(--sans); font-size: 34px; font-weight: 400; }
.compare-next .button-primary { color: #fff; background: #111; border-radius: 4px; }

body[data-page="home"] .site-footer, .catalog-page .site-footer, .compare-page .site-footer { color: #111; background: #f3f3f3; border-top: 1px solid #ddd; }
body[data-page="home"] .footer-brand small, body[data-page="home"] .footer-nav, body[data-page="home"] .footer-meta, .catalog-page .footer-brand small, .catalog-page .footer-nav, .catalog-page .footer-meta, .compare-page .footer-brand small, .compare-page .footer-nav, .compare-page .footer-meta { color: #666; }

@keyframes showcase-arrive { from { opacity: 0; transform: translateY(34px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 760px) {
  body[data-page="home"] .hero { min-height: 790px; }
  body[data-page="home"] .hero-media { height: 370px; }
  body[data-page="home"] .hero-media::before { font-size: 90px; }
  body[data-page="home"] .hero-content { padding-top: 430px; }
  body[data-page="home"] .hero-slide-dots { top: 395px; }
  body[data-page="home"] .product-rail { grid-auto-columns: 82vw; }
  .product-stage { min-height: 780px; padding-bottom: 35px; }
  .product-stage-media { inset: 11% 3% 37%; }
  .product-stage-media img { width: auto; max-width: 94vw; height: min(48svh,410px); }
  .product-stage-switch { bottom: 30%; max-width: 92vw; }
  .product-stage-copy h1 { font-size: 42px; }
  .product-stage.has-clean-showcase { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding: 92px 24px 62px; }
  .product-stage.has-clean-showcase .product-stage-copy { order: 1; }
  .product-stage.has-clean-showcase .product-stage-media { order: 2; width: 100%; border-radius: 16px; }
  .product-stage.has-clean-showcase .product-stage-copy h1 { font-size: 46px; }
  .product-action-deck { display: grid; padding: 28px 30px 22px; }
  .product-action-deck .button-primary, .product-action-deck .button-ghost { width: 100%; min-width: 0; }
  .product-disclaimer { padding-bottom: 64px; }
  .product-metrics-section { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding: 64px 24px; }
  .product-metrics-copy h2 { margin-bottom: 28px; }
  .product-metrics { grid-template-columns: 1fr; text-align: left; }
  .product-metric, .product-metric + .product-metric { display: grid; grid-template-columns: minmax(94px,.55fr) 1fr; gap: 16px; align-items: center; padding: 18px 0; border-right: 0; border-bottom: 1px solid #e4e4e4; }
  .product-metric:last-child { border-bottom: 0; }
  .product-metric strong { font-size: 52px; }
  .product-metric span { min-height: 0; margin: 0; }
  .product-metrics-media { min-height: 0; height: 390px; }
  .product-metrics-media img, .product-editorial-image img { width: 100%; transform: none; object-position: center; }
  .product-editorial { grid-template-columns: 1fr; gap: 34px; padding: 78px 24px; }
  .product-editorial.is-text-only { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 70px; }
  .product-editorial-facts div { grid-template-columns: 1fr; gap: 8px; }
  .product-editorial-image { border-radius: 22px; aspect-ratio: 1; }
  .product-editorial-copy h2 { font-size: 40px; }
  .product-highlights { padding: 74px 0 78px; }
  .product-highlights-head { display: block; padding: 0 24px 28px; }
  .product-rail-controls { margin-top: 24px; }
  .product-highlights-track { grid-auto-columns: 82vw; gap: 16px; padding: 0 24px 12px; }
  .product-highlight-card { grid-template-rows: 360px auto; border-radius: 20px; }
  .product-specifications { grid-template-columns: 1fr; gap: 44px; padding: 78px 24px; }
  .catalog-page .catalog-content > .section-head { padding: 0 24px; }
  .catalog-page .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 24px; }
  .compare-hero { min-height: 350px; padding: 126px 24px 56px; }
  .compare-hero h1 { font-size: 60px; }
  .compare-controls { padding: 24px; }
  .compare-table-wrap { padding: 48px 24px 70px; }
  .compare-table { min-width: 720px; }
  .compare-table thead th img { height: 145px; }
  .compare-next { margin: 0 24px; padding-bottom: 70px; }
}

/* Final cascade guard: this block intentionally comes after the legacy home
   hero rules above so the two-screen composition cannot be expanded by an
   image's intrinsic portrait ratio. */
body[data-page="home"] .hero { display:grid; grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr); height:100svh; min-height:100svh; }
body[data-page="home"] .hero-media { position:relative; inset:auto; grid-column:2; grid-row:1; height:auto; min-height:0; align-self:stretch; }
body[data-page="home"] .hero-media img { width:min(82%,720px); height:min(82svh,720px); margin:auto; object-fit:contain; }
body[data-page="home"] .hero-content { grid-column:1; grid-row:1; min-height:100svh; padding:16vh 5vw 12vh 8vw; align-items:flex-start; justify-content:center; }
body[data-page="home"] .hero-content .eyebrow { margin:0 0 24px; font-size:10px; }
body[data-page="home"] .hero h1 { max-width:360px; font-size:clamp(54px,6.8vw,102px); }
body[data-page="home"] .hero-copy { max-width:310px; margin:26px 0 0; font-size:13px; }
body[data-page="home"] .hero-actions { margin-top:34px; }
body[data-page="home"] .hero-slide-dots { top:auto; right:auto; bottom:12vh; left:8vw; z-index:5; }
body[data-page="home"] .hero-scroll { right:4vw; bottom:8vh; z-index:5; }
body[data-page="home"] .hero-progress { position:absolute; right:0; bottom:0; left:0; z-index:6; display:block; height:2px; background:rgba(17,18,20,.1); }
body[data-page="home"] .hero-progress span { display:block; width:50%; height:100%; background:#111214; transform-origin:left; animation:home-hero-progress 9s linear infinite; }

@media (max-width:760px) {
  body[data-page="home"] .hero { display:flex; height:auto; min-height:100svh; }
  body[data-page="home"] .hero-media { order:1; width:100%; min-height:0; height:48svh; }
  body[data-page="home"] .hero-media img { width:86%; height:42svh; margin:5% auto 0; }
  body[data-page="home"] .hero-content { order:2; min-height:0; padding:30px 24px 120px; }
  body[data-page="home"] .hero h1 { font-size:50px; }
  body[data-page="home"] .hero-slide-dots { bottom:30px; left:24px; }
  body[data-page="home"] .hero-progress { bottom:0; }
}

/* Homepage v2: two deliberate screens inspired by the source site's model
   landing rhythm. The first screen is a single hero carousel; the second
   keeps the two YADILO series and their product rail in one focused scene. */
body[data-page="home"] { color: #151618; background: #f3f3f5; }
body[data-page="home"] .site-header { color: #161719; background: rgba(243,243,245,.38); border-color: rgba(21,22,24,.13); }
body[data-page="home"] .site-header.is-solid { background: rgba(243,243,245,.88); }
body[data-page="home"] .hero { display: grid; grid-template-columns: minmax(360px,.8fr) minmax(0,1.2fr); min-height: 100svh; overflow: hidden; color: #151618; background: #f3f3f5; }
body[data-page="home"] .hero::before { position: absolute; inset: 0 auto 0 43%; width: 1px; background: rgba(21,22,24,.1); content: ''; z-index: 3; }
body[data-page="home"] .hero-media { position: relative; inset: auto; grid-column: 2; grid-row: 1; min-height: 100svh; overflow: hidden; background: radial-gradient(circle at 54% 42%,#fff 0%,#f3f3f5 46%,#dedee1 100%); z-index: 0; }
body[data-page="home"] .hero-media::before { content: 'YADILO'; position: absolute; top: 14%; right: -4%; z-index: 0; color: rgba(210,210,213,.55); font-size: clamp(100px,16vw,260px); font-style: italic; font-weight: 700; letter-spacing: -.12em; transform: skewX(-14deg); }
body[data-page="home"] .hero-media::after { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg,rgba(243,243,245,.2),transparent 25%),linear-gradient(180deg,transparent 68%,rgba(212,212,215,.35)); content: ''; pointer-events: none; }
body[data-page="home"] .hero-media img { position: relative; z-index: 1; width: 82%; height: 84%; margin: 8% auto 0; object-fit: contain; object-position: center; mix-blend-mode:multiply; filter: drop-shadow(0 28px 25px rgba(22,24,28,.18)); animation: home-hero-arrive .9s cubic-bezier(.16,1,.3,1) both; transition: opacity .32s ease,transform .65s cubic-bezier(.16,1,.3,1),filter .65s ease; }
body[data-page="home"] .hero-media img.is-changing { opacity: .1; transform: translateY(18px) scale(.96); filter: blur(2px) drop-shadow(0 28px 25px rgba(22,24,28,.1)); }
body[data-page="home"] .hero-content { grid-column: 1; grid-row: 1; z-index: 4; display: flex; align-items: flex-start; justify-content: center; min-height: 100svh; padding: 16vh 5vw 12vh 8vw; text-align: left; transition: opacity .28s ease,transform .65s cubic-bezier(.16,1,.3,1); }
body[data-page="home"] .hero-content.is-switching { opacity: .42; transform: translateY(8px); }
body[data-page="home"] .hero-content .eyebrow { margin: 0 0 24px; color: #7a7b80; font-size: 10px; letter-spacing: .24em; }
body[data-page="home"] .hero h1 { max-width: 360px; margin: 0; color: #111214; font-family: var(--sans); font-size: clamp(54px,6.8vw,102px); font-weight: 400; letter-spacing: -.1em; line-height: .94; }
body[data-page="home"] .hero-copy { max-width: 310px; margin: 26px 0 0; color: #65676b; font-size: 13px; line-height: 1.9; }
body[data-page="home"] .hero-actions { display: flex; gap: 10px; margin-top: 34px; }
body[data-page="home"] .hero .button-primary,body[data-page="home"] .hero .button-ghost { min-height: 48px; padding-inline: 21px; border-radius: 3px; font-size: 12px; transition: color .25s ease,background .25s ease,border-color .25s ease,transform .25s ease; }
body[data-page="home"] .hero .button-primary { color: #fff; background: #111214; }
body[data-page="home"] .hero .button-primary:hover { color: #111214; background: #fff; transform: translateY(-3px); }
body[data-page="home"] .hero .button-ghost { color: #111214; border-color: rgba(17,18,20,.25); background: rgba(255,255,255,.35); }
body[data-page="home"] .hero .button-ghost:hover { color: #fff; border-color: #111214; background: #111214; transform: translateY(-3px); }
body[data-page="home"] .hero-slide-dots { right: auto; bottom: 12vh; left: 8vw; z-index: 5; display: flex; gap: 0; overflow: hidden; border: 1px solid rgba(17,18,20,.12); border-radius: 4px; background: rgba(255,255,255,.45); }
body[data-page="home"] .hero-slide-dots button { width: 112px; height: 38px; border: 0; border-radius: 0; color: #6a6b70; background: transparent; opacity: 1; font-size: 11px; transition: color .25s ease,background .25s ease; }
body[data-page="home"] .hero-slide-dots button::after { color: currentColor; font-size: 11px; letter-spacing: .02em; }
body[data-page="home"] .hero-slide-dots button:first-child::after { content: 'K80 · 衡境'; }
body[data-page="home"] .hero-slide-dots button:last-child::after { content: 'D90 · 曜境'; }
body[data-page="home"] .hero-slide-dots button:hover { color: #111214; background: rgba(255,255,255,.7); }
body[data-page="home"] .hero-slide-dots button.is-active { color: #fff; background: #111214; }
body[data-page="home"] .hero-scroll { right: 4vw; bottom: 8vh; z-index: 5; display: flex; align-items: center; gap: 10px; color: #6c6d72; font-size: 9px; letter-spacing: .18em; writing-mode: vertical-rl; text-decoration: none; }
body[data-page="home"] .hero-scroll i { width: 1px; height: 72px; background: linear-gradient(#77787c,transparent); transition: height .3s ease; }
body[data-page="home"] .hero-scroll:hover { color: #111214; }
body[data-page="home"] .hero-scroll:hover i { height: 96px; background: #111214; }
body[data-page="home"] .hero-progress { position: absolute; right: 0; bottom: 0; left: 0; z-index: 5; height: 2px; background: rgba(17,18,20,.1); }
body[data-page="home"] .hero-progress span { display: block; width: 50%; height: 100%; background: #111214; transform-origin: left; animation: home-hero-progress 9s linear infinite; }

body[data-page="home"] .home-series-screen { min-height: 100svh; padding: clamp(56px,7vw,100px) 7.5vw 42px; background: #fff; border-top: 1px solid rgba(21,22,24,.14); }
/* The series experience is now the homepage entry screen. Reserve the fixed
   navigation height without introducing an empty hero-sized spacer. */
body[data-page="home"] .page-shell > .home-series-screen:first-child {
  padding-top: clamp(116px, 9vw, 148px);
  border-top: 0;
}
body[data-page="home"] .home-series-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.6fr); align-items: end; gap: 30px; margin-bottom: 32px; }
body[data-page="home"] .home-series-head h2 { margin: 0; color: #111214; font-family: var(--sans); font-size: clamp(38px,4.2vw,64px); font-weight: 400; letter-spacing: -.08em; line-height: .98; }
body[data-page="home"] .home-series-head h2 em { color: #77787c; font-style: normal; }
body[data-page="home"] .home-series-head > p { max-width: 340px; margin: 0 0 3px; color: #6d6e72; font-size: 12px; line-height: 1.8; }
body[data-page="home"] .series-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
body[data-page="home"] .series-feature-card { position: relative; min-height: clamp(260px,38vh,390px); overflow: hidden; padding: 0; border: 1px solid rgba(21,22,24,.1); border-radius: 4px; color: #fff; background: #222; text-align: left; isolation: isolate; cursor: pointer; transition: border-color .32s ease,transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s ease; }
body[data-page="home"] .series-feature-card:hover { border-color: rgba(17,18,20,.45); transform: translateY(-5px); box-shadow: 0 18px 38px rgba(21,22,24,.14); }
body[data-page="home"] .series-feature-card.is-active { border-color: #111214; box-shadow: inset 0 0 0 2px #111214; }
body[data-page="home"] .series-feature-media,body[data-page="home"] .series-feature-media img,body[data-page="home"] .series-feature-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
body[data-page="home"] .series-feature-media img { object-fit: cover; filter: saturate(.82) contrast(1.04); transition: transform .85s cubic-bezier(.16,1,.3,1),filter .6s ease; }
body[data-page="home"] .series-feature-card:hover .series-feature-media img { transform: scale(1.055); filter: saturate(1) contrast(1.06); }
body[data-page="home"] .series-feature-overlay { z-index: 1; background: linear-gradient(180deg,rgba(5,6,7,.02) 28%,rgba(5,6,7,.84) 100%); }
body[data-page="home"] .series-feature-copy { position: absolute; inset: auto 24px 22px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
body[data-page="home"] .series-feature-copy small { margin-bottom: 8px; color: #dcc1a7; font-size: 10px; letter-spacing: .17em; }
body[data-page="home"] .series-feature-copy strong { font-family: var(--sans); font-size: clamp(30px,3.4vw,48px); font-weight: 400; letter-spacing: -.08em; line-height: 1; }
body[data-page="home"] .series-feature-copy > span { margin-top: 8px; color: rgba(255,255,255,.72); font-size: 11px; }
body[data-page="home"] .series-feature-copy i { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; color: #fff; font-size: 11px; font-style: normal; }
body[data-page="home"] .series-feature-copy i b { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; font-weight: 400; transition: transform .28s ease,background .28s ease,color .28s ease; }
body[data-page="home"] .series-feature-card:hover .series-feature-copy i b { color: #111214; background: #fff; transform: translateX(5px); }
body[data-page="home"] .home-products-block { margin-top: 28px; }
body[data-page="home"] .home-products-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
body[data-page="home"] .home-products-head h3 { margin: 0; color: #111214; font-size: clamp(20px,2vw,28px); font-weight: 400; letter-spacing: -.06em; }
body[data-page="home"] .home-products-head .section-kicker { margin-bottom: 8px; }
body[data-page="home"] .home-products-controls { display: flex; align-items: center; gap: 16px; }
body[data-page="home"] .home-products-controls .filter-tabs { gap: 5px; }
body[data-page="home"] .home-products-controls .filter-tab { min-height: 30px; padding: 0 12px; border-radius: 3px; font-size: 10px; }
body[data-page="home"] .product-rail { grid-auto-columns: minmax(190px,18vw); gap: 10px; padding-bottom: 4px; }
body[data-page="home"] .product-card { min-height: 180px; border-color: rgba(21,22,24,.1); background: #f1f1f3; transition: transform .35s ease,box-shadow .35s ease,background .35s ease; }
body[data-page="home"] .product-card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 12px 26px rgba(21,22,24,.1); }
body[data-page="home"] .product-card-media { height: 112px; background: #e8e8ea; }
body[data-page="home"] .product-card-body { padding: 10px 12px 11px; }
body[data-page="home"] .product-card-body small { font-size: 8px; }
body[data-page="home"] .product-card-body h3 { margin: 6px 0 0; font-family: var(--sans); font-size: 16px; font-weight: 400; }
body[data-page="home"] .product-card-body p,body[data-page="home"] .product-card-link { display: none; }
body[data-page="home"] .home-catalog-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #606166; font-size: 11px; text-decoration: none; transition: color .25s ease,gap .25s ease; }
body[data-page="home"] .home-catalog-link:hover { gap: 13px; color: #111214; }
body[data-page="home"] .site-footer { display: grid; padding: 18px 7.5vw 16px; color: #18191b; background: #f3f3f5; border-top: 1px solid rgba(21,22,24,.14); }
body[data-page="home"] .site-footer .footer-brand b { font-family: var(--sans); font-size: 16px; font-weight: 500; }
body[data-page="home"] .site-footer .footer-brand small,body[data-page="home"] .site-footer .footer-meta,body[data-page="home"] .site-footer .footer-nav { color: #74757a; }

@keyframes home-hero-arrive { from { opacity: 0; transform: translateY(28px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes home-hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width:760px) {
  body[data-page="home"] .site-header { color: #151618; }
  body[data-page="home"] .hero { display: flex; min-height: 100svh; flex-direction: column; }
  body[data-page="home"] .hero::before { display: none; }
  body[data-page="home"] .hero-media { order: 1; min-height: 48svh; height: 48svh; }
  body[data-page="home"] .hero-media img { width: 86%; height: 92%; margin-top: 5%; }
  body[data-page="home"] .hero-content { order: 2; min-height: 0; padding: 30px 24px 120px; }
  body[data-page="home"] .hero-content .eyebrow { margin-bottom: 13px; font-size: 9px; }
  body[data-page="home"] .hero h1 { font-size: 50px; }
  body[data-page="home"] .hero-copy { max-width: 290px; margin-top: 14px; font-size: 12px; }
  body[data-page="home"] .hero-actions { margin-top: 22px; }
  body[data-page="home"] .hero-slide-dots { bottom: 30px; left: 24px; }
  body[data-page="home"] .hero-slide-dots button { width: 98px; height: 35px; }
  body[data-page="home"] .hero-scroll { display: none; }
  body[data-page="home"] .home-series-screen { min-height: 0; padding: 56px 20px 32px; }
  body[data-page="home"] .page-shell > .home-series-screen:first-child { padding-top: 98px; }
  body[data-page="home"] .home-series-head { display: block; margin-bottom: 24px; }
  body[data-page="home"] .home-series-head h2 { font-size: 42px; }
  body[data-page="home"] .home-series-head > p { margin-top: 17px; }
  body[data-page="home"] .series-feature-grid { grid-template-columns: 1fr; gap: 10px; }
  body[data-page="home"] .series-feature-card { min-height: 280px; }
  body[data-page="home"] .home-products-head { display: block; }
  body[data-page="home"] .home-products-controls { justify-content: space-between; margin-top: 14px; }
  body[data-page="home"] .product-rail { grid-auto-columns: 64vw; }
  body[data-page="home"] .site-footer { grid-template-columns: 1fr auto; gap: 12px; padding: 16px 20px; }
  body[data-page="home"] .site-footer .footer-nav { display: none; }
  body[data-page="home"] .site-footer .footer-meta { font-size: 8px; }
}

@media (prefers-reduced-motion:reduce) {
  body[data-page="home"] .hero-media img,body[data-page="home"] .hero-progress span { animation:none; }
  body[data-page="home"] .hero-media img,body[data-page="home"] .hero-content,body[data-page="home"] .series-feature-card,body[data-page="home"] .product-card { transition:none; }
}

@media (prefers-reduced-motion: reduce) { .product-stage-media img, body[data-page="home"] .hero-media img { animation: none; } }

/* Home hero: one clear product story, with the series switch acting as the
   only carousel control. This keeps the first screen quiet and intentional
   instead of stacking multiple competing CTAs over the same image. */
body[data-page="home"] .hero {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  min-height: max(760px, 100svh);
  color: #111;
  background: #f4f4f5;
}
body[data-page="home"] .hero-media {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-height: 760px;
  background: linear-gradient(160deg,#fafafa 0%,#f1f1f2 52%,#e5e5e7 100%);
}
body[data-page="home"] .hero-media::before {
  content: 'YADILO';
  position: absolute;
  top: 7%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%) skewX(-12deg);
  color: rgba(222,222,224,.72);
  font-size: clamp(90px, 13vw, 220px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.12em;
}
body[data-page="home"] .hero-media img {
  position: relative;
  z-index: 1;
  width: min(94%, 820px);
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  animation: showcase-arrive .9s cubic-bezier(.16,1,.3,1) both;
}
body[data-page="home"] .hero-content {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 140px 5vw 100px 7.5vw;
  text-align: left;
}
body[data-page="home"] .hero-content .eyebrow,
body[data-page="home"] .hero h1,
body[data-page="home"] .hero-copy,
body[data-page="home"] .hero-actions { order: initial; }
body[data-page="home"] .hero-content .eyebrow { margin: 0 0 24px; color: #77787c; font-size: 11px; letter-spacing: .2em; }
body[data-page="home"] .hero h1 { max-width: 420px; color: #111; font-size: clamp(52px, 6vw, 92px); font-weight: 400; letter-spacing: -.085em; line-height: .98; }
body[data-page="home"] .hero-copy { max-width: 360px; margin: 24px 0 0; color: #646568; font-size: 14px; line-height: 1.85; }
body[data-page="home"] .hero-actions { margin-top: 36px; }
body[data-page="home"] .hero .button-primary { min-height: 50px; padding-inline: 24px; color: #fff; background: #111; border-radius: 3px; }
body[data-page="home"] .hero .button-primary:hover { background: #3d3e41; transform: translateY(-2px); }
body[data-page="home"] .hero-slide-dots { top: auto; right: auto; bottom: 72px; left: 7.5vw; z-index: 3; flex-direction: row; gap: 0; overflow: hidden; border-radius: 4px; background: #e4e4e6; transform: none; }
body[data-page="home"] .hero-slide-dots button { width: 108px; height: 40px; padding: 0; border: 0; border-radius: 0; color: #6d6e71; background: transparent; opacity: 1; }
body[data-page="home"] .hero-slide-dots button::after { color: currentColor; font-size: 12px; font-weight: 500; }
body[data-page="home"] .hero-slide-dots button:first-child::after { content: 'K80 · 衡境'; }
body[data-page="home"] .hero-slide-dots button:last-child::after { content: 'D90 · 曜境'; }
body[data-page="home"] .hero-slide-dots button.is-active { color: #fff; background: #111; }
body[data-page="home"] .hero-scroll { display: flex; right: 3.2vw; bottom: 72px; color: #77787c; }
body[data-page="home"] .hero-scroll::after { background: linear-gradient(#77787c,transparent); }

@media (max-width: 760px) {
  body[data-page="home"] .hero { display: flex; min-height: 760px; flex-direction: column; }
  body[data-page="home"] .hero-media { order: 1; width: 100%; min-height: 420px; height: 51vh; }
  body[data-page="home"] .hero-content { order: 2; min-height: 0; padding: 28px 24px 96px; }
  body[data-page="home"] .hero-content .eyebrow { margin-bottom: 12px; font-size: 9px; }
  body[data-page="home"] .hero h1 { font-size: 46px; }
  body[data-page="home"] .hero-copy { margin-top: 13px; font-size: 13px; }
  body[data-page="home"] .hero-actions { margin-top: 20px; }
  body[data-page="home"] .hero-slide-dots { bottom: 34px; left: 24px; }
  body[data-page="home"] .hero-slide-dots button { width: 98px; height: 36px; }
  body[data-page="home"] .hero-scroll { display: none; }
}

/* Final cascade guard: this block is intentionally last so the two-screen
   composition cannot be expanded by a portrait image's intrinsic ratio. */
body[data-page="home"] .hero { display:grid; grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr); height:100svh; min-height:100svh; }
body[data-page="home"] .hero-media { position:relative; inset:auto; grid-column:2; grid-row:1; height:auto; min-height:0; align-self:stretch; }
body[data-page="home"] .hero-media img { width:min(82%,720px); height:min(82svh,720px); margin:auto; object-fit:contain; }
body[data-page="home"] .hero-content { grid-column:1; grid-row:1; min-height:100svh; padding:16vh 5vw 12vh 8vw; align-items:flex-start; justify-content:center; }
body[data-page="home"] .hero-content .eyebrow { margin:0 0 24px; font-size:10px; }
body[data-page="home"] .hero h1 { max-width:360px; font-size:clamp(54px,6.8vw,102px); }
body[data-page="home"] .hero-copy { max-width:310px; margin:26px 0 0; font-size:13px; }
body[data-page="home"] .hero-actions { margin-top:34px; }
body[data-page="home"] .hero-slide-dots { top:auto; right:auto; bottom:12vh; left:8vw; z-index:5; }
body[data-page="home"] .hero-scroll { right:4vw; bottom:8vh; z-index:5; }
body[data-page="home"] .hero-progress { position:absolute; right:0; bottom:0; left:0; z-index:6; display:block; height:2px; background:rgba(17,18,20,.1); }
body[data-page="home"] .hero-progress span { display:block; width:50%; height:100%; background:#111214; transform-origin:left; animation:home-hero-progress 9s linear infinite; }
@media (max-width:760px) {
  body[data-page="home"] .hero { display:flex; height:auto; min-height:100svh; }
  body[data-page="home"] .hero-media { order:1; width:100%; min-height:0; height:48svh; }
  body[data-page="home"] .hero-media img { width:86%; height:42svh; margin:5% auto 0; }
  body[data-page="home"] .hero-content { order:2; min-height:0; padding:30px 24px 120px; }
  body[data-page="home"] .hero h1 { font-size:50px; }
  body[data-page="home"] .hero-slide-dots { bottom:30px; left:24px; }
  body[data-page="home"] .hero-progress { bottom:0; }
}
