/* ───────────────────────────────────────────
   TOKENS
─────────────────────────────────────────── */
:root {
  --cream:     #121417;
  --parchment: #1C1F22;
  --sand:      #BFA882;
  --brown:     #D4A843;
  --ink:       #EAE0D0;
  --muted:     #9B8A6A;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --gap:   clamp(2.5rem, 5vw, 5rem);
  --rail:  clamp(1.5rem, 5vw, 6rem);
}

/* ───────────────────────────────────────────
   RESET
─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* Images inside fixed-dimension containers need explicit height */
.flavour-card__img-wrap img,
.collage__cell img,
.founder__image-wrap img,
.flavour-detail__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

ul, ol { list-style: none; }

/* ───────────────────────────────────────────
   SHARED TYPE UTILITIES
─────────────────────────────────────────── */
.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-title em { font-style: normal; color: inherit; }

.body-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
  max-width: 40ch;
}

/* ───────────────────────────────────────────
   SHARED BUTTONS
─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.btn--dark:hover { background: var(--brown); border-color: var(--brown); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--sand);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: none;
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }

/* ───────────────────────────────────────────
   NAV
─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem var(--rail);
  background: rgba(14, 16, 19, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--parchment);
}

.nav__logo {
  justify-self: start;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--ink);
  transition: color 0.3s ease;
}

.nav__logo img {
  display: block;
  width: auto;
  height: 2.75rem;
}

.nav__links {
  display: contents;
}

.nav__links-footer {
  display: none;
}

.nav__links-list {
  justify-self: center;
  display: flex;
  gap: 2.2rem;
}

.nav__links-list a {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__links-list a:hover,
.nav__links-list .nav__active { color: var(--ink); }

.nav__links-list .nav__active { font-weight: 500; }

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.65rem 1.4rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 101;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99;
}

.nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ───────────────────────────────────────────
   HERO (shared — homepage & gifting)
─────────────────────────────────────────── */
.hero,
.g-hero,
.f-hero,
.a-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Full-bleed background image / placeholder */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: #22262A; /* dark slate placeholder until image is dropped in */
}

/* Gradient overlay for text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 9, 10, 0.78) 0%,
    rgba(8, 9, 10, 0.28) 50%,
    rgba(8, 9, 10, 0.04) 100%
  );
}

/* Text content — sits above overlay */
.hero__content,
.g-hero__content,
.f-hero__content,
.a-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--rail) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 72rem;
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.hero__title em { font-style: normal; }

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 44ch;
}

.hero__cta {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.3rem;
  width: fit-content;
  transition: border-color 0.25s, opacity 0.25s;
}

.hero__cta:hover { opacity: 0.7; border-color: rgba(255,255,255,0.7); }

/* ───────────────────────────────────────────
   CHURN BANNER (homepage — floating, optional)
   Not part of document flow — safe to delete the HTML block
   entirely with nothing left behind when there's no active churn.
─────────────────────────────────────────── */
.churn-banner {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: min(88vw, 20rem);
  background: var(--parchment);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: churn-banner-in 0.5s ease both;
  animation-delay: 0.8s;
}

@media (min-width: 901px) {
  .churn-banner {
    gap: 0.5rem;
    padding: 1rem 1.4rem;
  }
}

@keyframes churn-banner-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.churn-banner__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

@media (min-width: 901px) {
  .churn-banner__label { font-size: 0.8rem; }
}

.churn-banner__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8DC98A;
  animation: pulse-dot 2s ease-in-out infinite;
}

.churn-banner__ticker {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
}

.churn-banner__track {
  display: flex;
  width: max-content;
  gap: 2rem;
}

.churn-banner__track.is-scrolling {
  animation: churn-ticker 22s linear infinite;
}

.churn-banner__item {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
}

/* Separator dot centred in the gap after each item (every item gets one,
   so the looping ticker stays seamless) */
.churn-banner__track.is-scrolling .churn-banner__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
  transform: translate(50%, -50%);
}

@media (min-width: 901px) {
  .churn-banner__item { font-size: 1.35rem; }
}

@keyframes churn-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───────────────────────────────────────────
   WHAT'S CHURNING
─────────────────────────────────────────── */
.churning {
  position: relative;
  background: var(--ink);
  padding: var(--gap) var(--rail);
  overflow: hidden;
}

.churning__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.churning__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}

.churning__inner {
  position: relative;
  z-index: 1;
}

.churning__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.churning__live {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.4rem;
}

