:root {
  --cream: #f6efe6;
  --paper: #fbf7f1;
  --sand: #e9dccb;
  --espresso: #2b1d16;
  --roast: #4a3226;
  --caramel: #c0854a;
  --caramel-dark: #a46a33;
  --sage: #7d8b6a;
  --text: #3a2c24;
  --muted: #7a6a5e;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(43, 29, 22, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--espresso); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.02em; }
h1 em { font-style: italic; color: var(--caramel); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 1rem; background: var(--espresso); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--caramel); margin-bottom: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; background: var(--espresso); color: var(--cream); text-decoration: none; font-weight: 600; border: 2px solid var(--espresso); cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.btn:hover { background: var(--caramel); border-color: var(--caramel); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { color: var(--cream); }
.btn--small { padding: .55rem 1.2rem; font-size: .92rem; }
.btn--full { width: 100%; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 239, 230, .85); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(43, 29, 22, .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--espresso); }
.logo svg { width: 30px; height: 30px; color: var(--caramel); }
.logo--light { color: var(--cream); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--caramel); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--espresso); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.stats { display: flex; gap: 2.5rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--espresso); line-height: 1; }
.stats span { font-size: .88rem; color: var(--muted); }
.hero__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero__art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #e7c9a2, var(--caramel) 70%); }
.cup { position: relative; width: 78%; margin-top: 18%; filter: drop-shadow(0 20px 30px rgba(43, 29, 22, .25)); }
.steam { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; z-index: 1; }
.steam span { width: 10px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .75); filter: blur(6px); animation: steam 3.2s ease-in-out infinite; }
.steam span:nth-child(2) { animation-delay: .8s; height: 90px; }
.steam span:nth-child(3) { animation-delay: 1.6s; }
@keyframes steam { 0% { transform: translateY(20px) scaleX(1); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-50px) scaleX(2.2); opacity: 0; } }
.badge { position: absolute; right: 2%; top: 12%; width: 120px; height: 120px; border-radius: 50%; background: var(--espresso); color: var(--cream); display: grid; place-items: center; text-align: center; font-size: .78rem; line-height: 1.25; transform: rotate(12deg); box-shadow: var(--shadow); }
.badge strong { font-family: var(--serif); font-size: 1rem; color: var(--caramel); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--dark { background: var(--espresso); color: #e8dccd; }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--soft { background: var(--sand); }
.section__head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section__head p:last-child { color: var(--muted); }
.section--dark .section__head p:last-child { color: #bfae9d; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__media { position: relative; min-height: 460px; }
.frame { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: flex-end; padding: 1rem; overflow: hidden; }
.frame span { background: rgba(251, 247, 241, .9); padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 500; }
.frame--a { inset: 0 18% 18% 0; background:
  radial-gradient(circle at 70% 30%, rgba(255, 220, 170, .55), transparent 45%),
  repeating-linear-gradient(90deg, #6b4632 0 38px, #5c3b2a 38px 40px),
  var(--roast); }
.frame--b { inset: 45% 0 0 40%; background:
  radial-gradient(circle at 50% 55%, #3a2419 0 22%, #c0854a 23% 26%, transparent 27%),
  linear-gradient(135deg, var(--sage), #5d6a4c); border: 6px solid var(--cream); }
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.values li { padding-left: 1.4rem; border-left: 3px solid var(--caramel); }
.values strong { display: block; font-family: var(--serif); color: var(--espresso); font-size: 1.1rem; }
.values span { color: var(--muted); font-size: .95rem; }

/* Menu */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.tabs button { font: inherit; font-weight: 500; padding: .65rem 1.3rem; border-radius: 999px; border: 1px solid rgba(246, 239, 230, .25); background: transparent; color: #e8dccd; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { border-color: var(--caramel); }
.tabs button[aria-selected="true"] { background: var(--caramel); border-color: var(--caramel); color: var(--espresso); }
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 3.5rem; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.item { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px dashed rgba(246, 239, 230, .18); }
.item h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.item p { margin: 0; color: #bfae9d; font-size: .94rem; }
.price { font-family: var(--serif); font-size: 1.15rem; color: var(--caramel); white-space: nowrap; }
.tag { font-family: var(--sans); font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--sage); color: var(--cream); padding: .15rem .55rem; border-radius: 999px; vertical-align: middle; margin-left: .4rem; }
.note { text-align: center; margin-top: 2.5rem; color: #bfae9d; font-size: .9rem; }

/* Steps & origins */
.steps { list-style: none; padding: 0; margin: 0 0 4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); transition: transform .3s; }
.step:hover { transform: translateY(-6px); }
.step__num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--caramel); line-height: 1; margin-bottom: 1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.origins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.origin { position: relative; border-radius: var(--radius); padding: 2rem; color: var(--cream); background: var(--c); overflow: hidden; }
.origin::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 200px; border-radius: 50%; background: rgba(0, 0, 0, .14); transform: rotate(30deg); }
.origin h3 { color: var(--cream); font-size: 1.6rem; }
.origin__country { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; opacity: .85; margin-bottom: .4rem; }
.origin span { font-size: .85rem; opacity: .8; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.tile { margin: 0; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s; }
.tile:hover { transform: scale(1.02); }
.tile figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; color: var(--cream); font-weight: 500; font-size: .92rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.tile--1 { grid-column: span 2; grid-row: span 2; background:
  radial-gradient(ellipse at 50% 110%, rgba(0, 0, 0, .55), transparent 60%),
  radial-gradient(circle at 75% 25%, #f5d7a9 0 6%, transparent 30%),
  linear-gradient(160deg, #8a5a44, #3a2419); }
.tile--2 { background:
  radial-gradient(circle at 50% 50%, #fbf1e4 0 12%, #c99a6b 13% 18%, #fbf1e4 19% 23%, #6b4026 24% 40%, #e9dccb 41% 46%, transparent 47%),
  var(--sage); }
.tile--3 { background:
  radial-gradient(ellipse at 40% 55%, #e0a35e 0 18%, transparent 19%),
  radial-gradient(ellipse at 65% 45%, #d39250 0 16%, transparent 17%),
  linear-gradient(135deg, #f0e2cd, #d9c3a3); }
.tile--3 figcaption { color: var(--espresso); text-shadow: none; }
.tile--4 { grid-column: span 2; background:
  radial-gradient(circle, #3a2419 2px, transparent 3px) 0 0 / 18px 18px,
  linear-gradient(135deg, #6b4632, #2b1d16); }
.tile--5 { grid-column: span 2; background:
  radial-gradient(circle at 30% 50%, #fff7ea 0 14%, transparent 15%),
  radial-gradient(circle at 30% 50%, #f2b33d 0 5%, transparent 6%),
  radial-gradient(circle at 70% 50%, #a8c08a 0 12%, transparent 13%),
  linear-gradient(135deg, var(--caramel), var(--caramel-dark)); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -.3rem; right: 1.2rem; font-family: var(--serif); font-size: 5rem; color: var(--sand); line-height: 1; }
.quote p { font-family: var(--serif); font-size: 1.12rem; color: var(--espresso); position: relative; }
.quote footer { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* Infos */
.infos { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 3rem; }
.infos address { font-style: normal; margin-bottom: 1rem; }
.infos a { color: var(--caramel); text-decoration: none; }
.infos a:hover { text-decoration: underline; }
.open-status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, #888); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid rgba(246, 239, 230, .12); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { color: var(--caramel); font-weight: 600; }
.hours tr.is-today th { font-weight: 600; }
.access { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.access strong { display: block; color: var(--cream); }

/* Form */
.split--form { align-items: start; }
.form { background: var(--paper); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 500; font-size: .92rem; color: var(--espresso); }
.row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
input, select, textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--sand); border-radius: 10px; background: #fff; color: var(--text); transition: border-color .2s; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--caramel); }
.field.has-error input, .field.has-error select { border-color: #b3412f; }
.form__error { color: #b3412f; font-size: .9rem; min-height: 1.2em; margin: 0 0 .8rem; }

/* Newsletter */
.newsletter { background: var(--caramel); padding: 3.5rem 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter h2 { font-size: 1.9rem; margin-bottom: .3rem; }
.newsletter p { margin: 0; color: var(--espresso); }
.newsletter__form { display: flex; gap: .6rem; flex: 1; max-width: 460px; }
.newsletter__form input { border-color: transparent; border-radius: 999px; padding-inline: 1.2rem; }

/* Footer */
.footer { background: var(--espresso); color: #bfae9d; padding: 4rem 0 2rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__inner p { margin-top: 1rem; font-size: .92rem; }
.footer nav { display: grid; gap: .5rem; align-content: start; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--caramel); }
.socials { display: flex; gap: .8rem; align-items: start; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(246, 239, 230, .2); display: grid; place-items: center; color: var(--cream); transition: background .2s; }
.socials a:hover { background: var(--caramel); }
.socials svg { width: 18px; height: 18px; }
.footer__legal { border-top: 1px solid rgba(246, 239, 230, .1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: var(--espresso); color: var(--cream); padding: .9rem 1.4rem; border-radius: 12px; box-shadow: var(--shadow); transition: transform .35s; z-index: 200; max-width: calc(100% - 2rem); }
.toast.is-visible { transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.notfound strong { font-family: var(--serif); font-size: clamp(5rem, 18vw, 10rem); color: var(--caramel); line-height: 1; display: block; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .split, .infos { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; margin-inline: auto; width: 100%; }
  .split__media { min-height: 360px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .origins, .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tile--1 { grid-row: span 1; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 1rem 1.25rem 1.5rem; box-shadow: 0 20px 30px -20px rgba(43, 29, 22, .4); transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--sand); }
  .nav .btn { margin-top: 1rem; }
  .menu { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps, .gallery { grid-template-columns: 1fr; }
  .tile--1, .tile--4, .tile--5 { grid-column: span 1; }
  .row { grid-template-columns: 1fr 1fr; }
  .row .field:first-child { grid-column: span 2; }
  .newsletter__form { flex-direction: column; }
  .badge { width: 96px; height: 96px; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
