/* healthyolives.com — shared styles */
:root {
  --bg: oklch(0.97 0.015 85);
  --bg-2: oklch(0.94 0.02 85);
  --bg-3: oklch(0.91 0.025 85);
  --ink: oklch(0.22 0.02 120);
  --ink-2: oklch(0.4 0.025 120);
  --ink-3: oklch(0.55 0.02 110);
  --olive: oklch(0.32 0.04 125);
  --olive-deep: oklch(0.24 0.045 130);
  --clay: oklch(0.62 0.09 55);
  --clay-deep: oklch(0.5 0.1 50);
  --line: oklch(0.85 0.02 90);
  --line-soft: oklch(0.9 0.015 90);
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ───────── Topbar ───────── */
.topstrip {
  background: var(--olive-deep);
  color: oklch(0.92 0.02 90);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topstrip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 9px;
  gap: 24px;
}
.topstrip .pill {
  display: inline-flex; gap: 8px; align-items: center;
}
.topstrip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay);
}
.topstrip .links { display: flex; gap: 22px; opacity: 0.85; }
@media (max-width: 700px) { .topstrip .links { display: none; } }

header.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 18px;
  gap: 24px;
}
.nav nav.left, .nav nav.right {
  display: flex; gap: 28px;
  font-size: 14px; letter-spacing: 0.01em;
  color: var(--ink-2);
}
.nav nav.right { justify-content: flex-end; }
.nav nav a:hover { color: var(--olive); }
.brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--olive-deep);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.brand .mark {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clay);
  display: inline-block;
  transform: translateY(-2px);
}
.nav .icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.nav .cart-count {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--olive-deep);
  color: var(--bg);
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 4px;
}
@media (max-width: 820px) {
  .nav nav.left, .nav nav.right .menulink { display: none; }
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--olive-deep); color: var(--bg); }
.btn-primary:hover { background: var(--olive); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-clay { background: var(--clay); color: var(--bg); }
.btn-clay:hover { background: var(--clay-deep); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───────── Type helpers ───────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--olive-deep);
  text-wrap: balance;
}
.italic-accent { font-style: italic; color: var(--clay-deep); }
.muted { color: var(--ink-3); }
.rule { height: 1px; background: var(--line-soft); border: 0; }

/* ───────── Placeholder imagery ───────── */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.93 0.02 85) 0 14px,
      oklch(0.91 0.025 85) 14px 28px);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 14px;
  border-radius: 14px;
  overflow: hidden;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.3 0.03 125) 0 14px,
      oklch(0.27 0.035 125) 14px 28px);
  color: oklch(0.82 0.02 90);
}
.ph.clay {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.72 0.07 55) 0 14px,
      oklch(0.68 0.08 55) 14px 28px);
  color: oklch(0.25 0.03 50);
}
.ph .tag {
  background: var(--bg);
  color: var(--ink-2);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
}

/* ───────── Footer ───────── */
footer.site {
  background: var(--olive-deep);
  color: oklch(0.85 0.02 90);
  margin-top: 96px;
  padding-block: 72px 28px;
}
footer.site .grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
}
footer.site h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.7 0.05 80);
  margin: 0 0 18px;
}
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
footer.site ul a { color: oklch(0.85 0.02 90); }
footer.site ul a:hover { color: var(--clay); }
footer.site .brand { color: var(--bg); }
footer.site .blurb { font-family: var(--serif); font-size: 22px; line-height: 1.25; margin-top: 18px; color: oklch(0.92 0.02 90); }
footer.site .legal {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid oklch(0.35 0.04 130);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(0.65 0.04 90);
}
@media (max-width: 900px) {
  footer.site .grid { grid-template-columns: 1fr 1fr; }
  footer.site .blurb-col { grid-column: span 2; }
  footer.site .legal { flex-direction: column; gap: 10px; }
}

/* ───────── Utility ───────── */
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px;
}
@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}
