:root {
  --serif: "Bodoni 72", Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink: #141414;
  --muted: #5f5f5f;
  --red: #8c1d1d;
  --line: #d8d8d8;
  --tile: #ecebe9;
  --colw: 24vw;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
img, video { display: block; }

/* Bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 64px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; color: var(--red);
  transition: background .3s, box-shadow .3s;
}
.bar.solid { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 2px; }
.logo svg { width: 34px; height: 30px; }
.logo span { font-family: var(--serif); font-size: 24px; letter-spacing: .02em; transform: translateX(-10px); }
.bar-links { display: flex; align-items: center; gap: clamp(22px, 6vw, 110px); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bar-about { margin-right: clamp(0px, 12vw, 220px); }
.menu-btn { width: 32px; height: 32px; display: grid; place-content: center; gap: 5px; }
.menu-btn i { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .3s; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.2px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.2px) rotate(-45deg); }
.bag-btn { min-height: 44px; letter-spacing: .08em; }
.bag-count:not(:empty)::before { content: " "; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 6px 0 16px;
  border-radius: 99px; background: #fff; color: var(--ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.06);
}
.pill .plus { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; line-height: 1; }
.pill.dark { background: #f2f2f2; box-shadow: none; }
.pill:hover .plus { background: var(--red); }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #f6f6f6; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-copy { position: absolute; left: 28px; bottom: 34px; z-index: 2; }
.hero h1 {
  margin: 0 0 22px; font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 6.2vw, 104px); line-height: .92; letter-spacing: -.01em; color: var(--ink);
}
.motion-btn {
  position: absolute; right: 24px; bottom: 34px; z-index: 2; height: 34px; padding: 0 14px; border-radius: 99px;
  background: rgba(255,255,255,.85); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}

/* Rail */
.rail-wrap { position: relative; }
.rail-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #fff; }
.rail { position: absolute; inset: 0 auto 0 0; display: flex; height: 100%; will-change: transform; }
.col {
  position: relative; flex: 0 0 var(--colw); height: 100%; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 80px 0 40px;
}
.col:first-child { border-left: 0; }
.item { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; color: var(--ink); }
.item .tile { width: 52%; aspect-ratio: 3 / 4; background: var(--tile); overflow: hidden; }
.item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.item:hover img, .item:focus-visible img { transform: scale(1.05); }
.item b { font-weight: 400; font-size: 14px; }
.item span { font-size: 12px; color: var(--muted); margin-top: -12px; }
.film-col { padding: 0; background: #f4f4f4 url("images/film-poster.webp") center / cover no-repeat; }
.stage-film {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
  clip-path: inset(0 100% 0 0); will-change: clip-path; pointer-events: none;
}

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: #fff; position: relative; z-index: 1; }
.about-text { padding: 96px 40px 64px; border-right: 1px solid var(--line); }
.about h2 { margin: 0 0 54px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 44px); line-height: 1.05; }
.about-text p { max-width: 44ch; font-size: 16px; line-height: 1.5; margin: 0 0 22px; }
.about-text .pill { margin-top: 38px; background: #f2f2f2; box-shadow: none; }
.facts { margin: 0; display: grid; }
.facts > div { padding: 64px 40px; border-bottom: 1px solid var(--line); min-height: 33.3%; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--serif); font-size: clamp(38px, 3.4vw, 58px); line-height: 1.02; margin-bottom: 24px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; }
.facts small { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }

/* Footer */
.foot {
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; padding: 48px 40px 30px;
  border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55;
}
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot-col p { margin: 18px 0 0; color: var(--muted); }
.foot-link { min-height: 32px; text-align: left; }
.foot-link:hover { color: var(--red); }
.news label { display: block; margin-bottom: 10px; }
.news p { margin: 0 0 18px; color: var(--muted); max-width: 46ch; }
.news-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 99px; background: #f5f5f5; max-width: 420px; }
.news input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; height: 32px; }
.news input:focus { outline: none; }
.news-row:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.news-note { margin: 12px 0 0; min-height: 1.5em; color: var(--ink) !important; }
.credit { grid-column: 1 / -1; justify-self: start; margin-top: 18px; }
.credit img { height: 28px; width: auto; }