.churning__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8DC98A;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.churning__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(4rem, 5.5vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.churning__title em { font-style: normal; color: inherit; }

.churning__sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.4rem;
  max-width: 34ch;
}

.churning__cta {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 0.3rem;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}

.churning__cta:hover { color: var(--sand); border-color: var(--cream); }

.churning__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.churning__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(200, 186, 168, 0.18);
  gap: 1rem;
}

.churning__item:first-child { border-top: 1px solid rgba(200, 186, 168, 0.18); }

.churning__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.churning__avail {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

/* ───────────────────────────────────────────
   FLAVOURS
─────────────────────────────────────────── */
.flavours {
  padding: var(--gap) var(--rail);
}

.flavours__header {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.flavours__header .section-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

/* Carousel */
.flavours__carousel {
  position: relative;
}

.flavours__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--rail);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.flavours__track::-webkit-scrollbar { display: none; }

.flavour-card {
  flex: 0 0 calc((100% - 2.5 * 1.5rem) / 3.5);
  scroll-snap-align: start;
}

.flavour-card__link { display: block; }

.flavour-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--parchment);
  margin-bottom: 1rem;
}

.flavour-card__scrim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  background: rgba(8, 9, 10, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.flavour-card__scrim-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.2;
  color: var(--sand);
  text-align: center;
}

.flavour-card__cta {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

@media (hover: hover) {
  .flavour-card__link:hover .flavour-card__scrim { opacity: 1; }
  .flavour-card__tags { display: none; }
}

.flavour-card__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.9vw, 1.75rem);
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.flavour-card__tags {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.35rem;
}

.flavours__arrows {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.flavours__arrow {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--sand);
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.flavours__arrow:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.flavours__view-all {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 4rem);
  color: var(--ink);
  border-bottom-color: var(--sand);
}

.flavours__view-all:hover { opacity: 0.7; }

/* ───────────────────────────────────────────
   GIFTING TEASER ("JUST FOR YOU")
─────────────────────────────────────────── */
.gift-teaser {
  position: relative;
  width: 100%;
  height: 70svh;
  min-height: 32rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gift-teaser__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gift-teaser__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gift-teaser__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 9, 10, 0.42);
}

.gift-teaser__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 0 var(--rail);
}

.gift-teaser__content .hero__eyebrow { color: rgba(255, 255, 255, 0.7); }

.gift-teaser__title {
  color: #FFFFFF;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.gift-teaser__title em { font-style: normal; color: inherit; }

.gift-teaser__content .hero__cta {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.gift-teaser__content .hero__cta:hover { border-color: rgba(255, 255, 255, 0.7); }

/* ───────────────────────────────────────────
   HOW TO ORDER
─────────────────────────────────────────── */
.order {
  background: var(--parchment);
  padding: var(--gap) var(--rail);
}

.order__header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.order__header .section-title { margin-bottom: 0.8rem; }

.order__ctas {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Home page variant — title/description and CTAs split into two
   columns, sharing the same fluid-margin + max-width rule as the
   "Why rêvasser" section. */
.order--split {
  height: 480px;
  display: flex;
  align-items: center;
  padding-left: clamp(6rem, 11vw, 11rem);
  padding-right: clamp(6rem, 11vw, 11rem);
}

.order--split .order__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.order--split .order__header { margin-bottom: 0; }

.order--split .order__header .section-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.order--split .order__ctas {
  margin-top: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
}

/* ───────────────────────────────────────────
   STORAGE & ALLERGENS
─────────────────────────────────────────── */
.allergens {
  padding-top: var(--gap);
  padding-bottom: calc(var(--gap) * 0.7);
  padding-left: clamp(6rem, 11vw, 11rem);
  padding-right: clamp(6rem, 11vw, 11rem);
}

.allergens__inner {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: var(--gap);
  border-top: 1px solid var(--parchment);
  gap: clamp(3rem, 6vw, 5rem);
  max-width: 1080px;
  margin: 0 auto;
}

.storage-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem 1.5rem;
}

.storage-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.storage-item__icon {
  color: var(--sand);
  margin-bottom: 0.2rem;
}

.allergens__heading {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.1rem;
}

.allergens__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.allergens__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.allergens__label {
  font-size: 1rem;
  color: var(--ink);
}

.allergens__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.allergens__text strong { color: var(--ink); font-weight: 400; }

/* ───────────────────────────────────────────
   RÊVASSER WORDMARK WATERMARK (end of every page)
─────────────────────────────────────────── */
.wordmark {
  padding: clamp(4rem, 8vw, 7rem) var(--rail);
  overflow: hidden;
  text-align: center;
}

.wordmark__img {
  display: block;
  width: min(78vw, 1100px);
  height: auto;
  margin: 0 auto;
  opacity: 0.06;
}

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
.footer {
  padding: clamp(3rem, 6vw, 4.5rem) var(--rail) 7rem;
  border-top: 1px solid var(--parchment);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  max-width: 1080px;
  margin: 0 auto 3rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.1rem;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.footer__list li { display: flex; flex-wrap: wrap; gap: 0.2rem 0.75rem; }

.footer__label {
  min-width: 9.5rem;
  color: var(--muted);
}

.footer__list a { transition: color 0.2s ease; }
.footer__list a:hover { color: var(--sand); }
.footer__directions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ───────────────────────────────────────────
   FAQ (home page)
─────────────────────────────────────────── */
.faq {
  padding: var(--gap) var(--rail);
  border-top: 1px solid var(--parchment);
}

.faq__inner {
  max-width: 820px;
  margin: 0 auto;
}

.faq__header { margin-bottom: 2.5rem; }

.faq__group + .faq__group { margin-top: 2.5rem; }

.faq__group-title {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.5rem;
}

.faq__item { border-bottom: 1px solid var(--parchment); }

.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--sand);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__q::after { transform: rotate(45deg); }

.faq__a {
  padding-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 65ch;
}

.faq__a a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }

.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: var(--sand);
}

