/* Immortal Extraits
   Night: pure black and bone, taken from the logo.
   Day: sunlit sand with moving palm shadows, taken from the Coco Vanille photograph.
   The logo's strike-through line is the one recurring device. */

:root {
  --ink: #000;
  --bone: #ece5d8;
  --bone-dim: rgba(236, 229, 216, .74);
  --ash: #948c80;
  --line: rgba(236, 229, 216, .16);
  --line-strong: rgba(236, 229, 216, .42);
  --sand: #d9c29d;
  --sand-light: #eadabb;
  --husk: #2e1d12;
  --husk-dim: rgba(46, 29, 18, .74);
  --husk-line: rgba(46, 29, 18, .2);
  --orchid: #e6c888;
  --gold: #d4ae67;
  --metal: linear-gradient(100deg, #8a6630 0%, #e9cf8e 26%, #b3873f 46%, #f4e1a8 64%, #a57c38 82%, #e0bf78 100%);
  --error: #f3a893;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding keeps anything scrolled to (anchors, keyboard focus) clear of the fixed header. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 16px); }
a, button, summary, label, input, select, textarea { touch-action: manipulation; }
h1, h2, h3, .display-1, .display-2, .display-3, .quote { text-wrap: balance; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }

::selection { background: var(--orchid); color: var(--ink); }

:focus-visible {
  outline: 1px solid var(--orchid);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--bone); color: var(--ink); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.display-1, .display-2, .display-3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.02;
}
.display-1 { font-size: clamp(46px, 7.4vw, 112px); }
.display-2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.06; }
.display-3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }

.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.55;
  max-width: 34em;
}
.body-copy { max-width: 36em; color: var(--bone-dim); }
.body-copy p + p { margin-top: 1em; }
.small { font-size: 14px; line-height: 1.6; }
.muted { color: var(--ash); }

/* The bottle number, e.g. N° 01. Set in the serif italic, never as a caps label. */
.no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--gold);
}
.on-sand .no { color: inherit; }

