:root,
[data-theme="light"] {
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.84rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.2vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.2rem, 1.02rem + 0.8vw, 1.65rem);
  --text-xl: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --text-2xl: clamp(3.4rem, 1.8rem + 6vw, 7.5rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --color-bg: #fbfaf6;
  --color-surface: #f3efe6;
  --color-text: #18223a;
  --color-muted: #676b73;
  --color-navy: #111b31;
  --color-blue: #2d427b;
  --color-blue-deep: #182953;
  --color-gold: #b89447;
  --color-gold-light: #dfc576;
  --color-border: rgb(24 34 58 / 13%);
  --radius-sm: 0.25rem;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #0b142b;
  --color-surface: #111d37;
  --color-text: #f8f4ea;
  --color-muted: #bec1c8;
  --color-navy: #070d1c;
  --color-blue: #6f84bd;
  --color-blue-deep: #1a2b58;
  --color-gold: #cba952;
  --color-gold-light: #e5cd87;
  --color-border: rgb(248 244 234 / 15%);
}

body {
  transition: color var(--transition), background var(--transition);
}

.skip-link {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  color: var(--color-navy);
  background: var(--color-gold-light);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.announcement {
  min-height: 36px;
  padding: var(--space-2) clamp(var(--space-4), 4vw, var(--space-12));
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  color: #fff9e9;
  background: #182953;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-detail { color: var(--color-gold-light); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  padding: var(--space-3) clamp(var(--space-4), 4vw, var(--space-12));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg) 93%, transparent);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-mark {
  width: 38px;
  color: var(--color-gold);
}

.brand-mark path,
.about-mark svg path,
.footer-brand svg path,
.future-bottle svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy,
.footer-brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong,
.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-copy small,
.footer-brand span {
  margin-top: var(--space-1);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.desktop-nav { gap: var(--space-8); }
.header-actions { justify-content: flex-end; gap: var(--space-3); }

.desktop-nav a,
.shop-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
}

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

.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.theme-toggle svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.shop-link,
.primary-button {
  padding-inline: var(--space-5);
  gap: var(--space-2);
  color: #fff;
  background: #182953;
}

.shop-link:hover,
.primary-button:hover { background: #2d427b; }

.home-hero {
  position: relative;
  min-height: calc(100svh - 118px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f4efe4;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(56%, 760px);
  margin-left: clamp(var(--space-5), 7vw, var(--space-24));
  padding-block: var(--space-20);
}

.eyebrow {
  margin-bottom: var(--space-5);
  color: var(--color-blue);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 {
  max-width: 9ch;
  color: #18223a;
  font-size: var(--text-2xl);
  letter-spacing: -0.055em;
  line-height: 0.78;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 49ch;
  margin-top: var(--space-8);
  color: #5d626a;
}

.primary-button {
  min-height: 52px;
  margin-top: var(--space-8);
  padding: var(--space-3) var(--space-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.primary-button:active,
.shop-link:active { transform: translateY(1px); }

.hero-note {
  position: absolute;
  right: clamp(var(--space-4), 4vw, var(--space-12));
  bottom: var(--space-8);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: #18223a;
}

.hero-note > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #b89447;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.hero-note p {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.promise-line {
  padding: var(--space-6) clamp(var(--space-4), 6vw, var(--space-20));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #18223a;
  background: var(--color-gold-light);
}

.promise-line p {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.promise-line p + p { border-left: 1px solid rgb(24 34 58 / 25%); }

.shop-section,
.about-section {
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(var(--space-20), 10vw, var(--space-32))
    clamp(var(--space-4), 5vw, var(--space-16));
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: var(--space-8);
  align-items: end;
}

.section-heading h2,
.standard-copy h2,
.about-copy h2,
.updates-section h2 {
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 55ch;
  justify-self: end;
  color: var(--color-muted);
}

.product-grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: 1.35fr 0.825fr 0.825fr;
  gap: var(--space-5);
  align-items: start;
}

.product-card { min-width: 0; }

.product-image,
.future-visual {
  position: relative;
  min-height: 480px;
  display: block;
  overflow: hidden;
  background: var(--color-surface);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image:hover img { transform: scale(1.025); }

.status {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-2) var(--space-3);
  color: #fff;
  background: #182953;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
}

.formula-number {
  color: var(--color-blue);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-info h3 {
  margin-top: var(--space-2);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.product-info h3 sup {
  font-family: var(--font-body);
  font-size: 0.3em;
}

.product-info > div > p:last-child {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.product-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.product-action strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.product-action a,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 700;
}

.future-visual {
  display: grid;
  place-items: center;
  background: #e4d8bd;
}

.future-visual.cool { background: #dce2e7; }

.future-bottle {
  position: relative;
  width: 52%;
  height: 67%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15% 15% 11% 11% / 10% 10% 8% 8%;
  color: var(--color-gold-light);
  background: #182953;
  box-shadow: inset 16px 0 20px rgb(255 255 255 / 5%), 0 20px 30px rgb(24 34 58 / 18%);
}

.future-cap {
  position: absolute;
  top: -8%;
  width: 108%;
  height: 14%;
  border-radius: 8% 8% 2% 2%;
  background: linear-gradient(90deg, #9d792a, #e1c36e 35%, #a17a28 70%, #d3ae53);
}

.future-bottle svg { width: 42%; }
.future-bottle svg path { stroke-width: 5; }

.future-bottle > span {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.future-card .product-info { flex-direction: column; }
.text-link { width: fit-content; margin-top: var(--space-2); }

.standard-section {
  padding: clamp(var(--space-20), 10vw, var(--space-32))
    clamp(var(--space-4), 7vw, var(--space-24));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-12), 9vw, var(--space-24));
  color: #f8f4ea;
  background: #182953;
}

.eyebrow.light { color: var(--color-gold-light); }
.standard-copy h2 { max-width: 12ch; color: var(--color-gold-light); }

.standard-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: var(--space-8);
  color: #cbd0dc;
}

.standard-copy > a {
  min-height: 44px;
  margin-top: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-size: var(--text-sm);
  font-weight: 700;
}

.standard-list { list-style: none; }

.standard-list li {
  padding-block: var(--space-6);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  border-top: 1px solid rgb(248 244 234 / 17%);
}

.standard-list li:last-child { border-bottom: 1px solid rgb(248 244 234 / 17%); }
.standard-list > li > span { color: var(--color-gold-light); font-size: var(--text-xs); }
.standard-list h3 { font-size: var(--text-lg); }
.standard-list p { margin-top: var(--space-1); color: #cbd0dc; font-size: var(--text-sm); }

.about-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(var(--space-12), 10vw, var(--space-32));
  align-items: center;
}

.about-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-gold);
}

.about-mark svg { width: min(220px, 60%); }
.about-mark svg path { stroke-width: 3.7; }

.about-mark span {
  margin-top: var(--space-5);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.about-copy > p:last-child {
  max-width: 58ch;
  margin-top: var(--space-6);
  color: var(--color-muted);
}

.updates-section {
  padding: clamp(var(--space-16), 8vw, var(--space-24))
    clamp(var(--space-4), 7vw, var(--space-24));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-12);
  align-items: end;
  color: #18223a;
  background: var(--color-gold-light);
}

.updates-section .eyebrow { color: #2d427b; }

.updates-section form { max-width: 620px; width: 100%; justify-self: end; }
.updates-section label { display: block; margin-bottom: var(--space-2); font-size: var(--text-sm); font-weight: 700; }
.input-row { display: grid; grid-template-columns: 1fr auto; }

.input-row input,
.input-row button {
  min-height: 56px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgb(24 34 58 / 38%);
}

.input-row input { color: #18223a; background: #faf8f2; }
.input-row button { color: #fff; background: #182953; font-weight: 700; cursor: pointer; }
.updates-section form > p { margin-top: var(--space-2); font-size: var(--text-xs); }

footer {
  padding: var(--space-12) clamp(var(--space-4), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  align-items: start;
  gap: var(--space-8);
  color: #cbd0dc;
  background: #111b31;
  font-size: var(--text-xs);
}

.footer-brand { color: #fff9e9; }
.footer-brand > svg { width: 44px; color: var(--color-gold-light); }
.footer-brand svg path { stroke-width: 5; }
footer nav { display: flex; gap: var(--space-5); }
footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-meta { max-width: 58ch; justify-self: end; }
.footer-meta p + p { margin-top: var(--space-3); color: #949baa; }

@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card.featured { grid-column: 1 / -1; }
  .product-image { min-height: 640px; }
  .standard-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  .announcement-detail,
  .theme-toggle { display: none; }
  .site-header { min-height: 72px; }
  .brand-copy strong { font-size: 1.08rem; }
  .shop-link { padding-inline: var(--space-4); }

  .home-hero {
    min-height: 820px;
    align-items: flex-end;
  }

  .hero-image {
    height: 54%;
    top: 0;
    object-position: 66% center;
  }

  .hero-copy {
    width: 100%;
    margin: 0;
    padding: var(--space-16) var(--space-5);
    background: #fbfaf6;
  }

  .hero-note { top: calc(54% - 72px); bottom: auto; color: #18223a; }
  .promise-line { grid-template-columns: 1fr; gap: var(--space-3); }
  .promise-line p + p { padding-top: var(--space-3); border-top: 1px solid rgb(24 34 58 / 25%); border-left: 0; }
  .section-heading,
  .about-section,
  .updates-section { grid-template-columns: 1fr; }
  .section-heading > p,
  .updates-section form { justify-self: start; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: auto; }
  .product-image,
  .future-visual { min-height: 460px; }
  .about-mark { padding-bottom: var(--space-8); border-bottom: 1px solid var(--color-border); }
  .input-row { grid-template-columns: 1fr; }
  .input-row button { min-height: 52px; }
  footer { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
}
