/* Better BTTR — shared styles. Tokens from the Figma file (LILLI | DAIRY ALTERNATIVES GROUP | BTTR BUTTER). */
@import url("https://fonts.googleapis.com/css2?family=Julius+Sans+One&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Crimson+Pro:ital,wght@0,400;0,700;1,400&family=Koulen&display=swap");

:root {
  --cream: #fcf8df;
  --cream-2: #fdf7e1;
  --banner: #fbe684;
  --gold-ink: #77603c;
  --gold-line: #81663c;
  --gold-soft: #ccac61;
  --gold-text: #8c7743;
  --slate: #455362;
  --ink: #1f1a12;
  --grey: #4e4e4e;
  --red: #990015;
  --red-link: #e7cb69;
  --white: #fff;
  /* Figma's gold, deepened so gold TEXT holds up on cream (the lightest stops were ~1.6:1). */
  --gold: linear-gradient(110deg, #a8893f 0%, #5a4820 33.5%, #97793a 46.7%, #a68741 65.3%, #6b5627 79.4%);
  --gold-light: linear-gradient(110deg, #ccac61 0%, #706036 33.5%, #c2a55d 46.7%, #d1b162 65.3%, #8c7743 79.4%);
  --display: "Julius Sans One", "Cinzel", serif;
  --body: "Crimson Text", "Crimson Pro", Georgia, serif;
  --logo: "Koulen", "Julius Sans One", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* height:auto keeps every image in proportion when a width is set but an HTML
   height attribute is present — without it the attribute pins the height and
   the image stretches (the flavor packs did exactly that). */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

/* ---------- type ---------- */
.gold {
  background: var(--gold); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.display, h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 400; letter-spacing: .08em;
  line-height: 1.12; margin: 0 0 .4em; text-transform: uppercase;
}
h1 { font-size: clamp(40px, 6.4vw, 88px); }
h2 { font-size: clamp(30px, 4.2vw, 55px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
.kicker {
  font-family: var(--display); font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 .5em; display: inline-block;
}
.lede { color: #6f5d33; font-size: clamp(18px, 1.6vw, 20px); letter-spacing: .02em; }
.rule { width: 97px; height: 1px; background: var(--gold-light); border: 0; margin: 18px 0 22px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 51px; padding: 0 34px; border-radius: 100px;
  border: 3px solid var(--gold-line); background: var(--white); color: var(--gold-ink);
  font-family: var(--display); font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0;
}
.btn > * , .btn { z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn:hover, .btn:focus-visible { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(140,119,67,.25); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.link-arrow {
  font-family: var(--display); letter-spacing: .22em; text-transform: uppercase; font-size: 15px;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ---------- banner + nav ---------- */
.banner {
  background: var(--banner); text-align: center; padding: 10px var(--gutter);
  font-family: var(--display); font-size: clamp(12px, 1.3vw, 16px); letter-spacing: .2em; text-transform: uppercase;
}
.banner a { text-decoration: underline; text-underline-offset: 3px; }
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px;
  padding: 14px var(--gutter); background: rgba(252,248,223,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s, box-shadow .4s, padding .3s;
}
.nav.scrolled { background: rgba(252,248,223,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(140,119,67,.12); padding-block: 8px; }
.nav .logo { font-family: var(--logo); font-size: 46px; line-height: 1; text-decoration: none; letter-spacing: .02em; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav ul a {
  font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  background: var(--gold); font-weight: 400; -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 8px 0; display: inline-block;
}
.nav ul a[aria-current="page"] { border-bottom: 1px solid var(--gold-soft); }
.nav .menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 210px; background: #fff;
  padding: 12px 14px; border-radius: 10px; box-shadow: 0 20px 40px rgba(140,119,67,.18); }
.nav li:hover .menu, .nav li:focus-within .menu { display: block; }
.nav .menu a { display: block; padding: 6px 0; }
.nav .btn { margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--gold-line); margin: 7px 8px; transition: transform .3s; }
@media (max-width: 960px) {
  .nav ul, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open ul {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 16px var(--gutter) 28px; gap: 6px; box-shadow: 0 20px 30px rgba(140,119,67,.15);
  }
  .nav.open .menu { display: block; position: static; box-shadow: none; padding: 0 0 0 14px; background: none; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ---------- surfaces ---------- */
.silk { background: var(--cream) url("../img/bg-cream-silk.webp") center/cover no-repeat; }
.card {
  background: rgba(255,255,255,.9); border-radius: 30px; box-shadow: 0 0 100px #fff;
  padding: clamp(28px, 5vw, 64px);
}
.section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }
.fade-top::before, .fade-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 120px; pointer-events: none; z-index: 1;
}
.fade-top::before { top: 0; background: linear-gradient(var(--cream), rgba(252,248,223,0)); }
.fade-bottom::after { bottom: 0; background: linear-gradient(rgba(252,248,223,0), var(--cream)); }

/* split: image half + copy half */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.split .media { position: relative; overflow: hidden; }
.split .media img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.split .copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 96px); }
.split.flip .media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split .media { min-height: 380px; }
  .split.flip .media { order: 0; }
}

/* full-bleed image band with parallax */
.band { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.band > img { position: absolute; inset: -18% 0; width: 100%; height: 136%; object-fit: cover; }
.band .inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.band h1, .band h2 { text-shadow: 0 0 22px rgba(0,0,0,.45); }

/* ---------- footer ---------- */
.footer { background: var(--red); color: #fff; padding: 72px var(--gutter) 40px; }
.footer .cols { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.6fr; gap: 40px; }
.footer h4 { font-size: 30px; letter-spacing: .2em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; line-height: 2; opacity: .9; }
.footer li a:hover { opacity: 1; color: var(--red-link); }
.footer form { display: flex; margin-top: 16px; }
.footer input { flex: 1; min-width: 0; height: 47px; border: 0; padding: 0 14px; font-family: var(--display); letter-spacing: .2em; font-size: 14px; }
.footer form button { width: 56px; height: 47px; border: 0; background: #808080; color: #fff; font-size: 20px; cursor: pointer; transition: background .3s; }
.footer form button:hover { background: var(--gold-soft); }
/* join: one tap, subscribed via LiQUID — no email field */
.footer .btn { background: #fff; color: var(--red); border-color: #fff; margin-top: 6px; }
.footer .btn:hover, .footer .btn:focus-visible { color: #fff; }
.footer .legal { text-align: center; margin-top: 56px; font-family: "Crimson Pro", serif; font-weight: 700; letter-spacing: .08em; }
.footer .legal a { color: var(--red-link); }
.footer .thanks { font-style: italic; margin-top: 10px; min-height: 1.4em; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
[data-speed], [data-drift] { will-change: transform; }
/* Hidden only once JS has flagged <html class="js">, so pages read fully with scripts off. */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; }
.tilt { transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-speed], [data-drift] { transform: none !important; }
}

/* ---------- phones: mobile-first floor (audited 2026-09-28) ----------
   Every tap target ≥ 44px, no text under 14px, primary buttons full-width and
   centred. Applied last so it wins over page-level sizes that were tuned for
   desktop. */
@media (max-width: 600px) {
  .btn { width: 100%; max-width: 360px; min-height: 54px; padding: 0 22px; letter-spacing: .18em; }
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0;
    text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .banner { padding: 2px var(--gutter); }
  .banner a { display: inline-block; padding: 13px 0; }
  .footer { padding-top: 56px; }
  .footer li a { display: inline-block; padding: 13px 0; line-height: 1.25; }
  .footer .legal a { display: inline-block; padding: 12px 6px; }
  .footer input, .footer button { height: 52px; }
  main :is(li, label, th, td, cite, figcaption, small, .src, .note, .meta, .kicker, .link-arrow, .scroll-cue, .lbl, .u, .go),
  footer :is(p, li, small) { font-size: max(14px, 1em) !important; }
  .wrap { padding-left: max(18px, var(--gutter)); padding-right: max(18px, var(--gutter)); }
}

