/* ============================================
   FERNWEH ICE CREAM
   ============================================ */

:root {
  --cream: #FAF6F0;
  --cream-deep: #F2EADC;
  --teal: #0F3E47;
  --teal-deep: #082930;
  --teal-soft: #1A4D5C;
  --pink: #E8B4BC;
  --pink-deep: #D58C97;
  --gold: #D4A256;
  --gold-deep: #B8853B;
  --sky: #7BB7C9;
  --ink: #1F1A17;
  --ink-soft: #4A3F38;
  --line: rgba(31, 26, 23, 0.12);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 8px rgba(15, 62, 71, 0.06);
  --shadow-md: 0 12px 36px rgba(15, 62, 71, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 62, 71, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow--dark { color: var(--gold-deep); }
.eyebrow--light { color: var(--pink); }

.section__head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__head--light { color: var(--cream); }

.section__lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.btn--link {
  padding: 14px 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  border-bottom: 1px solid currentColor;
}
.btn--link:hover { color: var(--teal); }
.btn--large {
  padding: 18px 36px;
  font-size: 1rem;
}
.btn:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 0.05s;
}

/* Visible focus rings for keyboard nav — never visible on mouse click */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible,
.lib-tab:focus-visible,
.nav__cta:focus-visible {
  outline-offset: 4px;
}
a:focus-visible {
  outline-offset: 2px;
}
.lib-card:focus-within,
.review-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 240, 0.95);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 0 1px 3px rgba(15, 62, 71, 0.12), inset 0 0 0 1px rgba(15, 62, 71, 0.06);
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand__name--light { color: var(--cream); }
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 10px 20px; }
.nav__ctas {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

/* Live "Open now / Closed" status pill */
.nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: rgba(15, 62, 71, 0.06);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  letter-spacing: 0.005em;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
  flex-shrink: 0;
}
.nav__status--open {
  background: rgba(58, 152, 89, 0.10);
  color: #2a6b3a;
}
.nav__status--open::before {
  background: #3a9859;
  box-shadow: 0 0 0 4px rgba(58, 152, 89, 0.18);
  animation: openPulse 2.4s ease-in-out infinite;
}
.nav__status--closed {
  background: rgba(31, 26, 23, 0.06);
  color: var(--ink-soft);
}
.nav__status--closed::before {
  background: var(--ink-soft);
  opacity: 0.5;
}
@keyframes openPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(58, 152, 89, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(58, 152, 89, 0.05); }
}
.nav__cta--order {
  padding: 8px 18px 8px 10px;
  background: var(--teal);
  color: var(--cream);
  gap: 8px;
}
.nav__cta--order:hover {
  background: var(--gold-deep);
  color: var(--cream);
  transform: translateY(-1px);
}
.dd-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  background: #FF3008;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.dd-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.dd-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.dd-label__brand {
  font-weight: 600;
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 28px 24px;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.nav__mobile[hidden] { display: none !important; }
.nav__mobile a {
  padding: 14px 0;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-child { border-bottom: 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(232, 180, 188, 0.55), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(212, 162, 86, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(123, 183, 201, 0.3), transparent 60%),
    linear-gradient(180deg, #FCEFE9 0%, var(--cream) 60%, var(--cream-deep) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero__copy { max-width: 580px; }
.hero__media {
  position: relative;
  aspect-ratio: 4/5;
}
.hero__photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-deep);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo--main {
  inset: 0 0 18% 25%;
}
.hero__photo--inset {
  inset: 30% 38% 0 0;
  border: 6px solid var(--cream);
  z-index: 2;
}
.hero__sticker {
  position: absolute;
  bottom: 4%;
  right: 6%;
  width: 100px;
  height: 100px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: spin 28s linear infinite;
  z-index: 3;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 8px 0 28px;
  color: var(--teal);
}
.hero__title em {
  font-style: italic;
  color: var(--pink-deep);
  font-weight: 500;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 620px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.ipa {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 0.92em;
  padding: 0 4px;
}
.hero__cta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero__meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 720px;
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}
.hero__meta span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll span {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--teal);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee__track {
  display: flex;
  gap: 36px;
  align-items: center;
  padding: 22px 0;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
}
.marquee__track span:not([aria-hidden]) {
  flex-shrink: 0;
}
.marquee__track span[aria-hidden] {
  color: var(--gold);
  font-style: normal;
  font-size: 1.6rem;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   STORY
   ============================================ */
.story {
  padding: 120px 0;
  background: var(--cream);
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story__media {
  position: relative;
  aspect-ratio: 4/5;
}
.story__photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-deep);
}
.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story__photo--main { inset: 0 30% 15% 0; }
.story__photo--inset {
  inset: 35% 0 0 35%;
  border: 6px solid var(--cream);
  z-index: 2;
}
.story__stamp {
  position: absolute;
  top: 8%;
  right: 4%;
  background: var(--teal);
  border-radius: 50%;
  padding: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: spin 24s linear infinite;
  z-index: 2;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.story__copy h2 {
  margin-bottom: 24px;
  color: var(--teal-deep);
}
.story__copy p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.story__copy p:nth-of-type(2) {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
  line-height: 1.4;
}
.story__bullets {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
}
.story__bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.story__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px;
  height: 12px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232, 180, 188, 0.2);
}
.story__bullets strong { color: var(--ink); font-weight: 600; }

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.section__head--left { text-align: left; max-width: 640px; margin-left: 0; margin-bottom: 48px; }
.gallery__grid {
  columns: 4 240px;
  column-gap: 16px;
}
.gallery__item {
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-deep);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  /* avoid orphan caption-like fragments inside columns */
  display: block;
  width: 100%;
}
.gallery__item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.03); }

