/* =========================================================
   SAMPIETRINO — Premium Roman Food Box
   CSS Custom Properties + Mobile-First
   ========================================================= */

:root {
  --color-cream:      #F0E6D8;  /* travertino caldo */
  --color-terracotta: #B85C38;  /* terracotta romana */
  --color-blue:       #1F5F9E;  /* blu Buenos Aires */
  --color-charcoal:   #100C0E;  /* basalto romano */
  --color-gold:       #C8922A;  /* ambra argentina */
  --color-light-line: #D8CCBE;
  --color-muted:      #7A6B62;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-heading: 'Syne', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  --max-width: 1100px;
  --text-max:  680px;

  --transition: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
}

/* ── Layout ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  background-color: transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.nav__logo-img:hover {
  transform: scale(1.07);
  opacity: 0.9;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cream);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition), opacity var(--transition);
}

.nav__link:hover {
  border-bottom-color: var(--color-cream);
}

.nav {
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--scrolled {
  background-color: rgba(237, 232, 223, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-light-line);
}

.nav--scrolled .nav__link {
  color: var(--color-charcoal);
}

.nav--scrolled .nav__link:hover {
  border-bottom-color: var(--color-charcoal);
}

/* ── Hero badge (circular logo seal) ─────────────────── */
.hero-badge {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.hero-badge__img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 4px 32px rgba(31, 95, 158, 0.18))
          drop-shadow(0 0 48px rgba(200, 146, 42, 0.18));
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
  padding-inline: var(--space-md);
  background-color: var(--color-charcoal);
}

.hero__inner {
  max-width: 860px;
}

.hero__eyebrow {
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 800;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-terracotta);
}

.hero__sub {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(240,230,216,0.6);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.hero .label {
  color: var(--color-gold);
}

.hero .btn {
  background-color: var(--color-cream);
  color: var(--color-charcoal);
}
.hero .btn:hover {
  background-color: var(--color-terracotta);
  color: var(--color-cream);
}

.hero__rule {
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
  margin: var(--space-md) auto;
}

/* ── Ticker marquee ───────────────────────────────────── */
.ticker-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: var(--space-2xl);
  padding: var(--space-xs) 0;
  border-top: 1px solid rgba(237,232,223,0.12);
}

.ticker-marquee__track {
  display: flex;
  gap: var(--space-lg);
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-marquee__track span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,232,223,0.35);
}

.ticker-marquee__dot {
  color: var(--color-gold) !important;
  opacity: 0.6;
}

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

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background-color: var(--color-blue);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--transition), opacity var(--transition);
}

.btn:hover {
  background-color: var(--color-terracotta);
}

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

.btn--outline:hover {
  background-color: var(--color-blue);
  color: var(--color-cream);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  border-color: var(--color-cream);
  opacity: 0.85;
}

/* ── Section common ───────────────────────────────────── */
.section {
  padding-block: var(--space-xl);
}

.section--ruled {
  border-top: 1px solid var(--color-light-line);
}

.section__header {
  margin-bottom: var(--space-lg);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  margin-top: var(--space-xs);
  letter-spacing: -0.025em;
  color: var(--color-blue);
}

/* ── Origini (provenance storytelling) ────────────────── */
.origins__header {
  max-width: 60ch;
}

.origins__intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-top: var(--space-sm);
}

.origin-list {
  list-style: none;
}

.origin-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-light-line);
}

.origin-entry:last-child {
  border-bottom: 1px solid var(--color-light-line);
}

.origin-entry__number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.7;
}

.origin-entry__name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-xs);
}

.origin-entry__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 60ch;
}

@media (min-width: 768px) {
  .origin-entry {
    grid-template-columns: 120px 1fr;
    gap: var(--space-lg);
    align-items: start;
  }
}

/* ── Box Section ──────────────────────────────────────── */
.box-section {
  background-color: var(--color-cream);
}

