:root {
  --ink: #17120e;
  --dark: #211811;
  --ivory: #f7ecdb;
  --muted: #d4bfa7;
  --gold: #e6bd83;
  --paper: #f4e8d7;
  --line: #e6bd8338;
  --display: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --header: 76px;
}

body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 1rem/1.55 var(--sans); }
section[id] { scroll-margin-top: var(--header); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 8vw, 1296px); margin-inline: auto; }
.skip { position: fixed; z-index: 30; left: 1rem; top: .75rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: #17120efa; border-bottom: 1px solid var(--line); }
.site-header .wrap { height: var(--header); }
.brand { color: var(--gold); white-space: nowrap; }
.brand img { width: 36px; height: 49px; object-fit: contain; }
.brand strong { display: block; font: 500 1.59rem/.95 var(--display); letter-spacing: .145em; }
.brand small { display: block; margin-block-start: .32rem; color: var(--muted); font-size: .64rem; letter-spacing: .18em; }
.nav a { padding-block: .45rem; color: var(--ivory); font-size: .875rem; white-space: nowrap; }
.nav a:hover, .top-link:hover { color: var(--gold); }
.reading-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.button { align-items: center; justify-content: center; min-height: 47px; padding-inline: 1.25rem; border: 1px solid transparent; font-weight: 700; font-size: .875rem; transition: background .2s, color .2s; }
.button-outline { border-color: #caa06b82; color: var(--gold); }
.button-outline:hover { background: var(--gold); color: var(--ink); }
.button-gold { display: inline-flex; background: #eac593; color: #26190e; min-height: 54px; padding-inline: 1.45rem; }
.button-gold:hover { background: #f6d9b1; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - var(--header)); overflow: hidden; background: radial-gradient(ellipse at 72% 42%, #422b1a, #241810 43%, #17120e 74%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; padding-block: 1.6rem; }
.hero-copy { max-width: 42rem; }
.eyebrow { display: flex; align-items: center; gap: .58rem; color: var(--gold); font-size: .8125rem; font-weight: 700; line-height: 1.25; letter-spacing: .2em; }
.eyebrow span { font-size: .95rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h1 { margin-block: 1.2rem 1.55rem; font-size: clamp(4.1rem, 8.3vw, 8.2rem); line-height: .88; letter-spacing: -.075em; }
h1 em, h2 em { color: var(--gold); font-weight: inherit; }
.hero-description { max-width: 26ch; margin-block-end: 1.85rem; color: #ecdbc5; font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.hero-bottom { min-height: 76px; border-top: 1px solid #f5d6ac43; }
.scroll-cue { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.scroll-cue[hidden] { display: none; }
.scroll-cue:hover { color: var(--ivory); }
.mouse { display: grid; place-items: start center; width: 18px; height: 27px; padding-top: 5px; border: 1px solid #e6bd8390; border-radius: 1rem; }
.mouse::before { content: ""; width: 2px; height: 6px; background: var(--gold); border-radius: 1rem; }
.packing-status { display: none; align-items: center; gap: .8rem; color: var(--muted); font-size: .8125rem; }
.has-packing .packing-status { display: flex; }
.packing-label { min-width: 17ch; text-align: right; }
.packing-meter { display: block; width: clamp(30px, 8vw, 106px); height: 2px; overflow: hidden; background: #f5d6ac43; }
.packing-meter span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.packing-count { white-space: nowrap; color: var(--gold); font-variant-numeric: tabular-nums; }

.packing-scene { position: relative; width: min(100%, 78vh, 780px); aspect-ratio: 1.17; justify-self: center; isolation: isolate; }
.packing-halo { position: absolute; inset: 5% 2% 1%; background: radial-gradient(ellipse at 53% 48%, #b17a4736, transparent 66%); }
.box-shadow { position: absolute; inset: 73% 8% 0 17%; background: radial-gradient(ellipse at center, #0e0908eb, transparent 65%); transform: rotate(-8deg); filter: blur(8px); }
.box-back, .box-bed, .box-inside-right, .box-inside-left, .box-side, .box-front, .box-edge, .box-lid, .lid-face, .lid-top, .lid-ribbon { position: absolute; inset: 0; }
.box-back { background: linear-gradient(143deg, #c08d56, #926137 53%, #dcad75); clip-path: polygon(14% 57%, 66% 49%, 87% 65%, 85% 85%, 32% 95%, 16% 76%); }
.box-bed { background: radial-gradient(ellipse at 57% 67%, #a4774e, #433021 46%); clip-path: polygon(17% 59%, 65% 54%, 84% 65%, 32% 75%); }
.box-inside-right { background: linear-gradient(145deg, #8c623d, #b08154 62%, #614025 75%); clip-path: polygon(66% 49%, 87% 65%, 83% 68%, 65% 55%); }
.box-inside-left { background: linear-gradient(160deg, #ddae79, #9c6940 67%, #583822 77%); clip-path: polygon(14% 57%, 66% 49%, 65% 55%, 20% 62%, 32% 74%, 30% 78%); }
.box-side { z-index: 5; background: linear-gradient(152deg, #e4b783, #97643e 74%); clip-path: polygon(14% 57%, 31% 73%, 32% 95%, 16% 76%); }
.box-front { z-index: 5; background: linear-gradient(121deg, #a77649, #deb17d 53%, #c79762 87%); clip-path: polygon(31% 73%, 87% 65%, 85% 85%, 32% 95%); }
.box-front img { position: absolute; left: 55%; top: 75%; width: 7.6%; height: 12%; object-fit: contain; transform: rotate(-9deg) skewX(-11deg); filter: brightness(.58) saturate(.9); }
.box-edge { z-index: 5; background: linear-gradient(98deg, #bb8857, #ffe0a9 51%, #c99a66); clip-path: polygon(14% 57%, 31% 72.5%, 87% 64.5%, 87% 65.3%, 31% 73.5%); }
.box-lid { z-index: 6; pointer-events: none; transform: translate(3%, -50%) rotate(-4deg); }
.lid-top { background: linear-gradient(150deg, #f4c990 32%, #e1ae75 62%, #ae7847); clip-path: polygon(13% 56%, 66% 48%, 88% 64%, 31% 72%); }
.lid-face { background: linear-gradient(100deg, #946139, #bb8653 52%, #e5b47d 78%, #af7948); clip-path: polygon(13% 56%, 31% 71.5%, 88% 64%, 87.8% 69%, 31% 77%, 13% 61%); }
.lid-ribbon { background: linear-gradient(115deg, #d3a56c 27%, #fff0bd 51%, #d9ad76 71%); clip-path: polygon(39% 52%, 44% 51%, 64% 67.3%, 63.8% 72.6%, 58% 73.4%, 58.2% 68.2%); }

.packet { position: absolute; z-index: 3; left: var(--pack-x); top: var(--pack-y); width: var(--width); aspect-ratio: var(--w) / var(--h); transform: translate(-50%, -50%) rotate(var(--angle, 0deg)); filter: drop-shadow(3px 10px 6px #0e080690); pointer-events: none; }
.packet-crop { position: absolute; inset: 0; clip-path: var(--silhouette); overflow: hidden; }
.packet-crop img { position: absolute; max-width: none; width: calc(153600% / var(--w)); height: auto; left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h)); }
.packet-popcorn {
  --x: 263; --y: 135; --w: 174; --h: 243; --width: 13.5%;
  --start-x: 16%; --start-y: 47%; --pack-x: 37%; --pack-y: 67%; --angle: -13deg;
  --silhouette: polygon(1% 10%, 5% 5%, 18% 2%, 39% 0, 68% 1%, 88% 4%, 98% 7%, 98% 13%, 95% 20%, 92% 22%, 92% 31%, 98% 39%, 99% 46%, 93% 100%, 8% 100%, 2% 76%, 3% 27%);
}
.packet-chocolate {
  --x: 433; --y: 197; --w: 208; --h: 188; --width: 16%;
  --start-x: 32%; --start-y: 36%; --pack-x: 48%; --pack-y: 62%; --angle: 9deg;
  --silhouette: polygon(2% 12%, 12% 1%, 99% 10%, 98% 34%, 94% 99%, 0 90%);
}
.packet-juice {
  --x: 987; --y: 368; --w: 114; --h: 233; --width: 10.4%;
  --start-x: 50%; --start-y: 42%; --pack-x: 60%; --pack-y: 61%; --angle: -5deg;
  --silhouette: polygon(20% 3%, 47% 0%, 66% 3%, 76% 16%, 74% 24%, 82% 35%, 86% 44%, 80% 51%, 75% 62%, 74% 99%, 3% 99%, 1% 59%, 3% 45%, 12% 35%, 28% 27%, 22% 21%, 19% 19%);
}
.packet-tea {
  --x: 772; --y: 484; --w: 157; --h: 165; --width: 14.6%;
  --start-x: 68%; --start-y: 39%; --pack-x: 52%; --pack-y: 71%; --angle: -9deg;
  --silhouette: polygon(9% 1%, 91% 11%, 99% 20%, 90% 98%, 2% 84%, 0 79%);
}
.packet-fragrance {
  --x: 1069; --y: 428; --w: 134; --h: 214; --width: 12%;
  --start-x: 84%; --start-y: 46%; --pack-x: 72%; --pack-y: 63%; --angle: 12deg;
  --silhouette: polygon(32% 3%, 40% 1%, 62% 0, 72% 6%, 76% 29%, 84% 29%, 98% 35%, 95% 98%, 1% 99%, 3% 31%, 29% 28%);
}

.process { background: radial-gradient(ellipse at 76% 38%, #3e2a19 0%, #251b13 40%, #1b1510 78%); overflow-x: clip; }
.process-stage { padding-block: clamp(3.25rem, 7vh, 5.5rem); }
.process-heading, .collection-heading { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
h2 { margin-block-start: .65rem; font-size: clamp(2.85rem, 5.7vw, 5.8rem); line-height: .98; letter-spacing: -.059em; }
.process-instruction { max-width: 30ch; color: var(--muted); }
.steps { display: grid; gap: 2.75rem; padding-top: clamp(1.65rem, 3vh, 2.75rem); }
.step { display: grid; align-items: center; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 6.5vw, 7rem); perspective: 1150px; }
.step-image { position: relative; display: grid; place-items: center; min-height: clamp(280px, 55vh, 550px); background: #120d0980; border: 1px solid var(--line); padding: .85rem; box-shadow: 0 1.25rem 4rem #120b075e; }
.step-image img { width: 100%; height: clamp(255px, 50vh, 522px); object-fit: contain; }
.step-count { display: flex; align-items: center; gap: .8rem; color: var(--gold); font-size: .875rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.step-count span { width: 2rem; height: 1px; background: #bf915e83; }
.step-copy h3 { margin-block: .8rem 1rem; font-size: clamp(2.35rem, 4.8vw, 5.1rem); line-height: 1; letter-spacing: -.06em; }
.step-copy > p:last-child { max-width: 31ch; color: var(--muted); }
.process-progress { display: none; }
.process.is-pinned .steps { grid-template-columns: minmax(0, 1fr); }
.process.is-pinned .step { grid-area: 1 / 1; }
.process.is-pinned .process-progress { display: flex; gap: 6px; padding-top: 1.35rem; }
.process-progress span { --fill: 0; position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.process-progress span::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--fill, 0)); transform-origin: left; }

.collection { padding-block: clamp(4.5rem, 9vw, 8.5rem); background: var(--paper); color: #281b12; }
.collection .eyebrow { color: #795025; }
.collection h2 em { color: #8a5431; }
.collection-heading { border-color: #4b301b36; }
.collection-heading > p { max-width: 34ch; color: #624935; }
.product-grid { padding-top: clamp(1.5rem, 3vw, 2.7rem); }
.product { min-width: 0; }
.product-link { display: block; height: 100%; border-bottom: 1px solid #4b301b36; padding-bottom: 1.2rem; }
.product-image { background: #e7d3bf; overflow: hidden; aspect-ratio: 1 / 1.05; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-link:hover img, .product-link:focus-visible img { transform: scale(1.055); }
.product-type { margin-block: 1rem .35rem; color: #795025; font-size: .8125rem; font-weight: 700; letter-spacing: .13em; }
.product-link h3 { font-size: 1.55rem; line-height: 1.17; }
.product-note { margin-block: .55rem .9rem; color: #624935; }
.product-action, .top-link { display: inline-block; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25rem; }
.site-footer { padding-block: 2rem; }
.top-link { color: var(--muted); }

.hamper-dialog { position: fixed; inset: 0; overflow: auto; width: min(850px, calc(100% - 2rem)); max-height: calc(100% - 2rem); background: var(--paper); color: #281b12; }
.hamper-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.hamper-dialog::backdrop { background: #100b08c9; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; background: var(--ink); color: var(--ivory); font-size: 1.65rem; line-height: 1; }
.dialog-photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.dialog-copy { align-self: center; padding: 2.3rem; }
.dialog-type { color: #795025; }
.dialog-copy h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.dialog-note { margin-top: 1rem; }
body:has(.hamper-dialog[open]) { overflow: hidden; }

@media (max-width: 767px) {
  :root { --header: 64px; }
  .wrap { width: calc(100% - 2.1rem); }
  .brand img { width: 27px; height: 38px; }
  .brand strong { font-size: 1.27rem; }
  .brand small { font-size: .52rem; margin-block-start: .27rem; }
  .hero { min-height: calc(100svh - var(--header)); background: radial-gradient(ellipse at 58% 59%, #462e1c, #251912 51%, #17120e 86%); }
  .hero-inner { grid-template-columns: 1fr; align-content: center; gap: .5rem; padding-block: 1.4rem .75rem; }
  .hero-copy { max-width: 32rem; }
  h1 { margin-block: .62rem .7rem; font-size: clamp(3.05rem, 11vw, 5.3rem); }
  .hero-description { max-width: 35ch; margin-block-end: .85rem; font-size: 1rem; }
  .hero .button { min-height: 44px; }
  .packing-scene { width: min(100%, 45svh, 500px); }
  .hero-bottom { min-height: 55px; }
  .packing-status { gap: .47rem; }
  .packing-label { min-width: 0; }
  .packing-meter { display: none; }
  .step { grid-template-columns: 1fr; gap: 1.2rem; }
  .step-image { min-height: 0; }
  .step-image img { height: min(85vw, 420px); }
  .step-copy h3 { margin-block: .6rem; }
  .steps { gap: 2.35rem; }
  .hamper-dialog[open] { grid-template-columns: 1fr; }
  .dialog-photo { min-height: 0; max-height: 49svh; object-fit: contain; background: #e3c8aa; }
  .dialog-copy { padding: 1.45rem; }
}

@media (max-width: 360px) {
  .site-header .wrap { gap: .7rem; }
  .nav { gap: .65rem; }
  .packing-label { display: none; }
}

@media (max-width: 767px) and (max-height: 696px) {
  .hero-inner { padding-block: .85rem .15rem; }
  .hero-copy h1 br { display: none; }
  .hero-copy h1 em::before { content: " "; }
  .hero-copy h1 { max-width: 14ch; font-size: clamp(2.65rem, 9.5vw, 4.4rem); }
  .packing-scene { width: min(100%, 42svh, 390px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
