:root {
  --bg: #f2f2f2;
  --ink: #0b0b0b;
  --mute: #8d8a87;
  --line: #0b0b0b;
  --hair: rgba(11, 11, 11, 0.22);
  --accent: #44c5f1;
  --tint: #e4e2df;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --label: 'EB Garamond', 'Garamond', Georgia, serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --gut: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.9s ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lbl {
  font-family: var(--label);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 12px;
  font-size: 12px;
}
.wordmark { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.nav-link { color: var(--mute); cursor: pointer; transition: color 0.2s; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.index { position: relative; }
.index summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; }
.index summary::-webkit-details-marker { display: none; }
.index[open] summary { color: var(--ink); }
.index-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, calc(100vw - 32px));
  margin: 0;
  padding: 4px 10px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
}
.index:not([open]) .index-list { display: none; }
.index-list li + li { border-top: 1px solid var(--hair); }
.index-list a { display: grid; grid-template-columns: 26px 1fr auto 28px; align-items: baseline; gap: 8px; padding: 8px 0; }
.index-list .idx { font-family: var(--label); font-size: 9px; letter-spacing: 0.2em; }
.index-list .nm { font-family: var(--serif); font-size: 19px; text-transform: uppercase; letter-spacing: -0.04em; }
.index-list .tg { color: var(--mute); font-size: 11px; }
.index-list .rt { text-align: right; font-size: 11px; }
.index-list a:hover .nm { font-style: italic; }

/* ---------- home ---------- */
body.home { height: 100svh; overflow: hidden; overscroll-behavior: none; }

.info { position: fixed; top: var(--gut); left: var(--gut); z-index: 5; width: 300px; pointer-events: none; }
.info-title {
  margin: 0;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.info-rows { margin: 0; }
.info-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0 3px; border-bottom: 1px solid var(--hair); }
.info-rows dt { padding-top: 2px; }
.info-rows dd { margin: 0; text-align: right; font-size: 12px; }
.info .swap { transition: opacity 0.35s, filter 0.35s; }
.info.is-swapping .swap { opacity: 0; filter: blur(4px); }

.quotes {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 64px;
  pointer-events: none;
  transition: opacity 0.35s, filter 0.35s;
}
.quotes.is-swapping { opacity: 0; filter: blur(4px); }
.quote { margin: 0; text-align: center; width: 230px; }
.quote .stars { display: block; font-size: 9px; letter-spacing: 0.12em; margin-bottom: 7px; }
.quote .lbl { display: block; margin-bottom: 5px; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.stars .half { display: inline-block; width: 0.5em; overflow: hidden; vertical-align: bottom; }

.corner { position: fixed; bottom: var(--gut); z-index: 5; margin: 0; font-size: 11.5px; }
.corner .lbl { display: block; margin-bottom: 3px; }
.corner-r { right: var(--gut); text-align: right; }
.corner-l { left: var(--gut); color: var(--mute); }
.corner-l a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.corner-r:hover { font-style: italic; }
.hint { position: fixed; right: var(--gut); bottom: 46px; z-index: 5; color: var(--mute); font-size: 11px; white-space: nowrap; }
.hint kbd { font-family: var(--label); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--hair); padding: 1px 4px; margin: 0 2px; color: var(--ink); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding-bottom: 6vh;
  background: var(--bg);
  font-family: var(--serif);
  font-size: 46px;
  letter-spacing: -0.04em;
  transition: opacity 0.8s ease 0.1s;
}
.loader.is-done { opacity: 0; pointer-events: none; }
.fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-webgl .fallback { position: static; width: auto; height: auto; clip: auto; padding: 120px 16px; font-size: 18px; }
.no-webgl .fallback a { font-family: var(--serif); text-transform: uppercase; font-size: 40px; }