.box-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .box-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.box-info__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.box-info__number {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

/* ── Edition seal (pure-CSS hallmark / wax-seal badge) ─── */
.edition-seal {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid var(--color-blue);
  box-shadow: inset 0 0 0 3px rgba(31,95,158,0.12), 0 0 0 1px var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

.edition-seal__line {
  font-family: var(--font-serif);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.edition-seal__line--main {
  font-size: 0.85rem;
}

.edition-seal__line--sub {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.box-info__title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
}

.box-info__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.box-info__desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 38ch;
  margin-bottom: var(--space-lg);
}

.box-info__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

.box-info__note {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* Secondary channel (WhatsApp) — quieter than the primary CTA */
.box-info__secondary {
  margin-top: var(--space-sm);
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.box-info__secondary a {
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-light-line);
  transition: color var(--transition), border-color var(--transition);
}

.box-info__secondary a:hover,
.box-info__secondary a:focus-visible {
  color: var(--color-charcoal);
  border-bottom-color: var(--color-charcoal);
}

/* ── Tasting notes (wine-style label/value pairs) ─────── */
.tasting-notes {
  border-top: 1px solid var(--color-light-line);
  border-bottom: 1px solid var(--color-light-line);
  padding-block: var(--space-md);
  margin-bottom: var(--space-lg);
}

.tasting-notes__heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.tasting-notes__row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--color-light-line);
}

.tasting-notes__row:first-of-type {
  border-top: none;
}

.tasting-notes__row dt {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.tasting-notes__row dd {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-charcoal);
  line-height: 1.6;
}

@media (min-width: 600px) {
  .tasting-notes__row {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-md);
  }

  .tasting-notes__row dt {
    flex: 0 0 9rem;
  }

  .tasting-notes__row dd {
    flex: 1;
  }
}

/* Ingredients list */
.ingredients {
  border-top: 1px solid var(--color-light-line);
}

.ingredients__heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: var(--space-md) 0 var(--space-sm);
}

.ingredients__list {
  list-style: none;
}

.ingredients__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-light-line);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  gap: var(--space-sm);
}

.ingredients__item-name {
  font-weight: 400;
}

.ingredients__item-detail {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: right;
  flex-shrink: 0;
}

.ingredients__item--special .ingredients__item-name {
  font-style: italic;
  color: var(--color-terracotta);
}

/* ── Details / Allergeni (elegant native disclosure) ──── */
.details {
  border-top: 1px solid var(--color-light-line);
  margin-top: var(--space-sm);
}

.details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  cursor: pointer;
  list-style: none;
}

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

.details__summary::marker {
  content: '';
}

.details__icon {
  position: relative;
  flex-shrink: 0;
  width: 0.8rem;
  height: 0.8rem;
}

.details__icon::before,
.details__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-charcoal);
  transition: transform var(--transition);
}

.details__icon::before {
  width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.details__icon::after {
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.details[open] .details__icon::before,
.details[open] .details__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.details[open] .details__icon::after {
  opacity: 0;
}

.details[open] .details__icon::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.details__content {
  padding-bottom: var(--space-md);
}

.details__content p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 56ch;
}

/* ── Il Rito dell'Apertura (unboxing storytelling) ────── */
.ritual {
  background-color: var(--color-cream);
}

.ritual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .ritual-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
  }
}

.ritual__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 50ch;
}

.ritual__body p + p {
  margin-top: var(--space-sm);
}

.ritual-list {
  list-style: none;
  border-top: 1px solid var(--color-light-line);
}

.ritual-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-light-line);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-charcoal);
}

.ritual-list__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-blue);
  flex-shrink: 0;
}

/* ── Chef Remo teaser ─────────────────────────────────── */
.chef-teaser {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

.chef-teaser .section__title {
  color: var(--color-cream);
}

.chef-teaser .label {
  color: var(--color-gold);
}

.chef-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .chef-teaser-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.chef-teaser__body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.7);
  max-width: 44ch;
  margin-bottom: var(--space-md);
}

.chef-teaser__body p + p {
  margin-top: var(--space-sm);
}

.chef-teaser__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.chef-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

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

.chef-avatar__initial {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 1;
}

.chef-avatar__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.7;
}

/* ── Manifesto / editorial column ─────────────────────── */
.philosophy {
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-light-line);
  border-bottom: 1px solid var(--color-light-line);
}

.editorial {
  max-width: 65ch;
  margin-inline: auto;
  text-align: left;
}

.editorial__title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-lg);
  color: var(--color-blue);
}

.editorial p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-charcoal);
  max-width: 65ch;
}

.editorial p + p {
  margin-top: var(--space-md);
}

/* Large decorative drop-cap on the opening paragraph */
.editorial p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 4.2em;
  line-height: 0.85;
  font-weight: 400;
  color: var(--color-terracotta);
  padding-right: 0.12em;
  margin-top: 0.05em;
}

/* Narrative lead / pull-quote — opens a story chapter */
.editorial__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

/* Never apply the drop-cap to the lead line */
.editorial__lead::first-letter {
  float: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  padding-right: 0;
  margin-top: 0;
}

.editorial__attr {
  margin-top: var(--space-lg);
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-light-line);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

