:root {
  --ink: #0a2344;
  --ink-soft: #31445d;
  --paper: #fbfaf6;
  --porcelain: #f3f0e8;
  --champagne: #c7a66a;
  --plum: #4c334b;
  --rose: #eac8cf;
  --sage: #d7dfd7;
  --line: rgba(10, 35, 68, 0.16);
  --shadow: 0 24px 80px rgba(10, 35, 68, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: var(--top-shell-height, 6.8rem);
  background:
    radial-gradient(circle at 75% 8%, rgba(234, 200, 207, 0.5), transparent 26rem),
    linear-gradient(115deg, #fbfaf6 0%, #eef4ef 44%, #f8f1e6 100%);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.story-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.top-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.topline {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 246, 0.75);
  backdrop-filter: blur(24px);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(10, 35, 68, 0.08);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  color: var(--champagne);
  font-size: 0.82rem;
  font-family: var(--sans);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  content: "";
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.language-switcher button {
  min-width: 2rem;
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(16rem, 0.42fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 4rem);
  min-height: calc(100svh - 7.2rem);
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 13, 28, 0.78) 0%, rgba(3, 13, 28, 0.54) 42%, rgba(3, 13, 28, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 13, 28, 0.48), transparent 42%);
  content: "";
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
}

.hero-background picture {
  display: contents;
}

.hero-background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1200ms ease, transform 5000ms ease;
}

.hero-background img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-copy {
  max-width: 58rem;
}

.hero-copy .eyebrow,
.hero-notes .eyebrow {
  color: #f4d995;
}

.hero-copy h1,
.hero-copy .hero-text {
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

.hero-notes {
  justify-self: end;
  align-self: end;
  width: min(100%, 21rem);
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.hero-notes p {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.hero-notes span {
  display: inline-flex;
  margin: 0 0.45rem 0.55rem 0;
  padding: 0.5rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.hero-dots button {
  width: 2.25rem;
  height: 0.28rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--champagne);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.9rem, 6vw, 6rem);
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.02;
}

.hero-text,
.copy-panel > p,
.section-heading p,
.ingredients-copy p {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.hero-actions a,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.primary-link,
.secondary-link,
.add-button {
  min-height: 3rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-link,
.add-button {
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.secondary-link {
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.hero .secondary-link {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(12px);
}

.statement-band {
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 6vw, 6rem);
  background: var(--ink);
  color: #fff;
}

.statement-band p {
  max-width: 1120px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 5.5rem);
  line-height: 1.04;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 0.86fr);
  gap: clamp(1.25rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  background: var(--paper);
}

.story-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  max-width: 42rem;
}

.story-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.story-trigger {
  margin-top: 1rem;
  color: var(--ink);
}

.mobile-story {
  display: none;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.mobile-story-visual {
  aspect-ratio: 3 / 2;
  border-radius: 0.5rem 0.5rem 0 0;
  background:
    linear-gradient(180deg, rgba(3, 13, 28, 0.06), rgba(3, 13, 28, 0.18)),
    var(--story-bg, url("assets/story-page-01.webp")) center / cover;
}

.mobile-story-copy {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-story-copy h3 {
  margin-bottom: 0.9rem;
}

.mobile-story-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.65;
}

.mobile-story-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-story-controls button {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-story-progress {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.mobile-story-progress button {
  width: 1.85rem;
  min-height: 0.3rem;
  height: 0.3rem;
  padding: 0;
  border: 0;
  background: rgba(10, 35, 68, 0.22);
}

.mobile-story-progress button.active {
  background: var(--champagne);
}

.split-section,
.ingredients-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.25rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.image-panel {
  min-height: 40rem;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-panel {
  align-self: center;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pillar-grid article,
.ingredient-tabs,
.routine-copy {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(18px);
}

.pillar-grid article {
  padding: 1.1rem;
}

.pillar-grid span,
.product-kicker {
  color: var(--champagne);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pillar-grid h3 {
  margin: 0.7rem 0;
  font-size: 1.55rem;
}

.pillar-grid p,
.product-info p,
.routine-copy p,
.tab-panel p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.collection-section,
.product-detail-section,
.ritual-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  display: grid;
  max-width: 860px;
  margin-bottom: 2.2rem;
}

.product-grid {
  display: grid;
  gap: 1.1rem;
}

.collection-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(215, 223, 215, 0.28)),
    var(--paper);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(18rem, 1fr));
  gap: 1rem;
}

.preview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 0.72fr) minmax(13rem, 1fr);
  align-items: center;
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(234, 200, 207, 0.28)),
    var(--porcelain);
}

.preview-card:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(215, 223, 215, 0.44)),
    var(--porcelain);
}

.preview-card img {
  justify-self: center;
  max-height: 26rem;
  padding: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(10, 35, 68, 0.1));
}

.preview-card div {
  padding: clamp(1.2rem, 3vw, 3rem);
}

.preview-card h3 {
  max-width: 11ch;
  margin-bottom: 1rem;
}

.preview-card span {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(199, 166, 106, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-section {
  background:
    linear-gradient(180deg, rgba(76, 51, 75, 0.05), transparent 36%),
    var(--paper);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(17rem, 0.86fr) minmax(18rem, 1fr);
  align-items: center;
  min-height: 42rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.88), rgba(215, 223, 215, 0.38)),
    var(--porcelain);
}

.product-card-alt {
  grid-template-columns: minmax(18rem, 1fr) minmax(17rem, 0.86fr);
}

.product-card-alt .product-media {
  order: 2;
}

.product-media {
  display: grid;
  min-height: 42rem;
  place-items: center;
  padding: 1.5rem;
}

.product-media img {
  max-height: 38rem;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(10, 35, 68, 0.1));
  transition: transform 360ms ease;
}

