:root {
  --ink: #1d1d1d;
  --plum: #1d1d1d;
  --cream: #e9ebdf;
  --page: #f2f2f2;
  --surface: #ffffff;
  --mint: #a9c9c0;
  --pale-mint: #e9f2e7;
  --sage: #d4c4d9;
  --lavender: #d4c4d9;
  --pale: #f2f2f2;
  --rose: #e9daec;
  --line: #d1d1d1;
  --shadow: 0 18px 36px rgba(29, 29, 29, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Jost, Futura, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.35;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 50px;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.main-nav span {
  letter-spacing: 0;
  margin-left: 6px;
  opacity: 0.75;
}

.header-actions {
  display: flex;
  gap: 20px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon span {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lavender);
  font-size: 10px;
  font-weight: 800;
}

.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 394px;
  padding-top: 54px;
  color: var(--surface);
  background: linear-gradient(var(--mint) 0 76%, var(--page) 76% 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-copy p,
.pattern-panel p,
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.hero-copy h1,
.benefits h2,
.pattern-panel h2,
.story-cards h2 {
  margin: 0;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}

.button-dark {
  margin-top: 22px;
  color: var(--surface);
  background: var(--ink);
}

.tube-lineup {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  width: min(92vw, 1060px);
  margin: 30px auto 0;
  align-items: start;
}

.tube {
  position: relative;
  display: grid;
  justify-items: stretch;
  width: 100%;
  min-width: 0;
}

.tube button {
  position: absolute;
  top: -10px;
  right: 8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 1px solid var(--surface);
  border-radius: 999px;
  color: var(--surface);
  background: var(--ink);
  font-size: 12px;
  cursor: pointer;
}

.hero-product-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 168px;
  padding: 14px;
  border: 1px solid rgba(209, 209, 209, 0.72);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-product h3 {
  justify-self: center;
  margin: 12px 0 0;
  max-width: 100%;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.stars span {
  position: absolute;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45));
}

.stars span::before,
.stars span::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.stars span::before { left: 10px; top: 0; width: 2px; height: 22px; }
.stars span::after { left: 0; top: 10px; width: 22px; height: 2px; }
.stars span:nth-child(1) { left: 5%; top: 30%; }
.stars span:nth-child(2) { left: 13%; top: 45%; transform: scale(.7); }
.stars span:nth-child(3) { left: 24%; top: 18%; transform: scale(.4); }
.stars span:nth-child(4) { left: 34%; top: 48%; transform: scale(.55); }
.stars span:nth-child(5) { left: 48%; top: 24%; transform: scale(.35); }
.stars span:nth-child(6) { left: 62%; top: 50%; transform: scale(.45); }
.stars span:nth-child(7) { left: 72%; top: 20%; transform: scale(.5); }
.stars span:nth-child(8) { left: 80%; top: 43%; transform: scale(.3); }
.stars span:nth-child(9) { right: 10%; top: 34%; transform: scale(.8); }
.stars span:nth-child(10) { right: 5%; top: 52%; transform: scale(.45); }
.stars span:nth-child(11) { right: 3%; top: 23%; transform: scale(.35); }
.stars span:nth-child(12) { left: 19%; top: 33%; transform: scale(.45); }
.stars span:nth-child(13) { left: 2%; top: 57%; transform: scale(.38); opacity: .72; }
.stars span:nth-child(14) { left: 8%; top: 19%; transform: scale(.5); opacity: .86; }
.stars span:nth-child(15) { left: 16%; top: 25%; transform: scale(.32); opacity: .64; }
.stars span:nth-child(16) { left: 27%; top: 39%; transform: scale(.62); opacity: .78; }
.stars span:nth-child(17) { left: 31%; top: 14%; transform: scale(.28); opacity: .58; }
.stars span:nth-child(18) { left: 42%; top: 44%; transform: scale(.42); opacity: .7; }
.stars span:nth-child(19) { left: 54%; top: 16%; transform: scale(.52); opacity: .82; }
.stars span:nth-child(20) { left: 58%; top: 35%; transform: scale(.3); opacity: .62; }
.stars span:nth-child(21) { left: 67%; top: 29%; transform: scale(.7); opacity: .82; }
.stars span:nth-child(22) { left: 75%; top: 55%; transform: scale(.42); opacity: .7; }
.stars span:nth-child(23) { left: 84%; top: 18%; transform: scale(.58); opacity: .82; }
.stars span:nth-child(24) { right: 14%; top: 47%; transform: scale(.34); opacity: .62; }
.stars span:nth-child(25) { right: 8%; top: 14%; transform: scale(.46); opacity: .76; }
.stars span:nth-child(26) { right: 2%; top: 39%; transform: scale(.62); opacity: .78; }
.stars span:nth-child(27) { left: 38%; top: 28%; transform: scale(.25); opacity: .56; }
.stars span:nth-child(28) { left: 90%; top: 60%; transform: scale(.28); opacity: .58; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
  padding: 104px 42px 92px;
  background: var(--page);
  text-align: center;
}

.benefits svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--plum);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits h2 {
  margin-top: 20px;
  font-size: 30px;
}

.benefits p,
.story-cards p,
.product-card h3,
.product-card p,
.site-footer p,
.site-footer a {
  font-size: 14px;
}

.benefits p {
  max-width: 245px;
  margin: 16px auto 0;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding: 34px 72px 98px;
  background: var(--page);
  text-align: center;
}

.product-row.tonka {
  grid-template-columns: repeat(5, 1fr);
  padding-top: 72px;
}

.product-card {
  display: grid;
  justify-items: center;
}

.product-image {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1.16;
  padding: 18px;
  border: 1px solid rgba(209, 209, 209, 0.72);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card h3,
.product-card p {
  margin: 0;
}

.product-card h3 {
  margin-top: 24px;
  font-weight: 400;
}

.product-card p {
  margin-top: 6px;
}

.product-card button {
  margin-top: 10px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  opacity: 0;
  cursor: pointer;
  transition: opacity 160ms ease;
}

.product-card:hover button,
.product-card button:focus-visible {
  opacity: 1;
}

.dropper {
  position: relative;
  width: 62px;
  height: 154px;
}

.dropper::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  width: 20px;
  height: 43px;
  border-radius: 999px 999px 4px 4px;
  background: var(--cap);
}

.dropper::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 0;
  width: 36px;
  height: 96px;
  border-radius: 7px 7px 13px 13px;
  background: linear-gradient(90deg, #552614, #a25325 45%, #552614);
  box-shadow: 20px 14px 18px rgba(29, 29, 29, 0.18);
}

.dropper span {
  position: absolute;
  left: 19px;
  top: 52px;
  z-index: 1;
  width: 24px;
  height: 40px;
  background: var(--label);
}

.taupe { --cap: #c5b3a8; --label: #e8ded4; }
.lilac { --cap: #b9adc7; --label: var(--lavender); }
.yellow { --cap: #b9a721; --label: #efe3a0; }
.green { --cap: #56721f; --label: #dbe6c7; }

.jar,
.pump,
.mini-tube {
  position: relative;
  height: 154px;
  width: 74px;
}

.jar::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 58px;
  height: 82px;
  border-radius: 6px 6px 12px 12px;
  background: linear-gradient(#1d1d1d 0 18%, #9c5e31 18% 100%);
  box-shadow: 18px 18px 18px rgba(29, 29, 29, 0.17);
}

.pump::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 12px;
  width: 26px;
  height: 28px;
  border-top: 7px solid #151515;
  border-left: 5px solid #151515;
}

.pump::after {
  content: "";
  position: absolute;
  left: 19px;
  bottom: 8px;
  width: 42px;
  height: 100px;
  border-radius: 5px 5px 10px 10px;
  background: #dfd6cc;
  box-shadow: 18px 18px 18px rgba(29, 29, 29, 0.16);
}

.pump.dark::after { background: #d9d2c6; }

.mini-tube::before {
  content: "";
  position: absolute;
  left: 21px;
  bottom: 5px;
  width: 34px;
  height: 118px;
  border-radius: 6px;
  background: #eee5db;
  clip-path: polygon(12% 0, 88% 0, 76% 100%, 24% 100%);
  box-shadow: 18px 18px 18px rgba(29, 29, 29, 0.16);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 10px;
  background: var(--page);
}

.promo-grid > img,
.pattern-panel {
  min-height: 368px;
}

.pattern-panel {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 12% 20%, #1d1d1d 0 2px, transparent 3px),
    radial-gradient(circle at 72% 30%, #1d1d1d 0 4px, transparent 5px),
    radial-gradient(circle at 36% 80%, #1d1d1d 0 5px, transparent 6px),
    radial-gradient(circle at 88% 72%, #1d1d1d 0 3px, transparent 4px),
    var(--lavender);
  background-size: 90px 90px;
}

.pattern-panel > div {
  min-width: 310px;
  padding: 34px 52px 28px;
  background: var(--surface);
  text-align: center;
}

.pattern-panel h2 {
  font-size: 39px;
}

.scents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 92px 38px;
  background: var(--page);
}

.scent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 154px;
  overflow: hidden;
  background: var(--surface);
}

.scent::before {
  content: "";
  position: absolute;
  inset: -12px;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  filter: blur(6px);
  transform: scale(1.06);
}

.scent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 242, 242, 0.18);
}

.scent span {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  background: var(--surface);
  font-family: "Times New Roman", Georgia, serif;
  font-size: 26px;
  text-transform: uppercase;
}

.amber-bg { --image: url("https://images.unsplash.com/photo-1501959915551-4e8d30928317?auto=format&fit=crop&w=900&q=80"); }
.neroli-bg { --image: url("https://images.unsplash.com/photo-1528825871115-3581a5387919?auto=format&fit=crop&w=900&q=80"); }
.verbena-bg { --image: url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=900&q=80"); }
.tonka-bg { --image: url("https://images.unsplash.com/photo-1515823064-d6e0c04616a7?auto=format&fit=crop&w=900&q=80"); }
.rose-bg { --image: url("https://images.unsplash.com/photo-1496062031456-07b8f162a322?auto=format&fit=crop&w=900&q=80"); }
.santal-bg { --image: url("https://images.unsplash.com/photo-1511884642898-4c92249e20b6?auto=format&fit=crop&w=900&q=80"); }
.patchouli-bg { --image: url("https://images.unsplash.com/photo-1524514587686-e2909d726e9b?auto=format&fit=crop&w=900&q=80"); }
.oud-bg { --image: url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=900&q=80"); }

.image-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 0 38px 70px;
  background: var(--page);
}

.image-strip img {
  aspect-ratio: 1 / 1;
}

.marquee {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--surface);
  white-space: nowrap;
  font-size: 21px;
  font-weight: 500;
}

.marquee span {
  min-width: 100%;
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 70px 38px 84px;
  background: var(--page);
  text-align: center;
  overflow: hidden;
}

.story-cards article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-cards img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

.story-cards h2 {
  margin-top: 20px;
  font-size: 30px;
}

.story-cards p {
  max-width: 330px;
  margin: 14px auto 0;
}

.story-cards a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 34px;
  margin-top: 18px;
  margin-bottom: 0;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 1.2fr 1.2fr;
  gap: 34px;
  padding: 58px 48px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  clear: both;
}

.footer-brand {
  display: inline-block;
  margin-top: 10px;
}

.site-footer nav {
  display: grid;
  gap: 9px;
}

.site-footer h2 {
  color: var(--plum);
}

.site-footer p {
  margin: 0;
  max-width: 280px;
}

.newsletter label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(100%, 230px);
  border-bottom: 2px solid var(--ink);
  margin-top: 18px;
}

.newsletter input {
  min-height: 38px;
  border: 0;
  background: transparent;
}

.newsletter button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-dialog {
  width: min(92vw, 620px);
  border: 0;
  padding: 28px;
  background: var(--page);
}

.search-dialog::backdrop { background: rgba(29, 29, 29, 0.62); }
.search-dialog form { display: flex; justify-content: flex-end; }
.search-dialog label {
  display: block;
  margin: 16px 0;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 36px;
}

.search-dialog input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: var(--pale);
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  padding: 24px;
  background: var(--page);
  box-shadow: -20px 0 50px rgba(29, 29, 29, 0.2);
  transform: translateX(105%);
  transition: transform 200ms ease;
}

.cart-drawer.open { transform: translateX(0); }
.cart-head, .cart-footer, .cart-drawer li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer h2 {
  margin: 0;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
}

.cart-drawer ul {
  flex: 1;
  padding: 20px 0;
  margin: 0;
  list-style: none;
}

.cart-drawer li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-drawer li span {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.cart-footer {
  padding: 18px 0;
  border-top: 1px solid var(--ink);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(29, 29, 29, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.scrim.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 0 20px;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    display: block;
    height: 1px;
    background: var(--ink);
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: grid;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    min-height: 590px;
    background: linear-gradient(var(--mint) 0 68%, var(--page) 68% 100%);
  }

  .tube-lineup {
    grid-template-columns: repeat(3, 1fr);
    width: min(92vw, 520px);
    gap: 18px;
  }

  .hero-product-image {
    height: 126px;
    padding: 12px;
  }

  .hero-product h3 {
    font-size: 11px;
  }

  .benefits,
  .product-row,
  .product-row.tonka,
  .promo-grid,
  .scents,
  .story-cards,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .product-row,
  .product-row.tonka {
    padding: 30px 28px 72px;
  }

  .product-card button {
    opacity: 1;
  }

  .promo-grid {
    padding: 0;
  }

  .site-footer {
    padding: 44px 28px;
  }
}

@media (max-width: 560px) {
  .brand {
    letter-spacing: 0.25em;
  }

  .benefits,
  .product-row,
  .product-row.tonka,
  .promo-grid,
  .scents,
  .image-strip,
  .story-cards,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding: 62px 24px;
  }

  .scents,
  .story-cards,
  .image-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pattern-panel > div {
    min-width: 0;
    width: calc(100% - 40px);
  }
}