@media (min-width: 600px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  transition: opacity var(--transition), transform 0.5s ease;
}

.footer__logo-img:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--color-muted);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}

.footer__links a:hover {
  color: var(--color-charcoal);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* ── Ornamental divider ────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: var(--space-sm) 0;
  pointer-events: none;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-light-line));
}

.ornament::after {
  background: linear-gradient(270deg, transparent, var(--color-light-line));
}

.ornament__mark {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
}

/* =========================================================
   AI CHEF PAGE — body/html overrides applied via class
   ========================================================= */

body.chef-page {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  height: 100%;
  overflow: hidden;
}

html.chef-page-html {
  height: 100%;
  overflow: hidden;
}

/* Top bar */
.chef-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  background-color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--space-md);
}

.chef-topbar__back {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chef-topbar__back:hover {
  color: var(--color-cream);
}

.chef-topbar__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-cream);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.chef-topbar__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.08em;
}

.chef-topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4CAF50;
}

/* Chat layout */
.chef-layout {
  display: flex;
  flex-direction: column;
  height: 100svh;
  padding-top: 56px;
}

.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.chat-area::-webkit-scrollbar {
  width: 4px;
}
.chat-area::-webkit-scrollbar-track {
  background: transparent;
}
.chat-area::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
  padding-bottom: var(--space-sm);
}

/* Message bubbles */
.message {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.message--chef {
  align-items: flex-start;
}

.message--user {
  align-items: flex-end;
}

.message__sender {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.message--chef .message__sender {
  color: var(--color-gold);
}

.message--user .message__sender {
  color: rgba(245, 240, 232, 0.4);
}

.message__bubble {
  max-width: 80%;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
}

.message--chef .message__bubble {
  background-color: rgba(245, 240, 232, 0.05);
  color: var(--color-cream);
  border-left: 2px solid var(--color-gold);
}

.message--user .message__bubble {
  background-color: rgba(245, 240, 232, 0.1);
  color: var(--color-cream);
  text-align: right;
}

/* Loading dots */
.message__loading {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.9rem 1.1rem;
  background-color: rgba(245, 240, 232, 0.05);
  border-left: 2px solid var(--color-gold);
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold);
  opacity: 0.4;
  animation: dotPulse 1.4s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40%           { opacity: 0.9; transform: scale(1);   }
}

/* Input area */
.chat-input-area {
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  background-color: var(--color-charcoal);
  padding: var(--space-sm) var(--space-md);
  flex-shrink: 0;
}

.chat-form {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background-color: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 0;
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  resize: none;
  min-height: 44px;
  max-height: 140px;
  line-height: 1.5;
  overflow-y: auto;
  transition: border-color var(--transition);
  outline: none;
}

.chat-input::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.chat-input:focus {
  border-color: rgba(201, 169, 110, 0.4);
}

.chat-send {
  background-color: var(--color-gold);
  color: var(--color-charcoal);
  border: none;
  border-radius: 0;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--transition), background-color var(--transition);
  white-space: nowrap;
  height: 44px;
  display: flex;
  align-items: center;
}

.chat-send:hover:not(:disabled) {
  background-color: var(--color-cream);
}

.chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-disclaimer {
  max-width: 720px;
  margin: 0.5rem auto 0;
  font-size: 0.68rem;
  color: rgba(245, 240, 232, 0.25);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Error state */
.message--error .message__bubble {
  border-left-color: var(--color-terracotta);
  color: rgba(245, 240, 232, 0.7);
}

/* ── Utility ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.text-gold    { color: var(--color-gold); }
.text-terra   { color: var(--color-terracotta); }
.text-muted   { color: var(--color-muted); }
.mt-sm        { margin-top: var(--space-sm); }
.mt-md        { margin-top: var(--space-md); }

/* ── Club / Membership section ────────────────────────── */
.club-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .club-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .club-option + .club-option {
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    padding-top: var(--space-lg);
  }
}

.club-option__heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.club-option__body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.7);
  max-width: 44ch;
  margin-bottom: var(--space-sm);
}

.club-option__price {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.club-coming-soon {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-top: var(--space-lg);
}

/* ── MailerLite waitlist embed — coherent with dark club section ── */
.ml-embed {
  max-width: 420px;
}

/* Coax the pasted MailerLite form toward the site's look */
.ml-embed input[type="email"],
.ml-embed input[type="text"] {
  width: 100%;
  background-color: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.18);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0;
  margin-bottom: 0.6rem;
}

.ml-embed input::placeholder {
  color: rgba(245, 240, 232, 0.4);
}