/* ============================================
   REVIEWS (rotating customer voices)
   ============================================ */
.reviews {
  padding: 100px 0 110px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
  position: relative;
}
.reviews__head { margin-bottom: 56px; }
.reviews__head h2 em {
  font-style: italic;
  color: var(--pink-deep);
  font-weight: 500;
}
.reviews__track-wrap {
  overflow: hidden;
  padding: 12px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews__track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.reviews__track--animated {
  animation: reviewScroll 480s linear infinite;
}
.reviews__track:hover { animation-play-state: paused; }
@keyframes reviewScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 360px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.review-card__stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.review-card__body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--teal-deep);
  margin: 0 0 20px;
  flex: 1;
  letter-spacing: -0.005em;
}
.review-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.review-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  font-family: var(--sans);
}
.review-card__source {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

/* ============================================
   PRESS
   ============================================ */
.press {
  padding: 80px 0 100px;
  background: var(--cream);
  border-top: 1px solid var(--line);
  text-align: center;
}
.press__eyebrow { margin-bottom: 32px; }
.press__quote {
  max-width: 820px;
  margin: 0 auto 56px;
}
.press__quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--teal-deep);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.press__quote figcaption {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.press__quote figcaption a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.press__quote figcaption a:hover {
  color: var(--teal);
  border-bottom-color: var(--gold);
}
.press__quote figcaption strong {
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.press__quote figcaption span {
  font-style: italic;
}
.press__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press__logos li {
  flex: 1 1 200px;
  min-width: 180px;
  border-right: 1px solid var(--line);
}
.press__logos li:last-child { border-right: 0; }
.press__logos a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease;
  height: 100%;
}
.press__logos a:hover {
  color: var(--teal-deep);
  background: var(--cream-deep);
}
.press__logo-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.press__logo-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ============================================
   FLAVORS
   ============================================ */
.flavors {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.flavors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flavor {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.flavor:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.flavor__swatch {
  aspect-ratio: 5/3;
  position: relative;
  overflow: hidden;
}
.flavor__swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
}
.flavor--berry .flavor__swatch { background: linear-gradient(135deg, #6B4886 0%, #9B6FA8 50%, #C9A0CC 100%); }
.flavor--pink .flavor__swatch { background: linear-gradient(135deg, #F4A8B5 0%, #E8B4BC 50%, #FAD4D9 100%); }
.flavor--cream .flavor__swatch { background: linear-gradient(135deg, #F5E5C8 0%, #E8C9A0 50%, #C99B6A 100%); }
.flavor--mint .flavor__swatch { background: linear-gradient(135deg, #88B49E 0%, #B5CFB8 50%, #D9E5C9 100%); }
.flavor--cocoa .flavor__swatch { background: linear-gradient(135deg, #3A211A 0%, #6B3F30 50%, #8B5A45 100%); }
.flavor--gold .flavor__swatch { background: linear-gradient(135deg, #C97F3D 0%, #E8B26E 50%, #F5D9A8 100%); }
.flavor--coffee .flavor__swatch { background: linear-gradient(135deg, #2E1B12 0%, #6B4530 50%, #A07555 100%); }
.flavor__swatch--photo {
  background: var(--cream-deep);
}
.flavor__swatch--photo::before { display: none; }
.flavor__swatch--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flavor__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.flavor__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 10px;
}
.flavor h3 {
  margin-bottom: 10px;
  color: var(--teal-deep);
}
.flavor__body p:last-child {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}
.flavors__note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.flavors__note a {
  color: var(--teal);
  font-weight: 500;
}

/* ---- The full library ---- */
.library {
  margin-top: 96px;
}
.library__intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}
.library__copy h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--teal-deep);
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.library__copy h3 em {
  font-style: italic;
  color: var(--pink-deep);
  font-weight: 500;
}
.library__copy p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 18px;
}
.library__note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-top: 28px !important;
  font-size: 1.05rem !important;
  line-height: 1.5;
}
.library__wall {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--teal-deep);
  transform: rotate(-0.8deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.library__wall:hover {
  transform: rotate(0deg) scale(1.01);
}
.library__wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3/4;
}

.library__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.lib-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.lib-tab:hover {
  color: var(--teal-deep);
  border-color: var(--gold);
}
.lib-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
}
.lib-tab--allergen {
  border-style: dashed;
}
.lib-tab--allergen.is-active {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  border-style: solid;
}

.library__disclaimer {
  margin: 0 0 28px;
  padding: 12px 16px;
  background: rgba(212, 162, 86, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.library__disclaimer > span[aria-hidden] {
  color: var(--gold-deep);
  font-size: 1rem;
  line-height: 1;
}
.library__disclaimer em {
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
}
.lib-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 62, 71, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.lib-tab.is-active .lib-tab__count {
  background: rgba(255, 255, 255, 0.18);
  color: var(--cream);
}

.library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.lib-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lib-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--pink);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.lib-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.lib-card:hover::before {
  background: var(--gold);
}
.lib-card[hidden] { display: none; }
.lib-card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
  margin: 0 0 6px;
  line-height: 1.2;
  padding-right: 56px;
}
.lib-card__desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.lib-card__tag {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}
.lib-card__tag.tag--booze {
  background: var(--gold);
  color: var(--teal-deep);
}
.lib-card__tag.tag--df {
  background: var(--sky);
  color: var(--teal-deep);
}
.lib-card__tag.tag--booze + .lib-card__tag.tag--df {
  top: 32px;
}
/* Boozy-only flavor cards get a wine-purple accent stripe */
.lib-card[data-cat="boozy"]::before { background: var(--pink-deep); }
.lib-card[data-cat="boozy"]:hover::before { background: var(--gold); }
/* Sorbets get a cool sky accent */
.lib-card[data-cat="sorbet"]::before { background: var(--sky); }
.lib-card[data-cat="sorbet"]:hover::before { background: var(--gold); }
/* Boozy + sorbet split bar */
.lib-card[data-cat="boozy sorbet"]::before {
  background: linear-gradient(180deg, var(--pink-deep) 0%, var(--pink-deep) 50%, var(--sky) 50%, var(--sky) 100%);
}
.lib-card[data-cat="boozy sorbet"]:hover::before {
  background: var(--gold);
}

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: 120px 0;
  background: var(--teal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(232, 180, 188, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(212, 162, 86, 0.08), transparent 70%);
  pointer-events: none;
}
.menu .container { position: relative; }
.menu__board {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
  margin: 0 0 80px;
}
.menu__board-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--teal-deep);
  max-height: 640px;
}
.menu__board-photo img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  display: block;
}
.menu__board-intro .eyebrow {
  margin-bottom: 14px;
}
.menu__board-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 32px;
  max-width: 520px;
  letter-spacing: -0.01em;
}
.menu__board-prices {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 0;
  max-width: 520px;
}
.menu__board-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(250, 246, 240, 0.18);
  font-size: 0.98rem;
  color: rgba(250, 246, 240, 0.82);
}
.menu__board-prices li:last-child { border-bottom: 0; }
.menu__board-prices li > span:first-child {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream);
}
.menu__board-prices li > span:last-child {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.menu__board-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(250, 246, 240, 0.7);
  margin: 0;
  max-width: 520px;
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.menu__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.menu__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 162, 86, 0.4);
}
.menu__card--feature {
  background: linear-gradient(135deg, rgba(212, 162, 86, 0.12), rgba(232, 180, 188, 0.08));
  border-color: rgba(212, 162, 86, 0.3);
}
.menu__icon {
  margin-bottom: 24px;
  display: inline-flex;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}
.menu__card h3 {
  color: var(--cream);
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.5rem;
}
.menu__card p {
  color: rgba(250, 246, 240, 0.72);
  font-size: 0.95rem;
  margin: 0;
}
.menu__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0 110px;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.faq .section__head--left { margin-bottom: 48px; }
.faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  align-items: start;
}
.faq__item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.faq__item:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.faq__item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 26px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--teal-deep);
  letter-spacing: -0.005em;
  line-height: 1.3;
  position: relative;
  transition: color 0.2s ease;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--teal); }
