:root {
  --cream: #f4ede4;
  --paper: #fbf7f2;
  --espresso: #2b1d14;
  --brown: #6b4a36;
  --terracotta: #c8693b;
  --line: rgba(43, 29, 20, .14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--espresso); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover { background: var(--terracotta); }
.btn-line { border: 1.5px solid var(--espresso); }
.btn-line:hover { background: var(--espresso); color: var(--cream); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 32px; padding: 16px max(24px, (100% - 1180px) / 2); background: rgba(244, 237, 228, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; font-weight: 700; }
.logo-bean { width: 18px; height: 26px; border-radius: 50%; background: var(--espresso); transform: rotate(25deg); position: relative; }
.logo-bean::after { content: ''; position: absolute; left: 7px; top: 3px; width: 3px; height: 20px; border-radius: 3px; background: var(--cream); transform: rotate(-12deg); }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav nav a { position: relative; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--terracotta); transition: right .3s; }
.nav nav a:hover::after { right: 0; }
.nav .btn { height: 42px; padding: 0 20px; font-size: 14px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; width: min(1180px, 100% - 48px); margin: 0 auto; padding: 72px 0 88px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.lead { margin-top: 26px; max-width: 470px; font-size: 19px; color: var(--brown); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; gap: 40px; margin: 52px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; }
.hero-facts span { font-size: 14px; color: var(--brown); }
.hero-media { position: relative; }
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(43, 29, 20, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; animation: zoom 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes zoom { from { transform: scale(1.12); } }
.badge { position: absolute; left: -48px; bottom: 56px; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; background: var(--terracotta); color: var(--cream); }
.badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge text { fill: var(--cream); font: 600 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.badge span { font-size: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* marquee */
.marquee { overflow: hidden; background: var(--espresso); color: var(--cream); padding: 22px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: run 28s linear infinite; font-family: var(--serif); font-size: 34px; font-style: italic; }
.marquee-track span:nth-child(even) { color: var(--terracotta); font-style: normal; }
@keyframes run { to { transform: translateX(-50%); } }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 120px 0; }
.about-media { position: relative; padding-bottom: 60px; }
.about-media > picture:first-child { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-small { position: absolute; right: -28px; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--cream); }
.about-text h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 24px; }
.about-text p + p { margin-top: 16px; }
.about-text p:not(.eyebrow) { color: var(--brown); font-size: 17px; }

/* menu */
.menu { padding: 40px 0 120px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 58px); }
.tabs { display: inline-flex; gap: 6px; margin: 36px 0 40px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font: 600 15px var(--sans); color: var(--brown); cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected='true'] { background: var(--espresso); color: var(--cream); }
.menu-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.menu-list { list-style: none; margin: 0; padding: 0; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.menu-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-list span { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.menu-list i { border-bottom: 2px dotted rgba(43, 29, 20, .25); transform: translateY(-6px); }
.menu-list b { font-size: 17px; }
.menu-list small { grid-column: 1 / -1; color: var(--brown); font-size: 14px; }
.menu-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.menu-photos picture { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; }
.menu-photos picture:last-child { margin-top: 56px; }
.menu-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.menu-photos picture:hover img { transform: scale(1.05); }

/* brew */
.brew { background: var(--espresso); color: var(--cream); padding: 120px 0; border-radius: 48px; margin: 0 16px; }
.brew .eyebrow { color: #e59a6f; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 56px 0; padding: 0; list-style: none; }
.steps li { padding: 32px; border-radius: 28px; background: rgba(244, 237, 228, .06); border: 1px solid rgba(244, 237, 228, .12); }
.step-num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--terracotta); font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.steps h3 { font-size: 28px; margin-bottom: 12px; }
.steps p { color: rgba(244, 237, 228, .72); }
.brew-photos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.brew-photos picture { border-radius: 28px; overflow: hidden; height: 380px; }
.brew-photos img { width: 100%; height: 100%; object-fit: cover; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding: 120px 0; align-items: stretch; }
.visit-card { padding: 48px; border-radius: 32px; background: var(--paper); border: 1px solid var(--line); }
.visit-card h2 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 28px; }
.visit-card dl { margin: 0 0 32px; }
.visit-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.visit-card dt { color: var(--brown); }
.visit-card dd { margin: 0; font-weight: 600; text-align: right; }
.map { border-radius: 32px; overflow: hidden; min-height: 360px; }
.map svg { width: 100%; height: 100%; display: block; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--brown); }
.footer .logo { font-size: 22px; color: var(--espresso); }
.footer a { font-weight: 600; color: var(--espresso); }

/* reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: .12s; }
.steps li.reveal:nth-child(3) { transition-delay: .24s; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero, .about, .menu-grid, .visit { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; }
  .badge { left: auto; right: 12px; bottom: -30px; width: 108px; height: 108px; }
  .about { padding: 80px 0; }
  .about-small { right: 0; }
  .steps { grid-template-columns: 1fr; }
  .brew { padding: 80px 0; border-radius: 32px; margin: 0 8px; }
  .brew-photos picture { height: 220px; }
  .visit { padding: 80px 0; }
  .visit-card { padding: 32px 24px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .hero-facts { gap: 22px; }
  .hero-facts strong { font-size: 26px; }
  .menu-list span { font-size: 20px; }
  .tabs button { padding: 10px 14px; }
  .marquee-track { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
