/* =========================================================
   Paws & Coffee — cozy cat café
   ========================================================= */
:root {
  --cream: #fbf3e6;
  --paper: #f4e7d3;
  --latte: #e7cfb0;
  --espresso: #2a1a12;
  --night: #120b08;
  --roast: #4a2c1d;
  --coffee: #7a4a2e;
  --terra: #c8643b;
  --terra-d: #a94e2a;
  --ginger: #e39a4f;
  --mustard: #e9b44c;
  --sage: #8fa57e;
  --pink: #f2a9a0;
  --red: #c7362c;
  --ink: #2a1a12;
  --muted: #6e5546;
  --radius: 28px;
  --gutter: max(20px, calc((100vw - 1280px) / 2));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --hand: "Caveat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9000; opacity: .3; mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
svg { display: block; }
a { color: inherit; }
::selection { background: var(--terra); color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--hand); }
.center { text-align: center; }
em { font-style: italic; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor canvas, .has-cursor [data-cursor] { cursor: none; }
.cursor-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--terra); }
.cursor-ring {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1.5px solid rgba(42, 26, 18, .5);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s, transform .3s var(--ease);
}
.cursor-label { font: 700 13px var(--body); color: var(--cream); opacity: 0; transform: scale(.5); transition: opacity .25s, transform .4s var(--bounce); white-space: nowrap; }
.cursor.labeled .cursor-ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--terra); border-color: var(--terra); }
.cursor.labeled .cursor-label { opacity: 1; transform: scale(1); }
.cursor.labeled .cursor-dot { opacity: 0; }
.cursor.on-dark .cursor-ring { border-color: rgba(251, 243, 230, .5); }
.cursor.down .cursor-ring { transform: scale(.8); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9800; color: var(--cream); }
.loader-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--espresso); }
.lp-1 { top: 0; }
.lp-2 { bottom: 0; }
.loader-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 28px var(--gutter); }
.loader-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--latte); }
.loader-center { display: grid; justify-items: center; gap: 14px; }
.loader-paw { width: 64px; height: 64px; fill: var(--terra); animation: pawPulse 1s var(--ease) infinite alternate; }
@keyframes pawPulse { from { transform: scale(.85) rotate(-10deg); } to { transform: scale(1.05) rotate(8deg); } }
.loader-word { font-family: var(--hand); font-size: 30px; color: var(--latte); margin: 0; }
.loader-bottom { display: flex; align-items: flex-end; gap: 30px; }
.loader-count { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 16vw, 220px); line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100, "WONK" 1; }
.loader-count sup { font-size: .3em; color: var(--terra); }
.loader-line { flex: 1; height: 2px; background: rgba(251, 243, 230, .15); margin-bottom: 20px; }
.loader-line i { display: block; height: 100%; width: 0; background: var(--mustard); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1280px, calc(100% - 24px)); z-index: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 16px; border-radius: 999px;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.scrolled { background: rgba(251, 243, 230, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 40px -18px rgba(42, 26, 18, .35), inset 0 0 0 1px rgba(42, 26, 18, .06); }
.nav.hidden { transform: translate(-50%, -140%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; transition: transform .6s var(--bounce); }
.brand:hover .brand-badge { transform: rotate(-20deg) scale(1.08); }
.brand-badge svg { width: 22px; height: 22px; fill: var(--cream); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.brand-name em { color: var(--terra); font-weight: 500; }
.nav-clock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-right: auto; padding-left: 10px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf6a; box-shadow: 0 0 0 0 rgba(76, 175, 106, .6); animation: dotPulse 2s infinite; flex: none; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 7px rgba(76, 175, 106, 0); } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: background .3s, color .3s; }
.nav-links a:not(.btn):hover { background: rgba(200, 100, 59, .12); color: var(--terra-d); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --hover: var(--mustard); --hfg: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid var(--bg); position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s, box-shadow .4s; will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--hover); transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .5s var(--ease), border-radius .5s var(--ease); }
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--hfg); box-shadow: 0 14px 30px -14px rgba(42, 26, 18, .6); }
.btn-terra { --bg: var(--terra); }
.btn-dark { --bg: var(--ink); }
.btn-mustard { --bg: var(--mustard); --fg: var(--ink); --hover: var(--cream); }
.btn-red { --bg: var(--red); --fg: #fff; --hover: var(--cream); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-paw { width: 18px; height: 18px; fill: currentColor; transition: transform .5s var(--bounce); }
.btn:hover .btn-paw { transform: rotate(25deg) scale(1.2); }
.btn .ig { width: 20px; height: 20px; }

/* ---------- Split text helpers ---------- */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .1em 0; margin: 0 -.12em -.1em 0; }
.split-ch { display: inline-block; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px var(--gutter) 34px; overflow: hidden;
}
.hero-glow { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 46% at 50% 54%, rgba(233, 180, 76, .45), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(200, 100, 59, .16), transparent 70%),
    radial-gradient(40% 50% at 100% 0%, rgba(242, 169, 160, .25), transparent 70%); }