.ml-embed input:focus-visible {
  outline: none;
  border-color: var(--color-gold);
}

.ml-embed button,
.ml-embed input[type="submit"] {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  background-color: var(--color-gold);
  border: none;
  border-radius: 0;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: opacity var(--transition);
}

.ml-embed button:hover,
.ml-embed input[type="submit"]:hover {
  opacity: 0.85;
}

/* ── Editorial image strip ───────────────────────────── */
.editorial-image {
  overflow: hidden;
  line-height: 0;
}

.editorial-image__figure {
  position: relative;
  margin: 0;
}

.editorial-image__img {
  width: 100%;
  height: 80vh;
  min-height: 420px;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.editorial-image__caption {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ── Product image grid ───────────────────────────────── */
.product-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.product-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--color-charcoal);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease, opacity 0.3s ease;
}

.product-image img:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

@media (max-width: 600px) {
  .product-images {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .product-image {
    aspect-ratio: 4 / 3;
  }
  .editorial-image__img {
    height: 56vw;
    min-height: 280px;
  }
}

/* ── About page ───────────────────────────────────────── */
.about-editorial {
  max-width: 720px;
}

.about-editorial .editorial {
  margin-inline: 0;
}

.about-editorial .editorial p {
  color: var(--color-charcoal);
}

.chef-teaser .about-editorial .editorial p {
  color: rgba(245, 240, 232, 0.75);
}

/* ── Custom cursor ────────────────────────────────────── */
.cursor,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-terracotta);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(31,95,158,0.35);
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 4px;
  height: 4px;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--color-gold);
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}

/* ── Scroll reveal ────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="delay-1"] { transition-delay: 0.1s; }
[data-reveal="delay-2"] { transition-delay: 0.2s; }
[data-reveal="delay-3"] { transition-delay: 0.3s; }

/* ── Hero Remo teaser ─────────────────────────────────── */
.hero-remo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-lg);
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(219,169,69,0.2);
  background-color: rgba(219,169,69,0.04);
  max-width: 480px;
  margin-inline: auto;
  text-align: left;
  transition: border-color var(--transition);
}

.hero-remo:hover {
  border-color: rgba(219,169,69,0.45);
}

.hero-remo__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold);
}

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

.hero-remo__quote {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(237,232,223,0.65);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.hero-remo__link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  transition: opacity var(--transition);
}

.hero-remo__link:hover {
  opacity: 0.7;
}

/* ── Remo popup ───────────────────────────────────────── */
.remo-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  background-color: #141310;
  border: 1px solid rgba(219,169,69,0.25);
  padding: 1.4rem 1.4rem 1.4rem 1.2rem;
  max-width: 300px;
  width: calc(100vw - 3rem);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.remo-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.remo-popup.is-gone {
  display: none;
}

.remo-popup__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  background: none;
  border: none;
  color: rgba(237,232,223,0.35);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  transition: color var(--transition);
}

.remo-popup__close:hover {
  color: var(--color-cream);
}

.remo-popup__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold);
}

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

.remo-popup__name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.remo-popup__message {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(237,232,223,0.75);
  margin-bottom: 0.9rem;
}

.remo-popup__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-charcoal);
  background-color: var(--color-gold);
  padding: 0.5rem 1rem;
  transition: opacity var(--transition);
}

.remo-popup__cta:hover {
  opacity: 0.85;
}

/* ── Nav links (desktop default) ─────────────────────── */
.nav__links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* =========================================================
   MOBILE — comprehensive overrides
   ========================================================= */

