/* ==========================================================
   Rathu Coffee — Neon Coffee Club
   Tasarım & yazılım: Rathudan
   ========================================================== */

@font-face { font-family: "Yellowtail"; src: url("../fonts/yellowtail-latin-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Yellowtail"; src: url("../fonts/yellowtail-latin-ext-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BA, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-latin-ext-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 400; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 400; src: url("../fonts/manrope-latin-ext-400-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 700; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 700; src: url("../fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 800; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 800; src: url("../fonts/manrope-latin-ext-800-normal.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0418;
  --bg-2: #140a26;
  --bg-3: #1d0e36;
  --ink: #fff4fa;
  --muted: #bfaedb;
  --dim: #8a77ad;
  --pink: #ff2e88;
  --orange: #ff8a3d;
  --yellow: #ffd36b;
  --purple: #7b2cff;
  --teal: #1de9d6;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .035);
  --sunset: linear-gradient(180deg, #ffe58a 0%, #ffab52 32%, #ff5a7a 62%, #ff2e88 80%, #c81fd8 100%);
  --sunset-x: linear-gradient(90deg, #ffd36b, #ff8a3d 30%, #ff2e88 65%, #7b2cff);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.eyebrow {
  font-family: var(--font-display); letter-spacing: .22em; font-size: 15px;
  color: var(--teal); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
  text-shadow: 0 0 14px rgba(29, 233, 214, .55);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.title {
  font-weight: 800; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06;
  letter-spacing: -.02em; margin: 0 0 22px; max-width: 18ch;
}
.title em, .band__title em {
  font-family: var(--font-script); font-style: normal; font-weight: 400; letter-spacing: 0;
  background: var(--sunset-x); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .08em; font-size: 1.12em;
}
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); max-width: 58ch; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-size: 19px; letter-spacing: .12em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
  will-change: transform;
}
.btn--sm { --h: 44px; padding: 0 22px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--grad { background: var(--sunset-x); background-size: 200% 100%; color: #1a0630; box-shadow: 0 10px 40px -10px rgba(255, 46, 136, .8); }
.btn--grad:hover { background-position: 100% 0; color: #fff; box-shadow: 0 14px 50px -8px rgba(255, 46, 136, 1); }
.btn--neon { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--pink), 0 0 18px rgba(255, 46, 136, .45), inset 0 0 14px rgba(255, 46, 136, .35); }
.btn--neon:hover { background: var(--pink); color: #fff; box-shadow: inset 0 0 0 2px var(--pink), 0 0 36px rgba(255, 46, 136, .9); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--teal), 0 0 24px rgba(29, 233, 214, .45); color: var(--teal); }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-busy .btn__spinner { display: inline-block; }
.btn.is-busy { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.preloader__inner { display: grid; justify-items: center; gap: 10px; }
.preloader__inner img { animation: float 3s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(29, 233, 214, .5)); }
.preloader__word { font-family: var(--font-script); font-size: 64px; line-height: 1; color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px var(--pink), 0 0 42px var(--pink), 0 0 80px var(--pink); }
.preloader__bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; background: var(--sunset-x); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
body:not(.is-loading) .preloader { opacity: 0; visibility: hidden; }

.neon-flicker { animation: flicker 3.6s infinite; }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; text-shadow: none; }
}
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Ambient layers ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--sunset-x); box-shadow: 0 0 12px var(--pink); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 46, 136, .13), rgba(123, 44, 255, .06) 40%, transparent 70%); transition: opacity .4s; opacity: 0; }
.grain { position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .045;
  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% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1280px, calc(100% - 28px)); height: 70px; padding: 0 10px 0 16px;
  display: flex; align-items: center; gap: 24px; border-radius: 999px;
  background: rgba(14, 6, 30, .35); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background .4s, height .4s var(--ease), top .4s var(--ease), box-shadow .4s;
}
.nav.is-scrolled { top: 8px; height: 62px; background: rgba(14, 6, 30, .78); box-shadow: inset 0 0 0 1px rgba(255, 46, 136, .25), 0 10px 40px -10px rgba(0, 0, 0, .6); }
.nav.is-hidden { transform: translate(-50%, -130%); }
.nav { transition: transform .45s var(--ease), background .4s, height .4s var(--ease), top .4s var(--ease), box-shadow .4s; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { transition: transform .6s var(--ease); }
.nav__brand:hover img { transform: rotate(-14deg) scale(1.05); }
.nav__word { display: grid; line-height: 1; }
.nav__word b { font-family: var(--font-script); font-weight: 400; font-size: 30px; color: #fff; text-shadow: 0 0 10px var(--pink), 0 0 24px rgba(255, 46, 136, .6); }
.nav__word small { font-family: var(--font-display); letter-spacing: .3em; font-size: 11px; color: var(--teal); margin-top: 2px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 14px; font-weight: 700; font-size: 15px; color: var(--muted); border-radius: 999px; transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.nav__burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: radial-gradient(120% 80% at 50% 110%, rgba(255, 46, 136, .35), transparent 60%), rgba(11, 4, 24, .97);
  display: grid; align-content: center; justify-items: center; gap: 30px; padding: 100px 20px 40px;
  clip-path: circle(0 at calc(100% - 44px) 48px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 48px); visibility: visible; }
.mobile-menu nav { display: grid; text-align: center; gap: 4px; }
.mobile-menu a { font-family: var(--font-display); font-size: 46px; letter-spacing: .06em; line-height: 1.15; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .05s; } .mobile-menu.is-open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .15s; } .mobile-menu.is-open a:nth-child(5) { transition-delay: .2s; } .mobile-menu.is-open a:nth-child(6) { transition-delay: .25s; }
.mobile-menu a:hover { color: var(--pink); }
.mobile-menu p { color: var(--dim); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 120px 0 110px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero.has-3d .hero__canvas { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(60% 50% at 68% 58%, rgba(255, 140, 70, .55), transparent 70%), linear-gradient(180deg, #0d0624 0%, #3a1263 38%, #a3207f 62%, #ff4f7b 75%, #1a0833 75.2%, #07020f 100%); }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 4, 24, .88) 0%, rgba(11, 4, 24, .55) 38%, rgba(11, 4, 24, 0) 62%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero__content { position: relative; }
.hero__eyebrow { color: var(--yellow); text-shadow: 0 0 14px rgba(255, 211, 107, .5); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 1.8s infinite; }
.hero__eyebrow::before { display: none; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; margin: 6px 0 22px;
  font-size: clamp(60px, 8.4vw, 138px); line-height: .88; letter-spacing: .005em; max-width: 14ch;
}
.hero__title { filter: drop-shadow(0 4px 0 rgba(123, 44, 255, .55)) drop-shadow(0 0 24px rgba(255, 46, 136, .35)); }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .04em; margin-top: -.14em; }
.hero__title .word > span {
  display: inline-block; padding-top: .17em; margin-top: -.17em; transform: translateY(105%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(.5s + var(--i) * .09s);
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.is-ready .hero__title .word > span { transform: none; }
.hero__sub, .hero__actions, .hero__meta, .hero__eyebrow { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: .35s; }
.is-ready .hero__sub { opacity: 1; transform: none; transition-delay: 1.05s; }
.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: 1.2s; }
.is-ready .hero__meta { opacity: 1; transform: none; transition-delay: 1.35s; }
.hero__sub { color: #e8dcf6; max-width: 46ch; font-size: clamp(16px, 1.35vw, 19px); margin: 0 0 34px; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { list-style: none; display: flex; gap: clamp(22px, 4vw, 48px); padding: 0; margin: 46px 0 0; }
.hero__meta li { display: grid; }
.hero__meta b { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 400; color: #fff; text-shadow: 0 0 18px rgba(29, 233, 214, .55); }
.hero__meta span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.hero__scroll { position: absolute; left: 50%; bottom: 84px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.hero__postcard {
  position: absolute; right: clamp(20px, 5vw, 70px); bottom: 92px; display: grid; justify-items: end; line-height: 1;
  transform: rotate(-6deg); opacity: 0; transition: opacity 1.2s 1.6s;
}
.is-ready .hero__postcard { opacity: 1; }
.hero__postcard span { text-transform: uppercase; font-family: var(--font-display); letter-spacing: .3em; font-size: 13px; color: var(--teal); }
.hero__postcard b { font-family: var(--font-script); font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); color: #fff; text-shadow: 0 0 8px #fff, 0 0 20px var(--pink), 0 0 44px var(--pink); }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--sunset-x); transform: rotate(-1.6deg); margin: -34px -10px 0; padding: 14px 0; box-shadow: 0 10px 60px -10px rgba(255, 46, 136, .7); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { text-transform: uppercase; font-family: var(--font-display); font-size: 30px; letter-spacing: .08em; color: #1a0630; white-space: pre; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story__media { position: relative; }
.tilt-card { position: relative; border-radius: var(--radius); overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s;
  box-shadow: 0 30px 80px -30px rgba(255, 46, 136, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.tilt-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transform: scale(1.06); }
.tilt-card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .25), transparent 45%); mix-blend-mode: overlay; opacity: 0; transition: opacity .4s; }
.tilt-card:hover .tilt-card__shine { opacity: 1; }
.story__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); border: 2px solid var(--teal); box-shadow: 0 0 22px rgba(29, 233, 214, .5), inset 0 0 22px rgba(29, 233, 214, .25); z-index: -1; }
.story__badge { position: absolute; left: -26px; bottom: -30px; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(20, 10, 38, .85); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: float 5s ease-in-out infinite; }
.story__badge img { animation: spin 22s linear infinite; }
.story__badge span { font-family: var(--font-display); font-size: 22px; line-height: .95; letter-spacing: .1em; color: var(--yellow); }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 5vw, 70px); line-height: 1; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Signature rail ---------- */
.signature { padding-top: 0; }
.signature__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 22px; overflow-x: auto; padding: 6px 4px 28px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; cursor: grab; }
.signature__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.signature__rail::-webkit-scrollbar { height: 4px; } .signature__rail::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 4px; }
body .reveal-group > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow .5s; transition-delay: var(--d, 0s); }
body .reveal-group.in > * { opacity: 1; transform: none; }
body .reveal-group.in > .sig-card:hover { transform: translateY(-8px); transition-delay: 0s; }
.sig-card { scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.sig-card:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(255, 46, 136, .5), 0 26px 60px -24px rgba(255, 46, 136, .7); }
.sig-card__img { overflow: hidden; aspect-ratio: 4 / 3; }
.sig-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); user-select: none; }
.sig-card:hover .sig-card__img img { transform: scale(1.08); }
.sig-card__body { padding: 22px 24px 26px; position: relative; }
.sig-card__no { position: absolute; right: 20px; top: -34px; font-family: var(--font-display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); }
.sig-card h3 { margin: 0 0 6px; font-size: 22px; }
.sig-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.sig-card b { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--yellow); letter-spacing: .04em; }