/* Brushed gold, from the brand poster. The light slowly travels across it. */
.metal {
  background: var(--metal);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: metal-shine 9s ease-in-out infinite alternate;
}
@keyframes metal-shine { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---------- Atmosphere: light beam, smoke, gold dust (from the brand film) ---------- */

.beam {
  position: absolute; z-index: 0; pointer-events: none;
  top: -30%; right: 6%; width: min(46vw, 640px); height: 150%;
  background: linear-gradient(to bottom, rgba(241, 214, 150, .3), rgba(241, 214, 150, .07) 55%, transparent 80%);
  -webkit-mask: linear-gradient(to right, transparent, #000 38%, #000 62%, transparent);
  mask: linear-gradient(to right, transparent, #000 38%, #000 62%, transparent);
  transform: rotate(24deg); transform-origin: 50% 0;
  mix-blend-mode: screen;
  animation: beam 10s ease-in-out infinite alternate;
}
@keyframes beam {
  from { opacity: .55; transform: rotate(22deg); }
  to { opacity: 1; transform: rotate(27deg); }
}
.smoke { position: absolute; inset: -12%; z-index: 0; pointer-events: none; overflow: hidden; }
.smoke::before, .smoke::after {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/smoke-a.webp") center / cover no-repeat;
  mix-blend-mode: screen; opacity: .2;
  animation: smoke-drift 40s ease-in-out infinite alternate;
  will-change: transform;
}
.smoke::after { background-image: url("../assets/img/smoke-b.webp"); opacity: .14; animation-duration: 56s; animation-direction: alternate-reverse; }
@keyframes smoke-drift {
  from { transform: translate3d(-7%, 4%, 0) scale(1.08) rotate(-2deg); }
  to { transform: translate3d(7%, -5%, 0) scale(1.26) rotate(2deg); }
}
.dust-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* A band of light that crosses the bottle now and then, cut to the bottle's outline. */
.sheen { position: absolute; pointer-events: none; }
.still-bottle::after, .sheen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../assets/img/bottle.webp") center / 100% 100% no-repeat;
  mask: url("../assets/img/bottle.webp") center / 100% 100% no-repeat;
  background: linear-gradient(110deg, transparent 45%, rgba(255, 224, 160, .42) 50%, transparent 55%) 100% 0 / 300% 100% no-repeat;
  mix-blend-mode: screen;
  animation: sheen 8s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes sheen {
  0%, 62% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* The logo's strike: a hairline through a word. */
.struck { position: relative; display: inline-block; }
.struck::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; top: 54%;
  height: max(1px, .045em); background: currentColor;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn-primary { background: var(--bone); color: var(--ink); }
.btn-primary:hover { background: var(--orchid); }
.btn-ghost { border-color: var(--line-strong); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(236, 229, 216, .06); }
.btn-block { width: 100%; }

.on-sand .btn-primary { background: var(--husk); color: var(--sand-light); }
.on-sand .btn-primary:hover { background: #000; color: var(--orchid); }
.on-sand .btn-ghost { border-color: rgba(46, 29, 18, .45); color: var(--husk); }
.on-sand .btn-ghost:hover { border-color: var(--husk); background: rgba(46, 29, 18, .06); }
.on-sand :focus-visible { outline-color: var(--husk); }

.link {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 15px; font-weight: 500; letter-spacing: .03em;
  text-decoration: none; padding: 4px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: right bottom; }

.spinner {
  display: inline-block; flex: none; vertical-align: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .solid-header .site-header {
  background: rgba(0, 0, 0, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-mono { height: 40px; width: auto; }
.brand-word { height: 25px; width: auto; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 14.5px; letter-spacing: .04em; text-decoration: none; color: var(--bone-dim);
  padding: 6px 0; position: relative; transition: color .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
}

.bag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; letter-spacing: .04em; padding: 8px 0;
}
.bag-ico { width: 20px; height: 20px; }
@media (max-width: 420px) { .bag-label { display: none; } }

.acct-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; letter-spacing: .04em; padding: 8px 0; text-decoration: none;
  color: var(--bone-dim); transition: color .3s;
}
.acct-btn:hover, .acct-btn[aria-current="page"] { color: var(--bone); }
.acct-ico { width: 20px; height: 20px; flex: none; }
/* A small gold point on the icon once you're signed in. */
.acct-btn.is-signed-in::before {
  content: ""; position: absolute; left: 15px; top: 7px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 2px var(--ink);
}
@media (max-width: 600px) { .acct-label { display: none; } }

/* Shop: a panel under the header with the released scent and the vault */
.nav-shop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; letter-spacing: .04em; color: var(--bone-dim);
  padding: 6px 0; position: relative; transition: color .3s;
}
.nav-shop-btn:hover, .nav-shop-btn[aria-expanded="true"], .nav-shop-btn.is-current { color: var(--bone); }
.nav-shop-btn.is-current::after { content: ""; position: absolute; left: 0; right: 16px; bottom: 0; height: 1px; background: currentColor; }
.nav-shop-btn .chev { width: 11px; height: 11px; transition: transform .35s var(--ease); }
.nav-shop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.shop-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(0, 0, 0, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); border-bottom: 1px solid rgba(212, 174, 103, .3);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.shop-panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s; }
.site-header.shop-open { background: rgba(0, 0, 0, .94); border-bottom-color: var(--line); }
.shop-panel-inner {
  max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.25fr); gap: 28px;
}
.shop-links { display: grid; align-content: start; gap: 4px; }
.shop-links a {
  display: block; padding: 10px 0; text-decoration: none;
  font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--bone);
  transition: color .3s;
}
.shop-links a:hover { color: var(--gold); }
.shop-links a span { display: block; font-family: var(--sans); font-size: 13px; color: var(--ash); margin-top: 3px; }
.shop-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 24px 28px; min-height: 200px; text-decoration: none;
  border: 1px solid var(--line); transition: border-color .4s var(--ease);
}
.shop-card:hover { border-color: rgba(212, 174, 103, .6); }
.shop-card img { width: 100%; max-width: 92px; justify-self: center; position: relative; z-index: 1; transition: transform .6s var(--ease); }
.shop-card:hover img { transform: translateY(-5px); }
.shop-card.on-sand img { filter: drop-shadow(10px 16px 12px rgba(46, 29, 18, .3)); }
.shop-card-text { display: grid; gap: 4px; position: relative; z-index: 1; }
.shop-card-text strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.shop-card-text .muted { font-size: 13.5px; }
.shop-card-cta { margin-top: 10px; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; text-decoration: underline; text-underline-offset: .25em; }
.shop-card--vault { background: radial-gradient(circle at 20% 50%, rgba(212, 174, 103, .16), transparent 60%), #050403; color: var(--bone); }
.shop-card--vault img { filter: brightness(.45) contrast(1.15) saturate(.5); }
.shop-card--vault:hover img { filter: brightness(.7) contrast(1.1) saturate(.7); }
@media (max-width: 960px) { .shop-panel { display: none; } }
.bag-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12px; line-height: 1; font-variant-numeric: tabular-nums;
  transition: background-color .3s, color .3s;
}
.bag-count.is-full { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-btn { display: none; font-size: 14.5px; letter-spacing: .04em; padding: 8px 0; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
}
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a {
  font-family: var(--serif); font-size: clamp(38px, 11vw, 64px); line-height: 1.15;
  text-decoration: none;
}
.menu nav a[aria-current="page"] { font-style: italic; }
.menu-foot { margin-top: 40px; color: var(--ash); font-size: 14px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .site-header { gap: 22px; }
}
@media (max-width: 420px) {
  .brand-word { display: none; }
}

/* ---------- Hero (home) ---------- */
/* The bottle stands in the dark behind the gold name, lit by a halo. The name reads like a sign in front of it. */

.hero {
  /* Bottle height: as tall as possible while the whole bottle still fits above the text and buttons. */
  --bh: min(calc(100vh - 290px), 640px);
  --bh: min(calc(100svh - 290px), 640px);
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 8px) var(--gutter) 40px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; z-index: 0; pointer-events: none;
  background: linear-gradient(transparent, #000);
}
.hero-stage { position: relative; z-index: 1; flex: 1; min-height: 460px; isolation: isolate; }

/* The whole bottle stands at the foot of the stage; its cap sits behind the name, its label shows below it. */
.hero-bottle-wrap {
  position: absolute; left: 50%; bottom: 14px; z-index: 1;
  height: var(--bh); aspect-ratio: 372 / 720;
  translate: -50% 0;
}
.hero-bottle-wrap img { display: block; width: 100%; height: 100%; position: relative; z-index: 1; }
/* A soft pool of gold light under the bottle, so it stands on something. */
.hero-bottle-wrap::after {
  content: ""; position: absolute; z-index: 0; left: -40%; right: -40%; bottom: -16px; height: 34px;
  background: radial-gradient(ellipse at center, rgba(214, 176, 106, .32), rgba(214, 176, 106, .08) 45%, transparent 70%);
  filter: blur(4px);
}
.hero-halo {
  position: absolute; z-index: -1; inset: -18% -95% 10%;
  background: radial-gradient(closest-side, rgba(214, 176, 106, .32), rgba(214, 176, 106, .09) 55%, transparent 78%);
  pointer-events: none;
}
.hero-sheen { inset: 0; }

/* The name crosses the bottle a fifth of the way down, over the cap. */
.hero-word {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: calc(100% - 14px - var(--bh) * .8);
  translate: 0 -50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; white-space: nowrap;
  color: var(--gold);
}
.hero-word-main {
  position: relative; display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(60px, 14.2vw, 236px);
  line-height: .9; letter-spacing: .02em;
}
.hero-word-main .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.hero-word-main .ch > span {
  display: inline-block;
  background: var(--metal); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-word-main .ch:nth-child(2n) > span { background-position: 40% 0; }
.hero-word-main .ch:nth-child(3n) > span { background-position: 80% 0; }
.hero-strike {
  position: absolute; left: -3vw; right: -3vw; top: 49%;
  height: max(1.5px, .012em);
  background: linear-gradient(90deg, transparent, currentColor 10%, currentColor 90%, transparent);
  box-shadow: 0 0 14px rgba(214, 176, 106, .55);
  transform-origin: 50% 50%;
}

.hero-foot {
  position: relative; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px;
  flex-wrap: wrap;
  padding-top: 32px;
}
.hero-lead { max-width: 25em; font-size: 16px; color: var(--bone-dim); }
.hero-lead strong { color: var(--bone); font-weight: 500; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Start states for the opening sequence (only when JS runs it). */
.js-motion .hero-strike { transform: scaleX(0); }
.js-motion .hero-bottle-wrap { opacity: 0; }
.js-motion .hero-word-main .ch > span { transform: translateY(105%); }
.js-motion .hero-foot > *, .js-motion .site-header { opacity: 0; }

@media (max-width: 720px) {
  .hero { --bh: min(calc(100svh - 430px), 440px); padding-bottom: 28px; }
  .hero-stage { min-height: 400px; }
  .hero-word-main { font-size: 15.4vw; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- "Luxury in every drop": a gold drop falls, lands, and the words light up ---------- */

.drop-section {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 14vw, 190px);
  background: radial-gradient(ellipse 46% 36% at 50% 42%, rgba(120, 82, 36, .22), transparent 70%), #000;
  text-align: center;
}
.drop-stage { position: relative; height: clamp(170px, 28vh, 300px); margin: 0 auto; width: 120px; }
.drop-trail {
  position: absolute; left: 50%; top: 0; bottom: 14px; width: 1px; margin-left: -.5px;
  background: linear-gradient(rgba(214, 176, 106, 0), rgba(214, 176, 106, .6));
  transform-origin: 50% 0;
}
.drop-bead {
  position: absolute; left: 50%; top: 0; width: 16px; height: 22px; margin-left: -8px;
  filter: drop-shadow(0 0 8px rgba(226, 192, 124, .8));
  transition: opacity .25s;
}
.drop-section.is-landed .drop-bead { opacity: 0; }
.drop-ripple {
  position: absolute; left: 50%; bottom: 0; width: 240px; height: 48px; margin: 0 0 -24px -120px;
  overflow: visible; pointer-events: none;
}
.drop-ripple ellipse {
  fill: none; stroke: rgba(226, 192, 124, .8); stroke-width: 1; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center; opacity: 0;
}
.drop-section.is-landed .drop-ripple ellipse { animation: ripple 2.4s cubic-bezier(.15, .7, .25, 1) forwards; }
.drop-section.is-landed .drop-ripple ellipse:nth-child(2) { animation-delay: .22s; }
.drop-section.is-landed .drop-ripple ellipse:nth-child(3) { animation-delay: .44s; }
@keyframes ripple {
  0% { opacity: .95; transform: scale(1); }
  100% { opacity: 0; transform: scale(14); }
}
.drop-title {
  display: inline-block; margin-top: clamp(36px, 5vw, 64px); padding: .06em .1em .16em;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(46px, 7.4vw, 124px); line-height: 1; letter-spacing: -.01em;
}
.drop-text {
  max-width: 30em; margin: clamp(24px, 3vw, 40px) auto 0;
  font-family: var(--serif); font-size: clamp(21px, 2.1vw, 30px); line-height: 1.45;
}
.drop-text .w { transition: none; }
.drop-cta { margin-top: 44px; }

/* Start states (only when JS runs the sequence) */
.js-drop .drop-trail { transform: scaleY(0); }
.js-drop .drop-title { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js-drop .drop-section.is-landed .drop-title { opacity: 1; transform: none; }
.js-drop .drop-text .w { opacity: .14; }

/* ---------- Sand: Coco Vanille's world ---------- */

.on-sand {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 72% 18%, rgba(255, 244, 222, .7), transparent 70%),
    linear-gradient(170deg, var(--sand-light), var(--sand) 55%, #cdb48c);
  color: var(--husk);
  isolation: isolate;
  overflow: hidden;
}
.on-sand .muted, .on-sand .body-copy { color: var(--husk-dim); }
.on-sand ::selection { background: var(--husk); color: var(--sand-light); }

.palms { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.palms::before, .palms::after {
  content: ""; position: absolute; inset: -12%;
  background: url("../assets/img/palm-shadow.svg") center / cover no-repeat;
  mix-blend-mode: multiply;
  transform-origin: 8% 0%;
  will-change: transform;
}
.palms::before { opacity: .2; filter: blur(9px); animation: sway 10s ease-in-out infinite alternate; }
.palms::after { opacity: .11; filter: blur(24px); animation: sway-far 14s ease-in-out -5s infinite alternate; }
@keyframes sway {
  from { transform: rotate(-1.8deg) translate3d(-1.5%, 0, 0); }
  to { transform: rotate(1.6deg) translate3d(1.5%, 1.2%, 0); }
}
@keyframes sway-far {
  from { transform: scale(1.2) rotate(2deg) translate3d(3%, 2%, 0); }
  to { transform: scale(1.2) rotate(-1deg) translate3d(-2%, 4%, 0); }
}

/* Dawn: the black of the hero fades into the sand. */
.dawn::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 34vh; z-index: 0;
  background: linear-gradient(#000, rgba(0, 0, 0, .55) 35%, transparent);
  pointer-events: none;
}

.sun { padding: clamp(120px, 18vh, 200px) 0 clamp(90px, 12vw, 160px); }
.sun-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
/* Coco Vanille still life: the bottle with coconut and vanilla orchid, cut from the product photograph.
   The coconut pieces were cropped by the photo's edge, so those edges tuck behind the bottle. */
.still { position: relative; width: min(540px, 100%); aspect-ratio: 1 / 1.05; margin: 0 auto; }
.still-layer { position: absolute; display: block; }
.still-layer img { display: block; width: 100%; height: auto; }
.still-bottle { width: 42%; left: 29%; bottom: 6%; z-index: 2; }
.still-bottle img { filter: drop-shadow(26px 34px 24px rgba(46, 29, 18, .32)); }
.still-coconut { width: 52%; left: -2%; bottom: 5%; z-index: 1; }
.still-coconut img { filter: drop-shadow(-10px 26px 22px rgba(46, 29, 18, .3)); }
.still-wedge { width: 40%; left: 52%; bottom: 7%; z-index: 1; }
.still-wedge img { filter: drop-shadow(16px 20px 16px rgba(46, 29, 18, .26)); }
.still-orchid { width: 31%; right: -5%; bottom: -1%; z-index: 3; }
.still-orchid img { filter: drop-shadow(10px 18px 14px rgba(46, 29, 18, .26)); transform-origin: 50% 90%; animation: orchid-sway 7s ease-in-out infinite alternate; }
@keyframes orchid-sway {
  from { transform: rotate(-4deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-6px); }
}
.still-ground {
  position: absolute; left: 2%; right: 2%; bottom: 3%; height: 8%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(46, 29, 18, .4), transparent 70%);
  filter: blur(8px);
}

.sun-bottle { position: relative; display: grid; justify-items: center; padding: 20px 0 40px; }
.sun-bottle > img { width: min(360px, 78%); position: relative; z-index: 1; filter: drop-shadow(30px 40px 30px rgba(46, 29, 18, .28)); }
.sun-bottle .ground {
  position: absolute; bottom: 36px; width: min(420px, 90%); height: 34px; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(46, 29, 18, .42), transparent 70%);
  filter: blur(6px);
}
.sun-copy .no { display: block; margin-bottom: 18px; }
.sun-copy .display-1 { margin-bottom: 28px; }
.sun-copy .lede { margin-bottom: 40px; }

.notes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--husk-line);
  margin-bottom: 40px;
}
.notes > div { padding: 18px 20px 0 0; }
.notes > div + div { padding-left: 20px; border-left: 1px solid var(--husk-line); }
.notes dt { font-family: var(--serif); font-style: italic; font-size: 17px; margin-bottom: 6px; }
.notes dd { font-size: 15px; line-height: 1.6; color: var(--husk-dim); }

.buy-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.price {
  font-family: var(--serif); font-size: 32px; line-height: 1; font-variant-numeric: lining-nums;
}
.price-meta { font-size: 14px; line-height: 1.5; }

@media (max-width: 860px) {
  .sun-grid { grid-template-columns: 1fr; }
  .sun-bottle > img { width: min(260px, 62vw); }
  .notes { grid-template-columns: 1fr; }
  .notes > div, .notes > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--husk-line); }
}

/* ---------- The spray: how to wear it ---------- */

.spray {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(100px, 13vw, 180px) 0;
  background:
    radial-gradient(ellipse 48% 62% at 30% 56%, rgba(186, 118, 52, .42), transparent 72%),
    radial-gradient(ellipse 40% 50% at 78% 30%, rgba(120, 72, 32, .22), transparent 70%),
    #000;
}
.spray-watermark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: -1; margin: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(90px, 17vw, 300px); line-height: 1;
  color: rgba(242, 227, 174, .06);
}
.spray-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.spray-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.spray-bottle { display: grid; justify-items: center; position: relative; }
.spray-bottle button { display: block; width: min(330px, 70%); cursor: pointer; border-radius: 4px; }
.spray-bottle img { width: 100%; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)) drop-shadow(-12px 0 30px rgba(186, 118, 52, .25)); transition: transform .5s var(--ease); }
.spray-bottle button:active img { transform: scale(.985); }
.spray-hint { margin-top: 18px; font-size: 13px; color: var(--ash); }
.spray-copy .display-2 { margin-bottom: 36px; }
.steps { counter-reset: step; display: grid; gap: 26px; margin-bottom: 40px; max-width: 30em; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.steps li::before {
  counter-increment: step; content: counter(step, upper-roman) ".";
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--orchid);
}
.steps h3 { font-family: var(--serif); font-size: 22px; line-height: 1.25; margin-bottom: 4px; }
.steps p { color: var(--bone-dim); font-size: 15.5px; }
@media (max-width: 860px) {
  .spray-grid { grid-template-columns: 1fr; }
  .spray-bottle button { width: min(220px, 56vw); }
}