@media (max-width: 767px) {

  /* Reduce section whitespace */
  .section { padding-block: var(--space-lg); }
  .section--ruled { border-top: 1px solid var(--color-light-line); }

  /* ── Nav ── */
  .nav { padding: 0.75rem 0; }

  .nav__logo-img {
    width: 34px;
    height: 34px;
  }

  /* ── Hero badge ── */
  .hero-badge__img {
    width: 100px;
    height: 100px;
  }

  .nav__links {
    gap: var(--space-sm);
  }

  .nav__link {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  /* ── Hero ── */
  .hero {
    padding-top: 5rem;
    padding-inline: 1.25rem;
    min-height: 100svh;
  }

  .hero__inner {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2rem, 9.5vw, 3rem);
    letter-spacing: -0.02em;
  }

  .hero__sub {
    font-size: 0.9rem;
  }

  /* Hero Remo teaser */
  .hero-remo {
    flex-direction: row;
    max-width: 100%;
    padding: 0.9rem 1rem;
    text-align: left;
    margin-top: var(--space-md);
  }

  .hero-remo__avatar {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .hero-remo__quote {
    font-size: 0.78rem;
  }

  /* Ticker */
  .ticker-marquee { margin-top: var(--space-lg); }

  /* ── Typography scale ── */
  .section__title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .editorial__title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .box-info__title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  h1, h2, h3 { letter-spacing: -0.02em; }

  /* ── Origins / Crossing ── */
  .origin-entry {
    padding-block: var(--space-md);
  }

  .origin-entry__number {
    font-size: 2.8rem;
  }

  /* ── Box section ── */
  .box-info__head {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .edition-seal {
    width: 70px;
    height: 70px;
  }

  /* ── Product images ── */
  .product-images {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  /* ── Remo popup — full-width strip at bottom ── */
  .remo-popup {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
    width: auto;
    padding: 1rem;
  }

  /* ── Footer ── */
  .footer__inner {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .footer__links {
    gap: var(--space-sm);
    flex-wrap: wrap;
  }

  /* ── Ritual list ── */
  .ritual-list li {
    font-size: 0.9rem;
  }

  /* ── Club ── */
  .club-option__body {
    max-width: none;
  }

  /* ── Chef teaser ── */
  .chef-teaser__body {
    max-width: none;
  }

  /* ── Editorial ── */
  .editorial p {
    font-size: 1rem;
  }

  /* ── About ── */
  .about-editorial {
    max-width: 100%;
  }
}

/* ── Our Story ──────────────────────────────────────── */
.our-story {
  background-color: var(--color-charcoal);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.our-story__header {
  text-align: center;
  padding-bottom: 0;
}

.our-story__main-figure {
  margin: var(--space-xl) auto 0;
  max-width: 520px;
}

.our-story__main-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.our-story__main-caption {
  max-width: 520px;
  margin: var(--space-md) auto var(--space-xl);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.7);
  text-align: center;
}

.our-story__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--space-lg);
}

.our-story__gallery-item {
  margin: 0;
}

.our-story__gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 2px;
}

.our-story__gallery-item figcaption {
  margin-top: 0.6rem;
  font-size: 0.62rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
}

@media (max-width: 767px) {
  .our-story__main-figure {
    max-width: 100%;
  }

  .our-story__gallery {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .our-story__gallery-img {
    aspect-ratio: 16/9;
  }
}

/* ── Shop grid ────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-light-line);
  border-left: 1px solid var(--color-light-line);
}

@media (min-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shop-product {
  padding: var(--space-md);
  border-right: 1px solid var(--color-light-line);
  border-bottom: 1px solid var(--color-light-line);
  display: flex;
  flex-direction: column;
}

.shop-product__origin {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.shop-product__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.shop-product__desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: auto;
  padding-bottom: var(--space-sm);
}

.shop-product__price {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-top: var(--space-sm);
}

.shop-product--highlight .shop-product__name {
  color: var(--color-blue);
}

/* ── Zakelijk (B2B, NL) ─────────────────────────────── */
.zakelijk__pitch {
  color: var(--color-muted);
  max-width: 60ch;
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  line-height: 1.75;
}

.zakelijk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .zakelijk-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-xl);
    align-items: start;
  }
}

.zakelijk-services {
  list-style: none;
  border-top: 1px solid var(--color-light-line);
}

.zakelijk-services li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) 1.8rem;
  border-bottom: 1px solid var(--color-light-line);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-charcoal);
}

.zakelijk-services li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: var(--space-sm);
  color: var(--color-gold);
  font-size: 0.8rem;
}

.zakelijk-tiers {
  border: 1px solid var(--color-light-line);
  padding: var(--space-md);
  background-color: rgba(200, 146, 42, 0.04);
}

.zakelijk-tiers__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.zakelijk-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  padding: 0.7rem 0;
  border-top: 1px solid var(--color-light-line);
}

.zakelijk-tier:first-of-type {
  border-top: none;
}

.zakelijk-tier span:first-child {
  font-weight: 600;
  color: var(--color-charcoal);
}

.zakelijk-tier span:last-child {
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-align: right;
}

.zakelijk-tiers__note {
  margin-top: var(--space-sm);
  font-size: 0.72rem;
  color: var(--color-muted);
}

/* ── Very small screens (< 400px) ── */
@media (max-width: 399px) {
  .nav__link:nth-child(3),
  .nav__link:nth-child(4),
  .nav__link:nth-child(5) {
    display: none;
  }

  .hero__title {
    font-size: 1.9rem;
  }
}
