:root {
  --red: #e31e2c;
  --red-dark: #b8141f;
  --ink: #161412;
  --ink-soft: #4a4540;
  --cream: #faf5ec;
  --sand: #f1e7d6;
  --pepper: #3b2a1e;
  --white: #fff;
  --radius: 20px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 50px -20px rgba(40, 20, 10, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1rem; }
h1 em, h2 em { font-style: italic; color: var(--red); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-dark); margin-bottom: .9rem; }
.eyebrow--light { color: #ffd2d5; }
.section-title { text-align: center; max-width: 18ch; margin: 0 auto 3rem; }
.section-title--left { text-align: left; margin: 0; max-width: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, color .2s, box-shadow .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px var(--red); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--red); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--red); }
.btn--sm { padding: .6rem 1.15rem; font-size: .9rem; }
.link-arrow { display: inline-block; margin-top: 1.5rem; font-weight: 600; color: var(--red); text-decoration: none; border-bottom: 2px solid currentColor; }
.link-arrow::after { content: " →"; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 236, .9); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--red); transition: width .25s; }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero h1 em { display: block; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Marquee */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 1.1rem 0; }
.marquee__track { display: flex; width: max-content; transform: translateX(calc(var(--mq, 0) * -1px)); will-change: transform; }
.marquee span { font-family: var(--serif); font-size: 1.4rem; font-style: italic; padding: 0 2rem; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--red); font-style: normal; margin-left: 4rem; }

/* Pillars */
.pillars { padding: clamp(4rem, 9vw, 7rem) 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar svg { width: 46px; height: 46px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 1.2rem; }
.pillar h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.pillar p { color: var(--ink-soft); font-size: .95rem; }

/* Feature (pepper) */
.feature { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature__img { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.feature__img:hover img { transform: scale(1.06); }
.feature__text > p { color: var(--ink-soft); max-width: 50ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips li { background: var(--sand); color: var(--pepper); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500; }

/* KOGI */
.kogi { background: var(--red); color: var(--white); padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }
.kogi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 10% 90%, rgba(0,0,0,.18), transparent 45%); pointer-events: none; }
.kogi .wrap { position: relative; }
.kogi__head { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); margin-bottom: 3.5rem; }
.kogi__head img { width: clamp(130px, 18vw, 210px); background: var(--white); border-radius: 50%; padding: 1.4rem; flex-shrink: 0; }
.kogi__head p:last-child { font-size: 1.1rem; opacity: .92; max-width: 50ch; }
.kogi__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.kcard { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 1.2rem 1rem 1rem; text-align: center; transition: transform .3s, background .3s; }
.kcard:hover { transform: translateY(-8px) rotate(-1deg); background: rgba(255,255,255,.2); }
.kcard img { filter: drop-shadow(0 14px 16px rgba(0,0,0,.3)); margin-bottom: .8rem; }
.kcard figcaption { font-weight: 600; font-size: .9rem; line-height: 1.3; }

/* Local / supply */
.local { padding: clamp(4rem, 9vw, 7rem) 0; }
.local__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.local__text > p { color: var(--ink-soft); max-width: 46ch; }
.supply { list-style: none; counter-reset: s; margin-top: 2rem; display: grid; gap: .8rem; }
.supply li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; background: var(--white); border-radius: 14px; padding: 1rem 1.2rem; }
.supply li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--serif); font-size: 1.8rem; font-weight: 800; color: var(--red); }
.supply span { color: var(--ink-soft); font-size: .9rem; }
.local__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.local__photos img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.local__photos img:last-child { margin-top: 3rem; }