.product-card:hover .product-media img {
  transform: translateY(-0.55rem) scale(1.02);
}

.product-info {
  padding: clamp(1.4rem, 4vw, 4rem);
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 1.6rem;
}

.benefit-row span {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(199, 166, 106, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.product-details article {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.product-details h4 {
  margin: 0 0 0.35rem;
  color: var(--champagne);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-details p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ritual-board {
  display: grid;
  grid-template-columns: 15rem 15rem 15rem 1fr;
  gap: 0.8rem;
  align-items: stretch;
}

.routine-step {
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  text-align: left;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.routine-step span {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--champagne);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.routine-step.active {
  background: var(--ink);
  color: #fff;
}

.routine-copy {
  min-height: 12rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.routine-copy h3 {
  margin-bottom: 1rem;
}

.ingredients-section {
  background:
    linear-gradient(180deg, rgba(76, 51, 75, 0.08), transparent),
    var(--paper);
}

.ingredients-copy {
  align-self: start;
  position: sticky;
  top: 7rem;
}

.ingredient-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  align-self: start;
  padding: 0.8rem;
}

.tab {
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: var(--plum);
  color: #fff;
}

.tab-panel {
  grid-column: 1 / -1;
  min-height: 18rem;
  padding: clamp(1.2rem, 4vw, 3rem);
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(234, 200, 207, 0.5), rgba(215, 223, 215, 0.58)),
    #fff;
}

.distribution-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(215, 223, 215, 0.42)),
    var(--paper);
}

.distribution-section > div {
  max-width: 920px;
}

.distribution-section h2 {
  max-width: 820px;
}

.distribution-section p:not(.eyebrow) {
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.closing-section {
  min-height: 32svh;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  text-align: center;
  background: var(--ink);
  color: #fff;
}

.closing-section h2 {
  max-width: 900px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-mark {
  display: grid;
  gap: 0.25rem;
}

.footer-mark span {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-mark small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--champagne);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact:hover,
.footer-contact:focus-visible {
  border-color: var(--champagne);
  color: var(--champagne);
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: clamp(0.8rem, 3vw, 2rem);
}

.story-modal.open {
  display: grid;
  place-items: center;
}

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 28, 0.74);
  backdrop-filter: blur(18px);
}

.story-dialog {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  width: min(100%, 1080px);
  min-height: min(78svh, 690px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, rgba(3, 13, 28, 0.82), rgba(3, 13, 28, 0.54) 48%, rgba(3, 13, 28, 0.18)),
    var(--story-bg, url("assets/story-page-01.webp")) center / cover;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  color: #fff;
}

.story-slide {
  display: grid;
  align-content: center;
  max-width: 760px;
  padding: clamp(2.2rem, 7vw, 6rem);
}

.story-slide .eyebrow {
  color: #f4d995;
}

.story-slide h2 {
  margin-bottom: 1.2rem;
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

.story-slide p:not(.eyebrow) {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  line-height: 1.72;
}

.story-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.story-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  background: rgba(3, 13, 28, 0.44);
  backdrop-filter: blur(14px);
}

.story-controls button {
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.story-progress {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.story-progress button {
  width: 2.1rem;
  min-height: 0.3rem;
  height: 0.3rem;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
}

.story-progress button.active {
  background: var(--champagne);
}

body.ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.ready .reveal.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .topline span:nth-child(2) {
    display: none;
  }

  .hero,
  .story-section,
  .split-section,
  .ingredients-section,
  .preview-grid,
  .preview-card,
  .product-card,
  .product-card-alt,
  .distribution-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    padding-top: clamp(4rem, 12vw, 7rem);
  }

  .hero-notes {
    justify-self: start;
    width: min(100%, 28rem);
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .product-card-alt .product-media {
    order: 0;
  }

  .preview-card {
    min-height: 24rem;
  }

  .preview-card h3 {
    max-width: 16ch;
  }

  .ritual-board {
    grid-template-columns: 1fr;
  }

  .routine-step {
    min-height: 7rem;
  }

  .routine-step span {
    margin-bottom: 1.2rem;
  }

  .ingredients-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .topline {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .topline span:nth-child(3) {
    display: none;
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    display: grid;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(251, 250, 246, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .brand-lockup span:last-child {
    display: none;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 16vw, 4.8rem);
    line-height: 1;
  }

  .hero {
    min-height: 790px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(3, 13, 28, 0.82) 0%, rgba(3, 13, 28, 0.58) 58%, rgba(3, 13, 28, 0.24) 100%),
      linear-gradient(0deg, rgba(3, 13, 28, 0.58), transparent 54%);
  }

  .hero-background img:first-child {
    object-position: 58% center;
  }

  .hero-background img:last-child {
    object-position: 47% center;
  }

  .hero-background img,
  .hero-background img.active {
    transform: none;
  }

  .language-switcher {
    justify-self: center;
  }

  .language-switcher button {
    min-width: 1.85rem;
  }

  .image-panel {
    min-height: 28rem;
  }

  .story-section {
    padding-top: 4rem;
  }

  .story-dialog {
    min-height: 84svh;
  }

  .story-slide {
    padding: 5rem 1.2rem 2rem;
  }

  .story-controls {
    grid-template-columns: 1fr;
  }

  .mobile-story {
    display: grid;
    width: 100%;
  }

  .story-image,
  .story-copy {
    display: none;
  }

  .product-media {
    min-height: 27rem;
  }

  .product-media img {
    max-height: 27rem;
  }

  .preview-card {
    min-height: auto;
  }

  .preview-card img {
    max-height: 20rem;
  }

  .ingredient-tabs {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-contact {
    justify-self: start;
  }
}

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