:root { --sun: #ffd23f; --red: #e5290f; --pink: #ff6ba8; --ink: #1d1d1d; --mint: #b7f0d2; --ease: cubic-bezier(.2, .9, .3, 1.2); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--sun); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; font-size: 1.1rem; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: "Dela Gothic One", Impact, sans-serif; font-weight: 400; margin: 0; text-transform: uppercase; line-height: .92; }

.tagfix { position: fixed; right: .8rem; bottom: .8rem; z-index: 90; background: var(--ink); color: #fff; font: 700 .75rem/1.3 "DM Sans", sans-serif; padding: .5rem .9rem; border-radius: 99px; text-decoration: none; max-width: calc(100vw - 1.6rem); }
.tagfix:hover { background: var(--red); }
main, header, footer { position: relative; z-index: 1; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; }

.top { position: fixed; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 4vw, 2.5rem); z-index: 60; }
.logo { font-family: "Dela Gothic One", sans-serif; font-size: 1.3rem; text-decoration: none; background: var(--ink); color: var(--sun); padding: .2rem .8rem; border-radius: 99px; transform: rotate(-3deg); transition: transform .3s var(--ease); }
.logo:hover { transform: rotate(3deg) scale(1.08); }
.top nav { display: flex; gap: 1.2rem; align-items: center; font-weight: 700; }
.top nav a { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline wavy; }
.btn { display: inline-block; background: var(--ink); color: var(--sun); font-weight: 700; padding: 1rem 2rem; border-radius: 99px; text-decoration: none; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--red); transition: transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--red); }
.btn.sm { padding: .4rem 1.1rem; box-shadow: 3px 3px 0 var(--red); }

/* hero */
.hero { background: var(--sun); min-height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 6rem clamp(1rem, 4vw, 2.5rem) 3rem; overflow: hidden; }
.hero .shade { background: linear-gradient(100deg, rgba(255, 210, 63, .93) 0%, rgba(255, 210, 63, .78) 55%, rgba(255, 210, 63, .45) 100%); }
.hero > :not(.bg):not(.shade) { position: relative; z-index: 1; }
.hero > .sticker { position: absolute; }
.hero h1 { font-size: clamp(4rem, 19vw, 19rem); color: var(--red); text-shadow: .03em .03em 0 var(--ink); }
.w { display: block; transform: translateY(40%) rotate(4deg); opacity: 0; animation: pop .9s var(--ease) forwards; }
.w2 { animation-delay: .12s; color: var(--ink); text-shadow: none; padding-left: 12vw; font-size: .55em; }
.w3 { animation-delay: .24s; }
@keyframes pop { to { transform: none; opacity: 1; } }
.sticker { position: absolute; right: clamp(.5rem, 6vw, 5rem); top: 16%; width: clamp(110px, 20vw, 240px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-sub { font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.6rem); max-width: 24ch; margin: 1.5rem 0 0; }

/* marquee */
.marquee { background: var(--ink); color: var(--sun); overflow: hidden; white-space: nowrap; transform: rotate(-1.5deg) scale(1.03); padding: .9rem 0; border-block: 4px solid var(--red); }
.track { display: inline-flex; animation: scroll 28s linear infinite; }
.track span { font-family: "Dela Gothic One", sans-serif; font-size: clamp(1.4rem, 3.4vw, 2.6rem); text-transform: uppercase; padding-right: 1ch; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* beans */
.beans { padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2.5rem); }
.beans h2 { font-size: clamp(2.6rem, 9vw, 8rem); margin-bottom: 2.5rem; }
.beans h2 span { color: var(--red); }
.bean-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.bean { position: relative; padding: 0 0 1.8rem; overflow: hidden; border: 4px solid var(--ink); border-radius: 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; box-shadow: 8px 8px 0 var(--ink); }
.bean:hover { transform: rotate(-2deg) translateY(-8px); box-shadow: 14px 14px 0 var(--ink); }
.b1 { background: var(--ink); color: var(--sun); } .b2 { background: var(--mint); } .b3 { background: var(--pink); }
.bean h3, .bean p { padding: 0 1.5rem; }
.ph { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 4px solid var(--ink); margin-bottom: 1.2rem; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.bean:hover .ph img { transform: scale(1.12) rotate(1.5deg); }
.bean .no { color: #fff; text-shadow: 2px 2px 0 var(--ink); opacity: 1 !important; position: absolute; top: 1rem; right: 1.2rem; font-family: "Dela Gothic One", sans-serif; font-size: 3.5rem; opacity: .35; }
.bean h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .6rem; }
.bean p { margin: 0; font-weight: 500; }

/* menu */
.menu { background: var(--red); color: var(--sun); padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2.5rem); border-radius: 48px 48px 0 0; }
.menu h2 { font-size: clamp(2.2rem, 10vw, 9rem); overflow-wrap: anywhere; margin-bottom: 2rem; }
.menu-list { list-style: none; margin: 0; padding: 0; max-width: 1000px; }
.menu-list li { display: flex; align-items: baseline; gap: .8rem; padding: .9rem 0; border-top: 2px solid rgba(255, 210, 63, .5); font-size: clamp(1.1rem, 3vw, 2rem); font-weight: 700; transition: padding-left .3s var(--ease), color .3s, background .3s; }
.menu-list li:hover { padding-left: 1.2rem; color: var(--ink); background: var(--sun); }
.dots { flex: 1; border-bottom: 3px dotted currentColor; opacity: .5; min-width: 1rem; }
.p { font-family: "Dela Gothic One", sans-serif; white-space: nowrap; }

/* visit */
.visit { position: relative; overflow: hidden; background: var(--ink); color: var(--sun); text-align: center; padding: clamp(5rem, 12vw, 10rem) 1rem; }
.visit .shade { background: rgba(29, 29, 29, .72); }
.visit .inner { position: relative; z-index: 1; }
.visit h2 { font-size: clamp(4rem, 20vw, 17rem); color: var(--pink); }
.visit p { font-size: 1.3rem; margin: 1.5rem 0 2rem; font-weight: 500; }
.visit .btn { background: var(--sun); color: var(--ink); border-color: var(--sun); box-shadow: 5px 5px 0 var(--pink); }
.credits { flex: 1 0 100%; margin: 0; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.4rem clamp(1rem, 4vw, 2.5rem) 4.5rem; background: var(--ink); color: var(--sun); font-size: .85rem; border-top: 1px solid rgba(255, 210, 63, .3); }

.js .rv { opacity: 0; transform: translateY(50px) rotate(2deg); transition: opacity .7s ease, transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .bean-grid { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
  .sticker { top: 11%; }
}
@media (hover: none) { @media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w { opacity: 1; transform: none; }
  .js .rv { opacity: 1; transform: none; }
    .marquee { overflow-x: auto; }
}