/* ---------- detail ---------- */
body.detail .nav { background-color: inherit; transition: background-color 0.9s ease; }
.nav-light.detail .nav { background-color: transparent; }
.hero { position: relative; min-height: 100svh; padding: 48px 0 0; text-align: center; }
.title {
  margin: 0;
  padding: 0 var(--gut) 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 400;
  font-size: min(13vw, calc(128vw / var(--len, 8)), 190px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.credits { max-width: 560px; margin: 7px auto 10px; padding: 0 16px; font-size: 12px; line-height: 1.5; }
.credits .lbl { margin: 0 3px 0 8px; font-size: 7.5px; }
.credits .lbl:first-child { margin-left: 0; }
.meta { margin: 0; padding: 0 var(--gut); text-align: left; }
.meta div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0 3px; border-top: 1px solid var(--hair); }
.meta div:last-child { border-bottom: 1px solid var(--hair); }
.meta dt { font-family: var(--label); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 2px; }
.meta dd { margin: 0; text-align: right; font-size: 12px; }
.meta .stars { font-size: 9px; letter-spacing: 0.1em; margin-right: 4px; }
.cross { position: absolute; top: 58%; width: 11px; height: 11px; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--ink); }
.cross::before { left: 5px; top: 0; width: 1.5px; height: 11px; }
.cross::after { top: 5px; left: 0; height: 1.5px; width: 11px; }
.cross-l { left: var(--gut); }
.cross-r { right: var(--gut); }
.ruled-btn {
  display: inline-block;
  padding: 7px 2px 3px;
  border-top: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  transition: letter-spacing 0.4s ease;
}
.ruled-btn:hover { letter-spacing: -0.01em; }
.hero .ruled-btn { position: absolute; left: 50%; top: 70svh; transform: translateX(-50%); }

.reel { position: relative; height: 230svh; margin-top: -24svh; z-index: 3; }
.reel-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.reel-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #1b1c1b;
  will-change: clip-path;
}
.reel-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.12)); transform-origin: 50% 40%; }
.reel-lines i { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.32); }
.reel-lines i:nth-child(1) { top: 24%; }
.reel-lines i:nth-child(2) { top: 48%; }
.reel-lines i:nth-child(3) { top: 72%; }
.reel-lines i:nth-child(4) { top: 96%; }
.words { position: absolute; inset: 0; pointer-events: none; }
.word {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #f3efe9;
  white-space: nowrap;
  transform: translate3d(0, var(--y, 0), 0);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}
.ruled-btn--light { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); color: #f3efe9; font-size: 24px; }

.synopsis { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding: 18vh var(--gut) 14vh; }
.syn-text { margin: 0; max-width: 660px; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.06; letter-spacing: -0.035em; }
.syn-sign { grid-column: 1; margin: 12vh 0 0; font-family: var(--serif); font-size: 17px; letter-spacing: -0.03em; }
.syn-side { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 0; }
.syn-side div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 6px 0 4px; border-top: 1px solid var(--hair); }
.syn-side div:last-child { border-bottom: 1px solid var(--hair); }
.syn-side dt { font-family: var(--label); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 3px; }
.syn-side dd { margin: 0; font-size: 13px; }

.sec-head { display: flex; justify-content: space-between; padding: 6px 0 5px; border-bottom: 1px solid var(--line); }
.formula, .timeline, .results, .quality { padding: 0 var(--gut) 16vh; }
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li { display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 14px 0 12px; border-bottom: 1px solid var(--hair); }
.tracklist .no { font-family: var(--label); font-size: 10px; letter-spacing: 0.2em; }
.tracklist .ing { font-family: var(--serif); font-size: clamp(24px, 2.9vw, 42px); line-height: 0.98; letter-spacing: -0.045em; }
.tracklist .fn { font-size: 14px; }
.tracklist .fn .lbl { display: block; margin-bottom: 4px; color: var(--mute); }
.tracklist li:hover .ing { font-style: italic; }