.faq__item > summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 14px 1.5px, 1.5px 14px;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--gold-deep);
  transition: transform 0.3s ease;
}
.faq__item[open] > summary::after {
  transform: rotate(45deg);
  background-size: 14px 1.5px, 0 0;
}
.faq__a {
  padding: 0 26px 22px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.faq__a p { margin: 0; }
.faq__a em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}
.faq__a a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.faq__a a:hover { color: var(--teal-deep); }
.faq__a strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 0 0 120px;
  background: var(--cream);
}
.visit__banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  margin-bottom: 100px;
}
.visit__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.visit__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--cream) 100%);
}
.visit__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.visit__copy h2 {
  color: var(--teal-deep);
  margin-bottom: 20px;
}
.visit__lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 480px;
}
.visit__cards {
  display: grid;
  gap: 16px;
}
.visit__card {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.visit__card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.visit__card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}
.visit__card-value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--teal-deep);
  margin: 0 0 12px;
  line-height: 1.4;
}
.visit__card-cta {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 500;
}
.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(31, 26, 23, 0.1);
  padding-bottom: 8px;
}
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours li > span:first-child {
  font-weight: 600;
  color: var(--ink);
}
.hours li > span:last-child {
  color: var(--ink-soft);
}
.hours__closed {
  font-style: italic;
  color: var(--pink-deep) !important;
}
.visit__socials {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.visit__socials a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.visit__socials a:hover { color: var(--teal-deep); }
.visit__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  background: var(--cream-deep);
  position: sticky;
  top: 100px;
}
.visit__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) hue-rotate(-10deg);
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(232, 180, 188, 0.5), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  text-align: center;
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.cta h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  max-width: 800px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--teal-deep);
  color: rgba(250, 246, 240, 0.65);
  padding: 80px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand p {
  margin-top: 12px;
  max-width: 320px;
  font-size: 0.95rem;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  color: rgba(250, 246, 240, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  width: max-content;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer__nav a:hover {
  color: var(--cream);
  border-bottom-color: var(--gold);
}
.footer__contact p { margin-bottom: 8px; font-size: 0.95rem; }
.footer__contact a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.footer__socials { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.footer__socials span { color: var(--gold); }
.footer__base {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer__credit {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  margin: 0;
}
.footer__base p { margin: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .nav__links, .nav__cta--secondary { display: none; }
  .nav__cta--order { padding: 6px 14px 6px 8px; font-size: 0.88rem; gap: 6px; }
  .dd-mark { width: 20px; height: 20px; }
  .nav__status { font-size: 0.78rem; padding: 4px 12px 4px 10px; }
  .nav__toggle { display: flex; }
  .nav__mobile:not([hidden]) { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__media {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .story__grid,
  .visit__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .visit__map { position: static; aspect-ratio: 4/3; }
  .story__media { aspect-ratio: 5/4; max-width: 560px; margin: 0 auto; }

  .flavors__grid,
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq__list { grid-template-columns: 1fr; }

  .menu__board {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }
  .menu__board-photo {
    max-width: 480px;
    margin: 0 auto;
  }

  .library { margin-top: 72px; }
  .library__intro {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .library__copy { max-width: 640px; }
  .library__wall { max-width: 520px; margin: 0 auto; }
  .library__grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 520px) {
  .library__grid {
    grid-template-columns: 1fr;
  }
  .lib-tab {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .gallery__grid {
    columns: 2 200px;
    column-gap: 14px;
  }
  .gallery__item { margin-bottom: 14px; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .nav__status { display: none; }
  /* Tighten the Order CTA on phone — drop "Order on" prefix */
  .dd-label > :first-child { display: none; }
  .dd-label__brand::before { content: "Order "; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero__cta { gap: 16px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__cta .btn--link { width: auto; }
  .hero__meta { gap: 28px; }
  .hero__scroll { display: none; }

  .marquee__track { font-size: 1.1rem; gap: 28px; padding: 16px 0; }

  .story { padding: 80px 0; }
  .flavors, .menu { padding: 80px 0; }
  .visit { padding: 0 0 80px; }
  .visit__banner { height: 240px; margin-bottom: 60px; }
  .cta { padding: 80px 0; }

  .flavors__grid,
  .menu__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    columns: 1;
  }

  .story__copy p:nth-of-type(2) {
    font-size: 1.2rem;
    padding-left: 18px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__base { justify-content: flex-start; }

  .press { padding: 60px 0 80px; }
  .press__logos li {
    flex: 1 1 50%;
    min-width: 0;
    border-bottom: 1px solid var(--line);
  }
  .press__logos li:nth-child(2n) { border-right: 0; }
  .press__logos li:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Reduced motion */
@media (max-width: 640px) {
  .review-card { flex: 0 0 280px; padding: 22px 24px 18px; }
  .reviews { padding: 70px 0 80px; }
  .reviews__head { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