/* ---------- The vault ---------- */

.vault-section { position: relative; padding: clamp(100px, 14vw, 180px) 0; }
.vault-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.vault-head .body-copy { justify-self: end; }
@media (max-width: 860px) {
  .vault-head { grid-template-columns: 1fr; }
  .vault-head .body-copy { justify-self: start; }
}

.vault {
  --x: 50%; --y: 40%; --r: 290px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(12px, 2vw, 28px);
  padding: 24px 0;
  isolation: isolate;
  touch-action: pan-y;
}
/* Darkness, with one pool of light that follows the pointer. */
.vault::after {
  content: ""; position: absolute; inset: -30px; z-index: 5; pointer-events: none;
  background: radial-gradient(circle var(--r) at var(--x) var(--y),
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .3) 42%, rgba(0, 0, 0, .74) 80%, rgba(0, 0, 0, .8) 100%);
}
.vault::before {
  content: ""; position: absolute; inset: -30px; z-index: 4; pointer-events: none;
  background: radial-gradient(circle calc(var(--r) * .8) at var(--x) var(--y), rgba(242, 227, 174, .12), transparent 70%);
  mix-blend-mode: screen;
}
.vault.is-static::after {
  background: radial-gradient(ellipse 70% 90% at 50% 45%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .7) 100%);
}
.vault.is-static::before { display: none; }

