/* Buona Terra — base tokens, reset, typography */

:root {
  /* Core palette — sampled from real label artwork */
  --bt-ink: #14211B;          /* near-black with green undertone */
  --bt-navy: #1A2D3E;          /* deep navy, BUONA wordmark */
  --bt-green-deep: #4F6B2C;    /* dark organic green, "ORGANIC" headline */
  --bt-olive: #7F995B;         /* TERRA wordmark olive */
  --bt-red: #C4382E;           /* signature "100%" red */
  --bt-red-deep: #A22A22;
  --bt-orange: #E26B2C;        /* "High Heat" band orange */

  --bt-cream: #FAF6EC;
  --bt-cream-2: #F2EBD7;
  --bt-paper: #FFFFFF;
  --bt-line: #E2DCC8;
  --bt-muted: #5C5A55;

  /* SKU accents */
  --avocado-bg: #CDE38A;
  --avocado-deep: #5F8233;
  --sunflower-bg: #F5C84B;
  --sunflower-deep: #B8860B;
  --olive-bg: #F2E785;
  --olive-deep: #8C9C2E;

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-soft: 0 18px 48px -16px rgba(20, 33, 39, 0.18);
  --shadow-card: 0 4px 18px -6px rgba(20, 33, 39, 0.12);
  --shadow-bottle: 0 30px 60px -22px rgba(20, 33, 39, 0.40);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--bt-ink);
  background: var(--bt-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--bt-red); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--bt-red-deep); text-decoration: underline; text-underline-offset: 4px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--bt-navy);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 {
  font-size: 0.95rem; font-family: var(--font-sans); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bt-red);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bt-red);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}

.italic-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--bt-green-deep);
  font-weight: 500;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 880px; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  background: var(--bt-red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 4px 14px -4px rgba(196, 56, 46, 0.5);
  text-decoration: none;
}
.button:hover {
  background: var(--bt-red-deep); color: #fff; text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 10px 22px -6px rgba(196, 56, 46, 0.6);
}
.button:focus-visible { outline: 3px solid var(--bt-red); outline-offset: 3px; }

.button.is-ghost {
  background: transparent; color: var(--bt-navy);
  border: 1.5px solid var(--bt-navy); box-shadow: none;
}
.button.is-ghost:hover { background: var(--bt-navy); color: var(--bt-cream); }

.button.is-light {
  background: #fff; color: var(--bt-navy); box-shadow: var(--shadow-card);
}
.button.is-light:hover { background: var(--bt-cream); color: var(--bt-red); }

.button .arrow { transition: transform .18s var(--ease); display: inline-block; }
.button:hover .arrow { transform: translateX(4px); }

/* ---------- Utility ---------- */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--bt-navy); color: var(--bt-cream); padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

.section { padding: clamp(2.5rem, 7vw, 6.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-in.is-visible { opacity: 1; transform: none; }

.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* Visually hidden but accessible */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Section header */
.section-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2.5rem, 4vw, 3.5rem); }
.section-head p { color: var(--bt-muted); font-size: 1.1rem; }

/* Decorative divider */
.leaf-divider {
  display: block; width: 60px; height: 12px; margin: 0 auto 1.5rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'><path d='M2 6h22M36 6h22' stroke='%237F995B' stroke-width='1.2' stroke-linecap='round'/><circle cx='30' cy='6' r='3.5' fill='none' stroke='%237F995B' stroke-width='1.2'/><path d='M30 2.5v7' stroke='%237F995B' stroke-width='1.2' stroke-linecap='round'/></svg>") no-repeat center / contain;
}
