/* ============================================================
   MKTCHHA — the feed come alive
   tokens: ink / paper / pistachio / matcha-deep / pink / pink-hot
   ============================================================ */

:root {
  --ink: #221a14;
  --paper: #fff6ec;
  --pistachio: #a9c15e;
  --matcha-deep: #3e5519;
  --pink: #f7c5da;
  --pink-hot: #e86fa4;

  --display: "Anton", "Arial Black", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --script: "Caveat", cursive;
  --body: "Schibsted Grotesk", "Segoe UI", sans-serif;

  --shadow-sticker: 0 2px 0 rgba(34, 26, 20, 0.9);
  --border-sticker: 2px solid var(--ink);
  --radius: 18px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  /* subtle paper dot grid */
  background-image: radial-gradient(rgba(34, 26, 20, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

::selection { background: var(--pink-hot); color: var(--paper); }

img, svg { display: block; max-width: 100%; }

[hidden] { display: none !important; }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

:focus-visible {
  outline: 3px solid var(--pink-hot);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- prototype gate (delete at launch) ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
html.is-locked { overflow: hidden; }
.gate {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid; place-items: center;
  padding: 1.5rem;
  background: var(--paper);
  background-image: radial-gradient(rgba(34, 26, 20, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.gate__card {
  position: relative;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  background: var(--pink);
  border: var(--border-sticker);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(34, 26, 20, 0.9);
  padding: 2.2rem 2rem 1.8rem;
  width: min(92vw, 380px);
  rotate: -1.2deg;
}
.gate__lock { font-size: 2rem; }
.gate__title {
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}
.gate__sub { font-family: var(--script); font-size: 1.25rem; line-height: 1.25; }
.gate__input {
  font-family: var(--body);
  font-size: 1rem;
  text-align: center;
  padding: 0.7em 1em;
  border: var(--border-sticker);
  border-radius: 999px;
  background: var(--paper);
  width: 100%;
  margin-top: 0.6rem;
}
.gate__input:focus { outline: 3px solid var(--pink-hot); outline-offset: 1px; }
.gate__error { font-size: 0.9rem; font-weight: 700; color: #b3123d; }
.gate__btn { margin-top: 0.4rem; }
.gate.is-shaking .gate__card { animation: gateshake 0.4s ease; }
@keyframes gateshake {
  0%, 100% { translate: 0 0; }
  25% { translate: -8px 0; }
  50% { translate: 7px 0; }
  75% { translate: -4px 0; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: var(--border-sticker);
  border-radius: 999px;
  padding: 0.8em 1.6em;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn--pink { background: var(--pink-hot); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pink-hot); }
.btn--ink:hover { box-shadow: 5px 5px 0 var(--pink-hot); }
.btn--ghost { background: transparent; }
.btn--outline {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 3px 3px 0 rgba(255, 246, 236, 0.35);
}
.btn--outline:hover { box-shadow: 5px 5px 0 rgba(255, 246, 236, 0.35); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0.75rem; left: 50%;
  transform: translateX(-50%);
  width: min(96vw, 1080px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1.2rem;
  background: rgba(255, 246, 236, 0.88);
  backdrop-filter: blur(10px);
  border: var(--border-sticker);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(34, 26, 20, 0.9);
  z-index: 50;
}
.nav__logo {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: lowercase;
}
.nav__spark { color: var(--pink-hot); }
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: var(--pink-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 0.55em 1.2em; font-size: 0.95rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 5rem;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 60rem;
}
.hero__eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: clamp(0.7rem, 1.6vw, 0.9rem);
  margin-bottom: 1rem;
}
.hero__wordmark {
  font-family: var(--display);
  font-size: clamp(4.2rem, 17vw, 12.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  -webkit-text-stroke: 2px var(--ink);
}
.ltr { display: inline-block; color: var(--pistachio); text-shadow: 5px 5px 0 rgba(34,26,20,0.9); transform-origin: 50% 85%; }
.ltr--pink { color: var(--pink); }
.hero__sub {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  margin-top: 1.2rem;
  font-weight: 500;
}
.hero__sub em { font-family: var(--serif); font-size: 1.15em; color: var(--pink-hot); }
.hero__cta {
  display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}
.hero__hint {
  font-family: var(--script);
  font-size: 1.25rem;
  color: var(--matcha-deep);
  margin-top: 2.4rem;
  rotate: -2deg;
}

/* ---------- stickers (signature) ---------- */

.stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sticker {
  position: absolute;
  left: var(--x); top: var(--y);
  rotate: var(--r);
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}
.sticker:active { cursor: grabbing; }

.polaroid {
  background: var(--paper);
  border: var(--border-sticker);
  border-radius: 6px;
  padding: 0.55rem 0.55rem 0.4rem;
  width: clamp(120px, 15vw, 185px);
  box-shadow: 6px 6px 0 rgba(34, 26, 20, 0.85);
}
.polaroid__img {
  display: grid;
  place-content: center;
  text-align: center;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--pistachio);
  gap: 0.1rem;
  padding: 0.4rem;
}
.polaroid--pink .polaroid__img { background: var(--pink); }
.polaroid--paper .polaroid__img { background: var(--paper); }
.polaroid__big {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
}
.polaroid__small { font-family: var(--script); font-size: 1.15rem; }
.polaroid__caption {
  font-family: var(--script);
  font-size: 1.05rem;
  text-align: center;
  padding-top: 0.3rem;
}
.polaroid__img--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
  place-content: stretch;
}
.polaroid__img--grid span { background: rgba(34,26,20,0.16); border-radius: 3px; }
.polaroid__img--grid span:nth-child(2n) { background: rgba(232,111,164,0.5); }
.polaroid__img--club span {
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.tape {
  position: absolute;
  top: -10px; left: 50%;
  translate: -50% 0;
  width: 74px; height: 22px;
  background: rgba(169, 193, 94, 0.75);
  border: 1.5px dashed rgba(34, 26, 20, 0.35);
  rotate: -3deg;
}
.tape--slant { rotate: 6deg; background: rgba(247, 197, 218, 0.85); }

.badge { width: clamp(96px, 10vw, 132px); }
.badge__svg { animation: spin 14s linear infinite; }
.badge__bg { fill: var(--pink-hot); stroke: var(--ink); stroke-width: 2.5; }
.badge__text { font-family: var(--body); font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; fill: var(--paper); text-transform: uppercase; }
.badge__center { font-size: 30px; fill: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }
.badge__svg { transform-origin: 50% 50%; }

.bow { width: clamp(70px, 8vw, 104px); }
.bow__svg path, .bow__svg circle { fill: var(--pink-hot); stroke: var(--ink); stroke-width: 3; }
.bow__svg .bow__ribbon { stroke: var(--pink-hot); }

.note {
  font-family: var(--script);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.25;
  background: var(--pistachio);
  border: var(--border-sticker);
  padding: 0.7rem 1rem;
  border-radius: 4px;
  box-shadow: 5px 5px 0 rgba(34, 26, 20, 0.85);
  max-width: 190px;
}

.spark { font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--pink-hot); }
.spark--2 { color: var(--matcha-deep); }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: var(--border-sticker);
  border-bottom: var(--border-sticker);
  padding: 0.65rem 0;
  background: var(--pistachio);
}
.marquee--pink { background: var(--pink); }
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.06em;
}
.marquee__track--reverse { animation-direction: reverse; }
/* spans are the skew target (the track's transform belongs to the marquee animation) */
.marquee__track > span { display: inline-block; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); position: relative; }
.section--green { background: var(--pistachio); }
.section--pink { background: var(--pink); }
.section--paper { background: transparent; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow--script { color: var(--pink); }
.section--ink .headline em {
  color: var(--pistachio);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 Q 12 2, 24 7 T 46 7 T 68 7 T 90 7 T 118 6' fill='none' stroke='%23FFF6EC' stroke-width='3.5' stroke-linecap='round'/></svg>");
}
.section__inner { max-width: 1080px; margin: 0 auto; }
.section__inner--narrow { max-width: 720px; }
.section__note { font-family: var(--script); font-size: 1.3rem; margin-top: 0.4rem; }

.eyebrow--script {
  font-family: var(--script);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--pink-hot);
  rotate: -1.5deg;
  display: inline-block;
}
.section--green .eyebrow--script { color: var(--matcha-deep); }
.section--pink .eyebrow--script { color: var(--ink); }

.headline {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  max-width: 20ch;
  margin-top: 0.4rem;
}
.headline em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--pink-hot);
  /* hand-drawn underline, drawn on when the headline reveals (.squiggled) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M2 8 Q 12 2, 24 7 T 46 7 T 68 7 T 90 7 T 118 6' fill='none' stroke='%23221a14' stroke-width='3.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 0% 0.2em;
  transition: background-size 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.headline.squiggled em { background-size: 100% 0.2em; }
.section--green .headline em { color: var(--paper); }
.headline .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.headline .word > span { display: inline-block; }

/* ---------- service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.card {
  position: relative;
  background: var(--paper);
  border: var(--border-sticker);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 6px 6px 0 rgba(34, 26, 20, 0.9);
  rotate: var(--tilt);
  transition: rotate 0.25s ease, translate 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  rotate: 0deg;
  translate: 0 -6px;
  box-shadow: 9px 12px 0 rgba(34, 26, 20, 0.9);
}
.card__icon { width: 52px; margin-bottom: 0.9rem; }
.card__icon svg { stroke: var(--ink); fill: none; }
.card__icon circle[r="2.4"] { fill: var(--ink); }
.card__title {
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.card__copy { font-size: 0.98rem; }
.card__tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card__tags span {
  font-size: 0.78rem;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.15em 0.7em;
  background: var(--pink);
}
.card:nth-child(2n) .card__tags span { background: var(--pistachio); }

/* ---------- client wall ---------- */

.wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.wall__card {
  display: grid;
  gap: 0.3rem;
  text-decoration: none;
  border: var(--border-sticker);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(34, 26, 20, 0.9);
  rotate: var(--tilt);
  transition: rotate 0.25s ease, translate 0.25s ease, box-shadow 0.25s ease;
}
.wall__card:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 9px 12px 0 rgba(34, 26, 20, 0.9); }
.wall__card--pink { background: var(--pink); }
.wall__card--green { background: var(--pistachio); }
.wall__card--reserved { background: transparent; border-style: dashed; box-shadow: none; }
.wall__card--reserved:hover { box-shadow: 6px 6px 0 rgba(34, 26, 20, 0.25); }
.wall__name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
}
.wall__card--reserved .wall__name { color: rgba(34, 26, 20, 0.55); }
.wall__kind { font-size: 0.92rem; font-weight: 500; }
.wall__ps { font-family: var(--script); font-size: 1.25rem; margin-top: 1.6rem; rotate: -1deg; }

/* ---------- about ---------- */

.section__inner--about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.about__copy {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  opacity: 0.92;
}
.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.about__chips span {
  display: inline-block;
  border: 2px solid var(--paper);
  border-radius: 999px;
  padding: 0.35em 1em;
  font-weight: 700;
  font-size: 0.9rem;
  rotate: -1.5deg;
}
.about__chips span:nth-child(2n) {
  background: var(--pink-hot);
  border-color: var(--pink-hot);
  rotate: 1.5deg;
}
.about__note {
  font-family: var(--script);
  font-size: 1.2rem;
  color: var(--pink);
  margin-top: 1.5rem;
  rotate: -1deg;
}
.about__crew {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2.5vw, 1.6rem);
  justify-content: center;
}
.about__crew .polaroid { rotate: var(--r); color: var(--ink); position: relative; }
.about__face { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }

/* ---------- club ---------- */

.section__inner--club {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.headline--club { max-width: none; }
.club__the {
  font-family: var(--script);
  text-transform: none;
  font-size: 0.55em;
  display: block;
  rotate: -3deg;
  color: var(--pink-hot);
}
.club__copy { margin: 1.2rem 0 1.8rem; font-size: 1.05rem; max-width: 42ch; }
.club__collage {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.club__collage .polaroid { rotate: var(--r); position: relative; }

/* ---------- contact / chat ---------- */

.chat {
  position: relative;
  margin-top: 2.2rem;
  background: var(--paper);
  border: var(--border-sticker);
  border-radius: 26px;
  box-shadow: 8px 8px 0 rgba(34, 26, 20, 0.9);
  padding: 1.4rem clamp(1.1rem, 3vw, 2rem) 1.8rem;
  rotate: -0.5deg;
}
.chat > .tape { top: -12px; }
.chat__header {
  display: flex; align-items: center; gap: 0.8rem;
  border-bottom: 2px dashed rgba(34, 26, 20, 0.25);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}
.chat__avatar {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--pink-hot); color: var(--paper);
  border: var(--border-sticker);
  border-radius: 50%;
  font-size: 1.3rem;
}
.chat__avatar::after {
  content: "";
  position: absolute;
  right: -2px; bottom: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #3fae5c;
  border: 2px solid var(--paper);
  animation: onlinepulse 2.4s ease-out infinite;
}
@keyframes onlinepulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 174, 92, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(63, 174, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 174, 92, 0); }
}
.contact__arrow {
  position: absolute;
  top: 46px; right: -64px;
  width: 74px;
  rotate: 12deg;
}
.contact__arrow path { stroke: var(--ink); }
.section__inner--narrow { position: relative; }
.chat__status { display: block; font-size: 0.82rem; opacity: 0.65; }
.chat__hicons { display: flex; gap: 0.8rem; margin-left: auto; }
.chat__hicons svg { width: 22px; height: 22px; stroke: var(--ink); opacity: 0.75; }
.chat__day {
  text-align: center;
  font-family: var(--script);
  font-size: 1.05rem;
  opacity: 0.55;
  margin-bottom: 0.9rem;
}
.chat__bubble {
  max-width: 30ch;
  padding: 0.7em 1em;
  border: var(--border-sticker);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.chat__bubble--in {
  background: var(--pistachio);
  border-radius: 18px 18px 18px 4px;
}
.chat__bubble--out {
  background: var(--pink);
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
}
/* conversation rhythm: question and answer sit tight (0.45rem),
   each new exchange gets air (margin-top on the question) */
.chat__form { display: grid; gap: 0.45rem; margin-top: 1rem; }
.chat__typing { display: inline-flex; gap: 5px; align-items: center; padding: 0.85em 1em; }
.chat__typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(34, 26, 20, 0.55);
  animation: typing 1s infinite ease-in-out;
}
.chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.chat__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.hp { position: absolute; left: -9999px; }
/* their questions: small green bubbles on the left */
.chat__label {
  position: relative;
  justify-self: start;
  max-width: 30ch;
  margin-top: 1.15rem;
  font-family: var(--script);
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--ink);
  background: var(--pistachio);
  border: var(--border-sticker);
  border-radius: 16px 16px 16px 4px;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: translate 0.2s ease, rotate 0.2s ease, box-shadow 0.2s ease;
}
/* the question you're answering leans in */
.chat__label.is-active {
  translate: 0 -3px;
  rotate: -1.5deg;
  box-shadow: 3px 4px 0 rgba(34, 26, 20, 0.35);
}
/* "seen" heart pops onto an answered question */
.chat__seen {
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: 0.8rem;
  line-height: 1;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 4px;
  animation: seenpop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes seenpop { from { transform: scale(0); } }
.chip-pop {
  position: fixed;
  z-index: 120;
  pointer-events: none;
  font-size: 1.3rem;
}
/* your answers: compact outgoing bubbles on the right */
.chat__input {
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.75em 1.1em;
  border: var(--border-sticker);
  border-radius: 18px 18px 4px 18px;
  background: #fdeaf3;
  width: 68%;
  justify-self: end;
  transition: background 0.15s ease, width 0.2s ease;
}
.chat__input--area { width: 84%; }
.chat__input:focus { outline: 3px solid var(--pink-hot); outline-offset: 1px; background: #fff2f8; }
.chat__input::placeholder { color: rgba(34, 26, 20, 0.45); }
.chat__input--area { resize: vertical; min-height: 90px; }
.chat__chips { border: none; display: grid; gap: 0.55rem; margin-top: 1.15rem; }
.chat__chips .chat__label { margin-top: 0; }
.chat__chips legend {
  margin-bottom: 0.1rem;
  float: left;
  width: max-content; /* legends ignore padding when sizing — prevents the "?" clipping */
  max-width: 100%;
}
.chat__chiprow {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: flex-end;
  clear: both;
}
.chat__chips label { cursor: pointer; }
.chat__chips input { position: absolute; opacity: 0; }
.chat__chips span {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35em 1em;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--paper);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.chat__chips label:hover span { background: var(--pink); }
.chat__chips input:checked + span { background: var(--ink); color: var(--paper); transform: scale(1.05); }
.chat__chips input:focus-visible + span { outline: 3px solid var(--pink-hot); outline-offset: 2px; }
.chat__send { justify-self: end; margin-top: 1.1rem; }
.chat__error { font-size: 0.92rem; color: #b3123d; font-weight: 500; }
.chat__error a { color: inherit; }
.chat__success { margin-top: 1rem; }

/* ---------- footer ---------- */

.footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2rem;
  overflow: hidden;
}
.footer__sparks { position: absolute; inset: 0; pointer-events: none; }
.footer__spark {
  position: absolute;
  left: var(--fx); top: var(--fy);
  font-size: var(--fs);
  color: var(--pink);
  animation: sparkfloat 4s ease-in-out infinite alternate;
}
.footer__spark--green { color: var(--pistachio); animation-delay: 1.3s; }
@keyframes sparkfloat {
  from { transform: translateY(0) rotate(0deg); opacity: 0.55; }
  to { transform: translateY(-10px) rotate(25deg); opacity: 1; }
}
.footer__top {
  position: absolute;
  top: 1.3rem; right: var(--gutter);
  width: clamp(64px, 8vw, 96px);
  transition: scale 0.2s ease;
}
.footer__top:hover { scale: 1.1; }
.footer__top svg { animation: spin 16s linear infinite; transform-origin: 50% 50%; }
.footer__top-bg { fill: var(--pink-hot); stroke: var(--paper); stroke-width: 2.5; }
.footer__top-text { font-family: var(--body); font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; fill: var(--paper); text-transform: uppercase; }
.footer__top-arrow { font-size: 30px; fill: var(--paper); }
.footer__cta {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
}
.footer__script {
  font-family: var(--script);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--pink);
  rotate: -1.5deg;
}
.footer__pills { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.footer__big {
  position: relative;
  font-family: var(--display);
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 246, 236, 0.85);
  user-select: none;
}
.footer__big span {
  display: inline-block;
  vertical-align: top;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer__big span:hover { color: var(--pistachio); transform: translateY(-8px) rotate(-2deg); }
.footer__big span:nth-child(2n):hover { color: var(--pink-hot); transform: translateY(-8px) rotate(2deg); }
.footer__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.4rem;
  border-top: 1.5px solid rgba(255, 246, 236, 0.25);
  padding-top: 1.4rem;
  background: var(--ink);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a { text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: var(--pink); }
.footer__legal { font-size: 0.88rem; opacity: 0.7; }

/* ---------- confetti + cursor ---------- */

#confetti {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 90;
}
.cursor-dot {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pink-hot);
  pointer-events: none;
  z-index: 80;
  translate: -50% -50%;
  display: none;
  transition: width 0.18s ease, height 0.18s ease, opacity 0.18s ease;
}
.cursor-dot.is-hover { width: 24px; height: 24px; opacity: 0.55; }
@media (pointer: fine) {
  .cursor-dot { display: block; }
}
.spark-trail {
  position: fixed;
  pointer-events: none;
  z-index: 79;
  font-size: 0.8rem;
  color: var(--pink-hot);
  animation: sparkfade 0.7s ease-out forwards;
}
@keyframes sparkfade {
  to { opacity: 0; transform: translateY(-14px) scale(0.4) rotate(40deg); }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .section__inner--club { grid-template-columns: 1fr; }
  .section__inner--about { grid-template-columns: 1fr; }
  .club__collage { margin-top: 1rem; }
  .about__crew { margin-top: 1rem; }
  .contact__arrow { display: none; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .hero { padding-top: 6rem; min-height: 92svh; }
  /* on small screens: stickers form a frame — polaroids clearly below the
     fixed nav, a cluster filling the space under the CTAs. positions come
     from inline --x/--y custom props, so override left/top directly */
  .stickers .polaroid { width: 90px; }
  .stickers .polaroid .polaroid__caption { display: none; }
  .stickers .polaroid .polaroid__big { font-size: 1.35rem; }
  .stickers .polaroid .polaroid__small { font-size: 0.88rem; }
  .stickers .polaroid--green { left: -5%; top: 82px; }
  .stickers .polaroid--pink { left: 70%; top: 88px; }
  .stickers .badge { width: 84px; left: 69%; top: 71%; }
  .stickers .bow { width: 58px; left: 6%; top: 69%; }
  .stickers .note { max-width: 150px; font-size: 0.92rem; padding: 0.55rem 0.8rem; left: 7%; top: 82%; }
  .stickers .spark--1 { left: 8%; top: 36%; }
  .stickers .spark--2 { left: 85%; top: 86%; }
  .sticker { opacity: 0.92; }
  .hero__hint { font-size: 1.05rem; }
  .chat__bubble { max-width: 90%; }
  .chat__input { width: 86%; }
  .chat__input--area { width: 94%; }
  .chat__send { justify-self: stretch; text-align: center; }
  .footer__cta { margin-top: 3.6rem; } /* clear the back-to-top badge */
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .badge__svg { animation: none; }
  .spark-trail { display: none; }
  .chat__typing { display: none; }
  .headline em { background-size: 100% 0.2em; }
  .footer__spark { animation: none; }
  .footer__top svg { animation: none; }
  .chat__avatar::after { animation: none; }
  .chat__seen { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