.vault:not([data-limit]) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .vault { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vault:not([data-limit]) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .vault { grid-template-columns: repeat(4, minmax(0, 1fr)); --r: 200px; }
  .vault:not([data-limit]) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vault { grid-template-columns: repeat(3, minmax(0, 1fr)); --r: 170px; }
  .vault:not([data-limit]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vault:not([data-limit]) .sealed-status { display: none; }
}
.vault[data-limit="12"] .sealed:nth-child(n+13) { display: none; }
@media (max-width: 860px) { .vault[data-limit="12"] .sealed:nth-child(n+9) { display: none; } }
@media (max-width: 560px) { .vault[data-limit="12"] .sealed:nth-child(n+7) { display: none; } }

.sealed {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; color: var(--bone);
  padding: 8px 0;
}
.sealed-glow {
  position: absolute; top: 10%; left: 50%; width: 120%; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, var(--glow, #6b5a40) 0%, transparent 62%);
  opacity: .5; filter: blur(14px); z-index: -1;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sealed-bottle {
  width: 78%; max-width: 150px;
  filter: brightness(.34) contrast(1.15) saturate(.4);
  transition: filter .6s var(--ease), transform .6s var(--ease);
}
.sealed-no { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1; margin-top: 6px; }
.sealed-name { position: relative; display: block; height: 12px; width: var(--w, 72%); }
.sealed-name::before { content: ""; position: absolute; inset: 0; background: rgba(236, 229, 216, .12); }
.sealed-name::after { content: ""; position: absolute; left: -8%; right: -8%; top: 50%; height: 1px; background: rgba(236, 229, 216, .55); }
.sealed-status { font-size: 12.5px; letter-spacing: .06em; color: var(--ash); }
.sealed:hover .sealed-bottle, .sealed:focus-visible .sealed-bottle { filter: brightness(.62) contrast(1.1) saturate(.7); transform: translateY(-6px); }
.sealed:hover .sealed-glow, .sealed:focus-visible .sealed-glow { opacity: .95; transform: translateX(-50%) scale(1.1); }
.sealed:focus-visible { outline-offset: 8px; }

.vault-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 72px); }
.vault-hint { font-size: 14px; color: var(--ash); }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 8px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.field label, .field .label { font-size: 13.5px; letter-spacing: .03em; color: var(--bone-dim); }
.field .opt { color: var(--ash); }
.input, .select, .textarea {
  width: 100%; min-height: 50px;
  background: transparent; color: var(--bone);
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 12px 0; font-size: 16px;
  transition: border-color .3s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: #000; color: var(--bone); }
.input::placeholder, .textarea::placeholder { color: rgba(236, 229, 216, .34); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--orchid); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { box-shadow: 0 1px 0 0 var(--orchid); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-bottom-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); }
.form-note { font-size: 13.5px; color: var(--ash); }
.form-status { font-size: 14.5px; min-height: 1.6em; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--orchid); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; max-width: 520px; width: 100%; }
.inline-form .field { flex: 1; min-width: 200px; }
.inline-form .form-status { flex-basis: 100%; }
.inline-form .form-status:empty { display: none; }
@media (max-width: 520px) { .inline-form { flex-direction: column; align-items: stretch; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.grid-2 .span-2 { grid-column: 1 / -1; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* Star rating input */
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { cursor: pointer; padding: 4px; color: rgba(236, 229, 216, .25); transition: color .2s, transform .2s; }
.stars-input label svg { width: 30px; height: 30px; }
.stars-input input:checked ~ label,
.stars-input label:hover, .stars-input label:hover ~ label { color: var(--orchid); }
.stars-input input:focus-visible + label { outline: 1px solid var(--orchid); outline-offset: 2px; }

/* ---------- Stars (display) ---------- */

.stars { display: inline-flex; gap: 3px; color: var(--orchid); vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: rgba(236, 229, 216, .2); }
.on-sand .stars { color: var(--husk); }
.on-sand .stars .off { color: rgba(46, 29, 18, .2); }

/* ---------- Page heads ---------- */

.page-head { padding: calc(var(--header-h) + clamp(56px, 10vw, 140px)) 0 clamp(48px, 7vw, 96px); }
.page-head .display-1 { margin-bottom: 24px; }
.page-head .lede { color: var(--bone-dim); }

.section { padding: clamp(80px, 10vw, 150px) 0; }
.section-tight { padding: clamp(56px, 7vw, 100px) 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Collection ---------- */

.released {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  min-height: 560px;
}
.released-media { position: relative; display: grid; place-items: center; padding: 56px 24px; }
.released-media .still { width: min(440px, 100%); }
.released-media > img { width: min(300px, 70%); filter: drop-shadow(26px 34px 26px rgba(46, 29, 18, .3)); position: relative; z-index: 1; }
.released-copy { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 22px; background: rgba(255, 248, 232, .22); border-left: 1px solid var(--husk-line); }
.released-copy .buy-row { margin-top: 8px; }
@media (max-width: 860px) {
  .released { grid-template-columns: 1fr; }
  .released-copy { border-left: 0; border-top: 1px solid var(--husk-line); }
}

/* ---------- Product page ---------- */

.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: start; }
.pdp-media { display: flex; flex-direction: column; gap: 4px; }
.pdp-media figure { margin: 0; position: relative; overflow: hidden; }
.pdp-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 24px) 24px 48px; }
.pdp-hero .still { width: min(560px, 88%); }
.pdp-hero > img { width: min(380px, 62%); position: relative; z-index: 1; filter: drop-shadow(30px 40px 30px rgba(46, 29, 18, .3)); }
.pdp-hero .ground { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); width: min(460px, 70%); height: 36px; background: radial-gradient(ellipse at center, rgba(46, 29, 18, .42), transparent 70%); filter: blur(6px); }
.pdp-media .photo img { width: 100%; height: auto; }
.pdp-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pdp-media .pair img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.pdp-info {
  position: sticky; top: 0;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: calc(var(--header-h) + 32px) clamp(24px, 4vw, 64px) 48px;
}
.pdp-info .display-1 { font-size: clamp(46px, 5.6vw, 88px); }
.pdp-type { color: var(--bone-dim); }
.pdp-rating { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--bone-dim); text-decoration: none; }
.pdp-buy { display: flex; gap: 12px; align-items: stretch; }
.pdp-buy .btn { flex: 1; }
.pdp-assure { font-size: 14px; color: var(--ash); display: grid; gap: 4px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 2px; }
.qty button { width: 44px; height: 50px; display: grid; place-items: center; font-size: 18px; color: var(--bone-dim); transition: color .2s; }
.qty button:hover { color: var(--bone); }
.qty output, .qty input { width: 34px; text-align: center; font-variant-numeric: tabular-nums; background: none; border: 0; }
.qty-sm button { width: 34px; height: 36px; font-size: 16px; }
.qty-sm output { width: 26px; font-size: 14px; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: 15px; letter-spacing: .03em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--serif); font-size: 22px; line-height: 1; transition: transform .35s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 22px; color: var(--bone-dim); font-size: 15px; }
.accordion .acc-body p + p { margin-top: .8em; }

