:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --dark: #0b0b0f;
  --accent: #3c6cff;
  --line: rgba(29, 29, 31, 0.1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --shell: 1200px;
  --header: 64px;
  --font: Inter, "PingFang SC", "Noto Sans SC", "WenQuanYi Micro Hei", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Author display values must not reopen a closed disclosure. */
details:not([open]) > :not(summary) { display: none; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 96px); }
h2 { font-size: clamp(32px, 4.4vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { cursor: pointer; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 80;
  background: #fff; color: #000; padding: 8px 12px; border-radius: 10px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="zh-CN"] .eyebrow { letter-spacing: 0.14em; text-transform: none; font-size: 14px; }
.lede { color: var(--muted); font-size: 17px; line-height: 28px; max-width: 40rem; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.band { padding: clamp(96px, 12vw, 160px) 0; }
.band-gray { background: var(--bg-2); }
.band-dark { background: var(--dark); color: #fff; }
.band-dark .eyebrow, .band-dark .lede { color: rgba(255, 255, 255, 0.64); }

.btn, .yeshi-button, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; font-size: 15px; font-weight: 500;
  background: transparent; line-height: 1;
}
.btn-light { background: #fff; color: var(--dark); }
.btn-dark, .yeshi-button { background: var(--dark); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.btn-line { color: var(--ink); border-color: rgba(29, 29, 31, 0.18); background: #fff; }
.nav-cta { min-height: 36px; padding: 0 14px; background: var(--dark); color: #fff; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { transform: translateY(-1px); }
  .btn-dark:hover, .yeshi-button:hover, .nav-cta:hover { background: #27272c; }
  .btn-line:hover { border-color: var(--ink); }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.home .site-header {
  position: fixed; inset: 0 0 auto 0;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: #fff; border-bottom-color: transparent;
}
.home .site-header.is-scrolled,
.home .site-header:has(.mobile-nav[open]) {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  color: var(--ink);
}
.nav { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .footer-brand { font-weight: 600; letter-spacing: -0.04em; font-size: 22px; text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav > a, .category-menu > summary {
  text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px;
}
.lang-toggle { color: var(--muted); }
.home .site-header:not(.is-scrolled):not(:has(.mobile-nav[open])) .lang-toggle { color: rgba(255, 255, 255, 0.72); }
.home .site-header:not(.is-scrolled):not(:has(.mobile-nav[open])) .nav-cta { background: #fff; color: var(--dark); }
.category-menu { position: static; }
.category-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.category-menu > summary::-webkit-details-marker { display: none; }
.category-menu > summary::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.category-mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: min(1040px, calc(100vw - 48px));
  display: grid; grid-template-columns: 280px 1fr;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.category-main-tabs { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: #fafafa; }
.category-main-tab, .category-browse-all {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  background: transparent; border: 0; border-radius: 12px; padding: 8px; color: inherit; text-decoration: none; font-size: 14px;
}
.category-main-tab[aria-selected="true"], .category-main-tab:hover, .category-mini-card:hover, .category-browse-all:hover { background: var(--bg-2); }
.category-main-tab img, .category-mini-card img, .mobile-category-group summary img {
  width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: #fff;
}
.category-main-tab small, .category-mini-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.category-panels { padding: 8px; max-height: min(70vh, 640px); overflow: auto; }
.category-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 12px 4px; }
.category-panel-head h2 { font-size: 22px; }
.category-panel-head a, .mobile-category-all { color: var(--accent); text-decoration: none; font-size: 14px; }
.category-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.category-mini-card {
  display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; min-width: 0;
}
.category-mini-card strong { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.category-browse-all { margin-top: 8px; font-weight: 500; }
.mobile-nav { display: none; position: relative; }
.burger, .burger::before, .burger::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.mobile-nav > summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.mobile-nav > summary::-webkit-details-marker { display: none; }

/* Hero: navy copy column aligned to the site shell, image filling the rest. */
.hero {
  --hero-navy: #0b1020;
  --hero-inset: max(24px, calc((100vw - min(var(--shell), calc(100vw - 48px))) / 2));
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch;
  min-height: max(640px, 84vh);
  color: #fff; background: var(--hero-navy); overflow: hidden; perspective: 1200px;
}
.hero-copy {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  box-sizing: border-box; min-width: 0;
  width: calc(var(--hero-inset) + 44rem);
  padding: var(--header) 40px 48px var(--hero-inset);
  align-items: stretch;
}
.hero-visual { position: relative; min-width: 0; min-height: 100%; }
.hero-picture { position: absolute; inset: 0; display: block; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 78% 40%;
  transform: scale(1.03); transform-origin: 78% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero h1 {
  max-width: none; overflow-wrap: normal; word-break: keep-all;
  font-size: clamp(56px, 3.3vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
}
.hero-line { display: block; white-space: nowrap; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.66); }
.hero .lede { color: rgba(255, 255, 255, 0.82); margin-top: 20px; max-width: 36rem; font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: none; }
.hero .btn-light {
  background: #fff; color: #0b1020; border-color: #fff; font-weight: 600; opacity: 1;
}
.hero .btn-light:hover { background: #fff; color: #0b1020; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *:not(.hero-actions) { animation: rise 0.9s ease both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Home categories and features */
.home-cats { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.home-cat:first-child { grid-row: span 2; min-height: 640px; }
.home-cat {
  --mx: 50%; --my: 40%;
  position: relative; display: flex; align-items: flex-end; min-height: 312px;
  border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
}
.home-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.home-cat .shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.05) 20%, rgba(11, 11, 15, 0.72));
}
.home-cat.light { color: var(--ink); background: var(--bg-2); }
.home-cat.light img { object-fit: contain; padding: 12% 12% 28%; }
.home-cat.light .shade { background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.92)); }
.home-cat-copy { position: relative; z-index: 3; padding: 28px; display: grid; gap: 6px; }
.home-cat-copy small { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
html[lang="zh-CN"] .home-cat-copy small { letter-spacing: 0.12em; text-transform: none; }
.home-cat-copy strong { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.05; }
.home-cat-copy em { font-style: normal; font-size: 14px; opacity: 0.8; }
.feature-grid, .card-grid, .tile-grid { display: grid; gap: 22px 18px; }
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.tile-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }

.shot, .gallery-card, .category-product, .wanan-card, .yeshi-card, .category-tile {
  --mx: 50%; --my: 30%;
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; min-width: 0;
}
.media {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-2);
}
.category-tile .media, .scene-card img { aspect-ratio: 4 / 5; }
.media img, .scene-card img { width: 100%; height: 100%; object-fit: cover; }
.media-contain img { object-fit: contain; padding: 12%; }
.meta { display: grid; gap: 4px; padding: 0 2px; }
.meta strong { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.meta small, .fine-print, .credits, .stage-caption {
  color: var(--muted); font-size: 14px; line-height: 1.45;
}
.meta small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

[data-tilt] .media::before, [data-tilt].home-cat::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.38), transparent 42%);
  transition: opacity 0.3s ease;
}
[data-tilt] .media::after, [data-tilt].home-cat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.55) 50%, transparent 64%);
  transform: translateX(-130%);
}
@media (hover: hover) and (pointer: fine) {
  [data-tilt]:hover .media::before, [data-tilt].home-cat:hover::before { opacity: 1; }
  [data-tilt]:hover .media::after, [data-tilt].home-cat:hover::after { animation: sheen 0.9s ease; }
  [data-tilt]:hover .media img { transform: scale(1.045); }
  .media img { transition: transform 0.6s ease; }
}
@keyframes sheen { to { transform: translateX(130%); } }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(40px, 6vw, 72px); }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps span { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.28); line-height: 1; }
.steps strong { font-size: 20px; letter-spacing: -0.02em; }
.steps p { color: rgba(255, 255, 255, 0.68); font-size: 15px; line-height: 1.5; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; }
.why-grid article { display: grid; gap: 8px; align-content: start; }
.why-grid p { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.stat-row strong { display: block; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.04em; color: var(--accent); line-height: 1; font-weight: 600; }
.stat-row span { display: block; margin-top: 8px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.phone { display: inline-block; margin-top: 18px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.contact-side { display: grid; gap: 18px; margin-top: 28px; }
.contact-side span { display: grid; gap: 2px; color: rgba(255, 255, 255, 0.62); font-size: 13px; }
.contact-side b, .contact-side a { color: #fff; font-weight: 500; text-decoration: none; font-size: 17px; }
.form-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px);
}
.form-card h2, .form-card h3 { font-size: clamp(28px, 3vw, 40px); }
.form-card .lede { margin: 8px 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field-full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 13px; margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border: 1px solid rgba(29, 29, 31, 0.16); border-radius: 12px; background: #fff; padding: 12px 14px;
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-card .btn { margin-top: 18px; }
.form-note, .draft p { color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 12px; }
.draft { margin-top: 22px; display: grid; gap: 10px; }
.draft h3 { font-size: 22px; }
.draft textarea { width: 100%; min-height: 180px; border-radius: 12px; border: 1px solid var(--line); padding: 12px; background: var(--bg-2); }

.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding: 48px 0 40px; font-size: 14px; line-height: 1.5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { color: #fff; display: inline-block; margin-bottom: 8px; }
.site-footer p { margin: 0; }
.site-footer nav { display: grid; align-content: start; gap: 8px; }
.site-footer a { text-decoration: none; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact span { display: grid; gap: 2px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang="zh-CN"] .footer-contact span { text-transform: none; letter-spacing: 0.08em; }
.footer-contact a, .footer-contact b { font-weight: 500; color: #fff; letter-spacing: 0; text-transform: none; font-size: 16px; }

/* Interior pages */
.page-intro { padding: clamp(48px, 8vw, 96px) 0 8px; }
.page-intro .lede { margin-top: 16px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb-sep { opacity: 0.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a, .wanan-family-nav a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border-radius: 999px; padding: 8px 14px; background: var(--bg-2); font-size: 14px; line-height: 1.2;
}
.chips a[aria-current="page"], .wanan-family-nav a[aria-current="true"] { background: var(--dark); color: #fff; }
.chips small, .wanan-family-nav small { color: inherit; opacity: 0.65; }
.more-row { display: flex; justify-content: center; margin: 36px 0 0; }
.family-block { margin-top: clamp(48px, 6vw, 80px); }
.family-block h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 20px; }
.wanan-family-sidebar { margin-top: 28px; }
.wanan-family-dropdown > summary { list-style: none; cursor: pointer; font-weight: 600; }
.wanan-family-dropdown > summary::-webkit-details-marker { display: none; }
@media (min-width: 681px) { .wanan-family-dropdown > summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.wanan-reference-intro { color: var(--muted); margin: 8px 0 20px; max-width: 46rem; }

.product-page { padding-top: 28px; }
.product-top {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 4vw, 72px); align-items: start;
}
.product-top > *, .product-image-area, .gallery-col, .product-copy { min-width: 0; }
.product-image-area, .gallery-col { position: sticky; top: 88px; }
.product-stage {
  margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-2); cursor: zoom-in;
}
.product-stage img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.product-stage.contain img { object-fit: contain; }
.stage-caption { margin: 10px 2px 0; }
.product-thumbs, .wanan-thumbnails {
  display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px;
  min-width: 0; max-width: 100%;
}
.product-thumb, .wanan-thumb {
  width: 72px; height: 72px; flex: 0 0 auto; padding: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid transparent; background: var(--bg-2); scroll-snap-align: start;
}
.product-thumb.is-active, .wanan-thumb.is-active { border-color: var(--ink); }
.product-thumb img, .wanan-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.contain img { object-fit: contain; padding: 6px; }
.stage-nav { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.stage-nav button {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
}
.stage-nav span { color: var(--muted); font-size: 13px; min-width: 72px; }
.product-copy { display: grid; align-content: start; gap: 16px; padding-top: 8px; }
.product-copy .btn, .product-copy .yeshi-button { justify-self: start; }
.product-copy h1 { font-size: clamp(36px, 4vw, 64px); }
.product-copy .lede { margin: 0; }
.variant-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wanan-variant {
  border-radius: 999px; border: 1px solid rgba(29, 29, 31, 0.16); background: #fff; padding: 8px 14px; font-size: 14px;
}
.wanan-variant[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.variant-specs:empty, [data-variant-feedback]:empty { display: none; }
.variant-specs, .spec-list { display: grid; gap: 0; }
.variant-specs div, .spec-list div {
  display: grid; grid-template-columns: minmax(96px, 0.7fr) 1.3fr; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45;
}
.variant-specs dt, .spec-list dt { color: var(--muted); }
.variant-specs dd, .spec-list dd { margin: 0; }
.fine-print { max-width: 62ch; }
.credits { list-style: none; display: grid; gap: 4px; margin-top: 12px; }
.credits a { color: var(--accent); overflow-wrap: anywhere; }
.image-credits { margin: 8px 0 72px; }
.image-credits > summary {
  cursor: pointer; width: fit-content; color: var(--muted); font-size: 14px;
}
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene-grid.cols-1 { grid-template-columns: minmax(0, 720px); }
.scene-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.scene-card { margin: 0; display: grid; gap: 10px; }
.scene-card figcaption { color: var(--muted); font-size: 14px; line-height: 1.4; }
.spec-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 72px); }
.spec-layout .lede, .notes { color: var(--muted); }
.notes { margin: 18px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.all-images { margin-top: 28px; }
.all-images > summary { cursor: pointer; font-weight: 600; width: fit-content; }
.all-images .card-grid { margin-top: 18px; }
.wanan-gallery-item { margin: 0; display: grid; gap: 8px; }
.wanan-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--bg-2); }
.wanan-gallery-item figcaption { color: var(--muted); font-size: 12px; line-height: 1.4; }
.wanan-gallery-item a { color: var(--accent); }
.text-link { color: var(--accent); text-decoration: none; font-size: 15px; }
.wanan-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, calc(100vw - 32px)); }
.wanan-lightbox::backdrop { background: rgba(11, 11, 15, 0.86); }
.wanan-lightbox img { width: 100%; height: auto; border-radius: var(--radius); }
.wanan-lightbox p { color: #fff; margin-top: 10px; font-size: 14px; }
.wanan-lightbox button {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: #fff;
}

/* Hidden only after JS marks a section as below the fold. */
.js .reveal.is-pending { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-pending .card-grid > :nth-child(-n + 6),
.js .reveal.is-pending .feature-grid > :nth-child(-n + 4),
.js .reveal.is-pending .home-cats > *,
.js .reveal.is-pending .steps > * {
  opacity: 0; transform: translateY(16px);
}
.js .reveal.is-in .card-grid > :nth-child(-n + 6),
.js .reveal.is-in .feature-grid > :nth-child(-n + 4),
.js .reveal.is-in .home-cats > *,
.js .reveal.is-in .steps > * {
  opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-pending, .js .reveal .card-grid > *, .js .reveal .feature-grid > *, .js .reveal .home-cats > *, .js .reveal .steps > *,
  .hero-copy > *, .hero-photo { opacity: 1; transform: none; animation: none; transition: none; }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav[open] .mobile-panel {
    position: fixed; top: var(--header); left: 0; right: 0;
    height: calc(100dvh - var(--header)); z-index: 30; overflow: auto;
    background: rgba(255, 255, 255, 0.96); color: var(--ink);
    backdrop-filter: blur(16px); padding: 8px 24px 64px;
  }
  .mobile-panel > a { display: block; padding: 16px 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-category-group { border-bottom: 1px solid var(--line); }
  .mobile-category-group summary { display: flex; gap: 12px; align-items: center; padding: 14px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
  .mobile-category-group summary::-webkit-details-marker { display: none; }
  .mobile-category-group .category-mini-grid { grid-template-columns: 1fr; padding-bottom: 12px; }
  .home-cats, .feature-grid, .tile-grid, .card-grid, .steps, .why-grid, .stat-row, .contact-grid, .product-top, .spec-layout, .footer-grid, .scene-grid, .scene-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .home-cat:first-child { grid-row: auto; min-height: 420px; }
  .home-cats { grid-template-rows: none; }
  .contact-grid, .product-top, .spec-layout, .footer-grid, .why-grid { grid-template-columns: 1fr; }
  .product-image-area, .gallery-col { position: static; }
  .product-top { min-height: 0; }
  .category-mega { grid-template-columns: 1fr; width: min(640px, calc(100vw - 24px)); }
}
@media (max-width: 680px) {
  .shell { width: min(var(--shell), calc(100% - 32px)); }
  .home-cats, .feature-grid, .tile-grid, .steps, .stat-row, .scene-grid, .form-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .hero {
    display: flex; flex-direction: column; height: auto; min-height: 0; perspective: none;
  }
  .hero-copy {
    width: min(var(--shell), calc(100% - 32px)); max-width: none; margin-inline: auto;
    padding: calc(var(--header) + 28px) 0 28px;
  }
  .hero h1 { font-size: clamp(34px, 8.8vw, 48px); }
  .hero-visual { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero-photo {
    object-fit: contain; object-position: center center; transform: none;
    -webkit-mask-image: none; mask-image: none;
  }
  .category-mini-grid { grid-template-columns: 1fr; }
}
