@import url("../fonts/fonts.css");

/* =========================================================================
   SHAGHF CAFÉ · شغف — Hannover
   Design language: warm editorial third-wave coffee house
   Palette: bone paper · deep pine-ink · single accent saffron gold
   Type: Bricolage Grotesque (display) · Hanken Grotesk (body) · Reem Kufi (AR)
   Radius rule: buttons = pill · cards = 18px · inputs = 12px
   ========================================================================= */

:root {
  /* surfaces */
  --paper:      #F4EEE2;
  --paper-2:    #EBE2D1;
  --paper-3:    #E3D8C2;
  --pine:       #0E211A;
  --pine-2:     #143026;
  --pine-3:     #1B3A2E;

  /* ink / text */
  --ink:        #211A12;
  --ink-2:      #4A3F30;
  --ink-3:      #6E6250;
  --cream:      #F6F1E7;
  --cream-2:    #CBC2AF;
  --cream-3:    #9AA192;

  /* single accent */
  --gold:       #C68A2C;
  --gold-2:     #D8A64C;
  --gold-soft:  #E7C888;

  /* lines */
  --line:       rgba(33, 26, 18, 0.14);
  --line-2:     rgba(33, 26, 18, 0.08);
  --line-dk:    rgba(246, 241, 231, 0.16);
  --line-dk-2:  rgba(246, 241, 231, 0.09);

  /* shadows (warm-tinted, never pure black) */
  --sh-sm: 0 2px 10px -4px rgba(20, 14, 6, 0.30);
  --sh-md: 0 18px 40px -22px rgba(20, 14, 6, 0.45);
  --sh-lg: 0 40px 80px -36px rgba(20, 14, 6, 0.55);

  /* type */
  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-ar:      "Reem Kufi", "Bricolage Grotesque", serif;

  --maxw: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3.25rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

/* skip link (keyboard / screen-reader) */
.skip-link {
  position: fixed; top: 0.6rem; left: 0.6rem; z-index: 200;
  background: var(--gold); color: var(--pine);
  padding: 0.7rem 1.1rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem;
  transform: translateY(-180%); transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--pine); outline-offset: 2px; }
#inhalt:focus { outline: none; }

/* long German compounds shouldn't overflow on narrow screens */
h1, h2, h3, p { overflow-wrap: break-word; }
.hero__sub, .shead p, .sig__desc, .dish__desc, .brew__desc, .cat__list li, .craft__intro p { hyphens: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--gold); color: var(--pine); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

/* ---------- type helpers ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.ar { font-family: var(--f-ar); font-weight: 600; letter-spacing: 0; }
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--pine); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.9rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  box-shadow: var(--sh-sm);
}
.btn .btn-ar { font-family: var(--f-ar); opacity: 0.85; font-size: 0.9em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.btn--gold { --bg: var(--gold); --fg: var(--pine); }
.btn--gold:hover { --bg: var(--gold-2); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(33,26,18,0.04); }
.btn--on-dark.btn--ghost { --fg: var(--cream); border-color: var(--line-dk); }
.btn--on-dark.btn--ghost:hover { border-color: var(--cream); background: rgba(246,241,231,0.06); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- interactive states: focus, touch, transparency ---------- */
:where(a, button):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* touch devices fire :hover on tap and leave it stuck: neutralise the lifts */
@media (hover: none) {
  .btn:hover, .sig:hover, .cat:hover, .dish:hover,
  .visit__card:hover { transform: none; }
  .btn:hover { box-shadow: var(--sh-sm); }
  .sig:hover img, .dish:hover img, .brew:hover img { transform: none; }
}