/* Menu */
.menu { position: fixed; inset: 0; z-index: 15; background: #fff; display: grid; place-items: center; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.menu a, .menu button { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); line-height: 1.15; color: var(--ink); }
.menu a:hover, .menu button:hover { color: var(--red); }

/* Sheets */
.sheet { border: 0; padding: 0; color: var(--ink); background: #fff; max-height: 100dvh; }
.sheet::backdrop { background: rgba(20,20,20,.28); }
.sheet .close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; font-size: 26px; line-height: 1; border-radius: 50%; }
.sheet .close:hover { background: #f2f2f2; }
.product { width: min(920px, calc(100vw - 32px)); }
.product .p-wrap { display: grid; grid-template-columns: 1fr 1fr; }
.product .p-img { background: var(--tile); aspect-ratio: 3 / 4; }
.product .p-img img { width: 100%; height: 100%; object-fit: cover; }
.product .p-info { padding: 44px 36px 36px; display: flex; flex-direction: column; gap: 14px; }
.product h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.product .price { font-size: 15px; }
.product p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #333; }
.sizes { border: 0; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; }
.sizes span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 13px; cursor: pointer; }
.sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.sizes input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.add { margin-top: auto; height: 48px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.add:hover { background: var(--red); }
.p-note { min-height: 1.4em; font-size: 13px !important; color: var(--red) !important; }
.drawer { margin: 0 0 0 auto; height: 100dvh; width: min(420px, 100vw); }
.drawer .d-wrap { height: 100%; display: flex; flex-direction: column; padding: 26px 26px 24px; }
.drawer h2, .panel h2 { margin: 6px 0 22px; font-family: var(--serif); font-weight: 400; font-size: 34px; }
.lines { list-style: none; margin: 0; padding: 0; flex: 1; overflow: auto; }
.lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.lines img { width: 64px; height: 84px; object-fit: cover; background: var(--tile); }
.lines b { font-weight: 400; display: block; }
.lines small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); }
.empty { color: var(--muted); flex: 1; }
.total { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--ink); font-size: 15px; }
.drawer .add { margin-top: 0; display: grid; place-items: center; }
.drawer .fine { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.panel { width: min(560px, calc(100vw - 32px)); }
.panel .pn-wrap { padding: 34px 34px 30px; }
.panel p, .panel li { font-size: 15px; line-height: 1.6; color: #333; }
.panel ul { padding-left: 18px; margin: 0; }
.panel table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.panel td, .panel th { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Mobile */
@media (max-width: 767px) {
  :root { --colw: 74vw; }
  .bar { padding: 0 16px; height: 58px; }
  .bar-about { display: none; }
  .bar-links { gap: 18px; }
  .hero-copy { left: 18px; bottom: 28px; }
  .hero-film { object-position: 30% 40%; }
  .motion-btn { right: 16px; bottom: 28px; }
  .item .tile { width: 62%; }
  .about { grid-template-columns: 1fr; }
  .about-text { border-right: 0; border-bottom: 1px solid var(--line); padding: 72px 20px 48px; }
  .facts > div { padding: 40px 20px; }
  .foot { grid-template-columns: 1fr; padding: 40px 20px 28px; }
  .product .p-wrap { grid-template-columns: 1fr; }
  .product .p-img { aspect-ratio: 4 / 3; }
  .product .p-info { padding: 26px 20px 24px; }
}

/* Reduced motion: the collection becomes a plain horizontal list */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail-wrap { height: auto !important; }
  .rail-stage { position: relative; height: auto; overflow-x: auto; }
  .rail { position: relative; transform: none !important; height: 78svh; }
  .stage-film { display: none; }
  .item img { transition: none; }
}