@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-hero { min-height: 72svh; }
  .pdp-info { position: static; min-height: 0; padding: 48px var(--gutter) 24px; }
  .pdp-media .extra { display: none; }
}

/* Unfolding over time: opening, heart, drydown */
.unfold { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.unfold figure { margin: 0; }
.unfold img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 22px; }
.unfold .when { font-family: var(--serif); font-style: italic; font-size: 17px; display: block; margin-bottom: 6px; color: var(--ash); }
.unfold h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.unfold p { color: var(--bone-dim); font-size: 15.5px; max-width: 26em; }
@media (max-width: 860px) {
  .unfold { grid-template-columns: 1fr; gap: 56px; }
  .unfold img { aspect-ratio: 16 / 11; }
}

/* ---------- Reviews ---------- */

.review-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 56px; align-items: center; }
.review-avg { font-family: var(--serif); font-size: clamp(64px, 8vw, 104px); line-height: .9; }
.review-avg-meta { display: flex; flex-direction: column; gap: 8px; }
.review-bars { display: grid; gap: 6px; max-width: 360px; width: 100%; }
.review-bars div { display: grid; grid-template-columns: 26px 1fr 30px; gap: 12px; align-items: center; font-size: 13px; color: var(--ash); }
.review-bars span.bar { height: 2px; background: var(--line); position: relative; }
.review-bars span.bar i { position: absolute; inset: 0 auto 0 0; background: var(--orchid); }
@media (max-width: 620px) { .review-summary { grid-template-columns: 1fr; } }

.review-list { display: grid; }
.review {
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 48px;
  padding: 36px 0; border-top: 1px solid var(--line);
}
.review:last-child { border-bottom: 1px solid var(--line); }
.review-who { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.review-who strong { font-weight: 500; font-size: 15px; }
.review-who .muted { font-size: 13px; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--orchid); }
.verified svg { width: 13px; height: 13px; }
.review-body h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; margin: 10px 0 10px; }
.review-body p { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--bone-dim); max-width: 38em; white-space: pre-line; }
.review-product { font-size: 13px; color: var(--ash); margin-top: 12px; }
.review-reply { margin-top: 18px; padding-left: 18px; border-left: 1px solid var(--line-strong); font-size: 14.5px; color: var(--bone-dim); }
.review-reply strong { display: block; font-weight: 500; color: var(--bone); margin-bottom: 4px; }
@media (max-width: 720px) { .review { grid-template-columns: 1fr; } }

.review-empty { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 18px; justify-items: start; }
.review-empty p.big { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; max-width: 20em; }

.write { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); }
.write form { display: grid; gap: 28px; }
@media (max-width: 860px) { .write { grid-template-columns: 1fr; } }

/* ---------- Story ---------- */

.story-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.story-split figure { margin: 0; }
.story-split img { width: 100%; }
.crop-logo { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .story-split { grid-template-columns: 1fr; } }

.strength { display: grid; gap: 22px; margin-top: 36px; max-width: 560px; }
.strength div { display: grid; grid-template-columns: 150px 1fr 70px; gap: 16px; align-items: center; font-size: 14.5px; }
.strength .bar { height: 2px; background: var(--line); position: relative; }
.strength .bar i { position: absolute; top: 0; bottom: 0; background: var(--bone-dim); }
.strength .is-ours { color: var(--bone); }
.strength .is-ours .bar i { background: var(--orchid); height: 4px; top: -1px; }
.strength .range { color: var(--ash); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .strength div { grid-template-columns: 1fr 64px; } .strength .bar { grid-column: 1 / -1; grid-row: 2; } }

.quote { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 60px); line-height: 1.15; max-width: 18em; }

