/* ==================================================================
   KÖŞE KAHVE — kara tahta (HAYALİ KAFE, dmenu.tr örneği)
   ================================================================== */
:root {
  --slate: #1C2622;
  --slate2: #24312C;
  --chalk: #EEEBE2;
  --chalk-dim: rgba(238, 235, 226, .66);
  --yellow: #F3D27A;
  --pink: #EFA3B0;
  --blue: #93CBDD;
  --green: #B5D99C;
  --orange: #F2A66B;
  --brown: #D9A26B;
  --wood: #8A5A35;
  --wood-dark: #5E3B22;
  --hand: 'Kalam', 'Comic Sans MS', cursive;
  --title: 'Amatic SC', 'Kalam', cursive;
  /* tebeşir dokusu: harflerde ufak boşluklar */
  --chalkmask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='c'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -2.4 0 0 0 2.05'/></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>");
  /* silgi izleri */
  --smudge: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='700' height='1100'><g fill='none' stroke='white' stroke-linecap='round'><path d='M-40 160C160 100 380 240 620 150' stroke-width='70' opacity='.022'/><path d='M80 520C260 600 420 460 760 560' stroke-width='90' opacity='.018'/><path d='M-60 880C200 820 300 960 560 900' stroke-width='60' opacity='.024'/><path d='M420 300C520 360 600 320 720 380' stroke-width='40' opacity='.02'/></g></svg>");
}

body {
  background: var(--slate) var(--smudge) repeat;
  background-size: 700px 1100px;
  color: var(--chalk);
  font: 400 17px/1.5 var(--hand);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
.grain { opacity: .09; }

.chalk {
  -webkit-mask-image: var(--chalkmask);
  mask-image: var(--chalkmask);
  -webkit-mask-size: 220px;
  mask-size: 220px;
  text-shadow: 0 0 1px rgba(255, 255, 255, .35);
}

/* çizilerek beliren yollar */
.anim .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .is-in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.5, 0, .3, 1) var(--d, 0s); }