/* ───────────────────────────────────────────
   LEGAL / POLICY PAGES
─────────────────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(9rem, 14vw, 12rem) var(--rail) var(--gap);
}

.legal__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.legal__updated {
  margin: 1rem 0 3rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

.legal__doc h2 {
  margin: 2.75rem 0 1rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
}

.legal__doc p,
.legal__doc li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}

.legal__doc p + p,
.legal__doc p + ul,
.legal__doc ul + p { margin-top: 1rem; }

.legal__doc ul { list-style: disc; padding-left: 1.25rem; }
.legal__doc li + li { margin-top: 0.5rem; }
.legal__doc li::marker { color: var(--sand); }

.legal__doc a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__doc a:hover { color: var(--sand); }

.legal__doc .legal__contact { list-style: none; padding-left: 0; margin-top: 1rem; }
.legal__contact li { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.legal__contact span { min-width: 10rem; color: var(--sand); }

.legal__rule {
  margin: clamp(4rem, 8vw, 6rem) 0;
  border: 0;
  height: 1px;
  background: var(--sand);
  opacity: 0.35;
}

.legal__doc { scroll-margin-top: 7rem; }

/* ═══════════════════════════════════════════
   GIFTING PAGE
═══════════════════════════════════════════ */

/* Gifting Hero — centered banner */
.g-hero {
  justify-content: center;
}

.g-hero .hero__bg img { object-position: center 85%; }

.g-hero__content {
  align-items: center;
  text-align: center;
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

.g-hero__content .hero__eyebrow {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* Gifting Hero title — same base as .hero__title but slightly smaller */
.g-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 7vw, 8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.g-hero__title em { font-style: normal; color: inherit; }

/* ═══════════════════════════════════════════
   FLAVOURS PAGE
═══════════════════════════════════════════ */

.f-hero {
  height: 640px;
  justify-content: center;
}

.f-hero picture {
  display: block;
  height: 100%;
}

.f-hero__content {
  align-items: center;
  text-align: center;
}

.f-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  max-width: 34ch;
  margin-bottom: 1.2rem;
}

.f-hero__title em { font-style: normal; color: inherit; }

/* Flavour detail list */
.flavour-detail {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
  padding-left: clamp(6rem, 11vw, 11rem);
  padding-right: clamp(6rem, 11vw, 11rem);
}

.flavour-detail__header {
  max-width: 1080px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}

.flavour-detail__header .body-text { max-width: 60ch; margin-top: 1rem; }

.flavour-detail__list {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.flavour-detail__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.flavour-detail__media {
  flex: 0 0 320px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--parchment);
}

.flavour-detail__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

.flavour-detail__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.2;
}

.flavour-detail__tags {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.flavour-detail__note {
  max-width: 60ch;
  margin-top: 0.4rem;
}

.flavour-detail__price {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--sand);
}

.flavour-detail__price span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */

.a-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.a-hero__title em { font-style: normal; color: inherit; }