/* ---------- Contact / FAQ / policies ---------- */

.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 120px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 28px; }
.facts { display: grid; gap: 22px; font-size: 15px; color: var(--bone-dim); }
.facts strong { display: block; font-weight: 500; color: var(--bone); }

.policy { max-width: 44em; }
.policy h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); margin: 72px 0 18px; scroll-margin-top: calc(var(--header-h) + 24px); }
.policy h2:first-child { margin-top: 0; }
.policy h3 { font-size: 16px; font-weight: 500; margin: 28px 0 8px; }
.policy p, .policy li { color: var(--bone-dim); }
.policy p + p { margin-top: 1em; }
.policy ul { list-style: disc; padding-left: 1.2em; margin: 12px 0; }
.policy li + li { margin-top: 6px; }
.draft-note { border: 1px dashed var(--line-strong); padding: 14px 18px; font-size: 14px; color: var(--ash); margin-bottom: 40px; }

/* ---------- Bag drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .5s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(460px, 100%);
  background: #000; border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .6s var(--ease-io), visibility 0s linear .6s;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; visibility: visible; transition: transform .6s var(--ease-io), visibility 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-size: 26px; }
.drawer-head button { font-size: 14px; letter-spacing: .04em; color: var(--bone-dim); }
.drawer-head button:hover { color: var(--bone); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.drawer-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.drawer-empty { padding: 48px 0; display: grid; gap: 22px; justify-items: start; }
.drawer-empty p { font-family: var(--serif); font-size: 24px; line-height: 1.3; }

.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item:last-child { border-bottom: 0; }
.line-thumb { width: 72px; height: 90px; display: grid; place-items: center; background: linear-gradient(170deg, var(--sand-light), var(--sand)); }
.line-thumb img { height: 76px; width: auto; }
.line-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.line-meta { font-size: 13px; color: var(--ash); }
.line-controls { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.line-remove { font-size: 13px; color: var(--ash); text-decoration: underline; text-underline-offset: .2em; min-height: 28px; padding: 4px 2px; }
.line-remove:hover { color: var(--bone); }
.line-price { font-variant-numeric: tabular-nums; align-self: start; padding-top: 2px; }

.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.sum-row.total { font-family: var(--serif); font-size: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.free-note { font-size: 13.5px; color: var(--bone-dim); }
.free-bar { height: 2px; background: var(--line); margin-top: 8px; position: relative; overflow: hidden; }
.free-bar i { position: absolute; inset: 0 auto 0 0; background: var(--orchid); transition: width .6s var(--ease); }

/* ---------- Checkout ---------- */

.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 100px); align-items: start; }
.checkout-form { display: grid; gap: 56px; }
.checkout-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 24px; min-width: 0; }
.checkout-form legend { font-family: var(--serif); font-size: 28px; padding: 0; margin-bottom: 6px; }
.choice { display: grid; gap: 10px; }
.choice label {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 18px 20px; border: 1px solid var(--line); cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.choice label:hover { border-color: var(--line-strong); }
.choice input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 3px 0 0; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; }
.choice input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orchid); transform: scale(0); transition: transform .25s var(--ease); }
.choice input:checked::after { transform: scale(1); }
.choice input:checked { border-color: var(--orchid); }
.choice label:has(input:checked) { border-color: var(--bone-dim); background: rgba(236, 229, 216, .04); }
.choice input:focus-visible { outline: 1px solid var(--orchid); outline-offset: 3px; }
.choice .c-title { font-weight: 500; }
.choice .c-detail { font-size: 14px; color: var(--ash); display: block; }
.choice .c-price { font-variant-numeric: tabular-nums; }

.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pay-marks li {
  font-size: 11.5px; letter-spacing: .03em; line-height: 1; white-space: nowrap;
  padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--bone-dim);
}

.summary { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); padding: 28px; display: grid; gap: 16px; }
.summary h2 { font-family: var(--serif); font-size: 28px; }
.summary .line-item { padding: 16px 0; }
.summary-empty { display: grid; gap: 20px; justify-items: start; }
.checkout-actions { display: grid; gap: 14px; }
.secure { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ash); }
.secure svg { width: 14px; height: 14px; flex: none; }
.notice { border: 1px solid var(--line-strong); padding: 16px 18px; font-size: 14.5px; color: var(--bone-dim); }
.notice strong { color: var(--bone); font-weight: 500; }
@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}

/* ---------- Order complete ---------- */

.done { max-width: 720px; margin: 0 auto; text-align: center; display: grid; gap: 22px; justify-items: center; }
.done .monogram { width: 64px; opacity: .9; }
.done-ref { font-family: var(--serif); font-style: italic; font-size: 20px; }
.done-table { width: 100%; text-align: left; border-top: 1px solid var(--line); margin-top: 12px; }
.done-table .sum-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank { width: 100%; text-align: left; border: 1px solid var(--line-strong); padding: 24px; display: grid; gap: 10px; }
.bank .sum-row span:last-child { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* ---------- Account ---------- */

.acct-loading, .acct-wait { display: flex; align-items: center; gap: 14px; }
.text-btn {
  font-size: 14px; letter-spacing: .02em; color: var(--bone-dim);
  text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px;
  padding: 6px 0; min-height: 32px; transition: color .3s;
}
.text-btn:hover { color: var(--bone); }

/* Signed out: sign in and create account side by side, one frame. */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); }
.auth-card { display: grid; gap: 24px; align-content: start; padding: clamp(28px, 4vw, 56px); min-width: 0; }
.auth > .auth-card + .auth-card { border-left: 1px solid var(--line); }
.auth-card--create { background: radial-gradient(110% 70% at 100% 0%, rgba(212, 174, 103, .09), transparent 62%); }
.auth-single { max-width: 580px; margin: 0 auto; border: 1px solid var(--line); }
.auth-actions { display: grid; gap: 12px; justify-items: start; }
.auth-perks { display: grid; gap: 8px; color: var(--bone-dim); font-size: 15px; }
.auth-perks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: baseline; }
/* The logo's strike, as the bullet. */
.auth-perks li::before { content: ""; width: 12px; height: 1px; background: var(--gold); transform: translateY(-.3em); }
.auth-message { text-align: center; justify-items: center; }
.auth-message .auth-actions { justify-items: center; }
.auth-mono { width: 52px; opacity: .9; }
.auth-message h2:focus { outline: none; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth > .auth-card + .auth-card { border-left: 0; border-top: 1px solid var(--line); }
}

.pw { position: relative; }
.pw .input { padding-right: 60px; }
.pw-toggle {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  min-height: 40px; padding: 0 0 0 12px;
  font-size: 13px; letter-spacing: .04em; color: var(--ash); transition: color .3s;
}
.pw-toggle:hover { color: var(--bone); }

