/* ============ Cyrus Coffee ============ */
:root {
  --cream: #f3e6d3;
  --cream-2: #ead6ba;
  --latte: #dcbf98;
  --caramel: #b07a4a;
  --espresso: #3b2116;
  --ink: #241209;
  --green: #1f6b3a;
  --green-2: #2e8a4f;
  --pink: #f2b8b5;
  --night: #120e1f;
  --f-chunk: "Bagel Fat One", "Arial Black", sans-serif;
  --f-serif: "Gloock", Georgia, serif;
  --f-hand: "Gochi Hand", "Comic Sans MS", cursive;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip; /* never set overflow on html too, or sticky sections break */
}
body.loading { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; }
.hand { font-family: var(--f-hand); }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ============ cursor ============ */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 100; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--espresso); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--espresso);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-label { font-style: normal; font-family: var(--f-hand); font-size: 16px; color: var(--cream); opacity: 0; transition: opacity .2s; }
.cursor.big .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--green); border-color: var(--green); }
.cursor.big .cursor-label { opacity: 1; }
.cursor.big .cursor-dot { opacity: 0; }
.cursor.on-dark .cursor-dot { background: var(--cream); }
.cursor.on-dark .cursor-ring { border-color: var(--cream); }

/* ============ loader ============ */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  display: grid; place-content: center; justify-items: center; gap: 6px;
}
.loader-bag { width: 110px; height: auto; }
.loader-fill { transform: translateY(190px); }
.loader-count { margin: 10px 0 0; font-family: var(--f-chunk); font-size: 44px; line-height: 1; color: var(--espresso); }
.loader-note { margin: 0; font-size: 20px; color: var(--caramel); }

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease), background .4s, padding .4s;
}
.nav.scrolled { background: rgba(243, 230, 211, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; }
.nav.hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.logo-mark { width: 44px; height: auto; }
.logo-word { font-family: var(--f-chunk); font-size: 28px; letter-spacing: .02em; line-height: 1; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--espresso); color: var(--cream); padding: 10px 18px; border-radius: 99px; font-weight: 600; font-size: 14px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 0 0 rgba(95, 211, 138, .7); animation: live 1.8s infinite; }
.nav-cta.closed .dot-live { background: #c9a98a; animation: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(95, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 138, 0); } }

/* ============ shared type ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel);
}
.eyebrow .num {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 99px;
  border: 1.5px solid currentColor; font-size: 12px; letter-spacing: 0;
}
.eyebrow.light { color: var(--latte); }
.display {
  margin: 0; font-family: var(--f-chunk); font-weight: 400; text-transform: uppercase;
  font-size: clamp(54px, 8.4vw, 132px); line-height: .86; letter-spacing: -.01em; color: var(--caramel);
  text-shadow: 0 2px 0 rgba(59, 33, 22, .08);
}
.display .w { display: inline-block; white-space: nowrap; }
.display .ch { display: inline-block; will-change: transform; }
.lede { max-width: 30ch; margin: 22px 0 0; font-size: clamp(16px, 1.25vw, 19px); color: #5a3a29; }
.title {
  margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(46px, 7vw, 108px); line-height: .95; letter-spacing: -.01em;
}
.title em { font-style: normal; color: var(--green); position: relative; }
.title em::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: .06em; height: .2em; z-index: -1;
  background: var(--pink); border-radius: 99px; transform: rotate(-2deg);
}
.title.light { color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 99px; border: 2px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.96); }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark::before { background: var(--green); }
.btn-ghost { border-color: var(--espresso); }
.btn-ghost::before { background: var(--espresso); }
.btn-ghost:hover { color: var(--cream); }
.btn-green { background: var(--green); color: var(--cream); margin-top: 28px; }
.btn-green::before { background: var(--espresso); }
.btn-cream { background: var(--cream); color: var(--espresso); }
.btn-cream::before { background: var(--pink); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light::before { background: var(--cream); }
.btn-outline-light:hover { color: var(--espresso); }

/* ============ STORY ============ */
.story { position: relative; }
.stage {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(60% 55% at 72% 55%, #f9efe0 0%, rgba(249, 239, 224, 0) 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(220, 191, 152, .45), rgba(220, 191, 152, 0) 70%),
    var(--cream);
}
.ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-chunk); font-size: 15vw; line-height: 1; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 2px rgba(176, 122, 74, .28); pointer-events: none; user-select: none;
}
.ghost-2, .ghost-4 { opacity: 0; }