/* Visual Collage */
.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 22vw;
  grid-auto-flow: dense;
  gap: 0.5rem;
  padding: var(--gap) var(--rail);
  background: var(--parchment);
}

.story--tinted {
  background: var(--parchment);
}

.section-divider {
  background: var(--parchment);
  padding: var(--gap) 0;
}

.section-divider span {
  display: block;
  height: 1px;
  margin: 0 var(--rail);
  background: var(--sand);
  opacity: 0.35;
}

/* Plain inset divider — for use between sections that already share
   the same background, so no background-matching wrapper is needed */
.divider {
  height: 1px;
  margin: var(--gap) var(--rail);
  background: var(--sand);
  opacity: 0.35;
}

.collage__cell {
  background: var(--parchment);
  overflow: hidden;
}

.collage__cell--tall { grid-row: span 2; }

/* Testimonials */
.testimonials {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem var(--rail) 3rem;
  background: var(--parchment);
  overflow: hidden;
}

.testimonials__heading {
  text-align: center;
}

.testimonials__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
}

.testimonials__carousel {
  position: relative;
  display: grid;
  max-width: 44rem;
  margin: 0 auto;
}

.testimonials__quote-mark {
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: clamp(14rem, 24vw, 20rem);
  line-height: 1;
  color: var(--sand);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testimonial {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  text-align: center;
  padding-top: 0;
  border-top: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.testimonial.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--muted);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.testimonials__dot:hover { opacity: 0.8; }

.testimonials__dot.is-active {
  background: var(--sand);
  opacity: 1;
  transform: scale(1.3);
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--ink);
  line-height: 1.4;
  font-weight: 300;
}

.testimonial__attr {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  text-transform: uppercase;
}

/* Founder — image + text float together on a compact rounded panel.
   Image bleeds edge-to-edge within its half (side-by-side on desktop,
   full-width strip on top when stacked on mobile). */
.founder {
  padding: var(--gap) var(--rail);
}

.founder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--parchment);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.founder__image-wrap {
  aspect-ratio: 4 / 5;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.founder__image-wrap img { object-position: center 30%; } /* keep the face in frame when cropped wide */

.founder__text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  min-width: 0;
}

.founder__story { color: var(--muted); max-width: none; }

.founder__name {
  font-size: clamp(2rem, 3vw, 3rem);
  white-space: nowrap;
}

.founder + .story { border-top: none; }

/* Split screen — full-bleed 50/50: text on the left, photo on the right.
   Stacks with the photo on top on small screens. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(34rem, 90vh, 52rem);
  margin-top: var(--gap);
}

.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);
  min-width: 0;
}

.split__title {
  margin-top: -0.4rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.split__copy {
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.9;
}

.split__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.split__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 55%; /* keep the cone in frame */
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .split__media {
    order: -1;
    aspect-ratio: 4 / 5;
  }
  .split__text { padding: 3.5rem 24px 4.5rem; }
}

/* Story (About Revasser) */
.story {
  padding: var(--gap) var(--rail);
  border-top: 1px solid var(--parchment);
}

.story__inner {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) 2fr;
  gap: clamp(4rem, 6vw, 8rem);
  align-items: start;
}

.story__header,
.story__body {
  min-width: 0;
}

.story__header .section-title {
  margin-top: 0.8rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
  overflow-wrap: break-word;
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.story__text { color: var(--muted); max-width: none; }
.story__text strong { color: var(--ink); font-weight: 500; }

/* Wide variant — taller, breezier, more generous side margins and a capped container width */
.story--home {
  padding-top: clamp(6rem, 13vw, 11rem);
  padding-bottom: clamp(6rem, 13vw, 11rem);
  padding-left: clamp(6rem, 11vw, 11rem);
  padding-right: clamp(6rem, 11vw, 11rem);
}

.story--home .story__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.story--home .story__body { gap: 2rem; }
.story--home .story__text { line-height: 1.9; }

/* Definition callout — meaning and pronunciation of rêvasser */
.definition {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--parchment);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.definition__word {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--ink);
}

.definition__say {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

.definition__ipa {
  font-size: 0.85rem;
  color: var(--muted);
}

.definition__meaning {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--ink);
}

.definition__meaning span {
  font-style: italic;
  color: var(--muted);
}

