:root {
  --ink: #27201c;
  --muted: #7c7068;
  --paper: #f8f4ec;
  --porcelain: #fffdf8;
  --champagne: #d7b46a;
  --bronze: #8c623f;
  --olive: #4f5b45;
  --rose: #9f6f68;
  --line: rgba(39, 32, 28, 0.14);
  --shadow: 0 28px 70px rgba(39, 32, 28, 0.14);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark img {
  width: 42px;
  height: 42px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--bronze);
}

.language-menu {
  position: relative;
}

.language-menu summary,
.language-options a,
.cart-toggle,
.outline-link,
.solid-link,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.language-menu summary {
  min-width: 82px;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "⌄";
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.language-menu[open] summary::after {
  content: "⌃";
}

.language-menu summary span,
.language-options a,
.flag-pair {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 8px;
  min-width: 168px;
  padding: 10px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(39, 32, 28, 0.18);
  backdrop-filter: blur(14px);
}

.language-options a {
  justify-content: flex-start;
  min-height: 40px;
  border-radius: 4px;
}

.language-options a[aria-current="page"] {
  border-color: var(--ink);
  background: rgba(39, 32, 28, 0.08);
}

.flag {
  width: 23px;
  height: 16px;
  border: 1px solid rgba(39, 32, 28, 0.18);
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(39, 32, 28, 0.12);
}

.flag-pair {
  gap: 3px;
}

.flag-pair .flag {
  width: 20px;
}

.solid-link,
.add-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--porcelain);
}

.cart-toggle {
  gap: 8px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: clamp(80px, 10vw, 140px) clamp(22px, 6vw, 92px);
  overflow: hidden;
  background: #191512;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(25, 21, 18, 0.78), rgba(25, 21, 18, 0.22), rgba(255, 253, 248, 0.12)), var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--porcelain);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.9;
}

.hero-copy {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.solid-link,
.outline-link {
  min-width: 156px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .outline-link {
  color: var(--porcelain);
  border-color: rgba(255, 253, 248, 0.5);
  background: rgba(255, 253, 248, 0.08);
}

main {
  background: var(--paper);
}

section {
  padding: clamp(70px, 9vw, 132px) clamp(22px, 6vw, 92px);
}

.section-kicker {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  max-width: 940px;
  margin-top: 12px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
}

.lead {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.brand-manual-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(215, 180, 106, 0.24), transparent 28%),
    linear-gradient(135deg, #efe4cf 0%, #e7d8bd 44%, #dcc7a3 100%);
}

.brand-manual-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/la-protea-logo.png");
  background-repeat: no-repeat;
  background-position: 6% 48%;
  background-size: min(58vw, 760px);
  opacity: 0.055;
  filter: sepia(1) saturate(0.65);
  pointer-events: none;
}

.brand-manual-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.45), transparent 36%, rgba(94, 66, 43, 0.08)),
    repeating-linear-gradient(120deg, rgba(94, 66, 43, 0.05) 0 1px, transparent 1px 22px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.brand-manual-section > * {
  position: relative;
  z-index: 1;
}

.brand-manual-section .image-frame {
  background: rgba(255, 253, 248, 0.45);
  border-color: rgba(140, 98, 63, 0.25);
}

.brand-manual-section .image-frame img {
  min-height: 420px;
  object-fit: cover;
}

.brand-manual-section .logo-lockup-frame {
  background: #e8decd;
}

.brand-manual-section .logo-lockup-frame img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.42 / 1;
  object-fit: contain;
}

.image-frame {
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.5);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 44px);
  margin-top: 44px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--porcelain);
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(39, 32, 28, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 38px);
}

.product-body h3 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.product-subtitle {
  margin: 10px 0 0;
  color: var(--bronze);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-text {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 24px;
}

.price {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 42px;
  color: var(--ink);
}

.was-price {
  color: var(--muted);
  text-decoration: line-through;
}

.add-button {
  width: 100%;
  margin-top: auto;
  min-height: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ritual-list,
.proof-grid,
.science-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.ritual-item,
.proof-item,
.science-item {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--porcelain);
}

.science-item {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0;
  padding: 0;
}

.science-media {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.ritual-item span,
.proof-item span,
.science-item span {
  color: var(--champagne);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 42px;
}

.science-item span,
.science-item h3,
.science-item p {
  margin-left: clamp(22px, 3vw, 34px);
  margin-right: clamp(22px, 3vw, 34px);
}

.science-item span {
  margin-top: 26px;
}

.ritual-item h3,
.proof-item h3,
.science-item h3 {
  margin-top: 18px;
  font-size: 28px;
}

.ritual-item p,
.proof-item p,
.science-item p {
  color: var(--muted);
  line-height: 1.7;
}

.dark-band {
  color: var(--porcelain);
  background: var(--ink);
}

.dark-band .section-kicker,
.dark-band .lead {
  color: rgba(255, 253, 248, 0.72);
}

.dark-band .section-title {
  color: var(--porcelain);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 14px;
  margin-top: 42px;
}

.gallery-strip img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.purchase-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--porcelain);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 44px);
}

.closing-brand-section {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 62vw, 720px);
  background:
    linear-gradient(90deg, rgba(33, 25, 19, 0.58), rgba(143, 98, 53, 0.18), rgba(255, 231, 177, 0.34)),
    url("../images/closing-silhouette-clean.jpg") left center / cover;
}

.closing-brand-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 234, 184, 0.34), transparent 30%),
    linear-gradient(120deg, rgba(255, 253, 248, 0.28), rgba(72, 44, 24, 0.2));
  pointer-events: none;
}

.closing-brand-section .purchase-note {
  position: relative;
  z-index: 1;
  margin-left: auto;
  max-width: 960px;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(12px);
}

.purchase-note h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(22px, 6vw, 92px);
  color: var(--muted);
  background: var(--ink);
  border-top: 1px solid rgba(255, 253, 248, 0.1);
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(420px, 100vw);
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--porcelain);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px rgba(39, 32, 28, 0.2);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 36px;
}

.close-cart,
.remove-item {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.close-cart {
  width: 40px;
  height: 40px;
}

.cart-items {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-item strong {
  display: block;
}

.cart-item small {
  color: var(--muted);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}

.cart-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
}

.cart-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 12px 20px;
  }

  .brand-mark {
    grid-column: 1 / -1;
    font-size: 20px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    font-size: 11px;
    gap: 16px;
  }

  .language-menu {
    grid-column: 1 / 2;
  }

  .language-options {
    right: auto;
    left: 0;
  }

  .site-header > .cart-toggle {
    grid-column: 2 / 3;
  }

  .split,
  .product-grid,
  .purchase-note {
    grid-template-columns: 1fr;
  }

  .ritual-list,
  .proof-grid,
  .science-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img {
    height: 320px;
  }
}
