/* ============================================================
   Autumn Scoop — Website styles
   Built on top of colors_and_type.css design tokens.
   ============================================================ */

/* ---------- Reset / global ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--vanilla-cream);
  color: var(--ink);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--terracotta); color: var(--vanilla-cream); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}
.section { padding-block: clamp(72px, 10vw, 128px); }
.eyebrow-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-soft);
}
.eyebrow-mark::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.italic-display { font-style: italic; }
.brand-ink { color: var(--terracotta); }

/* Wavy hand-drawn divider (terracotta SVG) */
.wave-divider {
  display: block;
  width: 100%;
  height: 16px;
  color: var(--terracotta);
  opacity: 0.55;
}

/* ---------- NAVBAR ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: 18px clamp(20px, 5vw, 64px);
  background: #d14a3b;
  border-bottom: 1px solid rgba(243, 234, 219, 0.2);
  transition: background 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav--on-hero {
  background: #d14a3b;
  border-bottom-color: rgba(243, 234, 219, 0.2);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img {
  height: 56px;
  width: auto;
  border-radius: var(--r-1);
}
.nav__logo-mark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #f3eadb;
  font-style: italic;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f3eadb;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  position: relative;
  transition: color 220ms, background 220ms;
}
.nav__link::after { display: none; }
.nav__link:hover { background: rgba(243, 234, 219, 0.15); }
.nav__link.is-active {
  color: #d14a3b;
  background: #f3eadb;
}
.nav__menu-btn { display: none; padding: 8px; color: #f3eadb; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  transition: transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
              background-color 240ms,
              color 240ms,
              box-shadow 240ms;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--terracotta);
  color: var(--vanilla-cream);
  box-shadow: var(--shadow-2);
}
.btn--primary:hover {
  background: color-mix(in oklch, var(--terracotta) 90%, var(--ink) 10%);
}
.btn--cream {
  background: var(--vanilla-cream);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}
.btn--cream:hover {
  background: var(--paper);
}
.btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn .arrow { transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 65% 40%, #c47a55 0%, #8c4a30 45%, #4a2a18 100%);
  position: relative;
}
.hero__bg-placeholder::after {
  content: "HERO PHOTO · ICE CREAM ATMOSPHERE";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  font-weight: 600;
  color: rgba(250, 244, 232, 0.55);
  padding: 14px 24px;
  border: 1px dashed rgba(250, 244, 232, 0.4);
  border-radius: var(--r-pill);
  text-align: center;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(43, 29, 20, 0.62) 0%, rgba(43, 29, 20, 0.28) 50%, rgba(43, 29, 20, 0) 90%),
    linear-gradient(180deg, rgba(43, 29, 20, 0.25) 0%, rgba(43, 29, 20, 0) 30%, rgba(43, 29, 20, 0.35) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 80px) clamp(72px, 10vh, 120px);
}
.hero__inner {
  max-width: 880px;
  color: var(--vanilla-cream);
}
.hero__eyebrow {
  color: var(--vanilla-cream);
  opacity: 0.85;
  margin-bottom: var(--s-5);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--vanilla-cream);
  margin: 0;
  text-wrap: balance;
}
.hero__headline em {
  font-style: italic;
  color: var(--vanilla-cream);
  position: relative;
}
.hero__sub {
  margin-top: var(--s-6);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(243, 234, 219, 0.85);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__sub span { display: inline-flex; align-items: center; gap: 12px; }
.hero__sub .dot {
  width: 4px; height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.6;
}
.hero__cta { margin-top: var(--s-7); }

.hero__scroll-hint {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(40px, 6vh, 64px);
  z-index: 2;
  color: var(--vanilla-cream);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
  writing-mode: vertical-rl;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  background: currentColor;
  animation: scrollHint 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 720px) {
  .hero { min-height: 92vh; }
  .hero__scroll-hint { display: none; }
}

/* ============================================================
   SECTION 2 — OUR STORY
   ============================================================ */
.story {
  position: relative;
  background: var(--terracotta);
  color: var(--vanilla-cream);
  padding: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 720px;
  overflow: hidden;
}
.story__col-text {
  padding: clamp(72px, 9vw, 128px) clamp(40px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-5);
}
.story__eyebrow { color: var(--vanilla-cream); opacity: 0.8; }
.story__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--vanilla-cream);
  max-width: 18ch;
  margin: 0;
}
.story__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--vanilla-cream);
  opacity: 0.92;
  max-width: 28ch;
}
.story__founders {
  font-family: "Caveat", "Dancing Script", cursive;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  color: var(--vanilla-cream);
  margin-top: var(--s-3);
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}
.story__mission {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--vanilla-cream);
  opacity: 0.95;
  padding-left: var(--s-4);
  border-left: 1px solid rgba(243, 234, 219, 0.4);
  max-width: 38ch;
  margin-top: var(--s-3);
}
.story__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 44ch;
  margin-top: var(--s-5);
  color: rgba(243, 234, 219, 0.92);
  font-size: 18.5px;
  line-height: 1.65;
}
.story__body p { margin: 0; }
.story__signature-mark {
  margin-top: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  opacity: 0.65;
}
.story__signature-mark::before {
  content: ""; width: 22px; height: 1px;
  background: currentColor;
}