/* respect users who reduce transparency: solid header instead of glass */
@media (prefers-reduced-transparency: reduce) {
  .header.is-scrolled {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-block: 0.85rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.55rem; color: var(--cream); transition: color 0.4s var(--ease); }
.brand__ar { font-family: var(--f-ar); font-weight: 700; font-size: 1.5rem; color: var(--gold); line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.02em; }
.brand__name small { font-weight: 500; opacity: 0.65; font-size: 0.7em; letter-spacing: 0.18em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: 0.92rem; font-weight: 500; color: var(--cream-2);
  position: relative; padding-block: 0.2rem;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

/* scrolled state → light glass */
.header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--line-2), var(--sh-sm);
}
.header.is-scrolled .brand { color: var(--ink); }
.header.is-scrolled .nav__links a { color: var(--ink-2); }
.header.is-scrolled .nav__links a:hover, .header.is-scrolled .nav__links a.is-active { color: var(--ink); }
.header.is-scrolled .nav__cta { --bg: var(--pine); --fg: var(--cream); }
.header.is-scrolled .burger span { background: var(--ink); }

.nav__cta { padding: 0.62rem 1.15rem; font-size: 0.88rem; --bg: var(--gold); --fg: var(--pine); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s var(--ease); }
.burger.is-active span { background: var(--cream); }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--pine);
  padding: 6rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transform: translateY(-102%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 8vw, 2.6rem);
  color: var(--cream); padding-block: 0.55rem;
  border-bottom: 1px solid var(--line-dk-2);
  display: flex; justify-content: space-between; align-items: baseline;
}
.mobile-nav a span { font-family: var(--f-ar); font-size: 0.5em; color: var(--gold); }
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; color: var(--cream-3); font-size: 0.9rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.mobile-nav__foot a { font: inherit; color: var(--gold-soft); border: none; padding: 0; }

/* =========================================================================
   HERO — asymmetric split, deep pine
   ========================================================================= */
.hero {
  background:
    linear-gradient(103deg, rgba(14, 33, 26, 0.97) 0%, rgba(14, 33, 26, 0.9) 42%, rgba(14, 33, 26, 0.74) 100%),
    url("../img/ambience/beans.jpg") center/cover no-repeat,
    var(--pine);
  color: var(--cream);
  min-height: 100dvh;
  display: flex; align-items: stretch;
  padding-top: clamp(5rem, 10vh, 6.5rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  position: relative; overflow: hidden;
}
.hero::before { /* soft gold glow, not neon — layered radial */
  content: ""; position: absolute; z-index: 0;
  width: 60vw; height: 60vw; right: -18vw; top: -12vw;
  background: radial-gradient(circle, rgba(198,138,44,0.16), transparent 62%);
  pointer-events: none;
}
.hero__wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; width: 100%;
  padding-top: 1.4rem;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%;
  margin-block: auto;
}

/* top coffee banner filling the upper hero band */
.hero__banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; color: var(--cream);
  padding: 0.72rem 0.85rem 0.72rem 1.15rem;
  border: 1px solid var(--line-dk);
  background: rgba(198, 138, 44, 0.06);
  border-radius: 16px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.hero__banner:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: rgba(198, 138, 44, 0.11); }
