:root {
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e4e0da;
  --paper: #f7f5f2;
  --white: #fff;
  --header: 64px;
  --serif: "Times New Roman", Times, "Songti SC", "Noto Serif", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
button, a { font: inherit; color: inherit; }
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}
a { text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.04em; margin: 0; }
[dir="rtl"] body, [dir="rtl"] .sheet-body, [dir="rtl"] .hero-copy { text-align: right; }

#topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  transition: background .25s, color .25s, box-shadow .25s;
}
#topbar.solid {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.logo { justify-self: center; display: block; }
.logo img { height: 14px; width: auto; }
.logo-dark { display: none; }
#topbar.solid .logo-light { display: none; }
#topbar.solid .logo-dark { display: block; }
.desk-nav, .tools { display: flex; align-items: center; gap: 16px; }
.tools { justify-self: end; }
.desk-nav button {
  color: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.icon-btn {
  color: inherit;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: relative;
}
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { font-size: 12px; letter-spacing: 0.08em; width: auto; padding: 0 4px; }
.menu-btn { display: none; width: auto; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
.bag-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
#topbar:not(.solid) .bag-count { background: #fff; color: #111; }

.hero {
  position: relative;
  min-height: 100svh;
  background: #1a1a1a url("img/hero-d.jpg") center / cover no-repeat;
  color: #fff;
  display: grid;
}
.hero-video, .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity .2s ease; }
.hero-video.is-ready { opacity: 1; }
.hero-video.mob { display: none; }
.hero-fallback { display: none; }
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 0 6vw 72px;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-sub { margin: 0 0 18px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.hero-ctas, .sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-ctas button, .sheet-actions button, .primary, .ghost {
  border: 1px solid currentColor;
  padding: 10px 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  background: transparent;
  color: inherit;
}
.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.ghost { background: #fff; }

.block { padding: 48px 4vw 10px; }
.block-head, .section-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.block-head.stack { display: block; }
.block-head h2, .section-label { font-size: 22px; text-transform: uppercase; }
.block-head p { max-width: 640px; color: var(--muted); }
.text-link {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link.on-dark { color: #fff; }
.section-label { margin: 0 0 12px; }

.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.cat-card, .guide-card, .product-card {
  flex: 0 0 68%;
  scroll-snap-align: start;
  position: relative;
  color: #fff;
  text-align: left;
}
.product-card { color: var(--ink); background: var(--paper); }
.cat-card img, .guide-card img, .product-card img, .explore-card img, .story img, .split img, .gwp img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #ddd;
}
.product-card img { aspect-ratio: 1; }
.cat-card span, .guide-card span, .explore-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.product-card { padding-bottom: 12px; }
.product-card .meta { padding: 10px 12px 0; }
.product-card strong { display: block; font-weight: 500; font-size: 13px; }
.product-card em { font-style: normal; color: var(--muted); font-size: 13px; }

.split, .story, .gwp {
  display: grid;
  min-height: 70vh;
  position: relative;
  color: #fff;
}
.split img, .story img, .gwp img {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  aspect-ratio: auto;
}
.split-copy, .story-copy, .gwp-copy {
  position: absolute;
  inset: auto 6vw 8vh 6vw;
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.split-copy h2, .story-copy h2, .gwp-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  text-transform: uppercase;
  margin: 6px 0 10px;
}
.kicker { letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; margin: 0; }
.stories { display: grid; }
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.explore-card { position: relative; color: #fff; }
.service { background: var(--paper); margin-top: 28px; padding-bottom: 36px; }
.service-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.service-row button {
  background: #fff;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

footer {
  padding: 48px 6vw 32px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-brand img { height: 16px; margin-bottom: 10px; }
.footer-brand p { max-width: 460px; color: var(--muted); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 28px 0;
}
.footer-cols h3 { font-size: 14px; text-transform: uppercase; margin-bottom: 10px; }
.footer-cols button {
  display: block;
  padding: 6px 0;
  color: var(--muted);
}
.footer-cols button:hover { color: var(--ink); }
.fine { color: var(--muted); font-size: 12px; }

dialog {
  width: min(920px, calc(100vw - 24px));
  max-height: min(86vh, 820px);
  border: 0;
  padding: 0;
  color: var(--ink);
  background: #fff;
}
dialog::backdrop { background: rgba(0,0,0,.45); }
.sheet-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
}
.sheet-bar h2 { font-size: 20px; text-transform: uppercase; }
#sheetClose { font-size: 28px; line-height: 1; }
#sheetBody { padding: 18px; overflow: auto; max-height: calc(86vh - 64px); }
.sheet-product, .sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sheet-product img, .mini img { width: 100%; background: var(--paper); }
.address {
  font-family: var(--serif);
  font-size: 22px;
  margin: 8px 0;
}
.warn { color: #8a3b2a; }
.legal h3 { font-size: 16px; margin: 18px 0 6px; text-transform: uppercase; }
.legal p { margin: 0 0 10px; color: #333; }
.lang-grid, .menu-list { display: grid; gap: 8px; }
.lang-grid { grid-template-columns: repeat(2, 1fr); }
.lang-grid button, .menu-list button, .search-hit {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}
.lang-grid button[aria-current="true"] { border-color: var(--ink); }
.search-box { width: 100%; border: 0; border-bottom: 1px solid var(--ink); font: inherit; padding: 8px 0 10px; margin-bottom: 14px; }
.hits { display: grid; gap: 8px; }
.bag-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bag-line img { width: 72px; height: 72px; object-fit: cover; background: var(--paper); }
.qty { display: flex; gap: 8px; align-items: center; }

@media (min-width: 900px) {
  .cat-card, .guide-card { flex-basis: 22%; }
  .product-card { flex-basis: 24%; }
  .stories { grid-template-columns: 1fr 1fr; }
  .split { min-height: 78vh; }
}
@media (max-width: 900px) {
  .desk-nav { display: none; }
  .menu-btn { display: grid; }
  .hero-video.desk { display: none; }
  .hero-video.mob { display: block; }
  .service-row, .footer-cols, .sheet-product, .sheet-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
  #topbar { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 900px) {
  .hero { background-image: url("img/hero-m.jpg"); }
}
