:root {
  --bg: #3d0b0d;
  --bg-deep: #280608;
  --cream: #f7f5ef;
  --muted: #c9bdb6;
  --line: rgba(247, 245, 239, 0.18);
  --pad: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: "Helvetica Neue", "Avenir Next", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  background: url("grain.png") repeat;
  opacity: 0.05;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg-deep);
  transition: opacity 620ms cubic-bezier(.65,0,.35,1), visibility 620ms;
}
.loader.is-hidden { visibility: hidden; opacity: 0; }
.loader object { width: min(68vw, 520px); color: var(--cream); }

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; width: clamp(105px, 12vw, 160px); }
.brand img, footer img { display: block; width: 100%; filter: brightness(0) invert(1); }
.menu-link {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.language-link:hover { border-color: var(--cream); background: var(--cream); color: var(--bg); }

[dir="rtl"] body { font-family: Arial, "Tahoma", sans-serif; }
[dir="rtl"] .menu-heading h2,
[dir="rtl"] .category-title h3 { letter-spacing: -.025em; }
[dir="rtl"] .category-title { grid-template-columns: 60px 1fr auto; }
[dir="rtl"] .card-body p { direction: rtl; }
[dir="rtl"] footer a { justify-self: start; }

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px var(--pad) clamp(70px, 10vw, 130px);
  background:
    radial-gradient(circle at 78% 40%, rgba(142, 54, 58, .34), transparent 30%),
    linear-gradient(150deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
}
.hero h1, .menu-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 1000px; font-size: clamp(72px, 14vw, 196px); line-height: .82; }
.hero-copy { max-width: 430px; margin: 38px 0 45px; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.55; }
.scroll-cue { align-self: flex-start; display: flex; gap: 18px; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { animation: bob 1.7s ease-in-out infinite; }

.connect-banner {
  min-height: min(68vh, 720px);
  display: grid;
  place-items: center;
  padding: clamp(145px, 18vw, 220px) var(--pad) clamp(80px, 10vw, 130px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 25%, rgba(142, 54, 58, .34), transparent 34%),
    linear-gradient(155deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.connect-banner__inner { width: min(100%, 880px); text-align: center; }
.connect-banner .eyebrow { margin-bottom: 26px; }
.connect-banner__socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.connect-banner__socials a,
.connect-banner__navigate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 32px);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.connect-banner__socials a:hover,
.connect-banner__navigate:hover {
  transform: translateY(-3px);
  border-color: var(--cream);
  background: var(--cream);
  color: var(--bg);
}
.connect-banner__navigate {
  margin-top: 14px;
  background: var(--cream);
  color: var(--bg);
  font-family: "Helvetica Neue", "Avenir Next", Arial, sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.connect-banner__navigate:hover { background: transparent; color: var(--cream); }
[dir="rtl"] .connect-banner__navigate { font-family: Arial, "Tahoma", sans-serif; letter-spacing: 0; }

.menu { padding: clamp(80px, 10vw, 145px) var(--pad); }
.menu-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 100px; }
.menu-heading h2 { font-size: clamp(50px, 7vw, 104px); line-height: .95; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  cursor: pointer;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  letter-spacing: .05em;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.filter:hover, .filter.is-active { border-color: var(--cream); background: var(--cream); color: var(--bg); }

.category { margin-top: 110px; }
.category:first-of-type { margin-top: 0; }
.category.is-hidden { display: none; }
.category-title {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.category-title span, .category-title p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.category-title h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 54px); font-weight: 400; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px) clamp(16px, 2.4vw, 34px); }
.drink-card { min-width: 0; overflow: hidden; }
.drink-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-deep);
  filter: saturate(.9) contrast(1.02);
  transition: transform 650ms cubic-bezier(.2,.7,.2,1), filter 250ms;
}
.drink-card:hover img { transform: scale(1.035); filter: saturate(1) contrast(1.02); }
.card-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 17px 1px 7px; }
.card-body h4 { margin: 0; font-size: clamp(14px, 1.35vw, 18px); font-weight: 500; line-height: 1.35; }
.card-body p { flex: 0 0 auto; margin: 0; font-size: 16px; font-weight: 700; }
.card-body small { color: var(--muted); font-size: 9px; letter-spacing: .08em; }

.detail-card { display: flex; flex-direction: column; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-card .card-body { padding-top: 18px; }
.product-specs { display: grid; gap: 0; margin: 5px 0 0; padding: 0; }
.spec-row { display: grid; grid-template-columns: minmax(72px, .68fr) minmax(0, 1.7fr); gap: 14px; padding: 10px 1px; border-top: 1px solid rgba(247,245,239,.12); }
.spec-row dt { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.spec-row dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; color: var(--cream); font-size: 11px; line-height: 1.55; }
.category-title > div { min-width: 0; }
.category-title .category-description { max-width: 680px; margin: 9px 0 0; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .035em; line-height: 1.6; text-transform: none; }

.flavored-card { display: flex; flex-direction: column; }
.flavored-card .card-body { padding-bottom: 12px; }
.flavor-meta { padding: 13px 1px 5px; border-top: 1px solid var(--line); }
.roast-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.roast-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.roast-beans { display: inline-flex; align-items: center; gap: 7px; }
.bean { position: relative; display: inline-block; width: 12px; height: 17px; border: 1px solid var(--cream); border-radius: 60% 40% 60% 40%; opacity: .28; transform: rotate(28deg); }
.bean::after { content: ""; position: absolute; top: 3px; bottom: 3px; left: 50%; width: 1px; background: currentColor; transform: rotate(12deg); }
.bean.is-active { background: var(--cream); color: var(--bg); opacity: 1; }
.flavor-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.flavor-notes li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; line-height: 1; }
[dir="rtl"] .roast-row, [dir="rtl"] .flavor-notes { direction: rtl; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
  padding: 70px var(--pad) 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 12px;
}
footer img { width: 120px; }
footer p { margin: 0; }
footer a { justify-self: end; }

@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .connect-banner { min-height: 58vh; padding-top: 130px; }
  .menu-heading { display: block; margin-bottom: 70px; }
  .filters { margin-top: 32px; }
  .category { margin-top: 80px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-title { grid-template-columns: 38px 1fr; }
  .category-title p { display: none; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}
@media (max-width: 420px) {
  .header { padding-top: 20px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(65px, 23vw, 94px); }
  .connect-banner__socials { grid-template-columns: 1fr; }
  .connect-banner__socials a,
  .connect-banner__navigate { min-height: 64px; }
  .card-grid { grid-template-columns: 1fr; gap: 34px; }
  .card-body { display: block; }
  .card-body p { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