.hero__banner-main { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.94rem; color: var(--cream-2); min-width: 0; }
.hero__banner-main > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__banner-main .ar { font-family: var(--f-ar); color: var(--gold); font-weight: 600; }
.hero__banner-cup { width: 1.35rem; height: 1.35rem; color: var(--gold); flex: none; }
.hero__banner-cta { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold-soft); font-weight: 600; font-size: 0.88rem; white-space: nowrap; flex: none; }
.hero__banner-cta .arrow { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.hero__banner:hover .arrow { transform: translateX(4px); }
/* rotating promo messages (crossfade) */
.hero__banner-rotator { display: inline-grid; }
.hero__banner-rotator .msg {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; animation: banner-rot 9s var(--ease) infinite;
}
.hero__banner-rotator .msg b { color: var(--gold); font-weight: 700; }
.hero__banner-rotator .msg:nth-child(2) { animation-delay: 4.5s; }
@keyframes banner-rot {
  0%   { opacity: 0; transform: translateY(5px); }
  6%   { opacity: 1; transform: none; }
  44%  { opacity: 1; transform: none; }
  50%  { opacity: 0; transform: translateY(-5px); }
  100% { opacity: 0; transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__banner-rotator .msg { animation: none; }
  .hero__banner-rotator .msg:nth-child(1) { opacity: 1; }
  .hero__banner-rotator .msg:nth-child(2) { display: none; }
}
/* hero entrance: staggered rise-in on load (CSS animation = smooth under load) */
@media (prefers-reduced-motion: no-preference) {
  .hero__banner,
  .hero__copy > *,
  .hero__figure { animation: hero-rise 0.6s var(--ease) both; }
  .hero__banner   { animation-delay: 0s; }
  .hero__eyebrow  { animation-delay: 0.08s; }
  .hero h1        { animation-delay: 0.14s; }
  .hero__sub      { animation-delay: 0.26s; }
  .hero__cta      { animation-delay: 0.38s; }
  .hero__meta     { animation-delay: 0.50s; }
  .hero__figure   { animation-delay: 0.32s; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.6rem; }
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.9rem, 2rem + 6.4vw, 6rem);
  line-height: 0.94; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.hero h1 .ar-word { font-family: var(--f-ar); font-weight: 700; color: var(--gold); letter-spacing: 0; padding-inline: 0.06em; }
.hero-bean { display: inline-block; width: 0.4em; height: 0.6em; margin-left: 0.1em; vertical-align: baseline; }
.hero__sub { color: var(--cream-2); font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); max-width: 40ch; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }
.hero__meta { display: flex; gap: 2.2rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__meta .k { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--cream); }
.hero__meta .v { font-size: 0.82rem; color: var(--cream-3); letter-spacing: 0.02em; }

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--sh-lg);
}
/* rising steam over the hot cappuccino (left cup in the hero photo) */
.steam {
  position: absolute; z-index: 3; pointer-events: none;
  left: 28%; bottom: 50%; width: 76px; height: 150px;
  transform: translateX(-50%);
  filter: blur(6px); mix-blend-mode: screen;
}
.steam::before {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 30px; height: 96%; margin-left: -15px;
  background: linear-gradient(to top, rgba(255,255,255,0.5), rgba(255,255,255,0) 72%);
  filter: blur(4px);
  animation: steam-sway 6s ease-in-out infinite;
}
.steam b {
  position: absolute; bottom: 0; left: 50%;
  width: 26px; height: 30px; margin-left: -13px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.98), rgba(255,255,255,0) 66%);
  opacity: 0;
  animation: steam-rise 4.9s linear infinite;
}
.steam b:nth-child(1) { left: 45%; animation-delay: 0s; }
.steam b:nth-child(2) { left: 55%; animation-delay: 0.7s; }
.steam b:nth-child(3) { left: 48%; animation-delay: 1.4s; }
.steam b:nth-child(4) { left: 58%; animation-delay: 2.1s; }
.steam b:nth-child(5) { left: 42%; animation-delay: 2.8s; }
.steam b:nth-child(6) { left: 52%; animation-delay: 3.5s; }
.steam b:nth-child(7) { left: 46%; animation-delay: 4.2s; }
@keyframes steam-rise {
  0%   { transform: translateY(0) translateX(0) scale(0.45); opacity: 0; }
  16%  { opacity: 0.85; }
  50%  { transform: translateY(-70px) translateX(-9px) scale(1.15); opacity: 0.6; }
  82%  { opacity: 0.2; }
  100% { transform: translateY(-146px) translateX(8px) scale(1.75); opacity: 0; }
}
@keyframes steam-sway {
  0%, 100% { transform: translateX(0) skewX(0deg); opacity: 0.4; }
  50%      { transform: translateX(-6px) skewX(-5deg); opacity: 0.62; }
}
@media (prefers-reduced-motion: reduce) { .steam { display: none; } }

.hero__badge {
  position: absolute; left: -1.5rem; bottom: 1.8rem;
  background: var(--paper); color: var(--ink);
  border-radius: 16px; padding: 0.9rem 1.15rem;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: var(--sh-md);
}
.hero__badge .ar { font-family: var(--f-ar); font-size: 2rem; color: var(--gold); line-height: 1; }
.hero__badge .t strong { display: block; font-family: var(--f-display); font-size: 0.95rem; }
.hero__badge .t span { font-size: 0.78rem; color: var(--ink-3); }