/* right column — flush to right edge, tall rounded arch */
.story__col-photo {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 48px);
}
.story__photo-frame {
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: #c4a47a;
  box-shadow: var(--shadow-3);
  transform: translateX(-130px);
}
.story__photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, #c4a47a 0px, #c4a47a 18px, #bd9b6f 18px, #bd9b6f 36px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story__photo-placeholder span {
  background: rgba(43, 29, 20, 0.5);
  color: var(--vanilla-cream);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  text-align: center;
  max-width: 80%;
}

/* decorative wavy line behind founder signature */
.story__signature-wave {
  display: block;
  width: 200px;
  height: 12px;
  margin-top: 4px;
  color: rgba(243, 234, 219, 0.55);
}

@media (max-width: 900px) {
  .story {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .story__col-photo {
    padding: 0 clamp(20px, 5vw, 40px) clamp(40px, 6vw, 64px);
    justify-content: center;
  }
  .story__photo-frame {
    width: 300px;
    height: 300px;
    border-radius: 50%;
  }
}

/* ============================================================
   SECTION 3 — WHAT'S INSIDE
   ============================================================ */
.inside {
  background: var(--paper);
  text-align: center;
}
.inside__head {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: center;
}
.inside__eyebrow { color: var(--ink-soft); }
.inside__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.inside__headline em {
  font-style: italic;
  color: var(--terracotta);
}
.inside__lead {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}
.inside__cards {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.inside-card {
  background: var(--paper-warm);
  border-radius: var(--r-3);
  padding: clamp(28px, 3vw, 40px);
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-inset);
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-height: 320px;
}
.inside-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2), var(--shadow-inset);
}
.inside-card__icon {
  width: 64px;
  height: 64px;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
}
.inside-card__icon svg { width: 100%; height: 100%; }
.inside-card__num {
  position: absolute;
  top: clamp(20px, 2.4vw, 28px);
  right: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-mute);
}
.inside-card__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.inside-card__body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.inside-card__divider {
  margin: var(--s-3) 0 0;
  width: 32px;
  height: 1px;
  background: var(--hairline-strong);
  border: 0;
}

@media (max-width: 900px) {
  .inside__cards { grid-template-columns: 1fr; }
  .inside-card { min-height: auto; }
}

/* ============================================================
   SECTION 4 — THE SCOOP GALLERY
   ============================================================ */
.gallery {
  background: var(--vanilla-cream);
}
.gallery__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.gallery__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}
.gallery__headline em { font-style: italic; color: var(--terracotta); }

/* CSS columns masonry — items flow into 4/3/2/1 columns */
.gallery__grid {
  column-count: 4;
  column-gap: 10px;
}
.gallery__item {
  display: block;
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--paper-warm);
  cursor: pointer;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery__item:hover { transform: translateY(-2px); }

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Varying heights — masonry feel */
.gallery__item--xl { aspect-ratio: 3/4; }
.gallery__item--l  { aspect-ratio: 4/5; }
.gallery__item--m  { aspect-ratio: 1/1; }
.gallery__item--s  { aspect-ratio: 5/4; }
.gallery__item--w  { aspect-ratio: 4/3; }

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 29, 20, 0.72);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--vanilla-cream);
  pointer-events: none;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--vanilla-cream);
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery__overlay-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.gallery__footer {
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}
.gallery__follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--terracotta);
  position: relative;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--terracotta);
  transition: border-bottom-width 200ms;
}
.gallery__follow:hover { border-bottom-width: 2px; }
.gallery__follow .arrow { transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.gallery__follow:hover .arrow { transform: translateX(4px); }

@media (max-width: 1024px) { .gallery__grid { column-count: 3; } }
@media (max-width: 720px)  { .gallery__grid { column-count: 2; } }
@media (max-width: 480px)  { .gallery__grid { column-count: 1; } }

/* ============================================================
   SECTION 5 — ICE CREAM FLAVORS
   ============================================================ */
.flavors { background: var(--paper); }
.flavors__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.flavors__head-left { display: flex; flex-direction: column; gap: var(--s-4); }
.flavors__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.flavors__headline em { font-style: italic; color: var(--terracotta); }
.flavors__stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  justify-content: flex-end;
  flex-wrap: wrap;
}
.flavors__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  border-left: 1px solid var(--hairline);
  padding-left: var(--s-4);
}
.flavors__stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--terracotta);
}
.flavors__stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Filter tabs */
.flavors__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: clamp(48px, 5vw, 72px);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--hairline);
}
.flavors__filter {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: background-color 220ms, color 220ms, box-shadow 220ms, transform 200ms;
}
.flavors__filter:hover { background: var(--paper-warm); }
.flavors__filter[aria-pressed="true"] {
  background: var(--ink);
  color: var(--vanilla-cream);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.flavors__filter[aria-pressed="true"] .flavors__filter-count { color: rgba(243,234,219,0.6); }
.flavors__filter-count {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0;
  font-weight: 600;
}
.flavors__filter:active { transform: scale(0.98); }

/* Series rows */
.series { margin-bottom: clamp(56px, 7vw, 96px); }
.series.is-hidden { display: none; }
.series__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: end;
  padding-bottom: var(--s-4);
}
.series__title-wrap {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.series__num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--terracotta);
}
.series__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
.series__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 36ch;
  text-align: right;
  line-height: 1.45;
}
.series__divider {
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, var(--hairline-strong) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

/* Flavor cards grid */
.series__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-5);
}

