/* ---------- tokens ---------- */
:root {
  --cream:  #FFF1E4;
  --ink:    #2A1636;
  --rasp:   #FF2E88;
  --tang:   #FF7A3D;
  --butter: #FFD23F;
  --mint:   #3CE1C1;
  --paper:  #FFFFFF;

  --display: "Bricolage Grotesque", "Arial Black", Impact, sans-serif;
  --body:    "Nunito", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --w: 460px;      /* phone-first content width */
  --w-doc: 620px;  /* readable prose width */

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }

html { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rasp); outline-offset: 4px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

/* ---------- hero (links page) ---------- */
.hero { position: relative; text-align: center; padding-top: 22px; }

.blob {
  position: absolute;
  top: -10px; left: 50%;
  width: 300px; height: 300px;
  margin-left: -120px;
  background: var(--butter);
  border-radius: 50%;
  z-index: 0;
}

.hero-photo {
  position: relative; z-index: 1;
  width: min(74vw, 280px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border: 4px solid var(--ink);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 9px 11px 0 var(--tang);
  transform: rotate(-3deg);
  overflow: visible;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* tape-strip caption */
.tape {
  position: absolute;
  left: 50%; bottom: -16px;
  transform: translateX(-50%) rotate(2deg);
  background: var(--butter);
  color: var(--ink);
  font: italic 600 0.95rem/1 var(--body);
  padding: 9px 14px;
  white-space: nowrap;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
}

h1 {
  position: relative; z-index: 1;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 100, "opsz" 96;
  font-size: clamp(2.4rem, 11vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 44px 0 10px;
}
.bio {
  position: relative; z-index: 1;
  margin: 0 auto;
  max-width: 30ch;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- sticker pills ---------- */
.pills { display: grid; gap: 16px; margin: 34px 0 10px; }

.pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding: 18px 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--rasp);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 6px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.pill svg { width: 24px; height: 24px; flex: none; }
.pill:active, .pill.busy {
  transform: translate(4px, 5px);
  box-shadow: 1px 1px 0 var(--ink);
}
.pill.ig     { background: var(--tang);  color: #fff; }
.pill.x      { background: var(--ink);   color: #fff; }
.pill.o      { background: var(--rasp);  color: #fff; }
.pill.collab { background: var(--butter); color: var(--ink); }
.pill.busy .label::after { content: "…"; }

/* dropdown revealed under the Website O button */
.o-panel {
  margin: -30px 12px 0;
  padding: 30px 18px 16px;
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: var(--paper);
  box-shadow: 5px 6px 0 var(--ink);
  text-align: center;
}
.o-panel a { display: inline-block; line-height: 0; }
.o-panel a img { height: 34px; width: auto; }
.o-panel a span {
  display: inline-block; line-height: 1.2;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--rasp);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
  word-break: break-all;
}
@media (prefers-reduced-motion: no-preference) {
  .o-panel { animation: unfold .25s ease-out; transform-origin: top; }
  @keyframes unfold { from { opacity: 0; transform: scaleY(.6); } to { opacity: 1; transform: none; } }
}

/* ---------- polaroid strip ---------- */
.strip-wrap { margin-top: 40px; }
.strip-lead {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: .75;
}
.strip {
  display: flex; gap: 18px;
  padding: 18px 8px 26px;
  margin: 0 -20px;
  padding-left: 28px; padding-right: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }

.polaroid {
  flex: 0 0 190px;
  margin: 0;
  padding: 10px 10px 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 6px 0 var(--ink);
  scroll-snap-align: center;
}
.polaroid img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--cream);
}
.polaroid figcaption {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.3;
}
.r1 { transform: rotate(-3deg); }
.r2 { transform: rotate(2.5deg); }
.r3 { transform: rotate(-1.5deg); }
.r4 { transform: rotate(3deg); }
.r5 { transform: rotate(-2.5deg); }
.r6 { transform: rotate(1.5deg); }

/* ---------- footer ---------- */
.foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: .8;
}

/* ---------- page-load drop-in (links page only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .links .drop {
    opacity: 0;
    animation: drop .55s cubic-bezier(.2, 1.4, .4, 1) forwards;
  }
  .links .hero-photo.drop { animation-name: dropTilt; }
  .d1 { animation-delay: .05s; }
  .d2 { animation-delay: .18s; }
  .d3 { animation-delay: .26s; }
  .d4 { animation-delay: .36s; }
  .d5 { animation-delay: .44s; }
  .d6 { animation-delay: .52s; }
  .d7 { animation-delay: .60s; }
  .d8 { animation-delay: .72s; }
  @keyframes drop     { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
  @keyframes dropTilt { from { opacity: 0; transform: translateY(-30px) rotate(-8deg); } to { opacity: 1; transform: rotate(-3deg); } }
}

/* ---------- collab page ---------- */
.doc { max-width: var(--w-doc); }

.back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 3px 4px 0 var(--ink);
}
.back svg { width: 18px; height: 18px; }

.doc-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "h p" "l p";
  column-gap: 20px;
  align-items: start;
  margin-top: 34px;
}
.doc-hero h1 {
  grid-area: h;
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-variation-settings: "wdth" 90, "opsz" 96;
}
.doc-hero .lede { grid-area: l; margin: 0; max-width: 42ch; font-weight: 600; font-size: 1.08rem; }

.mini-photo {
  grid-area: p;
  position: relative;
  width: 132px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 6px 7px 0 var(--tang);
  transform: rotate(4deg);
}
.mini-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.mini-photo .tape { font-size: 0.78rem; padding: 7px 10px; bottom: -14px; }

@media (max-width: 480px) {
  .doc-hero { grid-template-columns: 1fr; grid-template-areas: "p" "h" "l"; }
  .mini-photo { width: 120px; margin-bottom: 18px; }
}

.block { margin-top: 44px; }
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 95, "opsz" 48;
  font-size: 1.75rem;
  line-height: 1.05;
  margin: 0 0 18px;
}

/* checklist */
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check li {
  position: relative;
  padding-left: 40px;
  max-width: 60ch;
  font-weight: 600;
}
.check li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--rasp);
  box-shadow: 2px 2px 0 var(--ink);
}
.check li::after {
  content: "";
  position: absolute; left: 7px; top: 5px;
  width: 8px; height: 13px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 15px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(var(--tilt, 0deg));
}
.chip.rasp   { background: var(--rasp);   color: #fff; --tilt: -1.5deg; }
.chip.tang   { background: var(--tang);   color: #fff; --tilt: 1deg; }
.chip.mint   { background: var(--mint);   color: var(--ink); --tilt: -1deg; }
.chip.butter { background: var(--butter); color: var(--ink); --tilt: 2deg; }
.chip.plum   { background: var(--ink);    color: #fff; --tilt: -2deg; }

/* terms */
.term { max-width: 60ch; padding: 22px 0; border-bottom: 3px dashed rgba(42, 22, 54, .28); }
.term:first-of-type { padding-top: 6px; }
.term:last-of-type { border-bottom: 0; }
.term h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.2;
}
.term h3 span {
  background: linear-gradient(transparent 58%, var(--butter) 58%);
  padding: 0 4px;
  margin-left: -4px;
}
.term p { margin: 0; font-weight: 600; }

/* CTA */
.cta {
  margin-top: 48px;
  padding: 28px 24px 30px;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 7px 8px 0 var(--mint);
  text-align: center;
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0 auto 22px; max-width: 38ch; font-weight: 600; }
.cta .pill { max-width: 340px; margin: 0 auto; }
