/* Caffeine Tashkent — premium coffee house */
:root {
  --espresso: #000;
  --roast: #0b0b0b;
  --bean: #141414;
  --cream: #fff;
  --milk: #fff;
  --foam: #f1f1f1;
  --ink: #000;
  --mute: #4d4d4d;
  --red: #e8343a;
  --red-deep: #c4232a;
  --caramel: #fff;
  --line: rgba(0, 0, 0, .14);
  --line-light: rgba(255, 255, 255, .18);
  --stripe: 56px;
  --hdr: 74px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(16px, 4vw, 56px);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--red); color: #fff; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
em { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: 0; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font: 600 12px/1 var(--body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--caramel);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--ink); }
.h2 {
  margin: 0;
  font: 500 clamp(34px, 5.4vw, 80px)/1.02 var(--display);
  letter-spacing: -.035em;
}
.h2 em { font-size: 1.12em; color: var(--ink); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--caramel); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 30px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--body); letter-spacing: .01em;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn--small { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--red::before { background: var(--cream); }
.btn--red:hover { color: var(--ink); }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1px var(--line-light); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.arrow { position: relative; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.arrow::after { content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--espresso); color: var(--cream); }
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__cup { width: 120px; height: 120px; }
.loader__steam { stroke-dasharray: 30; animation: steam 1.6s linear infinite; opacity: .7; }
.loader__count { font: 500 14px/1 var(--display); letter-spacing: .1em; opacity: .7; }
.loader__curtain { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #fff 0 var(--stripe), #000 var(--stripe) calc(var(--stripe) * 2)); transform: translateY(100%); }
@keyframes steam { to { stroke-dashoffset: -60; } }

/* ---------- grain & cursor ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 95; opacity: 0; transition: opacity .4s; }
  .cursor.is-on { opacity: 1; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
  .cursor { mix-blend-mode: difference; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid rgba(255, 255, 255, .8);
    display: grid; place-items: center;
    transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
  }
  .cursor__label { font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .15); }
  .cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-view .cursor__dot { opacity: 0; }
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  color: var(--cream);
  transition: transform .6s var(--ease), background .4s, padding .4s var(--ease);
}
.header.is-scrolled { background: rgba(0, 0, 0, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); padding-top: 12px; padding-bottom: 12px; }
.header.is-hidden { transform: translateY(-110%); }
.header__logo img { height: 40px; width: auto; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.header.is-top .header__logo img { opacity: 0; transform: translateY(-8px); }
.header__nav { display: flex; gap: 6px; }
.header__nav a { position: relative; padding: 10px 16px; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity .3s; }
.header__nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:hover { opacity: 1; }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-light); }
.lang button { padding: 8px 12px; border-radius: 999px; font: 600 12px/1 var(--body); letter-spacing: .08em; opacity: .6; transition: all .3s; }
.lang button.is-active { background: var(--cream); color: var(--ink); opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-light); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.is-drawer .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.is-drawer .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease-io);
  visibility: hidden;
}
.is-drawer .drawer { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.drawer__nav { display: grid; gap: 6px; }
.drawer__nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.drawer__nav span { font-size: 12px; color: var(--caramel); }
.drawer__nav b { font: 500 clamp(34px, 9vw, 56px)/1.1 var(--display); letter-spacing: -.03em; }
.drawer__foot a { font: 500 20px var(--display); }
.drawer__foot p { color: rgba(255, 255, 255, .65); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: 120px var(--pad) 40px;
  background: radial-gradient(110% 75% at 50% 0%, #1c1c1c 0%, #000 62%);
  color: var(--cream);
  display: grid; grid-template-rows: auto auto 1fr auto;
}
.hero__glow { position: absolute; width: 60vw; height: 60vw; left: 50%; top: 45%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 60%); filter: blur(20px); pointer-events: none; }
.hero__beans { position: absolute; inset: 0; pointer-events: none; }
.bean { position: absolute; width: 26px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6d4128, #2a160d 70%); box-shadow: inset -3px -4px 6px rgba(0,0,0,.4); }
.bean::after { content: ''; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 3px; margin-left: -1.5px; border-radius: 50%; background: #170c07; transform: rotate(8deg); }
.hero__top { display: flex; justify-content: center; position: relative; z-index: 2; }
.hero__eyebrow { color: var(--cream); opacity: .8; margin: 0; }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232,52,58,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(232,52,58,0); } 100% { box-shadow: 0 0 0 0 rgba(232,52,58,0); } }
.hero__title {
  position: relative; z-index: 1;
  margin: 3vh 0 0; display: flex; justify-content: center;
}
.hero__logo { width: min(74vw, 820px, 68vh); height: auto; will-change: transform, clip-path; filter: drop-shadow(0 20px 60px rgba(0,0,0,.45)); }
.hero__stage {
  position: relative; z-index: 3;
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 2vw, 32px);
  margin-top: clamp(16px, 3vh, 40px);
  pointer-events: none;
}
.arch {
  margin: 0; position: relative;
  width: clamp(110px, min(14vw, 24vh), 230px); aspect-ratio: 3 / 4;
  border-radius: 999px 999px 26px 26px;
  background: var(--milk);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.arch img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.15); }
.arch--c { width: clamp(140px, min(18vw, 30vh), 290px); }
.arch--l { transform: translateY(-8%); }
.arch--r { transform: translateY(-14%); }
.steam { position: absolute; left: 50%; top: 2%; width: 40%; transform: translateX(-50%); overflow: visible; }
.steam path { fill: none; stroke: rgba(28,20,16,.18); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 40 160; animation: rise 3.2s linear infinite; filter: blur(2px); }
.steam path:nth-child(2) { animation-delay: -1s; }
.steam path:nth-child(3) { animation-delay: -2.1s; }
@keyframes rise { from { stroke-dashoffset: 200; opacity: 0; } 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }
.hero__bottom { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin-top: clamp(20px, 3vh, 40px); }
.hero__lead { margin: 0; max-width: 380px; color: rgba(255,255,255,.75); font-size: 16px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; }
.hero__scroll { justify-self: end; display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--cream), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: #000; color: #fff; padding: 22px 0; position: relative; z-index: 5; border-top: 1px solid rgba(255,255,255,.14); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; font: 500 clamp(22px, 3vw, 40px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.marquee__track b { font-size: .6em; opacity: .7; }

/* ---------- about ---------- */
.about { padding: clamp(110px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); }
.manifesto { margin: 0; max-width: 1180px; font: 500 clamp(26px, 3.6vw, 54px)/1.18 var(--display); letter-spacing: -.03em; }
.manifesto .w { display: inline-block; opacity: .14; transition: none; }
.stats { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font: 500 clamp(44px, 6vw, 88px)/1 var(--display); letter-spacing: -.05em; }
.stat > span { color: var(--mute); font-size: 15px; }
.stat--red b { color: var(--ink); }

/* ---------- build ---------- */
.build { background: #fff; }
.build__pin { min-height: 100vh; display: flex; align-items: center; padding: 100px 0; }
.build__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.build__steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; gap: 4px; }
.build__steps li { display: flex; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .5s var(--ease); }
.build__steps li.is-active { opacity: 1; }
.build__steps span { font: 500 13px/1.6 var(--display); color: var(--ink); }
.build__steps b { font: 500 22px/1.2 var(--display); letter-spacing: -.02em; }
.build__steps p { margin: 6px 0 0; color: var(--mute); }
.build__cup { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.build__cup .cup-scene { width: 100%; height: auto; overflow: visible; display: block; }
.c-flow { animation: flow .5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.c-ripple { transform-box: fill-box; transform-origin: center; animation: ripple .9s ease-out infinite; }
@keyframes ripple { from { transform: scale(.4); } to { transform: scale(1.6); } }
.c-steam { stroke-dasharray: 60 240; animation: rise 3.6s linear infinite; }
.build__labels .lbl { position: absolute; left: -12%; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 12px/1 var(--body); letter-spacing: .06em; opacity: 0; transform: translateX(-20px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.build__labels .lbl.is-on { opacity: 1; transform: none; }
.lbl--esp { top: 76%; }
.lbl--milk { top: 50%; }
.lbl--foam { top: 27%; }

/* ---------- signature ---------- */
.signature { background: var(--espresso); color: var(--cream); overflow: hidden; }
.signature__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5vh, 40px); padding: 76px 0 56px; }
.signature .h2 { font-size: clamp(32px, min(4.6vw, 7vh), 70px); }
.signature__track { display: flex; gap: 28px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.sig {
  position: relative; flex: none;
  width: clamp(230px, min(22vw, 33vh), 330px);
  border-radius: var(--radius);
  background: var(--milk); color: var(--ink);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.sig__img { aspect-ratio: 6 / 5; display: grid; place-items: center; overflow: hidden; }
.sig__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.sig:hover .sig__img img { transform: scale(1.07) rotate(-1.5deg); }
.sig__body { padding: 18px 24px 22px; display: grid; gap: 6px; }
.sig__num { position: absolute; top: 20px; left: 22px; font: 600 12px/1 var(--display); color: var(--ink); letter-spacing: .1em; }
.sig__name { font: 500 26px/1.1 var(--display); letter-spacing: -.03em; }
.sig__desc { color: var(--mute); font-size: 14px; min-height: 2.8em; }
.sig__price { margin-top: 8px; font: 600 18px/1 var(--display); }
.sig__price small { font: 500 12px var(--body); color: var(--mute); margin-left: 4px; }
.signature__progress { margin: 0 var(--pad); height: 2px; background: var(--line-light); border-radius: 2px; overflow: hidden; }
.signature__progress i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }

/* ---------- menu ---------- */
.menu { padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); background: var(--cream); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.menu__tools { display: flex; gap: 12px; flex-wrap: wrap; }
.switch { position: relative; display: flex; padding: 5px; border-radius: 999px; background: var(--foam); }
.switch button { position: relative; z-index: 1; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: color .4s; }
.switch button.is-active { color: var(--cream); }
.switch__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.search { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: 999px; background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); min-width: 260px; transition: box-shadow .3s; }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; border: 0; outline: 0; background: none; font: 500 15px var(--body); color: var(--ink); min-width: 0; }
.cats {
  position: sticky; top: var(--hdr); z-index: 20;
  transition: top .6s var(--ease), box-shadow .3s;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 40px calc(var(--pad) * -1) 0; padding: 14px var(--pad);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.cat sup { font-size: 10px; color: var(--mute); margin-left: 4px; }
.cat:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cat.is-active { background: var(--ink); color: var(--cream); box-shadow: none; }
.cat.is-active sup { color: rgba(255,255,255,.7); }
.menu__section { padding-top: 56px; scroll-margin-top: 150px; }
.menu__section h3 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 24px; font: 500 clamp(24px, 2.6vw, 36px)/1.1 var(--display); letter-spacing: -.03em; }
.menu__section h3 span { font: 500 13px var(--body); color: var(--mute); letter-spacing: 0; }
.menu__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.item {
  position: relative; text-align: left;
  display: flex; flex-direction: column;
  border-radius: 22px; background: var(--milk); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.item:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(0, 0, 0, .35); }
.item__img { aspect-ratio: 5 / 4; overflow: hidden; background: #fff; }
.item__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.item:hover .item__img img { transform: scale(1.06); }
.item__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item__name { font: 500 17px/1.2 var(--display); letter-spacing: -.02em; }
.item__desc { color: var(--mute); font-size: 13.5px; line-height: 1.45; }
.item__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item__meta { font-size: 12px; color: var(--mute); }
.price { font: 600 16px/1 var(--display); white-space: nowrap; }
.price small { font: 600 11px var(--body); color: var(--mute); margin-left: 3px; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: var(--red-deep); color: #fff; font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.menu__empty { padding: 60px 0; text-align: center; color: var(--mute); font-size: 18px; }
.menu__note { margin: 50px 0 0; color: var(--mute); font-size: 14px; }

/* ---------- kitchen ---------- */
.kitchen { position: relative; overflow: hidden; height: 120vh; min-height: 760px; background: var(--espresso); display: grid; place-items: center; }
.kitchen__cols { position: absolute; inset: -20% 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 18px; opacity: .55; }
.kcol { display: grid; gap: 18px; align-content: start; }
.kcol img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.kitchen::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(18,13,10,.65), rgba(18,13,10,.15)); pointer-events: none; }
.kitchen__card { position: relative; z-index: 2; max-width: 620px; margin: 0 var(--pad); padding: clamp(32px, 5vw, 60px); border-radius: 36px; text-align: center; color: var(--cream); background: rgba(0, 0, 0, .6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-light); }
.kitchen__card .eyebrow { justify-content: center; }
.kitchen__card p:not(.eyebrow) { color: rgba(255,255,255,.75); margin: 22px auto 30px; max-width: 440px; }

/* ---------- locations ---------- */
.locations { padding: clamp(100px, 12vw, 170px) 0; }
.loc__grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.loc { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--milk); box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.loc::before { content: ''; position: absolute; right: -30%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 18px, transparent 18px 36px); z-index: -1; transition: transform 1s var(--ease); }
.loc:hover::before { transform: translate(-10%, 10%) scale(1.2); }
.loc__num { font: 500 14px var(--display); color: var(--ink); }
.loc h3 { margin: 18px 0 4px; font: 500 clamp(30px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.04em; }
.loc__sub { margin: 8px 0 0; color: var(--mute); }
.loc__hours { margin: 22px 0 6px; font: 500 20px var(--display); }
.loc__status { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--mute); }
.loc__status i { width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.loc__status.is-open { color: #237a40; }
.loc__status.is-open i { background: #237a40; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(47,143,78,.5) } 70% { box-shadow: 0 0 0 10px rgba(47,143,78,0) } 100% { box-shadow: 0 0 0 0 rgba(47,143,78,0) } }
.loc__actions { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--espresso); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0 34px; overflow: hidden; }
.footer__cta { display: grid; justify-items: start; gap: 6px; }
.footer__phone { font: 500 clamp(30px, 5.5vw, 84px)/1 var(--display); letter-spacing: -.04em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .8s var(--ease), color .4s; padding-bottom: 6px; }
.footer__phone:hover { background-size: 100% 2px; color: var(--caramel); }
.footer__logo { width: 100%; height: auto; margin: clamp(60px, 9vw, 120px) 0 40px; opacity: .96; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.55); font-size: 14px; }
.footer__row p { margin: 0; }
.totop:hover { color: var(--cream); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card { position: relative; width: min(860px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; background: var(--milk); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__img { background: #fff; min-height: 320px; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.modal__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.modal__name { margin: 0; font: 500 clamp(28px, 3.4vw, 42px)/1.05 var(--display); letter-spacing: -.04em; }
.modal__desc { color: var(--mute); font-size: 17px; margin: 14px 0 22px; }
.modal__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.modal__meta span { padding: 8px 14px; border-radius: 999px; background: var(--foam); font-size: 13px; font-weight: 600; }
.modal__price { margin-top: auto; padding-top: 30px; font: 600 34px/1 var(--display); letter-spacing: -.03em; }
.modal__price small { font: 600 14px var(--body); color: var(--mute); margin-left: 6px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 24px; line-height: 1; transition: transform .5s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--red); }

/* ---------- reveal helpers (JS-driven) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .header .btn--small { display: none; }
  .hero__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero__scroll { display: none; }
  .build__grid { grid-template-columns: 1fr; gap: 30px; }
  .build__cup { max-width: 320px; order: -1; }
  .build__pin { padding: 90px 0 60px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 30px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .header__logo img { height: 32px; }
  .hero { padding-top: 100px; }
  .hero__stage { margin-top: 24px; }
  .arch--l, .arch--r { width: 26vw; }
  .arch--c { width: 34vw; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { justify-content: center; }
  .loc__grid { grid-template-columns: 1fr; }
  .modal__card { grid-template-columns: 1fr; }
  .modal__img { min-height: 0; aspect-ratio: 5 / 4; }
  .menu__tools { width: 100%; }
  .search { min-width: 0; flex: 1 1 100%; }
  .switch { flex: 1 1 100%; }
  .switch button { flex: 1; }
  .menu__list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item__body { padding: 12px 12px 14px; }
  .item__name { font-size: 14.5px; }
  .item__desc { font-size: 12px; }
  .item__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price { font-size: 14px; }
  .kitchen__cols { grid-template-columns: repeat(2, 1fr); }
  .kcol:nth-child(3) { display: none; }
  .lbl { display: none; }
  .signature__pin { height: auto; padding: 90px 0 60px; }
  .signature__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .sig { width: 76vw; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}

/* ---------- brand stripes ---------- */
.stripes { height: clamp(28px, 4vw, 44px); background: repeating-linear-gradient(90deg, #000 0 var(--stripe), #fff var(--stripe) calc(var(--stripe) * 2)); background-size: calc(var(--stripe) * 2) 100%; animation: stripes 6s linear infinite; }
.stripes--edge { box-shadow: inset 0 1px 0 #000, inset 0 -1px 0 #000; }
@keyframes stripes { to { background-position: calc(var(--stripe) * 2) 0; } }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 var(--stripe), transparent var(--stripe) calc(var(--stripe) * 2)); }
.kitchen__card::before { content: ''; position: absolute; inset: 0 0 auto; height: 10px; border-radius: 36px 36px 0 0; background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 36px); opacity: .9; }
.footer::before { content: ''; display: block; height: 14px; margin: calc(clamp(80px, 10vw, 140px) * -1) 0 clamp(80px, 10vw, 140px); background: repeating-linear-gradient(90deg, #fff 0 var(--stripe), #000 var(--stripe) calc(var(--stripe) * 2)); }
.cats.is-stuck { box-shadow: 0 1px 0 var(--line); }
@media (max-width: 760px) { :root { --stripe: 34px; } }

/* ---------- 3D hero ---------- */
.hero3d { display: none; }
.hero.is-3d .arch, .hero.is-3d .hero__beans { display: none; }
.hero.is-3d .hero__stage { margin-top: 0; }
.hero.is-3d .hero__title { z-index: 5; }
.hero.is-3d .hero3d { display: block; width: min(100%, 1280px); height: clamp(420px, 66vh, 800px); margin: -15vh auto -7vh; }
.hero3d canvas { display: block; width: 100% !important; height: 100% !important; }
@media (max-width: 760px) { .hero.is-3d .hero3d { height: clamp(400px, 60vh, 560px); margin: -10vh auto -6vh; } }
