:root {
  --cream: #f2e8d5;
  --cream-2: #e9dcc2;
  --ink: #1c120d;
  --ink-soft: #5a4636;
  --red: #c1272d;
  --red-deep: #8f1a1f;
  --green: #006233;
  --gold: #e0a64b;
  --gold-light: #f3c977;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-ar: "Amiri", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
::selection { background: var(--red); color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.eyebrow--light { color: var(--gold-light); }

.h2 {
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: .95; font-weight: 700;
  letter-spacing: -.035em;
}
.h2 em { color: var(--red); letter-spacing: -.01em; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 600; font-size: 15px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--small { padding: 12px 20px; font-size: 14px; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: var(--cream); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s;
  will-change: transform;
}
.cursor__label {
  font-size: 13px; font-weight: 700; color: var(--cream);
  opacity: 0; transition: opacity .2s;
}
.cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 28px;
}
.preloader__inner { display: flex; align-items: baseline; gap: 28px; }
.preloader__ar { font-family: var(--f-ar); font-size: clamp(3rem, 9vw, 7rem); color: var(--gold); line-height: 1; }
.preloader__count { font-size: clamp(1.2rem, 2.5vw, 2rem); font-variant-numeric: tabular-nums; opacity: .7; }
.preloader__bar { width: min(320px, 60vw); height: 2px; background: rgba(242,232,213,.15); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  transition: transform .6s var(--ease), background .4s;
}
.nav.is-scrolled {
  background: rgba(242, 232, 213, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.nav__logo sup { font-size: 10px; }
.nav__links { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 820px) { .nav__links { display: none; } }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__tag {
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px;
}
.hero__title {
  font-size: clamp(4rem, 19vw, 28rem);
  white-space: nowrap;
  font-weight: 800; line-height: .82;
  letter-spacing: -.055em;
  text-align: center;
  margin: 4vh 0;
  position: relative; z-index: 1;
}
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.char { display: inline-block; will-change: transform; }

.hero__visual {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  width: clamp(150px, 20vw, 300px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero__msemen {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 30px rgba(90, 50, 10, .3));
}

.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
  position: relative; z-index: 3;
}
.hero__lead { max-width: 440px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.35; }
.hero__lead em { color: var(--red); font-size: 1.15em; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-soft);
}
.hero__scroll span { width: 1.5px; height: 46px; background: currentColor; transform-origin: top; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 820px) { .hero__scroll { display: none; } }

.marquee {
  background: var(--red); color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.04);
  margin: 40px 0;
  position: relative; z-index: 4;
}
.marquee__track {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.03em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}
.marquee__track i { font-style: normal; color: var(--gold-light); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.js .marquee__track { animation: none; }

.manifesto { padding: clamp(100px, 16vh, 200px) var(--gutter); }
.manifesto__text {
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  line-height: 1.12; font-weight: 600; letter-spacing: -.025em;
  max-width: 1400px;
}
.manifesto__text .word { display: inline-block; opacity: .14; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(80px, 12vh, 140px);
  border-top: 1.5px solid var(--ink);
}
.stat { padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--red); }
.stat__label { color: var(--ink-soft); max-width: 220px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

.recipe { background: var(--ink); color: var(--cream); overflow: hidden; }
.recipe__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: 56px;
  padding: 100px 0 80px;
}
.recipe__head { padding: 0 var(--gutter); }
.recipe .eyebrow { color: var(--gold); }
.recipe .h2 em { color: var(--gold); }
.recipe__track {
  display: flex; gap: 22px;
  padding: 0 var(--gutter);
  width: max-content;
}
.step {
  width: clamp(280px, 30vw, 400px);
  min-height: 360px;
  padding: 32px;
  border-radius: var(--radius);
  background: #2a1c15;
  border: 1px solid rgba(242,232,213,.08);
  display: flex; flex-direction: column; gap: 16px;
  flex-shrink: 0;
}
.step__num { font-family: var(--f-serif); font-style: italic; font-size: 4.5rem; line-height: 1; color: var(--gold); }
.step h3 { font-size: 2rem; letter-spacing: -.03em; line-height: 1; }
.step p { color: rgba(242,232,213,.72); }
.step em { color: var(--gold-light); }
.step--ingredients { background: var(--gold); color: var(--ink); }
.step--ingredients .step__num { color: var(--red-deep); }
.step--ingredients ul { list-style: none; display: grid; gap: 8px; }
.step--ingredients li { border-bottom: 1px solid rgba(28,18,13,.18); padding-bottom: 8px; }
.step--ingredients li.sep { border: 0; font-size: 14px; opacity: .8; }
.step--last { background: var(--red); }
.step--last p { color: var(--cream); }

.step--photo {
  position: relative; isolation: isolate; overflow: hidden;
  background-size: cover; background-position: center;
  justify-content: flex-end;
}
.step--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,18,13,.15) 0%, rgba(28,18,13,.55) 45%, rgba(28,18,13,.95) 100%);
}
.step--photo .step__num { margin-bottom: auto; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.step--photo p { color: rgba(242,232,213,.9); }
.step--last.step--photo::before {
  background: linear-gradient(180deg, rgba(193,39,45,.1) 0%, rgba(143,26,31,.7) 45%, rgba(143,26,31,.97) 100%);
}

@media (max-width: 820px) {
  .recipe__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .step { scroll-snap-align: start; width: 82vw; }
}

.variants { padding: clamp(100px, 16vh, 180px) var(--gutter); }
.variants__head { margin-bottom: 60px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.filter {
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 15px; font-weight: 600;
  transition: background .3s, color .3s;
}
.filter:hover { background: var(--cream-2); }
.filter.is-active { background: var(--ink); color: var(--cream); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}
.card {
  background: #fbf5ea;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(28,18,13,.08);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .5s var(--ease);
}
.card:hover { box-shadow: 0 30px 60px -20px rgba(90, 50, 10, .35); }
.card.is-hidden { display: none; }
.card__visual {
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 60%, #f5d9a4 0%, var(--cream-2) 70%);
  display: grid; place-items: center;
  overflow: hidden;
}
.card__visual svg {
  width: 62%; height: 80%;
  filter: drop-shadow(0 18px 22px rgba(90, 50, 10, .3));
  transition: transform .9s var(--ease);
}
.card:hover .card__visual svg { transform: rotate(-10deg) scale(1.08); }
.card__visual--photo { background: var(--cream-2); }
.card__visual--photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter .6s;
  filter: saturate(1.05) contrast(1.03);
}
.card:hover .card__visual--photo img { transform: scale(1.1); filter: saturate(1.2) contrast(1.05); }
.card__body { padding: 26px 26px 30px; position: relative; }
.card__ar { position: absolute; right: 26px; top: 22px; font-family: var(--f-ar); font-size: 1.5rem; color: var(--red); }
.card h3 { font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 10px; padding-right: 90px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card__tag {
  display: inline-block; margin-top: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--green); color: var(--cream);
}

.n48 {
  position: relative;
  background: var(--ink); color: var(--cream);
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
  overflow: hidden;
}
.n48__text { position: relative; z-index: 2; }
.n48 .h2 em { color: var(--gold); }
.n48__text p { margin-top: 32px; max-width: 480px; font-size: 1.15rem; color: rgba(242,232,213,.75); }
.n48__text p em { color: var(--gold-light); font-size: 1.2em; }
.n48__figure { position: relative; z-index: 2; }
.n48__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.n48__img-wrap img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.n48__figure figcaption {
  display: flex; justify-content: space-between; gap: 10px; margin-top: 14px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,232,213,.6);
}
.n48__big {
  position: absolute; z-index: 1;
  right: -4vw; bottom: -10vw;
  font-size: clamp(20rem, 55vw, 60rem); font-weight: 800; line-height: .8; letter-spacing: -.08em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(224, 166, 75, .25);
  pointer-events: none;
}
@media (max-width: 820px) { .n48 { grid-template-columns: 1fr; } }

