/* Luvia — design tokens */

@font-face {
  font-family: 'Compote';
  src: url('fonts/CompoteRegular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Compote';
  src: url('fonts/CompoteBlack.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Neutrals */
  --canvas-warm: #F3EFE8;
  --surface-soft: #F8F6F2;
  --surface-white: #FBFAF7;
  --ink-primary: #1A1A1A;
  --ink-secondary: #3A3635;
  --ink-muted: #7A7673;
  --ink-subtle: #ACACAC;
  --line: #E5E0D8;
  --line-strong: #C9C2B6;

  /* Accent — sage */
  --accent-sage: #2E4A33;
  --accent-sage-tint: #EAEFE8;

  /* Product pack colors (resampled from label artwork) */
  --pdt-lavender: #C7A3CC;
  --pdt-lavender-tint: #EFEAF2;
  --pdt-peach: #D4A688;
  --pdt-peach-tint: #F4ECE3;
  --pdt-sage: #83AD7A;
  --pdt-sage-tint: #E8EFE5;
  --pdt-citrus: #D6DE8A;
  --pdt-citrus-tint: #F2F4DF;

  /* Semantic */
  --success: #3F6B4A;
  --error: #8A3A2E;
  --info: #3F5A6B;

  /* Type */
  --font-serif: 'Compote', 'GT Super Display', 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Poppins', 'Söhne', 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale (4px base) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px; --sp-11: 160px;

  /* Radii */
  --r-card: 16px; --r-input: 8px; --r-pill: 999px; --r-modal: 24px; --r-img: 12px;

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(26,26,26,0.06);
  --shadow-lift: 0 12px 40px rgba(26,26,26,0.08);

  /* Layout */
  --maxw: 1280px;
  --side-pad: 40px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--canvas-warm);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Type classes */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.display-xl { font-family: var(--font-serif); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1.0; letter-spacing: -0.02em; }
.display-lg { font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.018em; }
.display-md { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.h1 { font-family: var(--font-serif); font-weight: 400; font-size: 32px; line-height: 1.15; }
.h2 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.h3 { font-family: var(--font-sans); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.005em; }
.eyebrow { font-family: var(--font-sans); font-weight: 500; font-size: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-muted); }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 1.55; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 1.55; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; }
.micro { font-family: var(--font-sans); font-weight: 500; font-size: 12px; line-height: 1.4; letter-spacing: 0.02em; }
.nav-label { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }

.ink { color: var(--ink-primary); }
.muted { color: var(--ink-muted); }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--side-pad); }

/* Announcement bar */
.announce {
  height: 36px;
  background: var(--accent-sage);
  color: var(--surface-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: 0.04em;
}
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--canvas-warm);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 32px;
  height: 80px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: var(--font-sans); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-primary); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color .15s var(--ease);
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--accent-sage); }
.brand-logo { height: 30px; }
.brand-logo img { height: 100%; width: auto; }
.nav-utility { display: flex; justify-content: flex-end; gap: 20px; align-items: center; }
.nav-utility a { text-decoration: none; color: var(--ink-primary); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-utility .icon-btn { display: inline-flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; line-height: 1;
  cursor: pointer; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-sage); outline-offset: 2px; }
.btn-primary { background: var(--ink-primary); color: var(--surface-white); }
.btn-primary:hover { background: var(--accent-sage); }
.btn-secondary { background: transparent; color: var(--ink-primary); border-color: var(--ink-primary); }
.btn-secondary:hover { background: var(--ink-primary); color: var(--surface-white); }
.btn-loud { background: var(--accent-sage); color: var(--surface-white); }
.btn-loud:hover { background: #24391f; }
.btn-tertiary {
  padding: 0; border: 0; background: transparent;
  color: var(--ink-primary);
  font-family: var(--font-sans); font-size: 14px;
  text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition: color .15s var(--ease);
}
.btn-tertiary:hover { color: var(--accent-sage); }

/* Inputs */
.input {
  background: var(--surface-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  padding: 14px 16px;
  font-family: var(--font-sans); font-size: 16px;
  color: var(--ink-primary);
  width: 100%;
  transition: border-color .15s var(--ease), border-width .15s var(--ease);
}
.input:focus { outline: none; border: 1.5px solid var(--accent-sage); padding: 13.5px 15.5px; }
.input::placeholder { color: var(--ink-subtle); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-sans); font-size: 14px; color: var(--ink-primary); }
.field .help { font-size: 12px; color: var(--ink-muted); }

/* Badge / chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--accent-sage-tint); color: var(--accent-sage);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.chip-filter { background: var(--surface-white); color: var(--ink-primary); border: 1px solid var(--line-strong); cursor: pointer; }
.chip-filter[data-on="true"] { background: var(--ink-primary); color: var(--surface-white); border-color: var(--ink-primary); }

/* Product card */
.product-card {
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--surface-soft);
  transition: background .25s var(--ease);
}
.product-card .media {
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card .media .bottle { width: 54%; transition: transform .35s var(--ease); }
.product-card:hover .media .bottle { transform: scale(1.03); }
.product-card:hover { filter: brightness(0.97); }
.product-card .meta { padding: 24px 24px 28px; }
.product-card .eyebrow { margin-bottom: 8px; }
.product-card .name { font-family: var(--font-serif); font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink-primary); margin: 0 0 6px; }
.product-card .sub { color: var(--ink-muted); margin-bottom: 16px; font-size: 14px; }
.product-card .row { display: flex; justify-content: space-between; align-items: center; }
.product-card .price { font-size: 15px; color: var(--ink-primary); }