/* The 6-digit code box */
.code-input { font-size: 26px; letter-spacing: .28em; font-variant-numeric: tabular-nums; }
.code-input::placeholder { letter-spacing: normal; }
.code-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.text-btn[disabled] { opacity: .55; cursor: default; text-decoration: none; }

/* Only on the owner's own account */
.acct-owner { display: grid; gap: 10px; justify-items: start; width: 100%; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(212, 174, 103, .35); }

.admin-missing { display: grid; gap: 20px; justify-items: center; text-align: center; min-height: 58vh; align-content: center; }

/* Signed in */
.acct { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.acct-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 8px; justify-items: start; }
.acct-name { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; overflow-wrap: anywhere; }
.acct-email { overflow-wrap: anywhere; margin-bottom: 12px; }
.acct-nav { display: grid; width: 100%; border-top: 1px solid var(--line); margin: 6px 0 22px; }
.acct-nav a {
  padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-size: 15px; color: var(--bone-dim); transition: color .3s, padding-left .45s var(--ease);
}
.acct-nav a:hover { color: var(--bone); padding-left: 8px; }
.acct-main { display: grid; gap: clamp(56px, 7vw, 88px); min-width: 0; }
.acct-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.acct-h { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 22px; }
.acct-sub { margin: -8px 0 26px; font-size: 15px; }
.acct-form { display: grid; gap: 28px; }
.acct-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.acct-form-foot .form-status { min-height: 0; }

.acct-orders { display: grid; gap: 14px; }
.acct-order { border: 1px solid var(--line); padding: 24px 26px; display: grid; gap: 16px; transition: border-color .4s var(--ease); }
.acct-order:hover { border-color: var(--line-strong); }
.acct-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.acct-order-ref { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.2; }
.acct-order-lines { display: grid; gap: 8px; }
.acct-order-total { padding-top: 10px; border-top: 1px solid var(--line); }
.acct-track a { color: var(--bone); }
.acct-bank { border-top: 1px dashed var(--line-strong); padding-top: 14px; display: grid; gap: 6px; }
.acct-empty { border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; justify-items: start; }
.acct-empty-title { font-family: var(--serif); font-size: 28px; line-height: 1.2; }

.acct-danger { border-top: 1px solid var(--line); padding-top: 22px; }
.acct-danger summary { cursor: pointer; list-style: none; font-size: 14.5px; color: var(--ash); transition: color .3s; }
.acct-danger summary::-webkit-details-marker { display: none; }
.acct-danger summary:hover, .acct-danger[open] summary { color: var(--bone); }
.acct-danger[open] summary { margin-bottom: 22px; }
.btn-danger { border-color: rgba(243, 168, 147, .5); color: var(--error); }
.btn-danger:hover { border-color: var(--error); background: rgba(243, 168, 147, .08); }

@media (max-width: 860px) {
  .acct { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .acct-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; border-top: 0; margin: 4px 0 14px; }
  .acct-nav a { border-bottom: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: .25em; }
}
@media (max-width: 520px) {
  .acct-order { padding: 20px 18px; }
  .acct-order-head { flex-direction: column; gap: 10px; }
}

/* Order status: a label with a dot, never colour alone. */
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; letter-spacing: .04em; line-height: 1;
  padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--bone-dim);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--gold { color: var(--gold); border-color: rgba(212, 174, 103, .45); }
.pill--ok { color: #a9d6b2; border-color: rgba(169, 214, 178, .4); }
.pill--warn { color: #f1c888; border-color: rgba(241, 200, 136, .45); }
.pill--muted { color: var(--ash); border-color: var(--line); }

.checkout-acct a { color: var(--bone); }

/* ---------- Owner dashboard ---------- */

.admin-bar {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter);
  background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .brand { margin-right: 0; }
.admin-bar-tag { margin-right: auto; padding-left: 18px; border-left: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold); }
.admin-bar-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.admin { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); min-height: calc(100vh - var(--header-h) - 70px); }
.admin-foot { border-top: 1px solid var(--line); padding: 22px 0 28px; }
.admin-login { display: grid; place-items: center; min-height: 62vh; }
.admin-login-card { width: min(460px, 100%); border: 1px solid var(--line); }
@media (max-width: 560px) { .admin-bar-tag { display: none; } .admin-bar .brand-word { display: none; } }