/* =========================================================================
   MARQUEE (single, once per page)
   ========================================================================= */
.marquee {
  background: var(--pine-2); color: var(--cream);
  border-block: 1px solid var(--line-dk-2);
  overflow: hidden; padding-block: 0.95rem;
  display: flex;
}
.marquee__track { display: flex; gap: 0; white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding-inline: 1.6rem;
  display: inline-flex; align-items: center; gap: 3.2rem;
}
.marquee__track .sep { color: var(--gold); font-family: var(--f-ar); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================================
   SECTION HEADER
   ========================================================================= */
.shead { max-width: 40ch; margin-bottom: clamp(2.5rem, 5vw, 3.6rem); }
.shead h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.02em; margin-top: 0.7rem;
}
.shead p { margin-top: 1rem; color: var(--ink-2); }
.shead--wide { max-width: 54ch; }

/* =========================================================================
   SIGNATURES — bento
   ========================================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 1rem; }
.sig {
  position: relative; overflow: hidden; border-radius: 20px;
  background: var(--pine); color: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(246, 241, 231, 0.07);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.sig img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.sig::after { /* legibility gradient */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,33,26,0) 26%, rgba(14,33,26,0.5) 62%, rgba(14,33,26,0.92) 100%);
}
.sig__glow { /* cursor spotlight (added via JS) */
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 138, 44, 0.3), transparent 60%);
  mix-blend-mode: screen; transition: opacity 0.4s var(--ease);
}
.sig__body { position: relative; z-index: 1; padding: 1.35rem; display: flex; flex-direction: column; gap: 0.35rem; }
.sig__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.sig__name { font-family: var(--f-display); font-weight: 700; font-size: 1.42rem; line-height: 1.05; position: relative; width: fit-content; }
.sig__name::after { content: ""; position: absolute; left: 0; bottom: -0.3rem; height: 2px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.sig__desc { font-size: 0.86rem; color: var(--cream-2); line-height: 1.45; max-width: 32ch; }
.sig__price {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1;
  background: rgba(246, 241, 231, 0.92); color: var(--ink);
  font-family: var(--f-display); font-weight: 700; font-size: 0.9rem;
  padding: 0.35rem 0.72rem; border-radius: 999px;
  backdrop-filter: blur(6px); box-shadow: 0 4px 14px -6px rgba(20, 14, 6, 0.45);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

/* hover choreography (gated: pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .sig:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(231, 200, 136, 0.35), var(--sh-lg); }
  .sig:hover img { transform: scale(1.06); }
  .sig:hover .sig__glow { opacity: 1; }
  .sig:hover .sig__name::after { width: 2.4rem; }
  .sig:hover .sig__price { transform: scale(1.06); background: var(--gold-soft); }
}

/* bento placement (5 cells, has rhythm) */
.sig--a { grid-column: span 4; grid-row: span 2; }
.sig--b { grid-column: span 2; }
.sig--c { grid-column: span 2; }
.sig--d { grid-column: span 3; }
.sig--e { grid-column: span 3; }

/* =========================================================================
   MENU CATEGORIES — card grid
   ========================================================================= */
.menu-sec { background: var(--paper-2); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cat {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px;
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.cat__top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 1.15rem; }
.cat__name { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.cat__ar { font-family: var(--f-ar); color: var(--gold); font-size: 1.15rem; }
.cat__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.cat__list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--ink-2); border-bottom: 1px dotted var(--line); padding-bottom: 0.5rem; }
.cat__list li:last-child { border-bottom: none; }
.cat__list .p { font-family: var(--f-display); font-weight: 600; color: var(--ink); white-space: nowrap; }
.cat__foot { margin-top: 1.1rem; font-size: 0.82rem; color: var(--ink-3); letter-spacing: 0.02em; }
.menu-cta { margin-top: 2.6rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.menu-cta p { color: var(--ink-3); font-size: 0.9rem; }

/* =========================================================================
   CRAFT / PHILOSOPHY — deep pine band
   ========================================================================= */
.craft { background: var(--pine); color: var(--cream); overflow: hidden; position: relative; }
.craft::before {
  content: "شغف"; position: absolute; z-index: 0;
  font-family: var(--f-ar); font-weight: 700;
  font-size: clamp(15rem, 42vw, 36rem); line-height: 0.62;
  color: rgba(198, 138, 44, 0.06);
  right: -1.5rem; top: -3rem; pointer-events: none; user-select: none;
}
.craft > .wrap { position: relative; z-index: 1; }
.craft__intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.craft h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.5rem + 5.4vw, 5.2rem); line-height: 0.95; letter-spacing: -0.03em; }
.craft h2 .ar { color: var(--gold); }
.craft__intro p { color: var(--cream-2); max-width: 42ch; }
.brews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.brew { display: flex; flex-direction: column; gap: 0; }
.brew__img { border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; background: var(--pine-2); }
.brew__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.brew:hover .brew__img img { transform: scale(1.06); }
.brew__row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1rem; gap: 0.5rem; }
.brew__name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.brew__price { font-family: var(--f-display); font-weight: 600; color: var(--gold-soft); font-size: 0.95rem; }
.brew__desc { color: var(--cream-3); font-size: 0.85rem; margin-top: 0.35rem; line-height: 1.45; }