/* ---------- açılış ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: max(16px, env(safe-area-inset-top)) 16px 20px;
  max-width: 620px;
  margin: 0 auto;
}
.hero__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(239, 163, 176, .2); flex: none; }
.status.is-open i { background: var(--green); box-shadow: 0 0 0 3px rgba(181, 217, 156, .22); animation: pulse 2.4s ease-in-out infinite; }
.status.is-soon i { background: var(--yellow); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(181, 217, 156, 0); } }
.demo-pill {
  text-decoration: none;
  font-size: 13px;
  padding: 4px 11px;
  border: 1.5px dashed rgba(238, 235, 226, .45);
  border-radius: 999px;
  color: var(--chalk-dim);
}
.demo-pill b { color: var(--yellow); font-weight: 700; }

.frame {
  position: relative;
  padding: 13px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #9C6A42, var(--wood) 40%, var(--wood-dark));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .3);
  transform-origin: 50% 0;
}
.slate {
  position: relative;
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(255, 255, 255, .04), transparent 50%),
    var(--slate2);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .55);
}
.hero__board { padding: 30px 18px 26px; text-align: center; overflow: hidden; touch-action: manipulation; }
.hero__since { margin: 0; font-size: 17px; color: var(--chalk-dim); letter-spacing: .04em; }
.logo {
  margin: 4px 0 0;
  font: 700 clamp(92px, 30vw, 168px)/.8 var(--title);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo span { display: block; padding: 0 .06em; }
.logo__b { color: var(--lc, var(--yellow)); margin-top: .02em; }
.anim .logo span { clip-path: inset(-10% 100% -10% 0); }
.anim .hero.is-in .logo__a { animation: write .9s cubic-bezier(.55, 0, .4, 1) .15s forwards; }
.anim .hero.is-in .logo__b { animation: write 1s cubic-bezier(.55, 0, .4, 1) .75s forwards; }
.anim .hero.is-in .logo__b.is-rewrite { animation: write .8s cubic-bezier(.55, 0, .4, 1) forwards; }
@keyframes write { to { clip-path: inset(-10% -6% -10% 0); } }

.hcup { position: relative; width: 150px; margin: 6px auto 0; }
.hcup__steam { position: absolute; left: -20px; right: -20px; bottom: 0; height: calc(100% + 90px); width: calc(100% + 40px); pointer-events: none; }
.hcup__svg { position: relative; width: 100%; height: auto; }
.hero__tag { margin: 8px 0 0; font-size: 19px; }
.anim .hero__since, .anim .hero__tag, .anim .hero__bar, .anim .hero__go { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.anim .hero.is-in .hero__since { opacity: 1; transform: none; transition-delay: 1.5s; }
.anim .hero.is-in .hero__tag { opacity: 1; transform: none; transition-delay: 1.8s; }
.anim .hero.is-in .hero__bar { opacity: 1; transform: none; transition-delay: 2s; }
.anim .hero.is-in .hero__go { opacity: 1; transform: none; transition-delay: 2.3s; }

.doodle { position: absolute; transform: rotate(var(--r)); opacity: .9; pointer-events: none; }
.doodle svg { width: 100%; height: auto; }

/* tahtanın altındaki tebeşir rafı */
.tray {
  position: absolute;
  left: 18px; right: 18px; bottom: -2px;
  height: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-left: 6px;
}
.stick {
  position: relative;
  width: 34px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 3px 5px 5px 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 100%, white 20%), var(--c) 55%, color-mix(in srgb, var(--c) 80%, black));
  transform: translateY(var(--y, 0)) rotate(calc(var(--i) * 3deg - 4deg));
  box-shadow: 0 2px 2px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .25s ease;
}
.stick::before { content: ''; position: absolute; inset: -14px -4px; }   /* dokunma alanı */
.stick:hover, .stick.is-picked { --y: -5px; }
.eraser {
  margin-left: auto;
  width: 54px; height: 16px;
  border-radius: 3px;
  background: linear-gradient(180deg, #E9DFCB 0 40%, #6B4A30 40%);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .4);
  transform: rotate(-3deg);
}

.hero__go {
  align-self: center;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 17px;
  color: var(--chalk-dim);
}
.hero__go svg { width: 18px; height: 30px; }
.anim .hero__go span { animation: nudge 2.2s ease-in-out infinite 3s; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ---------- içindekiler ---------- */
.toc { max-width: 620px; margin: 0 auto; padding: 56px 20px 24px; }
.toc__title { font: 700 58px/1 var(--title); margin: 0 0 18px; text-align: center; }
.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc__a {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--c);
}
.toc__n { font-size: 15px; color: var(--chalk-dim); }
.toc__label { font: 700 40px/1 var(--title); }
.toc__count { font-size: 15px; color: var(--chalk-dim); }
.toc__ring { position: absolute; inset: -2px 0; pointer-events: none; }
.toc__ring svg { width: 100%; height: 100%; overflow: visible; }
.toc__ring .draw, .anim .is-in .toc__ring .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s ease; }
.toc__a:hover .toc__ring .draw, .toc__a:focus-visible .toc__ring .draw, .anim .is-in .toc__a:hover .toc__ring .draw { stroke-dashoffset: 0; }
.anim .toc__list li { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease calc(var(--i) * .1s), transform .5s ease calc(var(--i) * .1s); }
.anim .toc__list.is-in li { opacity: 1; transform: none; }

/* ---------- bölümler ---------- */
.sec { max-width: 620px; margin: 0 auto; padding: 72px 20px 24px; }
.shead { text-align: center; margin-bottom: 30px; color: var(--c); }
.shead__n {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 2px solid currentColor;
  border-radius: 50% 46% 52% 48%;
  font-size: 16px;
  margin-bottom: 8px;
  transform: rotate(-6deg);
}
.stitle { font: 700 clamp(58px, 17vw, 84px)/.95 var(--title); margin: 0; color: var(--chalk); }
.scribble { display: block; width: min(220px, 60%); height: 14px; margin: 2px auto 0; }
.scribble svg { width: 100%; height: 100%; overflow: visible; }
.shead__sub { margin: 10px 0 0; color: var(--chalk-dim); font-size: 17px; }

/* tahta satırları */
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.line { display: grid; gap: 1px; }
.line__row { display: flex; align-items: baseline; gap: 8px; }
.line__name { font-weight: 700; font-size: 20px; }
.line__row i { flex: 1; border-bottom: 2.5px dotted rgba(238, 235, 226, .35); transform: translateY(-5px); min-width: 16px; }
.price { font-weight: 700; font-size: 20px; color: var(--yellow); white-space: nowrap; }
.price small { font-size: .75em; font-weight: 400; }
.line__desc { color: var(--chalk-dim); font-size: 15.5px; line-height: 1.4; }
.line__pair { font-size: 15px; color: var(--pink); }
.line__pair b { font-weight: 700; }
.anim .line { clip-path: inset(-20% 100% -20% 0); }
.anim .is-in .line { clip-path: inset(-20% -3% -20% 0); transition: clip-path .8s cubic-bezier(.5, 0, .4, 1) calc(var(--i) * .12s); }
.note { margin: 22px 0 0; font-size: 15px; color: var(--chalk-dim); text-align: center; border-top: 1.5px dashed rgba(238, 235, 226, .25); padding-top: 14px; }

