/* ============================================================
   CREATIVE MODE — neo-brutalist skin. Toggled by the ✦ dock
   button, stored in localStorage("mode"). Overrides both themes.
   Recipe: cream paper, 3px ink borders, hard offset shadows,
   mechanical press on click, sticker rotations, spring reveals.
   ============================================================ */
:root[data-mode=creative] {
  --bg: #f5f0e6;
  --surface: #ffffff;
  --glass: #ffffff;
  --glassHi: #ffffff;
  --chip: #ffffff;
  --border: #141414;
  --borderHi: #141414;
  --text: #141414;
  --muted: #3d3d3d;
  --faint: #6b6255;
  --dim: #8a8070;
  --chrome: #ffd60a;
  --chromeText: #141414;
  --accent: #ff2e63;
  --accentBorder: #141414;
  --glow: rgba(255,46,99,.25);
  --inset: none;
  --heroGrad: none;
  --stripe: repeating-linear-gradient(45deg, #ffd60a 0 12px, #ffe566 12px 24px);
  --nameGrad: none;
  --termBg: #ffffff;
  --ink: #141414;
  --pop1: #ffd60a;   /* vivid yellow */
  --pop2: #ff2e63;   /* hot red-pink */
  --pop3: #7c5cff;   /* soft violet */
  --pop4: #00c2a8;   /* teal */
}
[data-mode=creative] body { background: var(--bg); }
[data-mode=creative] ::selection { background: var(--pop1); }
[data-mode=creative] a:hover { color: var(--pop2); }

/* paper dot grid */
[data-mode=creative] body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,20,20,.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}

/* aurora blobs become floating color blocks — pinned to edges/corners so
   they never sit behind readable text */
[data-mode=creative] .aurora__blob {
  filter: none; opacity: 1; border-radius: 0; mix-blend-mode: normal;
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  inset: auto; animation: none;
}
[data-mode=creative] .aurora__blob:nth-child(1) { background: var(--pop1); width: 120px; height: 120px; right: 3%; top: 58%; left: auto; transform: rotate(-8deg); }
[data-mode=creative] .aurora__blob:nth-child(2) { background: var(--pop2); width: 95px; height: 95px; right: 10%; top: 5%; left: auto; transform: rotate(6deg); border-radius: 50%; box-shadow: 6px 6px 0 var(--ink); }
[data-mode=creative] .aurora__blob:nth-child(3) { background: var(--pop3); width: 105px; height: 105px; left: auto; right: 20%; bottom: 6%; top: auto; transform: rotate(14deg); }
[data-mode=creative] .aurora__blob:nth-child(4) { background: var(--pop4); width: 80px; height: 80px; left: auto; right: 2%; top: auto; bottom: 24%; transform: rotate(-12deg); border-radius: 50%; }

/* ribbon: thick ink stroke */
[data-mode=creative] #ribbon-body { stroke: var(--ink); stroke-width: 3.5; opacity: 1; }
[data-mode=creative] #ribbon-glow { stroke: var(--pop2); opacity: .5; stroke-width: 7; filter: none; }

/* headings & type */
[data-mode=creative] .heading, [data-mode=creative] .banner__title,
[data-mode=creative] .contact__title, [data-mode=creative] .proj-card__title,
[data-mode=creative] .hero__sub {
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif; letter-spacing: -.01em;
}
[data-mode=creative] .heading { text-shadow: 4px 4px 0 var(--pop1); }
[data-mode=creative] .hero__title {
  background: none; -webkit-text-fill-color: var(--ink); color: var(--ink);
  font-family: 'Space Grotesk', sans-serif; text-shadow: 6px 6px 0 var(--pop2);
}
[data-mode=creative] .eyebrow { color: var(--ink); background: var(--pop1); display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 0; backdrop-filter: none; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-1.2deg); margin-bottom: 10px; }

/* every card-ish surface: white, ink border, hard shadow, springy hover */
[data-mode=creative] .card, [data-mode=creative] .bento__cell,
[data-mode=creative] .contact-card, [data-mode=creative] .skill-node, [data-mode=creative] .banner,
[data-mode=creative] .photo-card, [data-mode=creative] .media-panel, [data-mode=creative] .fatal__card,
[data-mode=creative] .term {
  background: #fff; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
  backdrop-filter: none; border-radius: 12px;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s cubic-bezier(.34,1.56,.64,1);
}
[data-mode=creative] .card:hover, [data-mode=creative] .contact-card:hover,
[data-mode=creative] .skill-node:hover {
  transform: translate(-7px,-7px) rotate(-1deg); box-shadow: 15px 15px 0 var(--ink); border-color: var(--ink);
}
[data-mode=creative] .card:active, [data-mode=creative] .contact-card:active {
  transform: translate(6px,6px); box-shadow: 1px 1px 0 var(--ink);
}
[data-mode=creative] .proj-card:hover { transform: translate(-7px,-7px) rotate(1.3deg) scale(1.02); }
[data-mode=creative] .proj-card:nth-child(odd):hover { transform: translate(-7px,-7px) rotate(-1.3deg) scale(1.02); }