/* ---------- Menu ---------- */
.menu { background: radial-gradient(70% 50% at 50% 0%, rgba(123, 44, 255, .18), transparent 70%); }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 40px; }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .3s; }
.tab.is-active { color: #1a0630; }
.tabs__ink { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); border-radius: 999px; background: var(--sunset-x); box-shadow: 0 0 24px rgba(255, 46, 136, .6); transition: left .5s var(--ease), width .5s var(--ease); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.menu-card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, opacity .4s; transform-style: preserve-3d; }
.menu-card:hover { box-shadow: inset 0 0 0 1px rgba(29, 233, 214, .45), 0 24px 60px -26px rgba(29, 233, 214, .55); }
.menu-card.is-hidden { display: none; }
.menu-card.pop { animation: pop .55s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.menu-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.menu-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.menu-card:hover .menu-card__img img { transform: scale(1.07) rotate(-1deg); }
.menu-card__img--icon { display: grid; place-items: center; aspect-ratio: auto; height: 120px;
  background: radial-gradient(circle at 50% 120%, rgba(255, 46, 136, .35), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 46, 136, .12) 0 1px, transparent 1px 22px), var(--bg-3); }
.menu-card__img--icon img { width: 70px; height: 70px; opacity: .9; }
.menu-card__body { padding: 20px 22px 22px; }
.menu-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.menu-card h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.menu-card__price { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--yellow); white-space: nowrap; text-shadow: 0 0 14px rgba(255, 211, 107, .35); }
.menu-card p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; font-family: var(--font-display); letter-spacing: .14em; font-size: 14px; background: var(--pink); color: #fff; box-shadow: 0 0 18px rgba(255, 46, 136, .8); }
.menu-card--noimg .badge { position: static; display: inline-block; margin-top: 12px; }