/* ---------- 01 kahve şeması ---------- */
.scheme {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0 auto 44px;
  max-width: 440px;
  padding: 10px 0 4px;
}
.scheme__art { width: 100%; }
.scheme__svg { width: 100%; height: auto; overflow: visible; }
.scheme__svg text { font: 700 17px var(--hand); }
.scheme__reel { display: grid; justify-items: center; text-align: center; width: 100%; }
.reel { overflow: hidden; width: 100%; }
.reel__list { display: flex; flex-direction: column; will-change: transform; }
.reel--name { height: 62px; }
.reel--name span { height: 62px; font: 700 60px/62px var(--title); }
.reel--price { height: 30px; }
.reel--price span { height: 30px; line-height: 30px; }
.reel--desc { height: 46px; }
.reel--desc span { height: 46px; font-size: 15.5px; line-height: 1.45; color: var(--chalk-dim); display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.scheme__dots { display: flex; gap: 2px; margin-top: 10px; }
.sdot { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sdot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.8px solid var(--chalk-dim); transition: background .2s, transform .2s; }
.sdot.is-on::before { background: var(--yellow); border-color: var(--yellow); transform: scale(1.25); }

/* ---------- şerit ---------- */
.marquee { margin: 64px 0 0; padding: 14px 0; border-block: 2px dashed rgba(238, 235, 226, .25); transform: rotate(-1.5deg); }
.marquee__seq { gap: 22px; padding-right: 22px; }
.mq__w { font: 700 36px/1 var(--title); }
.mq__dot { color: var(--orange); font-size: 18px; }

/* ---------- 02 demleme ---------- */
.split2 { display: grid; gap: 26px; align-items: center; }
.brew { width: min(230px, 64vw); margin: 0 auto; }
.brew__svg { width: 100%; height: auto; overflow: visible; }
.kettle { animation: bob 4s ease-in-out infinite; transform-origin: 60px 80px; }
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-2px); } }
.brew__stream { animation: flow .6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -13; } }
.drips circle { opacity: 0; }
.brew.is-on .drips circle { animation: drip 1.5s cubic-bezier(.5, 0, 1, 1) infinite; }
.brew.is-on .drips circle:nth-child(2) { animation-delay: .5s; }
.brew.is-on .drips circle:nth-child(3) { animation-delay: 1s; }
@keyframes drip { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 1; transform: translateY(56px) scale(.8); } }

/* ---------- 03 soğuk ---------- */
.glass { position: relative; display: block; width: min(180px, 52vw); margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; }
.glass__svg { width: 100%; height: auto; overflow: visible; }
.ice { transform-box: fill-box; transform-origin: center; animation: float 3.6s ease-in-out infinite calc(var(--i) * -1.2s); }
@keyframes float { 50% { transform: translateY(-4px) rotate(4deg); } }
.glass.is-clink .ice { animation: clink .5s ease-out, float 3.6s ease-in-out infinite calc(var(--i) * -1.2s) .5s; }
@keyframes clink { 25% { transform: translate(-4px, -6px) rotate(-14deg); } 55% { transform: translate(3px, -2px) rotate(10deg); } }
.glass__say { position: absolute; top: 6%; left: -6%; font: 700 34px/1 var(--title); color: var(--blue); opacity: 0; transform: rotate(-12deg); pointer-events: none; }
.glass.is-clink .glass__say { animation: say 1.1s ease-out; }
@keyframes say { 15% { opacity: 1; transform: rotate(-12deg) translateY(-6px) scale(1.1); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(-12deg) translateY(-18px); } }
.sec--cold .price { color: var(--blue); }