.tl-row { display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 18px 0 16px; border-bottom: 1px solid var(--hair); }
.tl-when { margin: 0; font-family: var(--label); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.tl-head { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.9vw, 42px); line-height: 0.98; letter-spacing: -0.045em; text-transform: uppercase; }
.tl-body { margin: 0; font-size: 14px; max-width: 460px; }

.stat-grid { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); border-bottom: 1px solid var(--hair); }
.stat-grid--2 { --n: 2; }
.stat-grid--3 { --n: 3; }
.stat { margin: 0; padding: 24px 0 18px; }
.stat + .stat { border-left: 1px solid var(--hair); padding-left: var(--gut); }
.stat-n { display: block; font-family: var(--serif); font-size: clamp(88px, 15vw, 230px); line-height: 0.8; letter-spacing: -0.06em; }
.stat figcaption { margin-top: 12px; max-width: 280px; font-size: 14px; }
.footnote { max-width: 760px; margin: 14px 0 0; color: var(--mute); font-size: 11px; line-height: 1.4; letter-spacing: -0.01em; }

.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 var(--gut) 16vh; }
.buy-img { margin: 0; border-right: 1px solid var(--line); background: #e9eaec; }
.buy-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.buy-body { padding: 24px 0 24px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.buy-title { margin: 8px 0 4px; font-family: var(--serif); font-weight: 400; font-size: min(80px, max(5vw, 44px), calc(62vw / var(--len, 8))); line-height: 0.86; letter-spacing: -0.05em; text-transform: uppercase; }
.buy-tag { margin: 0 0 22px; font-size: 15px; }
.price { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-bottom: 10px; }
.price th, .price td { padding: 8px 8px 6px 0; border-top: 1px solid var(--hair); text-align: left; font-weight: 500; vertical-align: baseline; }
.price tr:last-child th, .price tr:last-child td { border-bottom: 1px solid var(--hair); }
.price th { font-family: var(--label); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.price s { color: var(--mute); margin-right: 4px; }
.price td:last-child { color: var(--mute); }
.buy-small { margin: 0 0 26px; color: var(--mute); font-size: 11.5px; }
.guarantee { margin: auto 0 0; padding-top: 28px; max-width: 460px; font-size: 12px; color: var(--mute); }
.guarantee .lbl { display: block; color: var(--ink); margin-bottom: 4px; }

.q-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 80px; gap: 16px; align-items: baseline; padding: 14px 0 12px; border-bottom: 1px solid var(--hair); }
.q-row h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.045em; text-transform: uppercase; line-height: 1; }
.q-row p { margin: 0; font-size: 13px; max-width: 520px; }
.q-pass { justify-self: end; font-family: var(--label); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }
.q-pass::before { content: '✓ '; }

.next {
  position: relative;
  display: block;
  height: 100svh;
  overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25svh - 1px), rgba(11, 11, 11, 0.5) calc(25svh - 1px), rgba(11, 11, 11, 0.5) 25svh);
  background-position: 0 12.5svh;
  text-align: center;
  perspective: 1400px;
}
.next > .lbl { position: absolute; top: 14px; left: var(--gut); }
.next-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 25svh;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: min(9vw, 120px, calc(120vw / var(--len, 8)));
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.next-bottle { position: absolute; left: 50%; bottom: 5svh; width: min(58vmin, 520px); aspect-ratio: 1; object-fit: contain; transform: translateX(-50%); transition: transform .5s ease; }
.next:hover .next-bottle { transform: translateX(-50%) translateY(-8px); }

