:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #262b23;
  --muted: #5f6257;
  --olive: #4c5944;
  --line: #d8dacf;
  --sans: "Inter", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --serif: "Instrument Serif", "Noto Serif CJK TC", "Songti TC", "PMingLiU", "SimSun", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
section[id], .product[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 5px; }
.wrap { width: min(100% - 112px, 1280px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 83px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; color: var(--olive); }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 23px; white-space: nowrap; }
.brand small { margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: .22em; }
nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 50px); }
nav a { font-size: 14px; white-space: nowrap; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 8px; }
.whatsapp { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 38px; background: var(--olive); color: white; font-size: 12px; font-weight: 600; }
.whatsapp:hover { background: #364131; }
.language { width: 102px; min-height: 38px; padding-inline: 8px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.language:hover { background: #eaece2; }

.hero { position: relative; background: #292f25; color: #fcfaf2; }
.hero-slide { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(555px, 49vw, 790px); }
.hero-slide::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #161b15e8, #161b15ad 30%, #161b153a 62%, transparent 85%), linear-gradient(0deg, #151a16a1, transparent 28%); }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
#slide-panorama .hero-image { object-position: 86% center; }
#slide-toilet .hero-image { object-position: 63% 63%; }
.hero-copy { padding-block: 68px 106px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--olive); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { width: 21px; height: 1px; background: currentColor; }
h2, .product-title { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(30px, 3.5vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.hero h2 { margin-block: 20px 17px; font-size: clamp(48px, 5.4vw, 88px); line-height: 1.12; letter-spacing: -.055em; }
.hero h2 span { display: block; }
.hero .eyebrow, .hero-description { color: #f1ecde; }
.hero-description { max-width: 27em; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.8; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 23px; min-height: 48px; padding: 10px 18px; background: var(--olive); color: #fff; font-size: 14px; transition: background .18s; }
.button:hover { background: #364131; }
.button span:last-child { font-size: 19px; line-height: 1; }
.hero .button { margin-top: 27px; background: var(--paper); color: #283124; }
.hero .button:hover { background: #e2e8d8; }
.hero :focus-visible { outline-color: #fff; }
.hero-footer { position: absolute; inset-inline: 0; bottom: 23px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-controls, .hero-steps { display: flex; align-items: center; }
.hero-controls { gap: 8px; }
.hero-controls button { display: grid; place-items: center; padding: 0; background: transparent; color: inherit; }
.hero-icon { width: 43px; height: 43px; border: 1px solid #ffffff80; border-radius: 50%; font-size: 18px; line-height: 1; }
.hero-icon:hover { background: #ffffff26; }
.hero-steps button { width: 34px; height: 43px; border: 0; }
.hero-steps button::before { content: ""; width: 17px; height: 2px; background: #ffffff80; }
.hero-steps button:hover::before, .hero-steps button[aria-current="true"]::before { background: #fff; }
.hero-steps button[aria-current="true"]::before { height: 4px; }
.hero-note { margin-left: auto; text-align: right; color: #f1ecde; font-size: 10px; letter-spacing: .09em; }
.photo-note { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; background: #f7f6efeb; color: var(--ink); font-size: 9px; letter-spacing: .09em; }

.collection { padding-block: clamp(63px, 8vw, 114px); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(245px, 355px); align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading h2, .guide h2, .about h2 { margin-top: 11px; }
.section-heading > p, .guide-intro, .about p:last-child { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 24px; }
.product-trigger { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); background: #fbfaf5; text-align: left; }
.product-trigger > span { width: 100%; }
.product-photo { position: relative; display: block; overflow: hidden; background: #d9cdc0; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 1.49; object-fit: cover; transition: transform .35s; }
.product-trigger:hover .product-photo img { transform: scale(1.025); }
.product-meta { position: relative; display: block; flex: 1; padding: 23px 65px 25px 23px; }
.product-title { display: block; margin-top: 7px; font-size: clamp(25px, 2.7vw, 39px); line-height: 1.18; letter-spacing: -.04em; }
.product-summary { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; }
.round-arrow { position: absolute; right: 19px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; color: var(--olive); font-size: 21px; line-height: 1; transition: background .18s, color .18s; }
.product-trigger:hover .round-arrow { background: var(--olive); color: white; }

.guide { background: #e7ebdf; }
.guide-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 7vw, 110px); padding-block: clamp(56px, 7vw, 96px); }
.guide-intro { margin-top: 17px; max-width: 28em; }
.questions { border-top: 1px solid #bfc8b6; }
.questions details { border-bottom: 1px solid #bfc8b6; }
.questions summary { position: relative; padding: 18px 35px 18px 0; font-size: 16px; font-weight: 600; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 7px; top: 50%; transform: translateY(-50%); color: var(--olive); font-size: 24px; font-weight: 400; }
.questions details[open] summary::after { content: "−"; }
.questions details p { padding: 0 25px 18px 0; color: var(--muted); }
.about { display: grid; grid-template-columns: auto minmax(0, 560px) 1fr; align-items: center; gap: 28px; padding-block: clamp(57px, 7vw, 100px); }
.about p:last-child { margin-top: 13px; }
.about .text-link { justify-self: end; }
.text-link { color: var(--olive); font-size: 14px; white-space: nowrap; }
.text-link span:last-child { margin-left: 6px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 25px; }
.footer-contact { display: grid; justify-items: center; gap: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-contact small { color: var(--muted); }
.footer-inner > .text-link { justify-self: end; }

dialog { width: min(850px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #222820a8; }
body:has(dialog[open]) { overflow: hidden; }
.detail { position: relative; display: grid; grid-template-columns: .95fr 1fr; }
.detail form { position: absolute; top: 0; right: 0; }
.detail-photo { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.detail-copy { padding: 40px 30px 34px; }
.detail h2 { margin: 7px 0 13px; font-size: clamp(28px, 4vw, 42px); }
.detail h3 { margin-top: 17px; font-size: 15px; }
.detail ul { padding-left: 20px; margin: 6px 0 13px; }
.detail-note { margin-bottom: 19px; color: var(--muted); font-size: 12px; }
.close { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--olive); font-size: 25px; line-height: 1; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 12px; min-height: 0; padding-top: 13px; }
  .header-actions { gap: 6px; }
  .header-actions .whatsapp { padding-inline: 8px; }
  .language { width: 85px; padding-inline: 5px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; gap: 8px; justify-content: space-between; margin-top: 8px; }
  .header-inner nav a { display: inline-block; padding: 10px 0 12px; font-size: 13px; white-space: normal; }
  .hero-slide { min-height: 0; }
  .hero-slide::after { display: none; }
  .hero-image { position: relative; height: auto; aspect-ratio: 1.56; object-position: 68% center; }
  #slide-panorama .hero-image { object-position: 82% center; }
  .hero-copy { min-height: 295px; padding-block: 26px 18px; }
  .hero h2 { margin-block: 13px 11px; font-size: clamp(36px, 9vw, 53px); }
  .hero-description { font-size: 15px; line-height: 1.6; }
  .hero .button { margin-top: 17px; }
  .hero-footer { position: relative; bottom: auto; flex-wrap: wrap; gap: 8px; padding-bottom: 17px; }
  .hero-controls { gap: 4px; }
  .hero-icon { width: 39px; height: 39px; }
  .hero-steps button { width: 26px; height: 39px; }
  .hero-note { font-size: 9px; }
  .section-heading, .product-grid, .guide-inner { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; margin-bottom: 23px; }
  .product-grid { gap: 18px; }
  .product-meta { padding: 17px 60px 20px 17px; }
  .about { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .about .text-link { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-contact { grid-row: 2; grid-column: 1 / -1; justify-items: start; }
  .footer-inner > .text-link { grid-column: 2; grid-row: 1; }
  .detail { grid-template-columns: 1fr; }
  .detail-photo { height: min(49vw, 220px); min-height: 0; }
  .detail-copy { padding: 24px 20px; }
}

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