/* ---------- Band ---------- */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.band__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; z-index: -2; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 4, 24, .95), rgba(11, 4, 24, .75) 35%, rgba(11, 4, 24, .15) 70%), linear-gradient(0deg, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.band__inner { padding: 100px 0; }
.band__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(50px, 7.5vw, 112px); line-height: .92; margin: 0 0 20px; max-width: 11ch; text-transform: uppercase;
  color: #fff; text-shadow: 0 0 2px #fff, 0 0 18px rgba(255, 46, 136, .9), 0 0 50px rgba(255, 46, 136, .6); }
.band .lead { margin-bottom: 30px; color: #eadff7; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; grid-auto-flow: dense; gap: 18px; }
.g-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.g-item--wide { grid-column: span 2; }
.g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.g-item__btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.08); filter: saturate(1.25) brightness(1.08); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; display: grid; pointer-events: none;
  background: linear-gradient(0deg, rgba(11, 4, 24, .9), transparent); transform: translateY(30%); opacity: 0; transition: .5s var(--ease); }
.g-item:hover figcaption, .g-item:focus-within figcaption { transform: none; opacity: 1; }
.g-item figcaption b { font-size: 17px; } .g-item figcaption span { color: var(--muted); font-size: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 30px; background: rgba(8, 3, 18, .92); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .4s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 80vh; width: auto; margin: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 120px -20px rgba(255, 46, 136, .6); }
.lightbox figcaption { text-align: center; margin-top: 14px; color: var(--muted); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); font-size: 30px; line-height: 1; }
.lightbox__close:hover { background: var(--pink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -50px rgba(123, 44, 255, .7); backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1.2fr 1fr .8fr; }
.field { display: grid; gap: 7px; position: relative; }
.field > span { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.field small { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(11, 4, 24, .6); border: 0; border-radius: 14px; padding: 13px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: box-shadow .3s, background .3s; color-scheme: dark; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231de9d6' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #6f5d92; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal), 0 0 22px rgba(29, 233, 214, .25); background: rgba(11, 4, 24, .85); }
.field em { font-style: normal; font-size: 13px; color: #ff7aa8; min-height: 0; display: none; }
.field.has-error em { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: inset 0 0 0 2px #ff4f7b; }
.stepper { display: flex; align-items: center; width: max-content; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); background: rgba(11, 4, 24, .6); }
.stepper button { width: 48px; height: 48px; border: 0; background: none; font-size: 22px; color: var(--teal); border-radius: 14px; transition: background .3s; }
.stepper button:hover { background: rgba(29, 233, 214, .12); }
.stepper input { width: 56px; text-align: center; background: none; box-shadow: none; padding: 0; font-family: var(--font-display); font-size: 26px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.form__status { margin: 0; font-size: 15px; min-height: 1px; }
.form__status.ok { color: var(--teal); } .form__status.err { color: #ff7aa8; }

/* ---------- Reserve ---------- */
.reserve__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(26px, 4vw, 54px); align-items: stretch; }
.reserve__visual { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; min-height: 520px; box-shadow: 0 0 0 1px var(--line); }
.reserve__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reserve__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 4, 24, .95) 8%, rgba(11, 4, 24, .2) 60%, transparent); }
.reserve__visual-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3.5vw, 40px); }
.reserve__visual-text p:last-child { color: #e2d6f3; margin: 0; max-width: 44ch; }

/* ---------- Branches ---------- */
.branches__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.branch { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.branch:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .45), 0 26px 60px -30px rgba(255, 138, 61, .7); }
.branch__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.branch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.branch:hover .branch__img img { transform: scale(1.06); }
.branch__tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(11, 4, 24, .75); backdrop-filter: blur(8px); font-family: var(--font-display); letter-spacing: .14em; font-size: 14px; color: var(--teal); box-shadow: inset 0 0 0 1px rgba(29, 233, 214, .4); }
.branch__body { padding: 22px 24px 26px; }
.branch h3 { margin: 0 0 14px; font-size: 22px; }
.branch ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.branch li { display: flex; gap: 10px; align-items: flex-start; }
.branch li a:hover { color: var(--teal); }
.branch svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow { font-family: var(--font-display); letter-spacing: .14em; font-size: 17px; color: var(--yellow); display: inline-flex; gap: 8px; transition: gap .3s, color .3s; }
.link-arrow:hover { gap: 14px; color: #fff; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(60% 60% at 0% 100%, rgba(29, 233, 214, .1), transparent 60%); }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__list span { font-family: var(--font-display); letter-spacing: .16em; color: var(--teal); font-size: 15px; padding-top: 2px; }
.contact__list p { margin: 0; color: var(--muted); }
.contact__list a { font-weight: 700; } .contact__list a:hover { color: var(--pink); }
.socials { display: flex; gap: 12px; }
.socials a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: .35s var(--ease); }
.socials a:hover { box-shadow: inset 0 0 0 2px var(--pink), 0 0 22px rgba(255, 46, 136, .6); color: var(--pink); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 110px 0 30px; background: linear-gradient(180deg, var(--bg), #12052a); border-top: 1px solid var(--line); }
.footer__sun { position: absolute; left: 50%; bottom: -260px; width: 620px; height: 620px; margin-left: -310px; border-radius: 50%; background: var(--sunset); opacity: .18; filter: blur(2px);
  -webkit-mask: repeating-linear-gradient(0deg, #000 0 18px, transparent 18px 26px); mask: repeating-linear-gradient(0deg, #000 0 18px, transparent 18px 26px); }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 280px; height: auto; margin: -20px 0 8px -12px; }
.footer__brand p { color: var(--dim); font-size: 14px; max-width: 38ch; }
.footer h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: .18em; color: var(--teal); font-size: 17px; margin: 0 0 14px; }
.footer__grid > div:not(.footer__brand) a, .footer__grid > div p { display: block; color: var(--muted); font-size: 15px; margin: 0 0 8px; transition: color .3s, transform .3s; }
.footer__grid a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.footer__bottom a { color: var(--pink); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 95; max-width: min(520px, calc(100% - 32px)); padding: 16px 22px 16px 54px; border-radius: 18px;
  background: rgba(20, 10, 38, .95); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(29, 233, 214, .45), 0 20px 60px -10px rgba(29, 233, 214, .45);
  transform: translate(-50%, calc(100% + 60px)); visibility: hidden; transition: transform .6s var(--ease), visibility .6s; font-size: 15px; }
.toast::before { content: "☕"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }
.toast.is-err { box-shadow: inset 0 0 0 1px rgba(255, 79, 123, .6), 0 20px 60px -10px rgba(255, 46, 136, .5); }
.toast.is-err::before { content: "!"; font-family: var(--font-display); color: #ff4f7b; font-size: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__burger { margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .story__grid, .reserve__grid, .contact__grid { grid-template-columns: 1fr; }
  .story__media { margin: 0 18px 30px 0; }
  .reserve__visual { min-height: 380px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .g-item:nth-child(n) { grid-row: auto; }
  .g-item:nth-child(6n+1) { grid-column: span 2; }
  .hero__shade { background: linear-gradient(0deg, rgba(11, 4, 24, .95) 0%, rgba(11, 4, 24, .55) 45%, rgba(11, 4, 24, .15) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 20%); }
  .hero { align-items: flex-end; }
  .hero__postcard { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 62px; padding-left: 12px; gap: 10px; }
  .nav__brand img { width: 38px; height: 38px; }
  .nav__word b { font-size: 26px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .hero { padding-bottom: 80px; padding-top: 42vh; }
  .hero__meta { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-item--wide, .g-item:nth-child(6n+1) { grid-column: auto; }
  .g-item figcaption { opacity: 1; transform: none; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 18px; width: 100%; scrollbar-width: none; }
  .tab { white-space: nowrap; padding: 10px 16px; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .marquee span { font-size: 24px; }
  .story__badge { left: -8px; }
  .signature__rail { grid-auto-columns: 82%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}