/* Catalogue */
.catalogue { background: var(--white); padding: clamp(4rem, 9vw, 7rem) 0; }
.catalogue__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.search input { width: min(340px, 80vw); padding: .9rem 1.2rem .9rem 2.8rem; border: 2px solid var(--sand); border-radius: 999px; font: inherit; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161412' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1rem center / 18px; }
.search input:focus { outline: none; border-color: var(--red); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.tab { border: 2px solid var(--sand); background: transparent; padding: .55rem 1.1rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tab small { opacity: .6; font-weight: 500; margin-left: .3rem; }
.catalogue__count { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.plist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.plist li { background: var(--cream); border-radius: 12px; padding: .85rem 1rem; display: flex; flex-direction: column; animation: pop .35s both; }
.plist li strong { font-weight: 600; font-size: .95rem; }
.plist li span { font-size: .75rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.plist .empty { grid-column: 1 / -1; text-align: center; background: none; color: var(--ink-soft); }
.catalogue__note { margin-top: 2rem; color: var(--ink-soft); }
.catalogue__note a { color: var(--red); font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* Contact */
.contact { background: var(--ink); color: var(--white); padding: clamp(4rem, 9vw, 7rem) 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.contact__text > p { opacity: .8; max-width: 42ch; margin-bottom: 2rem; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.contact .btn--white { background: var(--red); color: var(--white); }
.contact .btn--white:hover { background: var(--red-dark); }
address { font-style: normal; opacity: .75; line-height: 1.8; }
.contact__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Footer */
.footer { background: var(--cream); padding: 2rem 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-soft); }
.footer img { height: 44px; width: auto; }

/* WhatsApp float */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; fill: var(--white); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.kogi__grid .reveal:nth-child(2), .pillars__grid .reveal:nth-child(2) { transition-delay: .08s; }
.kogi__grid .reveal:nth-child(3), .pillars__grid .reveal:nth-child(3) { transition-delay: .16s; }
.kogi__grid .reveal:nth-child(4), .pillars__grid .reveal:nth-child(4) { transition-delay: .24s; }
.kogi__grid .reveal:nth-child(5) { transition-delay: .32s; }
.kogi__grid .reveal:nth-child(6) { transition-delay: .4s; }
.kogi__grid .reveal:nth-child(7) { transition-delay: .48s; }
.kogi__grid .reveal:nth-child(8) { transition-delay: .56s; }

/* Responsive */
@media (max-width: 1000px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .kogi__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 1.4rem; padding: 2rem; background: var(--cream); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility 0s .35s; z-index: -1; }
  .nav.is-open .nav__links { transform: none; visibility: visible; transition: transform .35s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__inner, .feature__inner, .local__inner, .contact__inner { grid-template-columns: 1fr; }
  .kogi__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .kogi__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Products teaser (home) */
.teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.teaser a { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; }
.teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.teaser a:hover img { transform: scale(1.06); }
.teaser span { position: absolute; left: .8rem; bottom: .8rem; background: var(--white); padding: .4rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 6px 16px -6px rgba(0,0,0,.3); }
@media (max-width: 820px) { .teaser { grid-template-columns: repeat(2, 1fr); } }

/* Custom blends */
.blends { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--sand); }
.blends__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.blends__head p:last-child { color: var(--ink-soft); font-size: 1.05rem; }
.blends__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.blend { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: center; background: var(--white); border-radius: var(--radius); padding: 1.5rem; transition: transform .3s, box-shadow .3s; }
.blend:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blend img { width: 150px; height: 150px; object-fit: cover; border-radius: 16px; background: var(--cream); }
.blend:first-child img { object-fit: contain; padding: .4rem; }
.blend h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.blend p { color: var(--ink-soft); font-size: .95rem; }
.blends__steps { list-style: none; counter-reset: b; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.blends__steps li { counter-increment: b; display: grid; gap: .1rem; padding: 1.1rem 1.2rem 1.1rem 4rem; position: relative; border-top: 2px solid var(--red); }
.blends__steps li::before { content: counter(b); position: absolute; left: 1rem; top: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-weight: 800; }
.blends__steps span { color: var(--ink-soft); font-size: .9rem; }
.blends__cta { text-align: center; margin-top: 2.5rem; }
@media (max-width: 820px) {
  .blends__grid, .blends__steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .blend { grid-template-columns: 1fr; text-align: left; }
  .blend img { width: 100%; height: 180px; }
}

/* KOGI cards as buttons */
button.kcard { font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
button.kcard:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.kcard__cap { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.kcard__cap::after { content: " →"; opacity: 0; transition: opacity .2s; }
.kcard:hover .kcard__cap::after { opacity: 1; }

/* FOOD OPTION 3: dish band in the KOGI section */
.foodband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.foodband figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 50px -25px rgba(0,0,0,.6); }
.foodband img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.foodband figure:hover img { transform: scale(1.05); }
.foodband figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--white); color: var(--ink); padding: .4rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }

/* FOOD OPTION 1: coat → fry pairs in blend cards */
.blend { grid-template-columns: 260px 1fr; }
.blend__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: relative; }
.blend__pair::after { content: "→"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 14px -4px rgba(0,0,0,.35); }
.blend__pair figure { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.blend__pair img { width: 100% !important; height: 100% !important; object-fit: cover !important; padding: 0 !important; border-radius: 0 !important; }
.blend__pair figcaption { position: absolute; left: .5rem; bottom: .5rem; background: rgba(255,255,255,.92); padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1000px) { .blend { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .foodband { grid-template-columns: 1fr; }
  .foodband figure { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) { .blend img { height: auto; } }

/* Phone only: smaller food photos */
@media (max-width: 520px) {
  /* Dish band: 3 small tiles in one row instead of 3 full-width photos stacked */
  .foodband { grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.8rem; }
  .foodband figure { aspect-ratio: 1; border-radius: 14px; }
  .foodband figcaption { left: .35rem; right: .35rem; bottom: .35rem; padding: .2rem .4rem; font-size: .68rem; text-align: center; }
  /* Blend cards: shrink the Dip → Fry / Whole → Ground pair and centre it */
  .blend__pair { max-width: 230px; margin-inline: auto; }
  .blend__pair::after { width: 28px; height: 28px; font-size: .85rem; }
  .blend__pair figcaption { font-size: .62rem; }
}