.pairings { padding: clamp(100px, 16vh, 180px) var(--gutter); }
.pairings__list { list-style: none; border-top: 1.5px solid var(--ink); }
.pairings__list li {
  position: relative; isolation: isolate;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding: clamp(18px, 3vh, 30px) 8px;
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  transition: color .5s var(--ease), padding .5s var(--ease);
}
.pairings__list li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.pairings__list li:hover { color: var(--cream); padding-left: 28px; }
.pairings__list li:hover::before { transform: scaleY(1); }
.pairings__list span { font-size: clamp(2rem, 5.5vw, 5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.pairings__list small { font-family: var(--f-serif); font-style: italic; font-size: clamp(1rem, 1.8vw, 1.5rem); }

.footer { background: var(--red); color: var(--cream); padding: 100px var(--gutter) 28px; overflow: hidden; }
.footer__cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer__ar { font-family: var(--f-ar); font-size: clamp(3.5rem, 10vw, 8rem); line-height: 1.1; color: var(--gold-light); }
.footer__sub { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; margin-bottom: 18px; }
.footer__giant {
  font-size: clamp(4rem, 21vw, 28rem); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  text-align: center; margin: 80px 0 30px;
}
.footer__meta {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 13px; opacity: .8;
  border-top: 1px solid rgba(242,232,213,.3); padding-top: 18px;
}

.footer__credits { margin-top: 18px; font-size: 12px; opacity: .75; line-height: 1.7; }
.footer__credits summary { cursor: pointer; font-weight: 600; }
.footer__credits ul { list-style: none; margin-top: 8px; columns: 2 280px; }
.footer__credits a { text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__scroll span { animation: none; }
  .manifesto__text .word { opacity: 1; }
}