.chapter {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(560px, 44vw); z-index: 5;
}
.ch-2, .ch-3, .ch-4 { opacity: 0; visibility: hidden; }
.ch-4 .display { color: var(--green); }
.scroll-hint { display: flex; align-items: flex-end; gap: 6px; margin: 34px 0 0; font-size: 21px; color: var(--caramel); }
.scroll-hint svg { width: 46px; height: 46px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px) rotate(4deg); } }

.scene-wrap {
  position: absolute; right: calc(var(--gutter) * .4); top: 52%; transform: translateY(-50%);
  width: min(92vh, 56vw); aspect-ratio: 1; z-index: 3;
}
.scene { width: 100%; height: 100%; overflow: visible; }
.arc-text { opacity: 0; transform-origin: 500px 600px; }
.arc-text text { font-family: var(--f-chunk); font-size: 54px; letter-spacing: 6px; fill: none; stroke: rgba(176, 122, 74, .55); stroke-width: 1.6; }
.mini { animation: bob 5s ease-in-out infinite; transform-box: fill-box; }
.mini-beans .mini:nth-child(2) { animation-delay: -1.3s; }
.mini-beans .mini:nth-child(3) { animation-delay: -2.6s; }
.mini-beans .mini:nth-child(4) { animation-delay: -3.4s; }
@keyframes bob { 50% { translate: 0 -16px; } }
.bloom circle { transform-box: fill-box; transform-origin: center; animation: bloom 1.6s ease-in-out infinite; }
.bloom circle:nth-child(2n) { animation-delay: -.8s; }
@keyframes bloom { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.15); opacity: 1; } }
.cube { fill: rgba(255, 255, 255, .42); stroke: rgba(255, 255, 255, .85); stroke-width: 3; }
.wave { animation: wave 3.2s linear infinite; }
@keyframes wave { to { transform: translateX(-200px); } }
.bag-label text { font-family: var(--f-chunk); font-size: 34px; fill: #f6efe2; letter-spacing: 1px; }

.tag-card { position: absolute; z-index: 6; width: clamp(150px, 15vw, 210px); opacity: 0; visibility: hidden; }
.tc-in {
  display: grid; gap: 2px; padding: 14px 16px 16px; border-radius: 16px;
  background: rgba(255, 250, 241, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 33, 22, .1); box-shadow: 0 18px 40px -18px rgba(59, 33, 22, .45);
  animation: floaty 5s ease-in-out infinite;
}
.tc-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: var(--cream); font-size: 17px; margin-bottom: 6px; }
.tag-card strong { font-family: var(--f-serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.tag-card small { font-size: 13px; line-height: 1.4; color: #6a4a38; }
.tc-1 { left: -12%; top: 22%; }
.tc-1 .tc-in { transform: rotate(-5deg); }
.tc-2 { right: -4%; top: 14%; }
.tc-2 .tc-in { animation-delay: -1.6s; }
.tc-3 { right: 0; bottom: 14%; }
.tc-3 .tc-in { animation-delay: -3.2s; }
@keyframes floaty { 50% { translate: 0 -10px; } }

.progress {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%); z-index: 8;
  list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
}
.progress li { width: 10px; height: 10px; border-radius: 50%; background: rgba(59, 33, 22, .2); position: relative; transition: background .3s, transform .4s var(--ease); }
.progress li span {
  position: absolute; right: 20px; top: 50%; transform: translate(6px, -50%); opacity: 0; transition: .35s var(--ease);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.progress li.on { background: var(--green); transform: scale(1.4); }
.progress li.on span { opacity: 1; transform: translate(0, -50%); }

/* ============ MARQUEE ============ */
.marquee { position: relative; z-index: 4; padding: 50px 0 30px; overflow: hidden; }
.mq { overflow: hidden; white-space: nowrap; }
.mq-a { background: var(--green); color: var(--cream); transform: rotate(-2.5deg); margin: 0 -2vw; padding: 18px 0; }
.mq-b { background: var(--espresso); color: var(--latte); transform: rotate(1.8deg); margin: -10px -2vw 0; padding: 14px 0; }
.mq-track { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; animation: mq 26s linear infinite; }
.mq-b .mq-track { animation-direction: reverse; animation-duration: 32s; }
.mq span { font-family: var(--f-chunk); font-size: clamp(28px, 4.4vw, 60px); line-height: 1.1; text-transform: uppercase; }
.mq-b span { font-family: var(--f-serif); text-transform: none; font-size: clamp(24px, 3.4vw, 44px); }
.mq i { font-style: normal; font-size: clamp(22px, 3vw, 40px); color: var(--pink); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ============ MENU ============ */
.menu { padding: 110px var(--gutter) 120px; }
.section-head { display: grid; gap: 4px; margin-bottom: 40px; position: relative; }
.section-head .sub { margin: 22px 0 0; font-size: 22px; color: var(--caramel); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip {
  font: 600 15px var(--f-body); color: var(--espresso); background: transparent; border: 1.5px solid rgba(59, 33, 22, .3);
  padding: 10px 20px; border-radius: 99px; transition: .3s var(--ease);
}
.chip:hover { border-color: var(--espresso); }
.chip.on { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.bags { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.bag-card {
  --liq: #6e3a1d; --tint: #ead6ba;
  position: relative; border-radius: 28px; padding: 26px 22px 24px; background: var(--tint);
  overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s; /* no transform/opacity transition: GSAP animates those */
  box-shadow: 0 1px 0 rgba(59, 33, 22, .06);
}
.bag-card:hover { box-shadow: 0 30px 60px -30px rgba(59, 33, 22, .55); }
.bag-card.hidden { display: none; }
.bag-card .tag {
  position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 250, 241, .8); padding: 6px 10px; border-radius: 99px;
}
.bag-card .no { position: absolute; top: 14px; right: 20px; font-family: var(--f-chunk); font-size: 34px; color: rgba(59, 33, 22, .14); }
.mini-bag { width: 66%; margin: 22px auto 10px; overflow: visible; transition: transform .6s var(--ease); }
.bag-card:hover .mini-bag { transform: rotate(-6deg) translateY(-6px) scale(1.04); }
.mini-bag .liq-wave { animation: wave2 2.6s linear infinite; }
.bag-card:hover .liq-wave { animation-duration: .9s; }
@keyframes wave2 { to { transform: translateX(-80px); } }
.bag-card h3 { margin: 6px 0 4px; font-family: var(--f-serif); font-weight: 400; font-size: 28px; line-height: 1.05; }
.bag-card p { margin: 0; font-size: 14.5px; color: #5d4030; }

.menu-note { margin: 46px 0 0; font-size: 16px; }
.menu-note a { font-weight: 600; color: var(--green); }

/* ============ HOURS ============ */
.hours { height: 340vh; position: relative; }
.hours-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.sky { position: absolute; inset: 0; background: var(--sky, #f6e7cf); }
.stars {
  position: absolute; inset: 0; opacity: var(--stars, 0);
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 28%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 9%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 36%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 58%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 52%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 93% 62%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 35% 70%, #fff 50%, transparent 51%);
  animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle { to { filter: brightness(.5); } }
.sun, .moon { position: absolute; left: 50%; top: 0; border-radius: 50%; will-change: transform; }
.sun {
  width: 26vmin; height: 26vmin; margin-left: -13vmin; background: radial-gradient(circle at 40% 40%, #ffe7a8, #f3a34e 70%);
  box-shadow: 0 0 120px 30px rgba(243, 163, 78, .35); transform: translate(var(--sx, 0), var(--sy, 0));
}
.moon {
  width: 16vmin; height: 16vmin; margin-left: -8vmin; background: #f5ecd9;
  box-shadow: inset -3vmin -1vmin 0 #d9ccb2, 0 0 80px 10px rgba(245, 236, 217, .25); transform: translate(var(--mx, 0), var(--my, 120vh));
}
.skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; background: var(--ground, #3b2116);
  clip-path: polygon(0 60%, 6% 60%, 6% 30%, 12% 30%, 12% 48%, 18% 48%, 18% 18%, 22% 18%, 22% 10%, 26% 10%, 26% 40%, 34% 40%, 34% 55%, 40% 55%, 40% 26%, 47% 26%, 47% 46%, 54% 46%, 54% 14%, 58% 14%, 58% 34%, 66% 34%, 66% 50%, 72% 50%, 72% 22%, 79% 22%, 79% 44%, 86% 44%, 86% 30%, 92% 30%, 92% 56%, 100% 56%, 100% 100%, 0 100%);
}
.hours-copy { position: relative; z-index: 2; text-align: center; color: var(--ink-c, var(--espresso)); padding: 0 var(--gutter); transition: color .3s; }
.hours-copy .eyebrow { color: inherit; opacity: .8; }
.clock { display: flex; align-items: baseline; justify-content: center; font-family: var(--f-chunk); font-size: clamp(84px, 17vw, 250px); line-height: .9; font-variant-numeric: tabular-nums; }
.clock .colon { animation: blink 1s steps(2) infinite; margin: 0 .02em; }
@keyframes blink { 50% { opacity: .2; } }
.clock-ap { font-size: .28em; margin-left: .18em; font-family: var(--f-body); font-weight: 700; letter-spacing: .05em; }
.clock-cap { margin: 10px 0 0; font-family: var(--f-hand); font-size: clamp(22px, 2.4vw, 32px); min-height: 1.4em; }
.hours-line { margin: 26px auto 0; max-width: 34ch; font-size: 17px; opacity: .85; }

/* ============ STICKERS ============ */
.board { padding: 120px var(--gutter) 80px; }
.sticker-field { position: relative; height: clamp(560px, 70vh, 720px); border-radius: 32px; background: var(--cream-2);
  background-image: radial-gradient(rgba(59, 33, 22, .12) 1.2px, transparent 1.3px); background-size: 22px 22px; overflow: hidden; }
.sticker {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r));
  padding: 22px 26px; border-radius: 22px; font-family: var(--f-serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 18px 30px -16px rgba(59, 33, 22, .5); user-select: none; cursor: grab;
  transition: box-shadow .3s, scale .3s var(--ease); border: 4px solid #fffaf1; touch-action: none;
}
.sticker small { display: block; font-family: var(--f-hand); font-size: .7em; margin-top: 8px; opacity: .85; }
.sticker em { font-style: normal; font-family: var(--f-chunk); }
.sticker.drag { cursor: grabbing; scale: 1.06; box-shadow: 0 30px 50px -20px rgba(59, 33, 22, .6); }
.s-green { background: var(--green); color: var(--cream); }
.s-cream { background: #fffaf1; color: var(--espresso); }
.s-brown { background: var(--espresso); color: var(--latte); }
.s-pink { background: var(--pink); color: var(--espresso); }
.s-round { width: clamp(130px, 13vw, 170px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--caramel); color: #fffaf1; font-family: var(--f-chunk); font-size: clamp(22px, 2vw, 28px); line-height: .95; padding: 0; }
.s-round span { animation: spin-slow 14s linear infinite; display: block; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ============ VISIT ============ */
.visit { padding: 40px var(--gutter) 120px; }
.visit-card {
  position: relative; overflow: hidden; border-radius: 40px; background: var(--green); color: var(--cream);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; padding: clamp(36px, 6vw, 90px);
}
.visit-card::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -30vmax; bottom: -40vmax; border-radius: 50%;
  border: 2px dashed rgba(243, 230, 211, .2); animation: spin-slow 60s linear infinite;
}
.visit-p { max-width: 34ch; margin: 22px 0 0; font-size: 18px; color: rgba(243, 230, 211, .85); }
.visit-right { margin: 0; display: grid; align-content: center; gap: 0; position: relative; z-index: 1; }
.visit-right div { padding: 20px 0; border-top: 1px solid rgba(243, 230, 211, .25); }
.visit-right div:last-child { border-bottom: 1px solid rgba(243, 230, 211, .25); }
.visit-right dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--latte); }
.visit-right dd { margin: 4px 0 0; font-family: var(--f-serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.visit-pin { position: absolute; right: 5%; top: 8%; width: 52px; animation: drop 2.6s var(--ease) infinite; opacity: .9; }
@keyframes drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============ FOOTER ============ */
.footer { padding: 30px var(--gutter) 34px; background: var(--espresso); color: var(--latte); overflow: hidden; }
.wordmark { display: flex; justify-content: space-between; font-family: var(--f-chunk); font-size: 27vw; line-height: .8; color: var(--cream); margin: 10px -.04em 24px; }
.wordmark span { display: inline-block; transition: color .3s; }
.wordmark.ready span { transition: transform .6s cubic-bezier(.34, 1.7, .5, 1), color .3s; }
.wordmark span:hover { transform: translateY(-12%) rotate(-6deg); color: var(--pink); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: 14px; }
.foot-row p { margin: 0; }
.foot-row a { text-decoration: none; border-bottom: 1px solid rgba(220, 191, 152, .4); }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .logo-word { font-size: 24px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .chapter { top: 92px; transform: none; width: auto; right: var(--gutter); }
  .display { font-size: clamp(46px, 13.5vw, 84px); }
  .lede { font-size: 15px; margin-top: 12px; max-width: 36ch; }
  .ch-1 .btn-row { margin-top: 18px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .btn-green { margin-top: 16px; }
  .scroll-hint { display: none; }
  .scene-wrap { width: min(108vw, 58svh); right: 50%; top: auto; bottom: 2svh; transform: translateX(50%); }
  .ghost { font-size: 26vw; top: 68%; }
  .tag-card { width: 128px; }
  .tc-in { padding: 10px 11px 12px; border-radius: 12px; }
  .tc-ico { width: 26px; height: 26px; font-size: 13px; margin-bottom: 2px; }
  .tag-card strong { font-size: 17px; }
  .tag-card { width: auto; }
  .tag-card small { display: none; }
  .tc-in { grid-auto-flow: column; align-items: center; gap: 8px; }
  .tc-ico { margin-bottom: 0; }
  .tc-1 { left: 4%; top: 46%; }
  .tc-2 { right: 6%; top: 34%; }
  .tc-3 { right: 8%; bottom: 10%; }
  .progress { right: 10px; top: auto; bottom: 22px; transform: none; gap: 12px; }
  .progress li span { display: none; }
  .visit-card { grid-template-columns: 1fr; border-radius: 28px; gap: 30px; }
  .sticker { padding: 14px 16px; font-size: 18px; border-width: 3px; }
  .sticker-field { height: 640px; }
  .s-green { --x: 4% !important; --y: 4% !important; }
  .s-cream:nth-child(2) { --x: 46% !important; --y: 18% !important; }
  .s-brown { --x: 8% !important; --y: 34% !important; }
  .s-pink { --x: 44% !important; --y: 50% !important; }
  .s-round { --x: 6% !important; --y: 64% !important; }
  .s-cream:nth-child(6) { --x: 48% !important; --y: 76% !important; }
  .marquee { padding: 30px 0 10px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .ch-1 .lede { display: none; }
  .scene-wrap { width: min(100vw, 50svh); }
  .display { font-size: clamp(42px, 12vw, 64px); }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .mq-track, .mini, .tc-in, .wave, .liq-wave, .s-round span, .visit-card::before, .visit-pin, .bloom circle, .scroll-hint svg { animation: none !important; }
}