.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); transition: opacity .3s; }
.dash.is-loading { opacity: .6; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; }
.dash-head .no { display: block; margin-bottom: 6px; }
.dash-head-meta { display: flex; align-items: center; gap: 16px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.dash-alerts { display: grid; gap: 10px; }
.dash-alert { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 14px 18px; border: 1px solid var(--line-strong); background: rgba(236, 229, 216, .03); }
.dash-alert p { flex: 1; min-width: 200px; font-size: 15px; }
.dash-calm { padding: 14px 18px; border: 1px solid var(--line); font-size: 15px; color: var(--bone-dim); }
@media (max-width: 560px) {
  .dash-alert { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dash-alert p { min-width: 0; }
}

.dash-card { border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 8px; align-content: start; min-width: 0; }
.dash-label { font-size: 13.5px; font-weight: 400; letter-spacing: .04em; color: var(--ash); }
/* Figures are set in the sans: the serif is for words. */
.dash-hero { font-weight: 500; font-size: clamp(44px, 6vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
.dash-figure { font-weight: 500; font-size: 40px; line-height: 1.1; }

.chart { position: relative; margin-top: 18px; outline-offset: 6px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: rgba(236, 229, 216, .09); stroke-width: 1; }
.chart .axis { stroke: rgba(236, 229, 216, .3); stroke-width: 1; }
.chart .tick { fill: var(--ash); font-family: var(--sans); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.chart .bar { fill: var(--gold); transition: fill .2s; }
.chart .bar.is-active { fill: #f2dca6; }
.chart .hit { fill: transparent; }
.chart .band { fill: rgba(236, 229, 216, .07); }
.chart-tip {
  position: absolute; top: 0; left: 0; z-index: 2; transform: translateX(-50%); pointer-events: none;
  display: grid; gap: 2px; white-space: nowrap;
  padding: 8px 12px; background: #0d0c0b; border: 1px solid var(--line-strong);
}
.chart-tip strong { font-weight: 500; font-size: 16px; }
.chart-tip span { font-size: 12.5px; color: var(--ash); }
.chart-empty { position: absolute; inset: 0 0 30px 56px; display: grid; place-items: center; font-size: 14.5px; color: var(--ash); pointer-events: none; }
.dash-table-toggle summary { width: fit-content; margin-top: 6px; cursor: pointer; font-size: 13.5px; color: var(--ash); transition: color .3s; }
.dash-table-toggle summary:hover { color: var(--bone); }
.dash-table-toggle .dash-table-wrap { max-height: 360px; overflow-y: auto; }

.dash-table-wrap { overflow-x: auto; margin-top: 12px; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dash-table th { text-align: left; font-weight: 400; font-size: 12.5px; letter-spacing: .04em; color: var(--ash); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.dash-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dash-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.dash-table--wide { min-width: 720px; }
.dash-table a { color: var(--bone-dim); }

/* Hairlines between tiles come from the 1px gap, so they line up at any column count. */
.dash-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kpi { display: grid; gap: 4px; align-content: start; padding: 20px 22px; background: var(--ink); min-width: 0; }
.kpi-label { font-size: 13px; letter-spacing: .03em; color: var(--ash); }
.kpi-value { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.kpi-sub { font-size: 13px; color: var(--ash); }
@media (max-width: 1100px) { .dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi { padding: 16px; } }

.dash-block { display: grid; gap: 18px; scroll-margin-top: calc(var(--header-h) + 20px); min-width: 0; }
.dash-block-head { display: grid; gap: 14px; }
.dash-h { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.dash-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--bone-dim);
  transition: color .25s, background-color .25s, border-color .25s;
}
.chip:hover { color: var(--bone); border-color: var(--bone-dim); }
.chip[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.chip-n { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .7; }
.dash-search { width: min(380px, 100%); }
.dash-search .input { min-height: 42px; padding: 8px 0; }

.dash-orders { border-top: 1px solid var(--line); }
.dash-order { border-bottom: 1px solid var(--line); }
.dash-order-row {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 150px minmax(0, 1.3fr) minmax(0, 1fr) 90px 150px; align-items: center; gap: 16px;
  padding: 16px 6px; transition: background-color .25s;
}
.dash-order-row::-webkit-details-marker { display: none; }
.dash-order-row:hover, .dash-order[open] > .dash-order-row { background: rgba(236, 229, 216, .035); }
.dash-order-ref, .dash-order-who { display: grid; gap: 2px; min-width: 0; }
.dash-order-ref strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }
.dash-order-who span, .dash-order-items { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-order-total { text-align: right; font-variant-numeric: tabular-nums; }
.dash-order-row .pill { justify-self: end; }
.dash-order-body { display: grid; gap: 22px; padding: 10px 6px 28px; }
.dash-order-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; font-size: 14.5px; }
.dash-k { margin-bottom: 6px; font-size: 12.5px; letter-spacing: .04em; color: var(--ash); }
.dash-v { color: var(--bone-dim); overflow-wrap: anywhere; }
.dash-v a { color: var(--bone); }
.dash-v .sum-row { font-size: 14px; }
.dash-total { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); color: var(--bone); }
.dash-action { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 18px 20px; border: 1px solid rgba(212, 174, 103, .35); background: rgba(212, 174, 103, .04); }
.dash-action .field { flex: 1; min-width: 220px; }
.dash-action > p, .dash-action .form-note, .dash-action .form-status { flex-basis: 100%; }
.dash-action .form-status:empty { display: none; }
.dash-action-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-done { font-size: 14.5px; color: var(--bone-dim); }
.dash-done a { color: var(--bone); }
.dash-empty { padding: 28px 6px; }
@media (max-width: 1000px) {
  .dash-order-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ref total" "who pill"; row-gap: 8px; }
  .dash-order-ref { grid-area: ref; } .dash-order-who { grid-area: who; }
  .dash-order-total { grid-area: total; } .dash-order-row .pill { grid-area: pill; }
  .dash-order-items { display: none; }
  .dash-order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .dash-order-grid { grid-template-columns: 1fr; } }

.dash-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .dash-pair { grid-template-columns: 1fr; } }
.dash-mini { display: grid; gap: 6px; margin: 8px 0 6px; font-size: 14px; color: var(--bone-dim); }
.dash-mini li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.dash-mini .num { font-variant-numeric: tabular-nums; }
.dash-links { display: flex; flex-wrap: wrap; gap: 12px; }
.dash-links .btn { white-space: normal; text-align: center; padding-top: 12px; padding-bottom: 12px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-bottom: 64px; }
.footer-logo { width: 150px; }
.footer-top h2 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin-bottom: 18px; max-width: 16em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.footer-cols h3 { font-size: 13.5px; color: var(--ash); letter-spacing: .04em; margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; font-size: 15px; padding: 4px 0; color: var(--bone-dim); transition: color .3s; }
.footer-cols a:hover { color: var(--bone); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; font-size: 13px; color: var(--ash); padding-top: 24px; border-top: 1px solid var(--line); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--ash); text-decoration: none; transition: color .3s; }
.footer-legal a:hover { color: var(--bone); }
.footer-cols .social { display: flex; align-items: center; gap: 10px; }
.footer-cols .social svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Dialog, toast ---------- */

.dialog {
  width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-strong);
  background: #000; color: var(--bone);
}
.dialog::backdrop { background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog[open] { animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.dialog-inner { padding: 36px; display: grid; gap: 20px; position: relative; }
.dialog-inner .sealed-bottle { width: 72px; margin-bottom: 4px; }
.dialog-close { position: absolute; top: 18px; right: 20px; font-size: 14px; color: var(--bone-dim); }
.dialog h2 { font-family: var(--serif); font-size: 30px; line-height: 1.15; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--bone); color: var(--ink);
  padding: 14px 20px; font-size: 14.5px; display: flex; gap: 18px; align-items: center;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none; max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a, .toast button { font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }

main { animation: page-in .7s var(--ease) both; overflow-x: clip; }
[data-unveil] { overflow: hidden; }
@keyframes page-in { from { opacity: 0; } }

/* Page fade between pages */
.veil { position: fixed; inset: 0; z-index: 100; background: #000; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.veil.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Reduced motion ---------- */
/* .motion-off is set from the device preference or the footer's "Reduce motion" switch. */

html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; scroll-behavior: auto !important;
}
html.motion-off .palms::before, html.motion-off .palms::after, html.motion-off .hero-window::after,
html.motion-off .smoke::before, html.motion-off .smoke::after, html.motion-off .beam,
html.motion-off .still-bottle::after, html.motion-off .sheen::after, html.motion-off .metal,
html.motion-off .still-orchid img { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .palms::before, .palms::after, .hero-window::after { animation: none !important; }
}

/* The switch itself */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 32px; padding: 4px 0;
  font-size: 13px; letter-spacing: .03em; color: var(--ash);
  transition: color .3s;
}
.motion-toggle:hover { color: var(--bone); }
.motion-toggle .track {
  position: relative; width: 30px; height: 16px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 999px;
  transition: background-color .3s, border-color .3s;
}
.motion-toggle .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ash); transition: transform .3s var(--ease), background-color .3s;
}
.motion-toggle[aria-checked="true"] { color: var(--bone); }
.motion-toggle[aria-checked="true"] .track { background: rgba(212, 174, 103, .2); border-color: var(--gold); }
.motion-toggle[aria-checked="true"] .track::after { transform: translateX(14px); background: var(--gold); }
.motion-toggle[disabled] { cursor: default; opacity: .7; }