.foot { padding: 14px var(--gut) 24px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.foot-cta { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase; max-width: 12ch; }
.foot-cta:hover { font-style: italic; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.foot-links a:hover { color: var(--mute); }
.legal { max-width: 900px; color: var(--mute); font-size: 10.5px; line-height: 1.45; letter-spacing: -0.005em; }
.legal p { margin: 0 0 8px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; }
  .nav { left: 0; right: 0; transform: none; justify-content: center; gap: 12px; padding-top: 10px; }
  .info { top: 44px; left: var(--gut); right: var(--gut); width: auto; }
  .info-title { font-size: 26px; }
  .index-list { position: fixed; top: 42px; left: var(--gut); right: var(--gut); width: auto; transform: none; }
  .index-list .tg { display: none; }
  .index-list .nm { font-size: 17px; }
  .index-list a { grid-template-columns: 26px 1fr 28px; }
  .info-rows div:nth-child(n + 4) { display: none; }
  .quotes { bottom: 54px; gap: 18px; width: calc(100vw - 32px); justify-content: space-between; }
  .quote { width: auto; flex: 1; }
  .quote blockquote { font-size: 15px; }
  .corner-l { display: none; }
  .corner-r { left: var(--gut); right: var(--gut); text-align: center; }
  .corner-r .lbl { display: none; }
  .hint { display: none; }

  .hero { padding-top: 46px; }
  .title { font-size: min(17vw, calc(128vw / var(--len, 8))); }
  .credits .lbl { display: block; margin: 6px 0 1px; }
  .hero .ruled-btn { top: 66svh; }
  .reel { height: 200svh; }
  .word { font-size: 12vw; }
  .synopsis { grid-template-columns: 1fr; gap: 28px; padding: 14vh var(--gut) 10vh; }
  .syn-sign { margin-top: 2vh; }
  .syn-side { grid-column: 1; grid-row: auto; }
  .syn-side div { grid-template-columns: 96px 1fr; }
  .tracklist li, .tl-row { grid-template-columns: 34px minmax(0, 1fr); }
  .tracklist .fn, .tl-body { grid-column: 2; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--hair); padding-left: 0; }
  .stat-n { font-size: 34vw; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .buy-title { font-size: min(17vw, calc(118vw / var(--len, 8))); }
  .buy-img { border-right: 0; border-bottom: 1px solid var(--line); }
  .buy-body { padding: 20px 0; }
  .price td:last-child { display: none; }
  .q-row { grid-template-columns: minmax(0, 1fr) auto; }
  .q-row p { grid-column: 1 / -1; grid-row: 2; }
  .next-bottle { width: min(86vw, 58svh); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.nav-light .nav, .nav-light .nav .nav-link { color: #f3efe9; }
.nav-light .index-list { color: var(--ink); }

/* Bottle photography: real packaging and ingredient scenes, without WebGL. */
body.home { height: auto; min-height: 100svh; overflow-x: hidden; overflow-y: auto; }
.home .nav { background: var(--bg); }
.home-layout { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 5vw; align-items: center; max-width: 1380px; margin: auto; padding: 74px 5vw 0; }
.home .info { position: static; width: auto; pointer-events: auto; align-self: start; padding-top: 32px; }
.home .info-title { font-size: clamp(26px, 2.8vw, 40px); overflow-wrap: anywhere; }
.home .info-rows dd { max-width: 180px; line-height: 1.5; }
.ingredients-toggle { margin-top: 18px; border: 0; border-bottom: 1px solid var(--hair); padding: 8px 0; background: none; color: inherit; font: inherit; cursor: pointer; }
#ingredient-list { margin: 12px 0 0; padding-left: 16px; font-size: 12px; line-height: 1.8; }
.product-gallery { width: min(100%, 64svh); justify-self: center; }
.bottle-stage { position: relative; aspect-ratio: 1; touch-action: pan-y; background: #e7ebed; }
.bottle-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: translateX(18px); transition: opacity .45s ease, transform .6s ease; }
.bottle-slide.is-active { opacity: 1; pointer-events: auto; transform: none; }
.bottle-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); margin-top: 12px; }
.gallery-controls button { border: 0; background: none; color: inherit; min-height: 44px; font-size: 24px; cursor: pointer; }
.gallery-controls button:disabled { opacity: .25; cursor: default; }
.gallery-open { text-align: center; padding: 12px 0; font-family: var(--serif); font-size: clamp(16px, 1.8vw, 24px); }
.gallery-tabs { display: flex; justify-content: center; gap: 8px; }
.gallery-tabs button { border: 0; background: none; width: 44px; height: 40px; cursor: pointer; color: var(--mute); font: 11px var(--label); }
.gallery-tabs button span { display: block; padding-top: 5px; border-top: 3px solid var(--formula-color); opacity: .45; }
.gallery-tabs button[aria-pressed="true"] { color: var(--ink); }
.gallery-tabs button[aria-pressed="true"] span { opacity: 1; }
.home .quotes { position: static; transform: none; justify-content: center; margin: 24px auto 28px; padding: 0 16px; }
.home .corner { position: static; display: block; margin: 0 5vw 14px; }
.home .corner-r { float: right; }
.home .corner-l { display: block; }
@media (max-width: 760px) {
  .home-layout { grid-template-columns: minmax(0, 1fr); padding: 56px 16px 0; gap: 20px; }
  .home .info { padding: 0; }
  .home .info-title { font-size: 28px; overflow-wrap: normal; }
  .home .info-rows dd { max-width: 65%; }
  .ingredients-toggle { margin-top: 4px; font-size: 11px; }
  .product-gallery { width: min(100%, 46svh); }
  .gallery-open { font-size: 18px; }
  .home .quotes { width: 100%; margin-top: 14px; margin-bottom: 22px; gap: 20px; }
  .home .corner { float: none; text-align: center; margin: 0 16px 16px; }
  .home .corner-l { font-size: 10px; }
  .home .corner-l .lbl { display: inline; margin-right: 4px; }
}

/* Keep the whole collection in view; the selected bottle advances to the foreground. */
.home-layout { display: block; max-width: 1600px; padding-top: 250px; }
.home .info { position: absolute; top: 65px; left: 5vw; width: 300px; padding-top: 0; }
#ingredient-list { position: absolute; z-index: 10; background: var(--bg); padding: 12px 20px 12px 28px; width: 100%; border: 1px solid var(--hair); }
.product-gallery { width: 100%; }
.bottle-stage { display: flex; align-items: center; gap: 16px; height: min(48vw, 47svh); aspect-ratio: auto; background: none; cursor: grab; user-select: none; }
.bottle-slide { position: relative; inset: auto; order: var(--slot); flex: 1 1 0; min-width: 0; opacity: 1; pointer-events: auto; transform: translateY(var(--rise)) rotate(-5deg); transition: flex .6s ease, transform .6s ease; }
.bottle-slide.is-active { flex: 2.1 1 0; transform: translateY(0) rotate(0); z-index: 2; }
.bottle-slide img { height: auto; aspect-ratio: 1; box-shadow: 0 12px 24px #00000010; }
.gallery-controls { max-width: 480px; margin: 20px auto 0; }
@media (max-width: 760px) {
  .home-layout { padding-top: 56px; }
  .home .info { position: static; width: auto; }
  .bottle-stage { gap: 7px; height: 290px; margin: 16px -8px 0; }
  .bottle-slide { transform: translateY(var(--rise)) rotate(-6deg); }
  .bottle-slide.is-active { flex: 2.3 1 0; }
  .gallery-controls { margin-top: 0; }
}
.home-layout { padding-top: 290px; }
.bottle-stage { height: min(48vw, 50svh); }
.bottle-slide img { max-height: min(48vw, 50svh); object-fit: contain; }
@media (max-width: 760px) {
  .home-layout { padding-top: 56px; }
  .bottle-stage { height: 230px; }
  .bottle-slide img { max-height: none; }
}

/* Match the cool gray backdrop of the original Thesis product photographs. */
body.home {
  --bg: #dce1e5;
  background: linear-gradient(180deg, #cfd3d6 0%, #dce1e5 48%, #e7ebee 100%);
  background-attachment: scroll;
}
.home .nav { background: transparent; }
.home .bottle-slide img { box-shadow: none; }
.home .bottle-slide img {
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
}