/* The card itself — flip on click */
.flavor-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--r-3);
  perspective: 1200px;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.flavor-card:hover:not(.is-flipped) { transform: translateY(-3px); }
.flavor-card__inner {
  position: absolute;
  inset: 0;
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-style: preserve-3d;
}
.flavor-card.is-flipped .flavor-card__inner { transform: rotateY(180deg); }
.flavor-card__face {
  position: absolute;
  inset: 0;
  border-radius: var(--r-3);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow-2), var(--shadow-inset);
}
.flavor-card__face--front {
  background: var(--fc-bg, var(--paper-warm));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 24px;
}
.flavor-card__face--back {
  transform: rotateY(180deg);
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.flavor-card__illo {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-height: 0;
}
.flavor-card__illo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.flavor-card:hover .flavor-card__illo img { transform: scale(1.04); }

.flavor-card__illo-placeholder {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(43, 29, 20, 0.06);
  border: 1px dashed rgba(43, 29, 20, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px;
}

.flavor-card__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.1;
  color: var(--ink);
  text-align: center;
  padding: 0 4px;
  letter-spacing: -0.015em;
  margin: 0;
}

/* Badge ribbon */
.flavor-card__badges {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  max-width: calc(100% - 24px);
  pointer-events: none;
  transition: opacity 200ms;
}
.flavor-card.is-flipped .flavor-card__badges {
  opacity: 0;
}
.flavor-card__badge {
  display: inline-flex;
  align-items: center;
  background: #d14a3b;
  color: #f3eadb;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
}
.flavor-card__badge--signature {
  background: var(--wood-brown);
}
.flavor-card__badge--coming {
  background: var(--ink-mute);
}

/* Coming-soon state — desaturated front */
.flavor-card--coming .flavor-card__face--front { filter: grayscale(0.5) opacity(0.75); }

/* Back face content */
.flavor-card__back-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0;
}
.flavor-card__back-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.flavor-card__back-desc b { color: var(--ink); font-weight: 600; }
.flavor-card__dietary {
  margin-top: auto;
  display: flex;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--hairline-strong);
}
.flavor-card__diet {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  position: relative;
}
.flavor-card__diet svg { width: 18px; height: 18px; }
.flavor-card__diet[data-state="no"] svg { color: var(--ink-soft); }
.flavor-card__diet[data-state="no"]::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-top: 1.4px solid var(--terracotta);
  transform: rotate(-25deg);
  transform-origin: center;
  top: 50%;
}
.flavor-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .flavors__head { grid-template-columns: 1fr; }
  .flavors__stats { justify-content: flex-start; }
  .series__row { grid-template-columns: 1fr; }
  .series__tagline { text-align: left; max-width: 56ch; }
}

/* ============================================================
   SECTION 6 — VOICES WE LOVE
   ============================================================ */
.voices {
  background: var(--vanilla-cream);
  position: relative;
  overflow: hidden;
}
.voices__head {
  text-align: center;
  margin-bottom: clamp(56px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.voices__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}

.voices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  padding: 20px 0;
}