.hero-row { display: flex; justify-content: space-between; gap: 30px; position: relative; }
.hero-row-top { align-items: flex-start; }
.hero-row-bottom { align-items: flex-end; }
.hero-word {
  font-family: var(--display); font-weight: 800; font-size: clamp(96px, 17.5vw, 300px);
  line-height: .8; letter-spacing: -.055em; position: relative; z-index: 0; white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; user-select: none;
}
.hero-word em { font-weight: 300; font-style: italic; color: var(--terra); margin-left: .04em; }
.hw-2 { text-align: right; margin-right: -.04em; }
.hero-intro { max-width: 360px; position: relative; z-index: 2; padding-top: 2vh; }
.hero-sub { font-size: 17px; color: var(--muted); margin: 0 0 22px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-meta { position: relative; z-index: 2; max-width: 300px; }
.hero-tag { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.hero-hint { font-size: 24px; color: var(--terra-d); margin: 0 0 18px; transform: rotate(-3deg); transform-origin: left; }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); }
.hs-line { width: 50px; height: 1.5px; background: currentColor; position: relative; overflow: hidden; }
.hs-line::after { content: ""; position: absolute; inset: 0; background: var(--terra); animation: hsl 2s var(--ease) infinite; }
@keyframes hsl { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; }
.hero-fallback { display: none; position: absolute; inset: 0; z-index: 1; place-items: center; pointer-events: none; }
.hero-fallback svg { width: min(40vw, 360px); filter: drop-shadow(0 30px 40px rgba(122, 74, 46, .25)); animation: bobF 4s ease-in-out infinite; }
@keyframes bobF { 50% { transform: translateY(-14px) rotate(-2deg); } }
.no-webgl .hero-fallback { display: grid; }
.meow {
  position: absolute; z-index: 3; left: 50%; top: 22%;
  background: var(--cream); font-family: var(--hand); font-size: 32px; font-weight: 700; padding: 8px 24px; border-radius: 28px;
  box-shadow: 0 14px 30px -12px rgba(42, 26, 18, .4);
  opacity: 0; transform: translate(-10%, 0) scale(.4) rotate(-10deg); transform-origin: bottom left; pointer-events: none;
  transition: opacity .3s, transform .5s var(--bounce);
}
.meow::after { content: ""; position: absolute; left: 22px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--cream); border-bottom: 0; }
.meow.show { opacity: 1; transform: translate(-10%, 0) scale(1) rotate(-4deg); }

