:root {
  --ink: #10251b;
  --muted: #68736a;
  --paper: #f8f5ed;
  --soft: #edf1e7;
  --tea: #123f2a;
  --leaf: #0d3324;
  --gold: #c49a45;
  --gold-soft: #ead8ad;
  --line: rgba(16, 37, 27, .15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.announcement {
  background: var(--leaf);
  color: #fffaf0;
  font-size: 13px;
  letter-spacing: .08em;
  padding: 10px 16px;
  text-align: center;
  text-transform: uppercase;
}

.nav {
  align-items: center;
  background: rgba(248, 245, 237, .96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: .12em;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-cta,
.button,
.newsletter button,
.lang-toggle {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.nav-cta {
  font-size: 13px;
  text-transform: uppercase;
}

.lang-toggle {
  background: transparent;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  min-height: calc(100vh - 118px);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  padding: clamp(54px, 8vw, 120px) clamp(20px, 6vw, 88px);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: .96;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  max-width: 640px;
}

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

.button.primary {
  background: var(--leaf);
  color: #fffaf0;
}

.button.secondary {
  background: transparent;
  border-color: var(--leaf);
  color: var(--leaf);
}

.hero-visual {
  background: linear-gradient(135deg, var(--soft), #fbf8f0);
  min-height: 640px;
  position: relative;
}

.hero-main {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip div {
  border-right: 1px solid var(--line);
  padding: 24px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.section-grid,
.fermentation,
.shop,
.rituals,
.gift-cta,
.footer {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.section-grid {
  display: grid;
  gap: clamp(28px, 5vw, 82px);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.story {
  background: #fffaf0;
}

.story p,
.fermentation p,
.experiment p,
.shop p,
.gift-cta p,
.footer p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  margin: 0 auto 38px;
  max-width: 850px;
  text-align: center;
}

.feature-grid,
.product-grid,
.ritual-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.product-card,
.steps li {
  background: #fffaf0;
  border: 1px solid var(--line);
  padding: 24px;
}

.feature-grid span {
  color: var(--gold);
  font-weight: 800;
}

.experiment {
  align-items: center;
  background: #eef2e9;
}

.experiment img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.note {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.shop {
  background: #fffaf0;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  padding: 14px;
}

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

.product-card div {
  padding: 0 8px 10px;
}

.tag {
  color: var(--gold);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-card strong {
  display: block;
  font-size: 20px;
  margin-top: 16px;
}

.ritual-grid {
  grid-template-columns: repeat(4, 1fr);
}

.ritual-grid a {
  background: #fffaf0;
  border: 1px solid var(--line);
  color: var(--leaf);
  display: grid;
  grid-template-rows: auto 1fr;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  gap: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  text-align: center;
  text-shadow: none;
}

.ritual-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  position: static;
  width: 100%;
}

.ritual-grid span {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 72px;
  padding: 16px 12px 18px;
}

.brewing {
  background: #fffaf0;
}

.brewing.section-grid {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
}

.steps {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 180px 1fr;
  min-height: 166px;
  padding: 14px;
}

.steps .brew-image {
  aspect-ratio: 4 / 3;
  display: block;
  height: 136px;
  object-fit: cover;
  width: 180px;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
  margin-top: 6px;
}

.gift-cta {
  align-items: center;
  background: var(--leaf);
  color: #fffaf0;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.gift-cta .eyebrow,
.gift-cta p {
  color: var(--gold-soft);
}

.gift-cta .button {
  border-color: #fffaf0;
  flex: 0 0 auto;
}

.footer {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.footer img {
  height: 72px;
  width: 72px;
}

.newsletter label {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter div {
  display: flex;
}

.newsletter input {
  background: #fffaf0;
  border: 1px solid var(--line);
  flex: 1;
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
}

.newsletter button {
  background: var(--leaf);
  color: #fffaf0;
}

button {
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.cart-trigger {
  background: transparent;
}

.cart-trigger span,
.floating-cart span {
  background: var(--gold);
  color: #fffaf0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 6px;
}

.add-to-cart {
  margin-top: 18px;
  width: 100%;
}

.floating-cart {
  background: var(--leaf);
  border: 1px solid var(--leaf);
  bottom: 22px;
  box-shadow: 0 18px 50px rgba(16, 37, 27, .24);
  color: #fffaf0;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
  position: fixed;
  right: 22px;
  z-index: 30;
}

.cart-backdrop {
  background: rgba(16, 37, 27, .42);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .2s ease;
  z-index: 40;
}

.cart-drawer {
  background: #fffaf0;
  box-shadow: -24px 0 70px rgba(16, 37, 27, .24);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  max-width: 480px;
  overflow: auto;
  padding: 26px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform .24s ease;
  width: min(92vw, 480px);
  z-index: 50;
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .cart-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.cart-header h2 {
  font-size: 38px;
  margin: 0;
}

.icon-button {
  background: transparent;
  border: 1px solid var(--line);
  font-size: 28px;
  height: 44px;
  line-height: 1;
  width: 44px;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.empty-cart {
  border: 1px dashed var(--line);
  color: var(--muted);
  margin: 0;
  padding: 24px;
  text-align: center;
}

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

.cart-item img {
  aspect-ratio: 1 / 1;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.cart-item h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.cart-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

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

.quantity-row button {
  background: transparent;
  border: 1px solid var(--line);
  height: 32px;
  width: 32px;
}

.quantity-row span {
  min-width: 24px;
  text-align: center;
}

.remove-button {
  background: transparent;
  border: 0;
  color: var(--gold);
  margin-left: auto;
  padding: 0 4px;
}

.cart-summary {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 18px 0;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.cart-summary span {
  color: var(--muted);
}

.cart-summary .total {
  color: var(--ink);
  font-size: 20px;
}

.cart-summary .total span {
  color: var(--ink);
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
}

.checkout-form input,
.checkout-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  resize: vertical;
}

.checkout-button {
  width: 100%;
}

.checkout-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.toast {
  background: var(--leaf);
  bottom: 84px;
  color: #fffaf0;
  font-weight: 800;
  max-width: 320px;
  opacity: 0;
  padding: 14px 18px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 18px;
    padding-top: 18px;
    position: static;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .hero,
  .section-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 420px;
  }

  .trust-strip,
  .feature-grid,
  .product-grid,
  .ritual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gift-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-links {
    justify-content: flex-start;
  }

  .trust-strip,
  .feature-grid,
  .product-grid,
  .ritual-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .newsletter div {
    flex-direction: column;
  }

  .steps li {
    grid-template-columns: 108px 1fr;
  }

  .steps .brew-image {
    height: 84px;
    width: 108px;
  }

  .floating-cart {
    bottom: 14px;
    right: 14px;
  }
}