/* =========================================================================
   KITCHEN — horizontal scroll-snap
   ========================================================================= */
.kitchen__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.kitchen__note { font-size: 0.85rem; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; white-space: nowrap; }
.kitchen__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; }
@media (max-width: 620px) { .kitchen__aside { align-items: flex-start; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.dish { scroll-snap-align: start; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.dish:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.dish__img { aspect-ratio: 5/4; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.05); }
.dish__body { padding: 1.15rem 1.2rem 1.35rem; }
.dish__row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; }
.dish__name { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; }
.dish__price { font-family: var(--f-display); font-weight: 600; color: var(--gold); }
.dish__tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.dish__desc { font-size: 0.85rem; color: var(--ink-2); margin-top: 0.5rem; line-height: 1.5; }
.rail-hint { margin-top: 0.5rem; font-size: 0.8rem; color: var(--ink-3); display: flex; align-items: center; gap: 0.5rem; }

/* =========================================================================
   VISIT
   ========================================================================= */
.visit__grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.visit__info { display: flex; flex-direction: column; }
.visit__rows { display: grid; gap: 0; margin-top: 1.5rem; }
.vrow { display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; padding-block: 1.15rem; border-top: 1px solid var(--line); align-items: baseline; }
.vrow:last-child { border-bottom: 1px solid var(--line); }
.vrow dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.vrow dd { font-size: 1.02rem; color: var(--ink); }
.vrow dd .muted { color: var(--ink-3); font-size: 0.9rem; }
.vrow dd .hrs { display: flex; justify-content: space-between; gap: 1.5rem; max-width: 17rem; }
.vrow dd .hrs + .hrs { margin-top: 0.3rem; }
.vrow dd .hrs span:first-child { color: var(--ink-3); }
.vrow dd .hrs + .muted { display: block; margin-top: 0.7rem; }
.vrow a { color: var(--ink); border-bottom: 1.5px solid var(--gold); transition: color 0.3s var(--ease); }
.vrow a:hover { color: var(--gold); }
.visit__cta { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.visit__card {
  position: relative; overflow: hidden; border-radius: 22px;
  background: var(--pine); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem; min-height: 340px; isolation: isolate;
}
.visit__card::before {
  content: "شغف"; position: absolute; z-index: -1;
  font-family: var(--f-ar); font-weight: 700;
  font-size: 20rem; line-height: 0.7; color: rgba(198,138,44,0.10);
  right: -1rem; bottom: -3rem; pointer-events: none;
}
.visit__card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.visit__card .tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.visit__card .ar-big { font-family: var(--f-ar); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.visit__card .bottom h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.visit__card .bottom p { color: var(--cream-2); margin-top: 0.5rem; font-size: 0.95rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--pine); color: var(--cream); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dk-2); }
.footer__brand .ar { font-family: var(--f-ar); font-weight: 700; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.footer__brand .name { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; margin-top: 0.4rem; }
.footer__brand p { color: var(--cream-3); max-width: 32ch; margin-top: 0.9rem; font-size: 0.92rem; }
.fcol h4 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1.1rem; font-weight: 600; }
.fcol ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.fcol a, .fcol li { color: var(--cream-2); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.fcol a:hover { color: var(--gold-soft); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.8rem; flex-wrap: wrap; }
.footer__bottom p, .footer__bottom a { color: var(--cream-3); font-size: 0.85rem; }
.footer__bottom a:hover { color: var(--gold-soft); }
.footer__legal { display: flex; gap: 1.4rem; }

/* =========================================================================
   REVEAL animation
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  /* keep colour/opacity feedback, drop movement */
  .btn:hover, .btn:active,
  .sig:hover, .cat:hover, .dish:hover, .visit__card:hover, .mcard:hover { transform: none; }
  .sig:hover img, .dish:hover img, .brew:hover img, .mcard:hover .mcard__img img { transform: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__figure { max-width: 460px; }
  .hero__badge { left: auto; right: 1.2rem; }
  .craft__intro { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .brews { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  /* bento → simpler stack rhythm */
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sig--a { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .sig--b, .sig--c, .sig--d, .sig--e { grid-column: span 1; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.15rem; }
  .hero__banner { padding: 0.6rem 0.75rem 0.6rem 1rem; border-radius: 13px; }
  .hero__banner-main { font-size: 0.86rem; gap: 0.55rem; }
  .hero__banner-cup { width: 1.15rem; height: 1.15rem; }
  .hero__banner-cta { font-size: 0.82rem; }
  .hero__meta { gap: 1.6rem; }
  .bento { grid-template-columns: 1fr; }
  .sig--a { min-height: 300px; }
  .cats { grid-template-columns: 1fr; }
  .brews { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .vrow { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer__top { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 82%; }
}

/* =========================================================================
   MENU PAGE (karte.html)
   ========================================================================= */
.menu-hero {
  background: var(--pine); color: var(--cream);
  padding: clamp(7rem, 15vh, 9.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.menu-hero::before {
  content: "شغف"; position: absolute; right: -1rem; top: -3.5rem;
  font-family: var(--f-ar); font-weight: 700; line-height: 0.6;
  font-size: clamp(13rem, 34vw, 27rem); color: rgba(198, 138, 44, 0.07); pointer-events: none;
}
.menu-hero .wrap { position: relative; z-index: 1; }
.menu-hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem); letter-spacing: -0.03em; line-height: 0.95;
  margin: 0.7rem 0 1rem;
}
.menu-hero h1 .ar { font-family: var(--f-ar); color: var(--gold); }
.menu-hero p { color: var(--cream-2); max-width: 52ch; }
.menu-hero__meta { display: flex; gap: 0.8rem 2rem; flex-wrap: wrap; margin-top: 1.7rem; }
.menu-hero__meta span { font-size: 0.86rem; color: var(--cream-3); display: inline-flex; align-items: baseline; gap: 0.5rem; }
.menu-hero__meta b { color: var(--gold-soft); font-weight: 600; }

.menu-nav {
  position: sticky; top: 58px; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line-2);
}
.menu-nav__inner { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.7rem 0; scrollbar-width: none; }
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  white-space: nowrap; font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--line);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.menu-nav a:hover, .menu-nav a.is-active { background: var(--pine); color: var(--cream); border-color: var(--pine); }

.menu-body { padding-block: clamp(3rem, 6vw, 5rem); }
.menu-cat { margin-bottom: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: 130px; }
.menu-cat:last-child { margin-bottom: 0; }
.menu-cat__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 0.9rem; margin-bottom: 1.4rem; border-bottom: 2px solid var(--pine);
}
.menu-cat__head h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 0.7rem; }
.menu-cat__head h2 .ar { font-family: var(--f-ar); color: var(--gold); font-size: 0.62em; font-weight: 600; }
.menu-cat__note { font-size: 0.84rem; color: var(--ink-3); white-space: nowrap; }
.menu-sub { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 1.8rem 0 0.6rem; }
.menu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1.1rem; }
.mcard {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.mcard__img {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(155deg, var(--paper-3), var(--paper-2));
}
.mcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mcard__img::after {
  content: "شغف"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-ar); font-weight: 700; font-size: 2rem; color: rgba(198, 138, 44, 0.32);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.mcard__img.is-empty::after { opacity: 1; }
.mcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; padding: 0.75rem 0.85rem 0.9rem; }
.mcard__name { font-weight: 500; font-size: 0.92rem; line-height: 1.25; color: var(--ink); }
.mcard__price { font-family: var(--f-display); font-weight: 600; color: var(--ink); white-space: nowrap; text-align: right; }
.mcard__price .two { display: block; font-size: 0.72rem; color: var(--ink-3); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .mcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
  .mcard:hover .mcard__img img { transform: scale(1.05); }
}

@media (max-width: 720px) {
  .menu-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.8rem; }
  .menu-nav { top: 54px; }
  .menu-cat__note { display: none; }
}

/* =========================================================================
   KÜCHE / CRAFT PAGE (kueche.html)
   ========================================================================= */
.craft-hero {
  background: var(--pine); color: var(--cream);
  padding: clamp(7rem, 15vh, 9.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.craft-hero::before {
  content: "قهوة"; position: absolute; right: -1rem; top: -3rem;
  font-family: var(--f-ar); font-weight: 700; line-height: 0.6;
  font-size: clamp(11rem, 30vw, 23rem); color: rgba(198, 138, 44, 0.07); pointer-events: none;
}
.craft-hero .wrap { position: relative; z-index: 1; }
.craft-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem); letter-spacing: -0.03em; line-height: 0.95; margin: 0.7rem 0 1rem; }
.craft-hero h1 .ar { font-family: var(--f-ar); color: var(--gold); }
.craft-hero p { color: var(--cream-2); max-width: 54ch; }

.gallery { padding-block: clamp(3rem, 6vw, 5rem); }
.gallery__grid { columns: 3 280px; column-gap: 1.1rem; }
.gtile {
  break-inside: avoid; margin: 0 0 1.1rem; position: relative;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(155deg, var(--paper-3), var(--paper-2));
}
.gtile img { width: 100%; display: block; transition: transform 0.7s var(--ease); }
.gtile__ph { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gtile__ph::after { content: "شغف"; font-family: var(--f-ar); font-weight: 700; font-size: 2.4rem; color: rgba(198, 138, 44, 0.3); }
.gtile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 2.4rem 1.1rem 0.95rem; color: var(--cream); font-weight: 600; font-size: 0.98rem;
  background: linear-gradient(transparent, rgba(14, 33, 26, 0.82));
}
.gtile__cap small { display: block; font-weight: 500; font-size: 0.78rem; opacity: 0.82; margin-top: 0.1rem; }
.gtile.is-empty .gtile__cap { position: static; background: none; color: var(--ink-2); padding: 0.7rem 0.1rem 0.2rem; }
.gtile.is-empty .gtile__cap small { color: var(--ink-3); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .gtile:hover img { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .gtile:hover img { transform: none; } }

/* =========================================================================
   PRINT — clean menu / address handout, ink-friendly
   ========================================================================= */
@media print {
  .header, .mobile-nav, .marquee, .steam, .skip-link,
  .hero__cta, .visit__cta, .menu-cta, .rail-hint, .kitchen__note,
  .hero__figure, .visit__card, .sig img, .dish__img, .brew__img,
  .craft::before { display: none !important; }
  * { background: transparent !important; color: #14110c !important; box-shadow: none !important; text-shadow: none !important; }
  body { font-size: 11pt; }
  .hero { min-height: 0; padding: 0.5rem 0 1rem; }
  .hero h1 { font-size: 26pt; }
  .section-pad { padding-block: 1.2rem; }
  .sig, .cat, .dish { border: 1px solid #bbb; break-inside: avoid; min-height: 0; }
  .sig__body { position: static; }
  a { text-decoration: underline; }
  .brand__ar, .cat__ar, .hero h1 .ar-word, .footer__brand .ar { color: #7a5a1e !important; }
}