/* ---------- Generic section ---------- */
.section { padding: 140px var(--gutter); position: relative; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra-d); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker.center { display: flex; justify-content: center; }
.kicker.light { color: var(--mustard); }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 104px); line-height: .98; letter-spacing: -.04em; margin: 0 0 24px; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.section-title em { color: var(--terra); font-weight: 400; }
.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--mustard); }
.section-lead { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 40px; text-align: center; }
.section-lead.left { margin-left: 0; text-align: left; }
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ---------- Story ---------- */
.story { min-height: 100svh; display: grid; align-items: center; padding: 120px var(--gutter); background: var(--cream); }
.story-text {
  font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.6vw, 74px); line-height: 1.12; letter-spacing: -.03em; margin: 0;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 100;
}
.story-text .w { display: inline-block; opacity: .12; margin-right: .22em; }
.pill { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; height: .9em; min-width: 1.6em; padding: 0 .25em; border-radius: 999px; background: var(--paper); margin: -.1em .06em 0; }
.pill svg { height: 80%; width: auto; }
.pill-cat { background: #f6d7b8; }
.pill-heart { background: var(--pink); color: var(--red); font-size: .6em; height: 1.5em; min-width: 2.6em; }
.pill-eye { background: #2a1a12; }
.pill-pupil { transform-box: fill-box; transform-origin: center; animation: blinkY 3s infinite; }
@keyframes blinkY { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
.story-walk { position: relative; height: 90px; margin-top: 60px; }
.walk-track { position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: repeating-linear-gradient(90deg, rgba(42, 26, 18, .25) 0 10px, transparent 10px 20px); }
.walker { position: absolute; bottom: 4px; left: 0; width: 120px; height: auto; }
.walker .leg { transform-box: fill-box; transform-origin: top center; }
.walker.walking .l1, .walker.walking .l4 { animation: legA .45s ease-in-out infinite alternate; }
.walker.walking .l2, .walker.walking .l3 { animation: legB .45s ease-in-out infinite alternate; }
@keyframes legA { from { transform: rotate(22deg); } to { transform: rotate(-22deg); } }
@keyframes legB { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
.walker .w-tail { transform-box: fill-box; transform-origin: bottom right; animation: tailW 1.2s ease-in-out infinite alternate; }
@keyframes tailW { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }

/* ---------- Velocity marquee ---------- */
.vmarquee { padding: 40px 0 80px; overflow: hidden; background: var(--cream); }
.vm-row { white-space: nowrap; overflow: hidden; display: flex; }
.vm-track { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; flex: none; will-change: transform; }
.vm-row span { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 9vw, 150px); line-height: 1.05; letter-spacing: -.045em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.vm-row span.o { color: transparent; -webkit-text-stroke: 2px var(--ink); font-style: italic; font-weight: 600; }
.vm-row i { font-style: normal; color: var(--terra); font-size: 60px; }
.vm-row b { font-size: 60px; }
.vm-row.rev span:not(.o) { color: var(--terra); }

/* ---------- Day (horizontal) ---------- */
.day { position: relative; height: 100svh; overflow: hidden; background: #fbf3e6; color: var(--ink); }
.day-sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, #ffe08a 0 55%, #f6b94b 100%); box-shadow: 0 0 80px 30px rgba(255, 200, 90, .45); left: 0; top: 0; opacity: 0; }
.moon { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; background: #f5efe0; box-shadow: inset -18px -10px 0 #d9cfba, 0 0 60px 10px rgba(245, 239, 224, .3); right: 16%; top: 22%; opacity: 0; }
.stars { position: absolute; inset: 0; opacity: 0; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.day-track { display: flex; height: 100%; width: max-content; position: relative; will-change: transform; }
.panel { width: 100vw; height: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 110px var(--gutter) 80px; flex: none; }
.panel-intro { width: 80vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.panel-intro .kicker { color: currentColor; opacity: .7; }
.panel-big { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 9vw, 160px); line-height: .9; letter-spacing: -.05em; margin: 0 0 28px; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.panel-big em { font-weight: 300; color: var(--terra); }
.panel-lead { font-size: 20px; opacity: .7; margin: 0; }
.panel-n { font-family: var(--display); font-size: 20px; font-weight: 700; opacity: .5; }
.panel-time { font-family: var(--hand); font-size: 40px; margin: 0; color: var(--terra-d); line-height: 1; }
.panel h3 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5.6vw, 92px); line-height: .95; letter-spacing: -.04em; margin: 12px 0 20px; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.panel p:not(.panel-time) { font-size: 19px; max-width: 440px; opacity: .8; margin: 0 0 26px; }
.panel-art { width: 100%; max-width: 520px; height: auto; justify-self: center; }
.panel-night .panel-time { color: var(--mustard); }
.art-steam path { stroke-dasharray: 40 140; animation: steamRise 3s linear infinite; }
.art-steam path:nth-child(2) { animation-delay: -1.4s; }
@keyframes steamRise { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -180; } }
.art-z text { animation: zz 2.6s ease-in-out infinite; }
.art-z text:nth-child(2) { animation-delay: .5s; }
.art-z text:nth-child(3) { animation-delay: 1s; }
.art-yarn { transform-box: fill-box; transform-origin: center; animation: roll 4s ease-in-out infinite alternate; }
@keyframes roll { from { transform: translateX(-20px) rotate(-90deg); } to { transform: translateX(10px) rotate(40deg); } }
.art-wand { transform-box: view-box; transform-origin: 200px 200px; animation: wand 1.6s ease-in-out infinite alternate; }
@keyframes wand { from { transform: rotate(-10deg); } to { transform: rotate(12deg); } }
.glow-eye { filter: drop-shadow(0 0 8px #ffd36b); animation: blinkY 4s infinite; transform-box: fill-box; transform-origin: center; }
.notes text { animation: noteFloat 3s ease-in-out infinite; }
.notes text:nth-child(2) { animation-delay: 1s; }
.notes text:nth-child(3) { animation-delay: 2s; }
@keyframes noteFloat { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-16px); opacity: 1; } }
.day-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 3px; background: rgba(127, 110, 100, .25); border-radius: 3px; }
.day-progress span { display: block; height: 100%; width: 0; background: var(--terra); border-radius: 3px; }

/* ---------- Menu ---------- */
.menu { background: var(--espresso); color: var(--cream); padding: 150px var(--gutter) 130px; position: relative; }
.menu::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 90% 0%, rgba(233, 180, 76, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(200, 100, 59, .22), transparent 70%); }
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; position: relative; }
.tabs { display: inline-flex; position: relative; background: rgba(251, 243, 230, .08); padding: 6px; border-radius: 999px; flex-wrap: wrap; }
.tab { position: relative; z-index: 1; background: none; border: 0; color: var(--latte); font: 700 15px var(--body); padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.tab.active { color: var(--ink); }
.tab-pill { position: absolute; top: 0; left: 0; height: 0; background: var(--mustard); border-radius: 999px; transition: transform .5s var(--bounce), width .5s var(--bounce), height .5s var(--bounce); }
.menu-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(231, 207, 176, .18); position: relative; }
.mrow {
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 90px; align-items: center; gap: 24px;
  padding: 22px 10px; border-bottom: 1px solid rgba(231, 207, 176, .18); position: relative; overflow: hidden; isolation: isolate;
  transition: padding .5s var(--ease), color .4s;
}
.mrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mustard); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.mrow:hover::before { transform: scaleY(1); }
.mrow:hover { color: var(--ink); padding-left: 26px; }
.mrow.hide { display: none; }
.mr-ico { width: 56px; height: 56px; display: grid; place-items: center; }
.mr-ico svg { width: 100%; height: 100%; transition: transform .5s var(--bounce); }
.mrow:hover .mr-ico svg { transform: scale(1.18) rotate(-8deg); }
.mr-name { font-family: var(--display); font-size: clamp(28px, 3.4vw, 50px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.mrow:hover .mr-name { font-style: italic; }
.mr-desc { color: rgba(231, 207, 176, .75); font-size: 16px; transition: color .4s; }
.mrow:hover .mr-desc { color: var(--roast); }
.mr-tag { justify-self: end; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; padding: 5px 12px; border-radius: 99px; opacity: .6; }
.menu-note { font-size: 26px; color: var(--mustard); margin: 34px 0 0; }
.menu-preview { position: fixed; top: 0; left: 0; z-index: 400; width: 240px; height: 240px; margin: -120px 0 0 -120px; pointer-events: none; }
.mp-inner { width: 100%; height: 100%; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transform: scale(0); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.mp-inner svg { width: 72%; height: 72%; }

/* ---------- Pet ---------- */
.pet { background: var(--cream); }
.pet-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.pet-stats { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 40px; }
.pet-stats li { display: flex; flex-direction: column; }
.pet-stats strong { font-family: var(--display); font-size: 56px; line-height: 1; font-weight: 800; color: var(--terra); font-variant-numeric: tabular-nums; }
.pet-stats span { color: var(--muted); font-size: 14px; }
.pet-card { background: var(--paper); border-radius: 40px; padding: 40px 34px 34px; position: relative; box-shadow: 0 40px 80px -50px rgba(42, 26, 18, .6); border: 2px dashed rgba(122, 74, 46, .25); }
.pet-card::before { content: ""; position: absolute; top: -16px; left: 50%; width: 120px; height: 34px; background: rgba(233, 180, 76, .75); transform: translateX(-50%) rotate(-3deg); border-radius: 4px; }
.pet-cat { width: 100%; height: auto; touch-action: none; }
.pet-cat .eyes-open { opacity: 0; transition: opacity .3s; }
.pet-cat .eyes-closed { transition: opacity .3s; }
.pet-cat .zzz text { animation: zz 2.6s ease-in-out infinite; opacity: 0; }
.pet-cat .zzz text:nth-child(2) { animation-delay: .5s; }
.pet-cat .zzz text:nth-child(3) { animation-delay: 1s; }
@keyframes zz { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
.pet-cat .pet-body { transform-box: fill-box; transform-origin: bottom center; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.01, 1.035); } }
.pet-cat.purring .pet-body { animation: purr .12s linear infinite; }
@keyframes purr { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.8px, -.6px); } 75% { transform: translate(-.8px, .6px); } }
.pet-cat.purring .zzz, .pet-cat.content .zzz { opacity: 0; }
.pet-cat.content .eyes-open { opacity: 1; }
.pet-cat.content .eyes-closed { opacity: 0; }
.pet-cat .pet-head { transform-box: fill-box; transform-origin: 60% 90%; transition: transform .5s var(--bounce); }
.pet-cat.purring .pet-head { transform: rotate(-5deg); }
.purr-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.purr-track { height: 14px; background: rgba(42, 26, 18, .1); border-radius: 99px; overflow: hidden; margin: 8px 0 10px; }
.purr-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--terra)); transition: width .25s; position: relative; }
.purr-fill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px); background-size: 22px 100%; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 22px 0; } }
.purr-msg { margin: 0; text-align: center; font-family: var(--hand); font-size: 26px; color: var(--muted); min-height: 1.5em; }
.float-heart { position: fixed; pointer-events: none; z-index: 8000; font-size: 22px; animation: heartUp 1.2s var(--ease) forwards; }
@keyframes heartUp { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.4); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x, 0px)), -140px) scale(1.3) rotate(var(--rot, 0deg)); } }