.voice-card {
  background: var(--paper);
  border-radius: var(--r-3);
  padding: 24px 22px;
  box-shadow: var(--shadow-2), var(--shadow-inset);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: center;
}
.voice-card:hover {
  transform: rotate(0deg) translateY(-3px) !important;
  box-shadow: var(--shadow-3), var(--shadow-inset);
  z-index: 5;
  position: relative;
}
.voice-card__stars {
  display: inline-flex;
  gap: 3px;
  color: var(--terracotta);
}
.voice-card__stars svg { width: 16px; height: 16px; }
.voice-card__quote {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.voice-card__quote em { font-style: italic; color: var(--terracotta); }
.voice-card__divider {
  border: 0;
  height: 1px;
  width: 28px;
  background: var(--hairline-strong);
  margin: 0;
}
.voice-card__author {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* tilt variations — applied via index nth-child */
.voice-card:nth-child(1)  { transform: rotate(-2.5deg); }
.voice-card:nth-child(2)  { transform: rotate(1.8deg)  translateY(20px); }
.voice-card:nth-child(3)  { transform: rotate(-1.2deg) translateY(-10px); }
.voice-card:nth-child(4)  { transform: rotate(3.4deg); }
.voice-card:nth-child(5)  { transform: rotate(2.2deg)  translateY(12px); }
.voice-card:nth-child(6)  { transform: rotate(-3.6deg) translateY(-6px); }
.voice-card:nth-child(7)  { transform: rotate(1.4deg); }
.voice-card:nth-child(8)  { transform: rotate(-2.8deg) translateY(16px); }
.voice-card:nth-child(9)  { transform: rotate(-1.8deg) translateY(-8px); }
.voice-card:nth-child(10) { transform: rotate(2.6deg); }
.voice-card:nth-child(11) { transform: rotate(-3.2deg) translateY(14px); }
.voice-card:nth-child(12) { transform: rotate(1.6deg)  translateY(-4px); }

@media (max-width: 1024px) { .voices__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .voices__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  {
  .voices__grid { grid-template-columns: 1fr; }
  .voice-card { transform: none !important; }
}

/* ============================================================
   SECTION 7 — FAQs
   ============================================================ */
.faqs { background: var(--paper); }
.faqs__head {
  text-align: center;
  margin-bottom: clamp(40px, 4vw, 56px);
}
.faqs__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.faqs__inner {
  max-width: 880px;
  margin: 0 auto;
}
.faqs__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  justify-content: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-6);
}
.faqs__tab {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color 220ms;
}
.faqs__tab::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faqs__tab:hover { color: var(--ink); }
.faqs__tab[aria-pressed="true"] { color: var(--terracotta); }
.faqs__tab[aria-pressed="true"]::after { width: 100%; }

.faqs__panel {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-strong) transparent;
}
.faqs__panel::-webkit-scrollbar { width: 6px; }
.faqs__panel::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 3px; }
.faqs__panel.is-hidden { display: none; }

.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item__btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 18px 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.faq-item__btn:hover { color: var(--terracotta); }
.faq-item__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  color: var(--ink-mute);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item__icon::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-item__btn { color: var(--terracotta); }
.faq-item.is-open .faq-item__icon { color: var(--terracotta); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
              padding 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item.is-open .faq-item__answer {
  max-height: 400px;
  padding-bottom: 18px;
}
.faq-item__answer-inner {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 64ch;
  padding-right: 36px;
}

/* ============================================================
   SECTION 8 — GET A SCOOP
   ============================================================ */
.contact { background: var(--vanilla-cream); }
.contact__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.contact__head-left { display: flex; flex-direction: column; gap: var(--s-4); }
.contact__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.contact__headline em {
  font-style: italic;
  color: var(--terracotta);
}
.contact__head-right {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: right;
  max-width: 38ch;
  justify-self: end;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(48px, 5vw, 64px);
}

.store-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-2), var(--shadow-inset);
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3), var(--shadow-inset);
}
.store-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 200px 200px 0 0;
  margin: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #c4a47a 0px, #c4a47a 18px, #bd9b6f 18px, #bd9b6f 36px);
}
.store-card__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.store-card__num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--terracotta);
}
.store-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.store-card__title em { font-style: italic; color: var(--terracotta); }
.store-card__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--s-4);
  padding: 14px 0;
  border-top: 1px dashed var(--hairline-strong);
  align-items: baseline;
}
.store-card__row:last-child { border-bottom: 1px dashed var(--hairline-strong); }
.store-card__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-mute);
}
.store-card__value {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* Contact footer bar */
.contact__bar {
  background: var(--terracotta);
  color: var(--vanilla-cream);
  border-radius: var(--r-3);
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  align-items: start;
}
.contact__bar-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__bar-cell--brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__bar-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--vanilla-cream);
}
.contact__bar-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(243, 234, 219, 0.6);
}
.contact__bar-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(243, 234, 219, 0.55);
}
.contact__bar-value {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  color: var(--vanilla-cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 220ms, color 220ms;
  width: fit-content;
}
.contact__bar-value:hover { border-color: var(--vanilla-cream); }

.contact__footnote {
  margin-top: clamp(32px, 3vw, 48px);
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 900px) {
  .contact__head { grid-template-columns: 1fr; }
  .contact__head-right { text-align: left; justify-self: start; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact__bar { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
}
@media (max-width: 560px) {
  .contact__bar { grid-template-columns: 1fr; }
}