/* Product backdrops */
.tint-lavender { background: var(--pdt-lavender-tint); }
.tint-peach { background: var(--pdt-peach-tint); }
.tint-sage { background: var(--pdt-sage-tint); }
.tint-citrus { background: var(--pdt-citrus-tint); }

/* Bottle mock — colored glass bottle built in CSS */
.bottle {
  position: relative;
  width: 180px; aspect-ratio: 0.45 / 1;
  filter: drop-shadow(0 20px 30px rgba(26,26,26,0.12));
}
.bottle .cap {
  position: absolute; top: 0; left: 22%; width: 56%; height: 14%;
  background: var(--bottle-ink, var(--ink-primary));
  border-radius: 4px 4px 2px 2px;
}
.bottle .neck {
  position: absolute; top: 13%; left: 32%; width: 36%; height: 5%;
  background: color-mix(in srgb, var(--bottle-color) 70%, black 5%);
}
.bottle .body {
  position: absolute; top: 17%; left: 0; right: 0; bottom: 0;
  background: linear-gradient(175deg,
    color-mix(in srgb, var(--bottle-color) 90%, white 20%) 0%,
    var(--bottle-color) 35%,
    color-mix(in srgb, var(--bottle-color) 70%, black 8%) 100%);
  border-radius: 18px 18px 14px 14px;
  box-shadow:
    inset 10px 0 18px color-mix(in srgb, white 30%, transparent),
    inset -12px 0 22px color-mix(in srgb, black 15%, transparent);
}
.bottle .label {
  position: absolute; top: 32%; left: 6%; right: 6%; bottom: 14%;
  background: var(--surface-white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, black 6%, transparent);
}
.bottle .label img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc-row { border-bottom: 1px solid var(--line); padding: 20px 0; cursor: pointer; }
.acc-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 18px; color: var(--ink-primary); }
.acc-q .pm { font-size: 20px; color: var(--ink-muted); transition: transform .2s var(--ease); }
.acc-row[data-open="true"] .acc-q .pm { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding-top .3s var(--ease); color: var(--ink-secondary); max-width: 70ch; }
.acc-row[data-open="true"] .acc-a { max-height: 240px; padding-top: 16px; }

/* Trust strip */
.trust {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding: 24px var(--side-pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas-warm);
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Footer */
footer.site {
  background: var(--canvas-warm);
  padding: var(--sp-10) var(--side-pad) 40px;
  border-top: 1px solid var(--line);
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 64px; max-width: var(--maxw); margin: 0 auto; }
footer.site h5 { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 20px; }
footer.site a { display: block; color: var(--ink-primary); text-decoration: none; font-size: 14px; padding: 5px 0; }
footer.site a:hover { color: var(--accent-sage); }
footer.site .big-mark { text-align: center; font-family: var(--font-serif); font-size: clamp(140px, 22vw, 280px); letter-spacing: -0.04em; line-height: 0.85; color: var(--ink-primary); margin: 80px 0 24px; }
footer.site .legal { max-width: var(--maxw); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-muted); }

/* Sections */
section { padding: var(--sp-10) 0; }
.section-head .eyebrow { margin-bottom: 16px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  :root { --side-pad: 20px; }
  .header-inner { grid-template-columns: auto 1fr; gap: 16px; height: 64px; }
  .nav-links, .nav-utility .hide-mobile { display: none; }
  footer.site .cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  section { padding: var(--sp-9) 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