.definition__note {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ───────────────────────────────────────────
   RESPONSIVE — TABLET ≤ 900px
─────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hero — full-screen on all sizes, just reduce font */
  .hero__title { font-size: clamp(4rem, 9vw, 7rem); }
  .g-hero__title { font-size: clamp(4.5rem, 9vw, 8rem); }
  .a-hero__title { font-size: clamp(4rem, 8vw, 7rem); }

  /* Churning */
  .churning__inner { grid-template-columns: 1fr; }

  /* Flavour detail (flavours page) */
  .flavour-detail__item { flex-direction: column; gap: 1.25rem; }
  .flavour-detail__media { flex-basis: auto; width: 100%; }

  /* Storage & Serving — wrap to 2 columns below desktop */
  .storage-row { flex-wrap: wrap; }
  .storage-item { flex: 1 1 calc(50% - 0.75rem); }

  /* Story */
  .story__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Home — How to Order */
  .order--split {
    height: auto;
    display: block;
  }
  .order--split .order__inner { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .order--split .order__header { margin-bottom: clamp(2rem, 4vw, 3rem); }
  .order--split .order__ctas { align-items: center; }

  /* Gifting */
  .collage { grid-auto-rows: 30vw; }
  .founder__inner {
    grid-template-columns: 1fr;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  }
  .founder__image-wrap { aspect-ratio: 16 / 9; }
  .founder__text { padding: 2.5rem; }
  .hero__bg-placeholder { background: #22262A; }

  /* Footer */
}

/* ───────────────────────────────────────────
   RESPONSIVE — MOBILE ≤ 560px
─────────────────────────────────────────── */
@media (max-width: 560px) {
  .order--split .order__ctas { flex-direction: column; }

  /* Gifting hero — focus on the gelato tubs */
  .g-hero .hero__bg img { object-position: 64% center; }

  /* Flavours hero — portrait image (cups stacked), title overlaid at the bottom */
  .f-hero {
    height: calc(5rem + 200vw); /* fixed nav + image */
    background: #0C0B0C; /* matches the photo's backdrop */
  }
  .f-hero .hero__bg { top: 5rem; } /* clear the fixed nav */
  .f-hero .hero__bg img {
    object-fit: contain;
    /* feather the photo's side edges into the backdrop */
    -webkit-mask-image: linear-gradient(to right, transparent 17%, #000 27%, #000 73%, transparent 83%);
            mask-image: linear-gradient(to right, transparent 17%, #000 27%, #000 73%, transparent 83%);
  }

  .churn-banner {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: min(92vw, 22rem);
  }

  .nav {
    display: flex;
    justify-content: space-between;
  }

  .nav__logo { font-size: 1.15rem; }
  .nav__logo img { height: 2.25rem; }

  .nav__toggle { display: flex; }

  .nav__actions { gap: 1rem; }

  .nav__cta {
    padding: 0.5rem 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: var(--cream);
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
  }

  .nav__links.is-open { transform: translateX(0); }

  .nav__links-list {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem var(--rail);
  }

  .nav__links-list li { list-style: none; }

  .nav__links-list a { font-size: 2rem; font-weight: 500; color: var(--muted); }

  .nav__links-list a:hover,
  .nav__links-list .nav__active { color: var(--ink); }

  .nav__links-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    padding: 0 var(--rail) 2.5rem;
  }

  .nav__links-divider {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 1px;
    background: var(--parchment);
  }

  .nav__links-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
  }

  .nav__links-ctas .btn {
    justify-content: center;
    width: 100%;
  }

  .hero__title { font-size: 4rem; }
  .g-hero__title { font-size: clamp(4.5rem, 17vw, 6.5rem); }
  .a-hero__title { font-size: clamp(2.5rem, 10vw, 4rem); }

  .story--home { padding-left: 24px; padding-right: 24px; }

  .flavour-detail { padding-left: 24px; padding-right: 24px; }
  .allergens { padding-left: 24px; padding-right: 24px; }
  .storage-row { flex-wrap: wrap; }
  .storage-item { flex: 1 1 100%; }

  .order--split { padding-left: 24px; padding-right: 24px; }

  .founder { padding-left: 24px; padding-right: 24px; }
  .founder__inner {
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  }
  .founder__text { padding: 2rem 1.5rem; }

  .gift-teaser { height: 60svh; min-height: 26rem; }

  .collage {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 46vw;
  }

  /* Churning: stack name + availability on small screens */
  .churning__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  /* Flavours carousel: 1.5 cards visible */
  .flavours__track { gap: 1rem; }
  .flavour-card { flex-basis: calc((100% - 0.5 * 1rem) / 1.5); }
}