/* alternating sticker-tilted cards */
[data-mode=creative] .bento__cell:nth-child(odd) { transform: rotate(-.7deg); }
[data-mode=creative] .bento__cell:nth-child(even) { transform: rotate(.6deg); }
[data-mode=creative] .xp-logo, [data-mode=creative] .bento__logo { border: 2px solid var(--ink); background: #fff; border-radius: 8px; }

/* buttons */
[data-mode=creative] .btn, [data-mode=creative] .btn--ghost, [data-mode=creative] .btn--plain,
[data-mode=creative] .form button {
  background: var(--pop1); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink); border-radius: 10px; font-weight: 700;
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), box-shadow .15s cubic-bezier(.34,1.56,.64,1);
}
[data-mode=creative] .btn--ghost { background: #fff; }
[data-mode=creative] .btn--plain { background: var(--pop3); color: #fff; }
[data-mode=creative] .btn:hover, [data-mode=creative] .btn--ghost:hover,
[data-mode=creative] .form button:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
[data-mode=creative] .btn--plain:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); color: #fff; background: var(--pop3); }
[data-mode=creative] .btn:active, [data-mode=creative] .form button:active { transform: translate(4px,4px); box-shadow: 1px 1px 0 var(--ink); }
[data-mode=creative] .btn--sm { box-shadow: 4px 4px 0 var(--ink); }

/* pills, chips, tags */
[data-mode=creative] .chip, [data-mode=creative] .tag, [data-mode=creative] .badge-pill,
[data-mode=creative] .pill-link {
  background: #fff; border: 2px solid var(--ink); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 8px;
}
[data-mode=creative] .chip--filter:hover { color: var(--ink); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
[data-mode=creative] .chip--active, [data-mode=creative] .chip--active:hover { background: var(--pop1); color: var(--ink); }
[data-mode=creative] .badge-pill--hi { background: var(--pop2); color: #fff; }
[data-mode=creative] .pill-link:hover { background: var(--pop1); }

/* dock */
[data-mode=creative] .dock__inner, [data-mode=creative] .actionbar { background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); backdrop-filter: none; }
[data-mode=creative] .dock__item { color: var(--ink); font-weight: 600; }
[data-mode=creative] .dock__item--active { background: var(--pop1); color: var(--ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); }
[data-mode=creative] .dock__item:hover { background: var(--pop3); color: #fff; border-radius: 8px; }
[data-mode=creative] .dock__logo, [data-mode=creative] .dock__mode { color: var(--ink); }
[data-mode=creative] .dock__mode { background: var(--pop2); color: #fff; border-radius: 8px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(-2deg); animation: none; }
[data-mode=creative] .dock__mode:hover { background: var(--pop2); box-shadow: 5px 5px 0 var(--ink); color: #fff; transform: rotate(-2deg) translate(-2px,-2px); }
[data-mode=creative] .dock__theme { display: none; } /* creative owns its palette */

/* mode button: labeled pill, gently pulses to invite the click */
.dock__mode {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accentBorder); border-radius: 100px; padding: 6px 12px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .25s, box-shadow .25s;
  animation: modePulse 2.8s ease-in-out infinite;
}
.dock__mode b { font-weight: 600; }
.dock__mode:hover { background: var(--chip); animation: none; }
@keyframes modePulse { 0%,100% { box-shadow: 0 0 0 0 var(--glow); } 50% { box-shadow: 0 0 0 6px transparent; } }

/* ---------- mode-switch spectacle (both directions) ---------- */
.mode-wipe { position: fixed; inset: 0; z-index: 5500; pointer-events: none; }
.confetti-bit { position: fixed; left: 0; top: 0; z-index: 5800; pointer-events: none; border: 1.5px solid rgba(0,0,0,.55); }
.spark { position: fixed; left: 0; top: 0; z-index: 4000; width: 9px; height: 9px; pointer-events: none; border: 2px solid #141414; }
.mode-stamp {
  position: fixed; top: 50%; left: 50%; z-index: 6000; pointer-events: none; white-space: nowrap;
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif; font-weight: 700;
  font-size: clamp(34px, 8vw, 104px); letter-spacing: -.02em;
  color: #141414; background: #ffd60a; border: 6px solid #141414; box-shadow: 16px 16px 0 rgba(0,0,0,.82);
  padding: 16px 44px; transform: translate(-50%,-50%) rotate(-5deg);
}
.mode-stamp--dark { background: #0b0c0f; color: #eef0f4; border-color: #eef0f4; box-shadow: 16px 16px 0 rgba(140,170,255,.35); }

/* ---------- creative-mode marquee ticker ---------- */
.ticker { display: none; }
[data-mode=creative] .ticker {
  display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; overflow: hidden;
  background: var(--ink); color: #f5f0e6; border-top: 3px solid var(--ink);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .12em;
  padding: 9px 0;
}
[data-mode=creative] .ticker__track { display: flex; width: max-content; animation: tickerScroll 26s linear infinite; }
[data-mode=creative] .ticker__track span { padding-right: 24px; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { [data-mode=creative] .ticker__track { animation: none; } .dock__mode { animation: none; } }

/* ticker clearance so the footer is never hidden behind it */
[data-mode=creative] footer { margin-bottom: 52px; }

/* small screens: star only — the label makes the dock overflow */
@media (max-width: 720px) {
  .dock__mode b { display: none; }
  .dock__mode { padding: 6px 9px; }
  .dock__theme { padding: 7px 8px; }
}

/* hero photo + status */
[data-mode=creative] .photo-card { padding: 10px; transform: rotate(1.6deg); }
[data-mode=creative] .photo-card img { filter: saturate(1.15) contrast(1.05); border-radius: 6px; }
[data-mode=creative] .photo-card-wrap { animation-duration: 4s; }
[data-mode=creative] #hero-status.typing::after { color: var(--pop2); }
[data-mode=creative] .open-badge { color: var(--ink); background: var(--pop1); border: 2px solid var(--ink); padding: 2px 8px; border-radius: 6px; }
[data-mode=creative] .open-badge i { background: var(--pop2); }

/* stats & numbers */
[data-mode=creative] .stat__num { color: var(--pop2); text-shadow: 2px 2px 0 var(--pop1); }
[data-mode=creative] .proj__num { color: var(--pop3); font-weight: 900; }

/* placeholders: loud warning stripes */
[data-mode=creative] .ph { background: var(--stripe); color: var(--ink); border: 3px dashed var(--ink); font-weight: 600; }

/* forms */
[data-mode=creative] .form input, [data-mode=creative] .form textarea {
  background: #fff; border: 3px solid var(--ink); border-radius: 8px; color: var(--ink); box-shadow: none;
}
[data-mode=creative] .form input:focus, [data-mode=creative] .form textarea:focus {
  border-color: var(--ink); box-shadow: 4px 4px 0 var(--pop2); outline: none;
}

/* socials */
[data-mode=creative] .social-btn { background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); border-radius: 10px; }
[data-mode=creative] .social-btn:hover { transform: translate(-3px,-3px) rotate(-4deg); box-shadow: 7px 7px 0 var(--ink); color: var(--ink); background: var(--pop1); }

/* terminal + code */
[data-mode=creative] .md-code, [data-mode=creative] .fatal__card code { background: var(--pop1); border: 2px solid var(--ink); color: var(--ink); }
[data-mode=creative] .term__title { color: var(--pop2); font-weight: 700; }

/* loader */
[data-mode=creative] .loader { background: var(--bg); }

/* focus visibility everywhere */
[data-mode=creative] :focus-visible { outline: 3px solid var(--pop2); outline-offset: 2px; }

/* wiggle for the hi badges — stickers should never sit still */
@keyframes stickerWiggle { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
[data-mode=creative] .badge-pill--hi { animation: stickerWiggle 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  [data-mode=creative] .badge-pill--hi { animation: none; }
  [data-mode=creative] .card:hover, [data-mode=creative] .btn:hover { transform: none; }
}

/* cycling subtitle pill — creative mode swaps frosted glass for flat ink */
[data-mode=creative] .cycler {
  background: #fff; border: 3px solid var(--ink); border-radius: 10px;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transform: translateY(.1em) rotate(-1deg);
}
[data-mode=creative] .cycler--accent { background: var(--pop1); color: var(--ink); border-color: var(--ink); }
[data-mode=creative] .hero__sub-prefix { font-family: 'Space Grotesk', 'Instrument Sans', sans-serif; font-weight: 700; }

/* quiet hero link — creative mode gives it ink weight rather than a hairline */
[data-mode=creative] .hero__quiet { color: var(--ink); font-weight: 600; text-decoration-color: var(--ink); }
[data-mode=creative] .hero__quiet:hover { color: var(--pop2); text-decoration-color: var(--pop2); }

/* ============================================================
   PERSONAL MODE — its own content column (#personal), shown only when the
   toggle flips the mode on. Everything below renders exclusively there, so it
   inherits the neo-brutalist palette without extra scoping.
   ============================================================ */
#personal { display: none; }
:root[data-mode=creative] #app { display: none; }
/* padding-bottom clears the fixed ticker so the last row is never hidden. */
:root[data-mode=creative] #personal { display: block; padding-bottom: 64px; }
/* Personal is a short scroll: hide the professional section nav pills, and the
   thread + scroll-next which both track the now-hidden professional sections. */
/* #dock-items carries an inline display:contents, so the hide needs !important
   to win. Its pills point at professional sections that are hidden here. */
:root[data-mode=creative] #dock-items { display: none !important; }
:root[data-mode=creative] .ribbon,
:root[data-mode=creative] .scroll-next { display: none; }

/* ---------- the wall ---------- */
.wall-section .wall__headline { margin-top: 4px; }
.wall-section .wall__lead { max-width: 40ch; }
.wall {
  position: relative; margin-top: 30px;
  /* Columns, not wrapped rows. Pieces here are wildly different heights, and a
     wrapped row leaves a hole under every short one; columns pack them
     top-to-bottom so the spacing stays even and the board stays dense. */
  column-count: 4; column-gap: 16px;
  padding: 30px 22px 20px;
  border: 3px solid var(--ink); border-radius: 16px;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(20,20,20,.05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(20,20,20,.05) 39px 40px),
    #efe7d6;
  box-shadow: 9px 9px 0 var(--ink);
  overflow: hidden;
}
/* Out of the board and up beside the lead: inside it, the button sat on top of
   whatever piece the first column started with. */
.wall__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 14px; }
.wall__head .wall__lead { margin: 0; }
.wall__reset {
  flex: none;
  font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: var(--pop1); border: 2.5px solid var(--ink); border-radius: 8px;
  padding: 8px 12px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.wall__reset:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.wall__reset:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }

.wall__item {
  position: relative; display: block; width: 100%; margin: 0 0 16px;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg));
  will-change: transform;
}
.wall__item:hover { z-index: 9; }
@media (pointer: fine) {
  .wall__item { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
  .wall__item--grab { cursor: grabbing; }
  .wall__item--grab.wall__item--polaroid, .wall__item--grab { filter: drop-shadow(4px 8px 6px rgba(20,20,20,.25)); }
}

/* polaroid */
.wall__item--polaroid { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 9px 9px 0; }
/* No fixed height: each photo keeps the shape it was taken in, so a portrait
   stays a portrait instead of being cropped to the same letterbox as the rest.
   The board is a masonry column layout, so uneven polaroid heights are fine. */
.wall__pic { display: block; border: 2px solid var(--ink); overflow: hidden; background: var(--pop3); }
.wall__item--polaroid:nth-of-type(3n) .wall__pic { background: var(--pop4); }
.wall__item--polaroid:nth-of-type(3n+1) .wall__pic { background: var(--pop2); }
.wall__pic img { width: 100%; height: auto; display: block; }
.wall__item--polaroid figcaption { padding: 9px 2px 11px; font: 600 14px/1.25 'Space Grotesk', sans-serif; color: var(--ink); text-align: center; }

/* sticker: a bold word slapped on the wall */
.wall__item--sticker {
  background: var(--sticky, var(--pop1)); color: var(--stickyInk, var(--ink));
  border: 3px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--ink);
  padding: 13px 17px 14px; font: 800 18px/1.1 'Space Grotesk', sans-serif; letter-spacing: -.01em;
}

/* sticky note: the "currently" cards */
.wall__item--note {
  display: flex; flex-direction: column; padding: 15px 16px 17px;
  background: var(--sticky, #fff8b0); color: var(--stickyInk, var(--ink));
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.wall__note-k { font: 700 10px/1 'Space Grotesk', sans-serif; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.wall__note-t { margin-top: 5px; font: 800 20px/1.05 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.wall__note-b { margin-top: 8px; font: 500 13.5px/1.45 'Instrument Sans', sans-serif; }

/* torn-paper hot take */
.wall__item--take {
  display: flex; flex-direction: column; padding: 16px 18px 20px;
  background: #fbf7ee; color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--pop2);
  clip-path: polygon(0 4%, 6% 0, 22% 5%, 40% 0, 58% 5%, 76% 0, 92% 4%, 100% 2%, 100% 96%, 90% 100%, 70% 96%, 50% 100%, 30% 96%, 12% 100%, 0 97%);
}
.wall__take-k { font: 800 10px/1 'Space Grotesk', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--pop2); }
.wall__take-t { margin-top: 7px; font: 600 14.5px/1.4 'Instrument Sans', sans-serif; }
.wall__take-t p { margin: 0; }

/* mobile: no dragging, tidy tilted flow, tamer shadows */
@media (max-width: 1180px) { .wall { column-count: 3; } }
@media (max-width: 860px)  { .wall { column-count: 2; column-gap: 13px; } }
@media (max-width: 560px)  { .wall { column-count: 1; } .wall__item { max-width: 340px; margin-inline: auto; } }
@media (max-width: 720px) {
  .wall { padding: 26px 14px 12px; }
  .wall__item { margin-bottom: 13px; }
}

/* ---------- personal intro ---------- */
.intro-section { padding-top: clamp(40px, 6vw, 78px); }
.intro { display: flex; gap: clamp(28px, 5vw, 66px); align-items: center; flex-wrap: wrap; justify-content: space-between; }
.intro__copy { flex: 1 1 440px; min-width: min(440px, 92vw); }
.intro__greeting { font: 700 clamp(17px, 2vw, 21px)/1 'Space Grotesk', sans-serif; color: var(--ink); opacity: .75; }
.intro__title {
  margin: 10px 0 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -.03em; color: var(--ink);
  text-shadow: 5px 5px 0 var(--pop2);
}
.intro__text { margin-top: 22px; font: 500 clamp(15.5px, 1.5vw, 17.5px)/1.6 'Instrument Sans', sans-serif; color: var(--ink); max-width: 52ch; }
.intro__text p { margin: 0 0 12px; }
.intro__text p:last-child { margin-bottom: 0; }
.intro__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.intro__tags span {
  padding: 7px 13px; background: #fff; border: 2.5px solid var(--ink); border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink); font: 700 12.5px/1 'Geist Mono', monospace; color: var(--ink);
}
.intro__tags span:nth-child(2n) { background: var(--pop1); }
/* the photo is pinned up like a snapshot, not a headshot */
.intro__photo {
  flex: 0 0 auto; margin: 0; width: min(300px, 78vw); padding: 12px 12px 0;
  background: #fff; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(2.4deg);
}
.intro__photo img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); }
.intro__photo figcaption { padding: 12px 4px 14px; text-align: center; font: 600 14px/1.3 'Space Grotesk', sans-serif; color: var(--ink); }
@media (max-width: 760px) {
  .intro { justify-content: center; }
  .intro__photo { transform: rotate(-1.6deg); }
}

/* Indic scripts appear on the wall (the languages note). The display face
   carries no Indic glyphs, so name the faces that actually ship on Windows,
   macOS, Android and iOS. */
.wall__note-t, .wall__note-b {
  font-family: 'Space Grotesk', 'Instrument Sans', 'Nirmala UI', 'Noto Sans Malayalam',
               'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Devanagari',
               'Kohinoor Malayalam', 'Tamil Sangam MN', 'Telugu Sangam MN', sans-serif;
}

/* ---------- shuffle: one thought at a time ---------- */
.shuf { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.shuf__card {
  position: relative; width: 100%; padding: 34px 34px 34px 74px;
  background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 9px 9px 0 var(--ink);
}
.shuf__mark {
  position: absolute; left: 24px; top: 14px;
  font: 800 68px/1 'Space Grotesk', serif; color: var(--pop2);
}
.shuf__line { margin: 0; font: 500 clamp(19px, 2.3vw, 27px)/1.4 'Space Grotesk', sans-serif; color: var(--ink); letter-spacing: -.01em; }
/* The aside under a quote: same card, half the volume, so the line above it
   stays the thing you read first. */
.shuf__sub {
  display: block; margin-top: 14px; opacity: .62;
  font: 500 clamp(14px, 1.35vw, 17px)/1.5 'Space Grotesk', sans-serif; letter-spacing: 0;
}
.shuf__btn {
  cursor: pointer; padding: 13px 22px; border: 3px solid var(--ink); border-radius: 10px;
  background: var(--pop1); color: var(--ink); box-shadow: 5px 5px 0 var(--ink);
  font: 800 13px/1 'Space Grotesk', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .12s ease, box-shadow .12s ease;
}
.shuf__btn:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.shuf__btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
@media (max-width: 560px) {
  .shuf__card { padding: 26px 22px 26px 22px; }
  .shuf__mark { display: none; }
}

/* Filled tiles keep their own colour here. The generic white card fill above
   applies to every .bento__cell, which erased the brand/personal fills and
   left their light ink text sitting on white. */
[data-mode=creative] .bento__cell--filled { background: var(--tile, #fff); }
[data-mode=creative] .bento__cell--photo { background: var(--ink); }

/* ---------- the personal message box ----------
   A note being written, not a web form: ruled paper, a taped corner, and
   fields that are lines rather than boxes. Only the personal side asks for
   `variant: note`, so the professional contact card is untouched. */
[data-mode=creative] .form-card--note {
  position: relative; transform: rotate(-.8deg); padding: 30px 30px 24px;
  background-color: #fffdf7;
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(20,20,20,.09) 33px 34px);
  background-position: 0 26px;
}
[data-mode=creative] .form-card--note::before {
  content: ''; position: absolute; top: -13px; left: 50%; width: 108px; height: 26px;
  transform: translateX(-50%) rotate(-1.6deg);
  background: rgba(255,214,10,.72); border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(20,20,20,.35);
}
[data-mode=creative] .form-card--note .form-card__head {
  border-bottom: 2.5px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px;
  font-size: 11.5px; color: var(--ink); letter-spacing: .16em;
}
[data-mode=creative] .form-card--note .form { gap: 4px; }
/* Underlines, so the box reads as something you write on. */
[data-mode=creative] .form-card--note .form input,
[data-mode=creative] .form-card--note .form textarea {
  background: transparent; border: 0; border-bottom: 2.5px solid var(--ink);
  border-radius: 0; box-shadow: none; padding: 13px 2px 9px;
  font-family: 'Instrument Sans', sans-serif; font-size: 16px;
}
[data-mode=creative] .form-card--note .form input::placeholder,
[data-mode=creative] .form-card--note .form textarea::placeholder { color: rgba(20,20,20,.42); }
[data-mode=creative] .form-card--note .form input:focus,
[data-mode=creative] .form-card--note .form textarea:focus {
  box-shadow: none; border-bottom-color: var(--pop2); background: rgba(255,214,10,.16);
}
[data-mode=creative] .form-card--note .form textarea { resize: none; min-height: 96px; }
[data-mode=creative] .form-card--note .form button { margin-top: 18px; }
[data-mode=creative] .form-card--note .form-card__note { margin-top: 14px; }

/* Socials, kept to a footnote. They belong near the reply, not in a section. */
.form-card__links {
  margin: 7px 0 0; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--dim);
}
.form-card__links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.form-card__links a:hover { color: var(--accent); }
.form-card__links i { font-style: normal; margin: 0 7px; opacity: .55; }

/* ---------- abstract drift ----------
   The corner blocks breathe. Transform only, so it never triggers layout, and
   it stops dead for reduced motion and on phones where the blobs are already
   held still for battery. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  [data-mode=creative] .aurora__blob:nth-child(1) { animation: drift-a 26s ease-in-out infinite; }
  [data-mode=creative] .aurora__blob:nth-child(2) { animation: drift-b 31s ease-in-out infinite; }
  [data-mode=creative] .aurora__blob:nth-child(3) { animation: drift-a 34s ease-in-out infinite reverse; }
  [data-mode=creative] .aurora__blob:nth-child(4) { animation: drift-b 29s ease-in-out infinite reverse; }
}
@keyframes drift-a {
  0%, 100% { transform: rotate(-8deg) translate(0, 0); }
  50%      { transform: rotate(4deg) translate(-26px, 22px); }
}
@keyframes drift-b {
  0%, 100% { transform: rotate(6deg) translate(0, 0); }
  50%      { transform: rotate(-7deg) translate(20px, -24px); }
}

/* ---------- seeds ----------
   Thrown by the watermelon easter egg. Fixed and inert so nothing reflows. */
.seed {
  position: fixed; z-index: 60; width: 7px; height: 10px; border-radius: 50%;
  background: #141414; pointer-events: none; will-change: transform, opacity;
}