/* ---------- 04 yanına ---------- */
.sec--sweet .price { color: var(--pink); }
.pick {
  margin: 44px auto 0;
  max-width: 420px;
  padding: 22px 18px 20px;
  text-align: center;
  border: 2.5px solid rgba(239, 163, 176, .7);
  border-radius: 18px 22px 16px 24px;
  transform: rotate(-1deg);
}
.pick__q { font: 700 40px/1 var(--title); margin: 0 0 12px; color: var(--pink); }
.pick__slots { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; flex-wrap: wrap; }
.slot { font: 700 30px/1.05 var(--title); min-width: 4ch; }
.slot.is-tick { animation: tick .12s ease-out; }
@keyframes tick { from { transform: translateY(-8px); opacity: .3; } }
.pick__plus { color: var(--chalk-dim); font-size: 22px; }
.pick.is-hit .slot { color: var(--yellow); }
.pick__btn {
  margin-top: 14px;
  padding: 10px 26px;
  font: 700 18px var(--hand);
  color: var(--slate);
  background: var(--pink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.pick__btn:active { transform: scale(.96); }

/* ---------- bilgi ---------- */
.cards { display: grid; gap: 14px; }
.card {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  border: 2px dashed color-mix(in srgb, var(--c) 65%, transparent);
  border-radius: 16px 20px 14px 18px;
  background: rgba(255, 255, 255, .02);
}
.card__label { margin: 0 0 4px; color: var(--c); font-weight: 700; font-size: 15px; }
.card__value { margin: 0; font-size: 18px; }
.card__cta { display: inline-block; margin-top: 6px; color: var(--c); font-size: 15px; }
.hours { list-style: none; margin: 10px 0 0; padding: 0; font-size: 15px; color: var(--chalk-dim); }
.hours li { display: flex; justify-content: space-between; padding: 2px 0; }
.hours .is-today { color: var(--chalk); font-weight: 700; }
.copy { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 14px; background: rgba(147, 203, 221, .1); border: 1.5px solid rgba(147, 203, 221, .5); border-radius: 12px; cursor: pointer; }
.copy__pw { font-weight: 700; letter-spacing: .03em; }
.copy__hint { font-size: 14px; color: var(--blue); }
.copy.is-done { background: rgba(181, 217, 156, .14); border-color: var(--green); }
.copy.is-done .copy__hint { color: var(--green); }
.stars { display: flex; gap: 4px; margin: 4px 0 6px; }
.stars svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linejoin: round; }
.stars svg:nth-child(-n+5) { fill: rgba(243, 210, 122, .35); }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
.anim .cards .card { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.anim .cards.is-in .card { opacity: 1; transform: none; }
.anim .cards.is-in .card:nth-child(2) { transition-delay: .08s; }
.anim .cards.is-in .card:nth-child(3) { transition-delay: .16s; }
.anim .cards.is-in .card:nth-child(4) { transition-delay: .24s; }
.anim .cards.is-in .card:nth-child(5) { transition-delay: .32s; }
.anim .cards.is-in .card:nth-child(6) { transition-delay: .4s; }

.demo-note {
  margin: 40px 0 0;
  padding: 18px;
  text-align: center;
  border-radius: 16px;
  background: rgba(243, 210, 122, .08);
  border: 1.5px solid rgba(243, 210, 122, .35);
  font-size: 16px;
}
.demo-note p { margin: 0 0 8px; }
.demo-note__cta { color: var(--yellow); font-weight: 700; }
.info__foot { text-align: center; margin: 22px 0 0; font-size: 13.5px; color: var(--chalk-dim); }

/* ---------- alt menü ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  width: min(600px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(20, 28, 25, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(238, 235, 226, .16);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
  transform: translate(-50%, 140%);
  transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.dock.is-visible { transform: translate(-50%, 0); }
.dock__top { flex: none; width: 46px; height: 40px; display: grid; place-items: center; border-radius: 999px; }
.dock__stick {
  display: block;
  height: 9px;
  width: calc(32px * (1 - var(--p, 0) * .7));
  border-radius: 3px 5px 5px 3px;
  background: linear-gradient(180deg, #fff, var(--chalk) 55%, #BDB8AA);
  transform: rotate(-12deg);
  box-shadow: 4px 6px 0 -3px rgba(238, 235, 226, .25);
}
.dock__track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.dock__track::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  color: var(--chalk-dim);
  transition: background .25s, color .25s;
}
.chip.is-active { background: var(--c); color: var(--slate); font-weight: 700; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 60;
  width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--chalk);
  color: var(--slate);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.dust { position: fixed; z-index: 95; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; }

/* ---------- geniş ekran ---------- */
@media (min-width: 900px) {
  .hero, .toc { max-width: 680px; }
  .sec { max-width: 900px; }
  .split2 { grid-template-columns: 300px 1fr; gap: 56px; }
  .split2--rev > :first-child { order: 2; }
  .brew, .glass { width: 260px; }
  .sec--esp > .lines, .sec--sweet > .lines { max-width: 620px; margin: 0 auto; }
}

/* kaydırmalı sahne yokken (hareketi azalt / GSAP yüklenmedi) */
.static .scheme { margin-bottom: 36px; }