/* ---------- Rules (stack) ---------- */
.rules { background: var(--cream); padding-bottom: 60px; }
.rules-head { margin-bottom: 60px; }
.stack { position: relative; }
.stack-card {
  position: sticky; top: calc(110px + var(--i) * 18px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
  min-height: 360px; margin-bottom: 40px; padding: 50px 60px;
  background: var(--bg); color: var(--fg, var(--ink)); border-radius: 44px;
  box-shadow: 0 -20px 60px -40px rgba(42, 26, 18, .5);
  transform-origin: center top; will-change: transform;
}
.sc-n { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 13vw, 200px); line-height: .8; letter-spacing: -.06em; color: var(--terra); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.stack-card h3 { font-family: var(--display); font-size: clamp(34px, 4vw, 62px); line-height: 1; letter-spacing: -.03em; margin: 0 0 14px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.stack-card p { font-size: 19px; margin: 0; max-width: 520px; opacity: .78; }
.sc-art { width: clamp(110px, 14vw, 200px); height: auto; transform: rotate(8deg); filter: drop-shadow(0 20px 20px rgba(42, 26, 18, .2)); }

/* ---------- Mafia / Events ---------- */
.mafia { background: var(--night); color: var(--cream); position: relative; overflow: hidden; padding: 140px var(--gutter) 120px; --mx: 50%; --my: 40%; }
.mafia::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(199, 54, 44, .22), transparent 60%); }
.spot-layer { position: absolute; inset: 0; pointer-events: none; -webkit-mask: radial-gradient(260px circle at var(--mx) var(--my), #000 0, transparent 70%); mask: radial-gradient(260px circle at var(--mx) var(--my), #000 0, transparent 70%); }
.spot-text { position: absolute; inset: -20px; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1.1; letter-spacing: -.02em; color: rgba(199, 54, 44, .55); word-break: break-all; text-transform: uppercase; }
.mafia-inner { position: relative; }
.mafia-top { text-align: center; }
.fe-tag { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; border-radius: 99px; animation: pulseR 2s infinite; }
@keyframes pulseR { 50% { box-shadow: 0 0 0 12px rgba(199, 54, 44, 0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(199, 54, 44, .6); } }
.mafia-pre { font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--latte); margin: 26px 0 0; }
.neon {
  font-family: var(--display); font-weight: 900; font-size: clamp(60px, 12.5vw, 220px); line-height: .9; letter-spacing: -.04em; margin: 10px 0 0;
  color: #ffe9e5; position: relative; font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  text-shadow: 0 0 6px rgba(255, 120, 100, .9), 0 0 24px rgba(230, 60, 45, .8), 0 0 60px rgba(199, 54, 44, .7), 0 0 120px rgba(199, 54, 44, .5);
  animation: flicker 5s infinite;
}
.neon::before, .neon::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; text-shadow: none; }
.neon::before { color: #4ff; clip-path: inset(0 0 60% 0); }
.neon::after { color: #f3f; clip-path: inset(55% 0 0 0); }
.neon.glitch::before, .neon.glitch::after { opacity: .7; animation: glitch .3s steps(2) 2; }
@keyframes glitch { 0% { transform: translate(-6px, 2px); } 50% { transform: translate(5px, -3px); } 100% { transform: translate(-2px, 1px); } }
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .35; } }
.mafia-quote { font-size: clamp(28px, 3vw, 40px); color: var(--pink); margin: 6px 0 0; }
.mafia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 70px; }
.fe-details { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.fe-details li { display: flex; flex-direction: column; border-left: 2px solid rgba(199, 54, 44, .8); padding-left: 14px; }
.fe-details b { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mustard); }
.fe-details span { font-size: 18px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 480px; perspective: 400px; }
.cd { background: linear-gradient(#1f1512, #160f0c); border: 1px solid rgba(251, 243, 230, .1); border-radius: 18px; padding: 18px 6px 12px; text-align: center; position: relative; overflow: hidden; }
.cd::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: rgba(0, 0, 0, .6); }
.cd .flip { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.8vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd .flip.tick { animation: flipIn .5s var(--ease); }
@keyframes flipIn { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: rotateX(0); opacity: 1; } }
.cd small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 243, 230, .55); }
.cd-label { font-family: var(--hand); font-size: 26px; color: var(--latte); margin: 14px 0 26px; }
.fe-small { font-size: 14px; color: rgba(251, 243, 230, .55); margin: 14px 0 0; }
.role-cards { position: relative; height: 380px; perspective: 1200px; }
.role { position: absolute; left: 50%; top: 40px; width: 170px; height: 250px; margin-left: -85px; transform: translateX(var(--x)) rotate(var(--r)); transform-origin: 50% 130%; transition: transform .7s var(--bounce); cursor: pointer; }
.role-cards:hover .role { transform: translateX(calc(var(--x) * 1.5)) rotate(calc(var(--r) * 1.4)) translateY(-14px); }
.role:hover { z-index: 3; }
.role-cards .role:hover { transform: translateX(calc(var(--x) * 1.5)) rotate(calc(var(--r) * .5)) translateY(-50px) scale(1.06); }
.role-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.role.flipped .role-in { transform: rotateY(180deg); }
.role-front, .role-back { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8); }
.role-front { background: repeating-linear-gradient(45deg, #b62f26 0 10px, #a82920 10px 20px); border: 8px solid var(--cream); }
.role-front span { font-family: var(--display); font-weight: 900; font-size: 90px; color: var(--cream); }
.role-back { background: var(--cream); color: var(--ink); transform: rotateY(180deg); align-content: center; gap: 4px; text-align: center; }
.role-back small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.role-back strong { font-family: var(--display); font-size: 34px; line-height: 1; }
.role-back span { font-size: 48px; }
.role-hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 26px; color: var(--latte); margin: 0; }
.more-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 120px; position: relative; }
.ev { background: rgba(251, 243, 230, .05); border: 1px solid rgba(251, 243, 230, .1); border-radius: var(--radius); padding: 34px; transition: background .4s, border-color .4s; position: relative; overflow: hidden; }
.ev:hover { background: rgba(251, 243, 230, .1); border-color: rgba(233, 180, 76, .5); }
.ev-ico { font-size: 40px; display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgba(251, 243, 230, .08); margin-bottom: 20px; transition: transform .6s var(--bounce); }
.ev:hover .ev-ico { transform: rotate(-12deg) scale(1.12); }
.ev h3 { font-family: var(--display); font-size: 28px; margin: 0 0 8px; letter-spacing: -.02em; }
.ev p { margin: 0; color: rgba(251, 243, 230, .65); }
.follow-note { text-align: center; margin: 50px 0 0; color: rgba(251, 243, 230, .65); position: relative; }
.follow-note a { color: var(--mustard); font-weight: 700; }

/* ---------- Staff ring ---------- */
.staff { background: var(--paper); padding: 140px 0 120px; overflow: hidden; }
.staff-head { padding: 0 var(--gutter); }
.ring-stage { height: 560px; perspective: 1800px; display: grid; place-items: center; margin: 10px 0 50px; touch-action: pan-y; user-select: none; }
.ring { position: relative; width: 240px; height: 330px; transform-style: preserve-3d; }
.polaroid {
  position: absolute; inset: 0; margin: 0; background: #fff; padding: 14px 14px 18px; border-radius: 8px;
  box-shadow: 0 30px 50px -30px rgba(42, 26, 18, .6); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 70px; height: 24px; background: rgba(233, 180, 76, .7); transform: translateX(-50%) rotate(3deg); }
.polaroid .ph { aspect-ratio: 1; background: var(--bg); display: grid; place-items: center; border-radius: 3px; overflow: hidden; }
.polaroid .ph svg { width: 74%; }
.polaroid figcaption { font-family: var(--hand); font-size: 25px; text-align: center; margin-top: 12px; line-height: 1.05; }
.polaroid small { display: block; font-family: var(--body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Visit ---------- */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: stretch; }
.visit-card { background: var(--paper); border-radius: 44px; padding: 54px; }
.visit-live { font-size: 18px; margin: -6px 0 18px; color: var(--muted); }
.visit-live b { color: var(--terra-d); }
.visit-item { display: flex; gap: 18px; padding: 18px 0; border-top: 1px dashed rgba(122, 74, 46, .25); }
.visit-item h4 { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-d); }
.visit-item p { margin: 2px 0 0; font-size: 18px; }
.visit-item a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--mustard); }
.vi-icon { font-size: 26px; width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--cream); border-radius: 16px; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map-wrap { border-radius: 44px; overflow: hidden; position: relative; min-height: 520px; background: var(--latte); box-shadow: 0 30px 60px -40px rgba(42, 26, 18, .6); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.9); }
.map-pin { position: absolute; top: 20px; right: 20px; width: 64px; height: 64px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .4); animation: bounceY 2s var(--ease) infinite; pointer-events: none; }
.map-pin svg { width: 32px; height: 32px; fill: var(--cream); }
@keyframes bounceY { 50% { transform: translateY(-10px); } }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--cream); position: relative; border-radius: 50px 50px 0 0; margin-top: 40px; overflow: hidden; }
.pit { position: relative; height: 440px; overflow: hidden; border-bottom: 1px solid rgba(251, 243, 230, .12); touch-action: pan-y; }
.pit-hint { position: absolute; top: 28px; left: 0; right: 0; text-align: center; font-size: 28px; color: var(--latte); margin: 0; pointer-events: none; }
.pit-item { position: absolute; top: 0; left: 0; display: grid; place-items: center; user-select: none; will-change: transform; font-family: var(--display); font-weight: 700; white-space: nowrap; }
.pit-pill { padding: 0 26px; border-radius: 999px; font-size: 28px; letter-spacing: -.02em; }
.pit-ball { border-radius: 50%; }
.pit-ball svg { width: 56%; height: 56%; }
.footer-inner { padding: 70px var(--gutter) 40px; }
.footer-word {
  font-family: var(--display); font-weight: 800; margin: 0; font-size: clamp(64px, 14.5vw, 240px); line-height: .88; letter-spacing: -.055em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  background: linear-gradient(100deg, var(--cream) 30%, var(--mustard) 50%, var(--cream) 70%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite;
}
.footer-word em { font-weight: 300; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(251, 243, 230, .15); padding-top: 26px; margin-top: 30px; color: var(--latte); }
.footer-row p { margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 700; position: relative; }
.footer-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--mustard); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-copy { font-size: 14px; color: rgba(251, 243, 230, .5); margin: 26px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-clock { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); border: 0; cursor: pointer; z-index: 2; }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--cream); transition: transform .4s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links { position: fixed; top: -14px; left: 50%; width: 100vw; height: 100svh; transform: translateX(-50%); flex-direction: column; justify-content: center; gap: 10px; background: var(--cream); clip-path: circle(0 at calc(100% - 50px) 38px); transition: clip-path .7s var(--ease); }
  .nav-links.open { clip-path: circle(150% at calc(100% - 50px) 38px); }
  .nav-links a:not(.btn) { font-family: var(--display); font-size: 42px; font-weight: 700; }
  .nav-links .btn { margin-top: 16px; }
  .hero { padding-top: 92px; }
  .hero-row { flex-direction: column; gap: 14px; }
  .hero-row-bottom { flex-direction: column-reverse; align-items: stretch; }
  .hero-word { font-size: 25vw; }
  .hw-2 { align-self: flex-end; }
  .hero-intro { display: none; }
  .hero-hint { display: none; }
  .meow { top: 30%; }
  .panel { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 10px; padding: 96px 24px 70px; align-content: center; }
  .panel-intro { width: 100vw; }
  .panel-art { max-width: 300px; max-height: 36svh; order: -1; }
  .panel h3 { font-size: 46px; margin: 6px 0 12px; }
  .panel p:not(.panel-time) { font-size: 16px; margin-bottom: 18px; }
  .panel-time { font-size: 32px; }
  .mrow { grid-template-columns: 54px 1fr; gap: 6px 16px; }
  .mr-ico { grid-row: span 2; width: 50px; height: 50px; }
  .mr-tag { display: none; }
  .mr-desc { font-size: 14px; }
  .menu-preview { display: none; }
  .pet-grid, .visit-grid, .mafia-grid { grid-template-columns: 1fr; gap: 50px; }
  .stack-card { grid-template-columns: 1fr; gap: 14px; padding: 36px 30px; min-height: 0; top: calc(90px + var(--i) * 14px); }
  .sc-art { position: absolute; right: 24px; top: 24px; width: 90px; }
  .more-events { grid-template-columns: 1fr; margin-top: 80px; }
  .section, .menu, .mafia { padding-top: 100px; padding-bottom: 100px; }
  .staff { padding: 100px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 19px; }
  .hero-word { font-size: 27vw; }
  .hero-meta { max-width: none; }
  .hero-tag { font-size: 11px; }
  .vm-row i, .vm-row b { font-size: 36px; }
  .vm-row span.o { -webkit-text-stroke-width: 1.5px; }
  .pet-card { padding: 30px 18px 22px; border-radius: 30px; }
  .pet-stats strong { font-size: 44px; }
  .fe-details { grid-template-columns: 1fr; }
  .countdown { gap: 8px; }
  .cd { padding: 14px 2px 10px; border-radius: 14px; }
  .role-cards { height: 300px; transform: scale(.64); transform-origin: top center; margin-bottom: -90px; }
  .ring-stage { height: 420px; }
  .ring { width: 190px; height: 268px; }
  .polaroid figcaption { font-size: 21px; }
  .visit-card { padding: 34px 22px; border-radius: 30px; }
  .map-wrap { min-height: 360px; border-radius: 30px; }
  .pit { height: 380px; }
  .pit-pill { font-size: 20px; padding: 0 18px; }
  .footer { border-radius: 30px 30px 0 0; }
  .spot-text { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
