/*
  Loudmouth: creative studio landing (Screenery template 04)
  1. Tokens, base and browser surfaces   2. Nav, buttons, chips
  3. Hero (cropped headline, sticker sheet), crossing marquee bands, work rows + cursor artwork
  4. Manifesto, people, contact form states, footer wordmark, responsive rules at the end of each block
  5. Components: select (.picker), notice (.toast), confirmation dialog (.confirm), small buttons. All token-driven.
*/

/* ---------- 1. Tokens ---------- */
:root {
  --yellow: #ffe600;
  --black: #000000;
  --cobalt: #1f3cff;
  --pink: #ff3d8b;
  --white: #ffffff;
  --grey: #555555; /* placeholder text only */

  --line: 3px;
  --rule: var(--line) solid var(--black);
  --shadow-s: 4px 4px 0 var(--black);
  --shadow: 6px 6px 0 var(--black);
  --shadow-l: 10px 10px 0 var(--black);

  --r-none: 0;
  --r-badge: 14px;
  --r-pill: 999px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;
  --gutter: clamp(16px, 3.4vw, 56px);
  --nav-h: 64px;

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --focus: var(--cobalt);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l1.7 6.8 6.1-3.6-3.6 6.1L23 12l-6.8 1.7 3.6 6.1-6.1-3.6L12 23l-1.7-6.8-6.1 3.6 3.6-6.1L1 12l6.8-1.7-3.6-6.1 6.1 3.6z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--s-4));
  scrollbar-color: var(--black) var(--yellow);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  font-optical-sizing: auto;
  accent-color: var(--cobalt);
  caret-color: var(--cobalt);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--black); color: var(--yellow); }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--yellow); border-left: var(--rule); }
::-webkit-scrollbar-thumb { background: var(--black); }

:focus-visible { outline: var(--line) solid var(--focus); outline-offset: 3px; }

h1, h2, h3, p, ul, fieldset, address { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
svg { display: block; }
.sprite { position: absolute; }

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--black); color: var(--yellow); padding: var(--s-3) var(--s-4); font-weight: 800;
}
.skip:focus { top: var(--s-4); }

.h-xl {
  font-size: clamp(2.75rem, 6.6vw, 6rem);
  font-weight: 800;
  font-stretch: 84%;
  line-height: 0.92;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* ---------- 2. Buttons, links, chips ---------- */
.btn {
  --bg: var(--cobalt);
  --fg: var(--white);
  --shade: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 14px 22px;
  background: var(--bg); color: var(--fg);
  border: var(--rule); box-shadow: 6px 6px 0 var(--shade);
  font-size: 1.0625rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: translate 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s;
}
.btn:hover { translate: -2px -2px; box-shadow: 8px 8px 0 var(--shade); }
.btn:active { translate: 4px 4px; box-shadow: 2px 2px 0 var(--shade); }
.btn svg { transition: translate 0.25s var(--ease); }
.btn:hover svg { translate: 4px 0; }
.btn--small { min-height: 44px; padding: 10px 16px; font-size: 0.9375rem; }
.btn--pink { --bg: var(--pink); --fg: var(--black); }
.btn--yellow { --bg: var(--yellow); --fg: var(--black); --shade: var(--white); }
.btn--ghost { --bg: var(--white); --fg: var(--black); }
.btn--wide { width: 100%; font-size: 1.375rem; min-height: 64px; --bg: var(--pink); --fg: var(--black); }

.link {
  font-weight: 700; padding: 2px 4px; margin-inline: -4px;
  text-decoration-thickness: var(--line); text-underline-offset: 0.28em;
  transition: background-color 0.15s, color 0.15s;
}
.link:hover { background: var(--black); color: var(--yellow); text-decoration-color: transparent; }
@media (pointer: coarse) { .link { display: inline-flex; align-items: center; min-height: 44px; } }

.chip {
  display: inline-block;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.02em;
  border: 2px solid currentColor; padding: 3px 7px 2px;
  white-space: nowrap;
}

/* ---------- Nav: a strip of bordered cells ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: stretch; justify-content: space-between;
  height: var(--nav-h);
  background: var(--yellow); border-bottom: var(--rule);
}
.nav__brand {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 0 var(--s-5) 0 var(--gutter);
  background: var(--black); color: var(--yellow);
  font-size: 1.375rem; font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: 0.005em;
  text-decoration: none;
}
.nav__brand:focus-visible { outline-offset: -6px; outline-color: var(--yellow); }
.nav__brand svg { transition: rotate 0.3s var(--ease), scale 0.3s var(--ease); }
.nav__brand:hover svg { rotate: -12deg; scale: 1.15; }
.nav__menu { display: flex; align-items: stretch; }
.nav__menu ul { display: flex; align-items: stretch; }
.nav__menu li { display: flex; }
.nav__menu li a {
  display: flex; align-items: center; padding: 0 var(--s-5);
  border-left: var(--rule);
  font-weight: 700; text-transform: uppercase; font-size: 0.9375rem; letter-spacing: 0.02em; text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav__menu li a:hover { background: var(--black); color: var(--yellow); }
.nav__menu li a:focus-visible { outline-offset: -6px; }
.nav__menu .btn {
  min-height: 0; height: 100%; border: 0; border-left: var(--rule); box-shadow: none;
  padding-inline: var(--s-5) var(--gutter); --bg: var(--pink); --fg: var(--black);
}
.nav__menu .btn:hover, .nav__menu .btn:active { translate: none; box-shadow: none; background: var(--black); color: var(--yellow); }
.nav__menu .btn:focus-visible { outline-offset: -6px; }
.nav__toggle { display: none; }
.nav__status {
  display: flex; align-items: center; gap: var(--s-3); margin-right: auto; padding-inline: var(--s-5);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
}
.nav__status i { width: 12px; height: 12px; background: var(--pink); border: 2px solid var(--black); border-radius: 50%; animation: blink 1.6s steps(2, jump-none) infinite; }
.nav__status b { background: var(--black); color: var(--yellow); padding: 3px 7px 2px; }
@keyframes blink { to { background: var(--white); } }
@media (max-width: 1180px) { .nav__status { display: none; } }

@media (max-width: 820px) {
  .js .nav__toggle {
    display: flex; align-items: center; gap: var(--s-3);
    padding: 0 var(--gutter) 0 var(--s-5); margin-left: auto;
    background: var(--pink); border: 0; border-left: var(--rule);
    font-weight: 800; text-transform: uppercase; font-size: 0.9375rem; letter-spacing: 0.02em; cursor: pointer;
  }
  .nav__toggle:focus-visible { outline-offset: -6px; outline-color: var(--black); }
  .nav__toggle-bars { display: grid; gap: 6px; width: 24px; }
  .nav__toggle-bars i { height: 3px; background: var(--black); transition: translate 0.3s var(--ease), rotate 0.3s var(--ease); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars i:first-child { translate: 0 4.5px; rotate: 45deg; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars i:last-child { translate: 0 -4.5px; rotate: -45deg; }

  /* Without JS the menu simply wraps under the brand. */
  .nav { height: auto; min-height: var(--nav-h); flex-wrap: wrap; }
  .nav__brand { min-height: var(--nav-h); }
  .nav__menu { width: 100%; border-top: var(--rule); overflow-x: auto; }
  .nav__menu li a, .nav__menu .btn { min-height: 48px; white-space: nowrap; }
  .nav__menu li:first-child a { border-left: 0; }

  /* With JS it becomes a full-height sheet. */
  .js .nav { height: var(--nav-h); flex-wrap: nowrap; }
  .js .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 0; width: auto;
    flex-direction: column; align-items: stretch; justify-content: space-between;
    background: var(--pink); border-top: 0; overflow-y: auto;
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s var(--ease), visibility 0s 0.45s;
  }
  .js .nav__menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path 0.45s var(--ease), visibility 0s; }
  .js .nav__menu ul { flex-direction: column; }
  .js .nav__menu li a {
    width: 100%; padding: var(--s-4) var(--gutter); border-left: 0; border-bottom: var(--rule);
    font-size: clamp(2.75rem, 15vw, 5rem); font-weight: 800; font-stretch: 75%; letter-spacing: -0.03em; line-height: 0.95;
  }
  .js .nav__menu .btn {
    height: auto; min-height: 72px; border: 0; border-top: var(--rule); --bg: var(--black); --fg: var(--yellow);
    padding: var(--s-5) var(--gutter); font-size: 1.25rem; justify-content: space-between;
  }
}

/* ---------- 3. Hero ---------- */
.hero {
  --shout: 23.4vw;
  position: relative; z-index: 2;
  padding: 0 var(--gutter) clamp(72px, 7vw, 136px);
  overflow-x: clip;
}
.shout {
  font-size: var(--shout); font-weight: 800; line-height: 0.8; text-transform: uppercase; letter-spacing: -0.04em;
  cursor: default;
}
.shout__a { display: block; margin-left: -0.15em; padding-top: 0.085em; font-stretch: 100%; white-space: nowrap; }
.shout__b { display: block; margin-top: 0.015em; white-space: nowrap; }

/* The cycling word. Width axis is set by script.js so every word fills the line. */
.swap {
  --tone: var(--pink); --ink: var(--black);
  display: inline-flex; align-items: baseline;
  margin-left: -0.02em; padding: 0.035em 0.07em 0.02em 0.06em;
  background: var(--tone); color: var(--ink);
  border: var(--rule); box-shadow: var(--shadow-l);
  font: inherit; font-stretch: var(--wdth, 100%); line-height: 0.8; text-transform: inherit; letter-spacing: inherit;
  rotate: -2deg; transform-origin: 0 100%;
  cursor: pointer; overflow: hidden;
  transition: background-color 0.25s, color 0.25s, translate 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.swap[data-tone="1"] { --tone: var(--cobalt); --ink: var(--white); }
.swap[data-tone="2"] { --tone: var(--white); --ink: var(--black); }
.swap[data-tone="3"] { --tone: var(--black); --ink: var(--yellow); }
.swap:hover { translate: -3px -3px; box-shadow: 13px 13px 0 var(--black); }
.swap:active { translate: 6px 6px; box-shadow: 4px 4px 0 var(--black); }
.swap:focus-visible { outline-offset: 6px; }
.swap__word { display: inline-block; }
.swap__word.is-in { animation: word-in 0.5s var(--ease); }
@keyframes word-in {
  from { translate: 0 0.7em; rotate: 5deg; }
  to { translate: 0 0; rotate: 0deg; }
}

.swap-hint {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: clamp(28px, 3.4vw, 52px);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
}
.swap-hint svg { rotate: -90deg; }

.hero__info {
  position: absolute; z-index: 1;
  top: clamp(16px, 1.8vw, 30px); right: var(--gutter);
  width: min(23vw, 23rem);
  display: grid; gap: var(--s-5);
}
.hero__lede { font-size: clamp(1.0625rem, 1.36vw, 1.3125rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }

/* Sticker sheet. Starting positions are composed so no two stickers touch and none sits on the marquee:
   two on the headline, one on each lower corner of the word box, the rest in a staggered row under it. */
.stickers { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sticker {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(calc(var(--r, 0deg) + var(--spin, 0deg)));
  filter: drop-shadow(5px 5px 0 var(--black));
  transition: scale 0.25s var(--ease), filter 0.25s var(--ease);
  will-change: transform;
}
.sticker:hover { scale: 1.03; }
.sticker.is-held { cursor: grabbing; scale: 1.08; filter: drop-shadow(12px 12px 0 var(--black)); }
.sticker:focus-visible { outline-offset: 6px; }
.sticker svg { width: 100%; height: auto; overflow: visible; }

.sticker--hello { --w: clamp(150px, 14vw, 215px); --x: 41%; --y: 71%; }
.sticker--burst { --w: clamp(120px, 11.5vw, 180px); --x: 29.5%; --y: 3%; }
.sticker--tag { --w: clamp(170px, 15.5vw, 235px); --x: 78%; --y: 73%; }
.sticker--seal { --w: clamp(120px, 11.5vw, 176px); --x: 58.5%; --y: 4%; }
.sticker--advisory { --w: clamp(140px, 12.5vw, 190px); --x: 63%; --y: 82%; }
.sticker--lips { --w: clamp(120px, 12vw, 185px); --x: 85.5%; --y: 37%; }
.sticker--drag { --w: auto; --x: 26%; --y: 82.5%; }

.hello { background: var(--white); border: var(--rule); border-radius: var(--r-badge); overflow: hidden; text-align: center; }
.hello__top {
  display: block; padding: 7px 8px 8px; background: var(--pink); border-bottom: var(--rule);
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2;
}
.hello__top b { display: block; font-family: var(--display); font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 800; letter-spacing: 0.01em; line-height: 0.95; }
.hello__name {
  display: block; padding: 12px 8px 16px; rotate: -4deg;
  color: var(--cobalt); font-size: clamp(1.25rem, 2vw, 1.875rem); font-weight: 800; font-stretch: 80%; line-height: 0.92; letter-spacing: -0.02em;
}

.sticker--burst { display: grid; place-items: center; }
.sticker--burst > * { grid-area: 1 / 1; }
.burst__text { font-size: clamp(1.375rem, 2.3vw, 2.125rem); font-weight: 800; font-stretch: 80%; text-transform: uppercase; line-height: 0.84; text-align: center; letter-spacing: -0.01em; }

.sticker--tag { display: grid; align-items: center; }
.sticker--tag > * { grid-area: 1 / 1; }
.tag__text { padding-left: 25%; font-family: var(--mono); font-size: clamp(0.6875rem, 0.95vw, 0.875rem); font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.tag__text b { display: block; font-family: var(--display); font-size: 1.55em; font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 2px; }

.seal__text { font-family: var(--mono); font-size: 13.5px; font-weight: 700; fill: var(--white); letter-spacing: 2.85px; }

.sticker--advisory { background: var(--white); border: var(--rule); padding: 4px; }
.advisory { display: block; background: var(--black); padding: 5px 6px 6px; text-align: center; }
.advisory b { display: block; color: var(--white); font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; }
.advisory span { display: block; margin-top: 3px; background: var(--white); font-family: var(--mono); font-size: clamp(0.6875rem, 0.82vw, 0.75rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; padding: 2px 0 1px; }

.drag {
  display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap;
  background: var(--white); border: var(--rule); border-radius: var(--r-pill); padding: 8px 14px 8px 12px;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hero { --shout: 24.5vw; }
  .hero__info { position: static; width: auto; margin-top: var(--s-6); grid-template-columns: minmax(0, 34rem); }
  .hero__lede { font-size: 1.25rem; }
  .hero { padding-bottom: 15rem; }
  .sticker--hello { --x: 60%; --y: auto; bottom: 9rem; }
  .sticker--burst { --x: 70%; --y: 1%; }
  .sticker--tag { --x: auto; right: 5%; --y: auto; bottom: 3rem; }
  .sticker--seal { --x: 44%; --y: auto; bottom: 1.5rem; }
  .sticker--advisory { --x: 22%; --y: auto; bottom: 2.5rem; }
  .sticker--lips { --x: 36%; --y: auto; bottom: 8.5rem; }
  .sticker--drag { --x: var(--gutter); --y: auto; bottom: 8.5rem; }
}

/* Phones: the headline stacks to three lines and fills the screen. The stickers sit in the gap
   beside SAY and IT, then spill under the buttons. */
@media (max-width: 640px) {
  .hero { --shout: 47vw; padding-bottom: 12.5rem; }
  .shout__a { padding-top: 0.1em; margin-left: -0.06em; line-height: 0.76; }
  .shout__it { display: block; }
  .shout__b { font-size: 29.5vw; margin-top: 0.1em; }
  .swap { box-shadow: var(--shadow); --wdth: 75%; }
  .swap-hint { margin-top: 26px; }
  .hero__info { margin-top: var(--s-4); }
  .hero__lede { font-size: 1.125rem; }
  .sticker--burst { --w: 27vw; --x: auto; right: 2%; --y: 3vw; }
  .sticker--seal { --w: 25vw; --x: 33vw; --y: 47vw; bottom: auto; }
  .sticker--hello { --w: 30vw; --x: auto; right: 6%; --y: 39vw; bottom: auto; }
  .sticker--tag { --w: 176px; --x: 5%; right: auto; --y: auto; bottom: 5.75rem; }
  .sticker--advisory { --w: 132px; --x: 4%; --y: auto; bottom: 1rem; }
  .sticker--lips { --w: 112px; --x: auto; right: 4%; --y: auto; bottom: 1.25rem; }
  .sticker--drag { --x: auto; right: 4%; --y: auto; bottom: 8.6rem; }
  .hello__top b { font-size: 6.4vw; }
  .hello__top { font-size: 2.6vw; padding: 5px 4px 6px; }
  .hello__name { font-size: 5.4vw; padding: 8px 4px 11px; }
  .burst__text { font-size: 6vw; }
  .drag { padding: 7px 12px 7px 10px; font-size: 0.75rem; }
}

/* ---------- Marquee bands, crossing at angles ---------- */
.bands {
  position: relative; z-index: 1;
  height: clamp(14rem, 22vw, 20rem);
  margin-top: clamp(-6.5rem, -6vw, -4rem);
  overflow: clip;
}
.band {
  position: absolute; left: -6vw; width: 112vw; top: 50%;
  border-block: var(--rule);
  font-size: clamp(1.75rem, 4.3vw, 4rem); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: -0.015em; line-height: 1;
  overflow: hidden;
}
.band--a { background: var(--black); color: var(--yellow); translate: 0 -50%; rotate: -4.5deg; z-index: 2; }
.band--b { background: var(--pink); color: var(--black); translate: 0 -50%; rotate: 5deg; font-stretch: 75%; }
.band__track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.band--b .band__track { animation-direction: reverse; animation-duration: 26s; }
.band:hover .band__track { animation-play-state: paused; }
.band__set { display: flex; flex: none; }
.band__set li { display: flex; align-items: center; padding: 0.3em 0 0.34em; white-space: nowrap; }
.band__set li::after {
  content: ""; width: 0.62em; height: 0.62em; margin-inline: 0.42em; background: currentColor;
  -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat;
}
.band--a .band__set li::after { background: var(--pink); }
@keyframes slide { to { translate: -50% 0; } }

/* Scroll-linked: the two bands close like scissors as the section crosses the viewport.
   The static angles above are the fallback, so nothing depends on this running. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bands { view-timeline: --bands block; }
    .band { animation: linear both; animation-timeline: --bands; animation-range: entry 0% exit 100%; }
    .band--a { animation-name: scissor-a; }
    .band--b { animation-name: scissor-b; }
  }
}
@keyframes scissor-a { from { rotate: -6deg; } to { rotate: -2.5deg; } }
@keyframes scissor-b { from { rotate: 6deg; } to { rotate: 3deg; } }

/* ---------- Work ---------- */
.work { position: relative; padding-top: var(--s-4); }
.work__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5) var(--s-7);
  padding: 0 var(--gutter) var(--s-6);
  border-bottom: var(--rule);
}
.work__note { max-width: 30ch; font-weight: 600; text-wrap: pretty; }

.job { --edge: var(--black); border-bottom: var(--rule); transition: background-color 0.2s, color 0.2s; }
.job__h { font: inherit; }
.job__head {
  display: grid; grid-template-columns: minmax(0, 1fr) 15rem auto; align-items: center; gap: var(--s-6);
  width: 100%; padding: 0.5rem var(--gutter) 0.25rem;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.job__head:focus-visible { outline-offset: -8px; }
.job__name {
  font-size: clamp(3.5rem, 10.4vw, 10.5rem); font-weight: 800; font-stretch: 75%; line-height: 0.92;
  text-transform: uppercase; letter-spacing: 0.004em; white-space: nowrap;
  transition: font-stretch 0.5s var(--ease), letter-spacing 0.5s var(--ease);
}
.job__meta { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-3); align-items: center; }
.job__what { grid-column: 1 / -1; font-size: 1.1875rem; font-weight: 700; line-height: 1.15; }
.job__year { font-family: var(--mono); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.job__plus { transition: rotate 0.45s var(--ease); }

.job:has(.job__head:hover), .job:has(.job__head:focus-visible), .job.is-open { background: var(--tone); color: var(--ink); }
.job:has(.job__head:hover) .job__name, .job.is-open .job__name { font-stretch: 100%; letter-spacing: -0.03em; }
.job.is-open .job__plus { rotate: 135deg; }
.job:has(.job__head:focus-visible) { --focus: var(--ink); }

.job__inner {
  display: grid; grid-template-columns: clamp(170px, 20vw, 290px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding-inline: var(--gutter);
}
.job__art {
  width: 100%; height: auto; margin: var(--s-5) 0 var(--s-8);
  border: var(--line) solid var(--edge); box-shadow: 8px 8px 0 var(--edge); rotate: -3deg;
}
.job__copy { display: grid; gap: var(--s-4); margin: var(--s-5) 0 var(--s-8); max-width: 44rem; }
.job__copy > p:not([class]) { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.4; max-width: 52ch; text-wrap: pretty; }
.job__was { font-family: var(--mono); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.job__was s { text-decoration-thickness: 1.5px; }
.job__line {
  justify-self: start; margin-top: var(--s-3); padding: 0.28em 0.5em 0.3em;
  background: var(--white); color: var(--black); border: var(--line) solid var(--black); box-shadow: 6px 6px 0 var(--edge);
  font-size: clamp(1.5rem, 3.3vw, 3rem); font-weight: 800; font-stretch: 78%; line-height: 1; letter-spacing: -0.02em;
  rotate: 1deg; text-wrap: balance;
}

/* Collapsing only happens when the script is running; without it every row is open. */
.js .job__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.55s var(--ease), visibility 0s 0.55s; }
.js .job.is-open .job__body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.55s var(--ease), visibility 0s; }
.js .job__inner { overflow: hidden; min-height: 0; }

/* Artwork that follows the cursor */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(200px, 17vw, 270px);
  pointer-events: none; opacity: 0; scale: 0.5;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--pr, 4deg));
  border: var(--rule); box-shadow: var(--shadow-l); background: var(--white);
  transition: opacity 0.18s, scale 0.35s var(--ease);
}
.peek.is-on { opacity: 1; scale: 1; }
.peek svg { width: 100%; height: auto; }
@media (hover: none), (pointer: coarse) { .peek { display: none; } }

@media (max-width: 900px) {
  .job__head { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); padding-block: var(--s-4) var(--s-4); }
  .job__name { font-size: clamp(3.25rem, 15.5vw, 8rem); grid-column: 1; }
  .job__plus { grid-column: 2; grid-row: 1; }
  .job__meta { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; }
  .job__what { grid-column: auto; font-size: 1.0625rem; }
}
@media (max-width: 640px) {
  .job__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .job__art { width: min(62%, 240px); margin: var(--s-4) 0 var(--s-5) var(--s-2); }
  .job__copy { margin: var(--s-3) 0 var(--s-7); }
  .job__meta { grid-template-columns: auto 1fr; }
  .job__what { grid-column: 1 / -1; }
}

/* ---------- 4. Manifesto ---------- */
.manifesto {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: var(--s-7) clamp(32px, 6vw, 96px); align-items: start;
  padding: var(--s-9) var(--gutter);
  background: var(--white); border-bottom: var(--rule);
}
.manifesto__h { font-size: clamp(3.25rem, 10.4vw, 10.5rem); font-stretch: 75%; line-height: 0.86; }
.manifesto__h { position: sticky; top: calc(var(--nav-h) + var(--s-6)); rotate: -3deg; transform-origin: 0 0; margin-top: var(--s-5); }
.manifesto__p {
  font-size: clamp(1.375rem, 2.55vw, 2.5rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.018em;
  max-width: 27em; text-wrap: pretty;
}
.manifesto__p s { text-decoration-color: var(--pink); text-decoration-thickness: 0.14em; }
.hl {
  --c: var(--pink);
  color: var(--black); font-weight: 700;
  background: linear-gradient(var(--c), var(--c)) 0 55% / 100% 86% no-repeat;
  padding: 0 0.16em; margin: 0 -0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl--yellow { --c: var(--yellow); }
.hl--cobalt { --c: var(--cobalt); color: var(--white); }
.manifesto__sign { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-7); font-family: var(--mono); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; }
.manifesto__sign svg { color: var(--cobalt); }

@media (max-width: 900px) {
  .manifesto__h { font-size: clamp(4rem, 19vw, 9rem); }
  .manifesto { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-8); gap: var(--s-6); }
  .manifesto__h { position: static; margin-top: 0; }
}

/* ---------- People ---------- */
.people { --focus: var(--black); padding: var(--s-9) var(--gutter); background: var(--pink); border-bottom: var(--rule); }
.people ::selection { background: var(--black); color: var(--pink); }
.people__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5) var(--s-7); margin-bottom: var(--s-8); }
.people__head .h-xl { max-width: 13ch; }
.people__head p { max-width: 32ch; font-weight: 600; text-wrap: pretty; }

.mugs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6) clamp(20px, 3.4vw, 56px); align-items: start; }
.mug { display: grid; justify-items: start; gap: var(--s-2); }
.mug:nth-child(2) { margin-top: var(--s-8); }
.mug:nth-child(3) { margin-top: var(--s-5); }
.mug:nth-child(4) { margin-top: var(--s-9); }
.mug__face {
  position: relative; width: 100%; max-width: 300px; padding: 0; margin-bottom: var(--s-5);
  background: none; border: 0; cursor: pointer;
  rotate: var(--tilt, -3deg);
  transition: rotate 0.4s var(--ease), translate 0.2s var(--ease);
}
.mug:nth-child(2) .mug__face { --tilt: 4deg; }
.mug:nth-child(3) .mug__face { --tilt: -1.5deg; }
.mug:nth-child(4) .mug__face { --tilt: 6deg; }
.mug__face svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(8px 8px 0 var(--black)); }
.mug__face:hover { rotate: 0deg; }
.mug__face:active { translate: 3px 3px; }
.mug__face:focus-visible { outline-offset: 8px; }
.yap { transform-box: fill-box; transform-origin: 50% 0; transition: transform 0.2s var(--ease); }
.mug__face:hover .yap { transform: scaleY(1.35); }
.mug__face.is-yapping .yap { animation: yap 0.9s var(--ease); }
@keyframes yap {
  0%, 100% { transform: scaleY(1); }
  15%, 45%, 75% { transform: scale(1.12, 1.7); }
  30%, 60% { transform: scaleY(0.5); }
}
.mug__say {
  position: absolute; right: -6%; top: -5%;
  background: var(--white); border: var(--rule); padding: 6px 10px 5px;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; white-space: nowrap;
  rotate: calc(var(--tilt, -3deg) * -1 + 5deg); transform-origin: 20% 100%;
  box-shadow: var(--shadow-s);
  transition: scale 0.35s var(--ease);
}
.mug__say::after {
  content: ""; position: absolute; left: 18px; bottom: -9px; width: 14px; height: 14px;
  background: var(--white); border-right: var(--rule); border-bottom: var(--rule); rotate: 45deg;
}
.mug__face:hover .mug__say, .mug__face.is-yapping .mug__say { scale: 1.18; }
.mug__name { font-size: 1.625rem; font-weight: 800; font-stretch: 85%; line-height: 1; letter-spacing: -0.02em; }
.mug__bio { margin-top: var(--s-2); max-width: 26ch; font-size: 1rem; line-height: 1.4; text-wrap: pretty; }

@media (max-width: 900px) {
  .people { padding-block: var(--s-8); }
  .mugs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
  .mug:nth-child(n) { margin-top: 0; }
  .mug:nth-child(even) { margin-top: var(--s-7); }
}
@media (max-width: 560px) {
  .people__head { margin-bottom: var(--s-7); }
  .mugs { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .mug:nth-child(n) { margin-top: 0; }
  .mug { grid-template-columns: 42% minmax(0, 1fr); column-gap: var(--s-5); align-content: center; }
  .mug__face { grid-row: 1 / span 4; margin: 0; align-self: center; }
  .mug__name { align-self: end; }
  .mug:nth-child(even) { grid-template-columns: minmax(0, 1fr) 42%; }
  .mug:nth-child(even) .mug__face { grid-column: 2; }
  .mug:nth-child(even) > :not(.mug__face) { grid-column: 1; }
  .mug__say { right: auto; left: -2%; top: -17%; }
  .mug:nth-child(even) .mug__say { left: auto; right: 1%; }
  .mug:nth-child(even) .mug__say::after { left: auto; right: 18px; }
  .mugs { gap: var(--s-8); }
}

/* ---------- Contact ---------- */
.contact {
  --focus: var(--yellow);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8) clamp(32px, 6vw, 96px); align-items: start;
  padding: var(--s-9) var(--gutter);
  background: var(--cobalt); color: var(--white);
}
.contact ::selection { background: var(--yellow); color: var(--black); }
.contact__lede { margin-top: var(--s-5); max-width: 36ch; font-size: 1.25rem; line-height: 1.4; text-wrap: pretty; }
.prices { display: grid; gap: var(--s-5); margin-top: var(--s-7); max-width: 29rem; }
.prices li { rotate: var(--r, 0deg); }
.price {
  position: relative; display: grid; width: 100%; text-align: left; cursor: pointer;
  transition: translate 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.15s, color 0.15s; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--s-4); align-items: baseline;
  padding: 16px 18px 15px 50px;
  background: var(--white); color: var(--black); border: var(--rule); box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.price:hover { translate: -2px -2px; box-shadow: 8px 8px 0 var(--black); background: var(--yellow); }
.price:active { translate: 4px 4px; box-shadow: 2px 2px 0 var(--black); }
.price[aria-pressed="true"] { background: var(--black); color: var(--yellow); border-color: var(--yellow); box-shadow: 6px 6px 0 var(--pink); }
.price[aria-pressed="true"]::before { background: var(--pink); border-color: var(--yellow); }
.price[aria-pressed="true"]:hover { background: var(--black); }
.price:focus-visible { outline-offset: 5px; }
.price::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; border: var(--rule); border-radius: 50%; background: var(--cobalt); }
.price b { font-family: var(--display); font-size: 1.625rem; font-weight: 800; font-stretch: 85%; letter-spacing: -0.01em; line-height: 1; }
.price--loud { background: var(--yellow); }

.formbox { --focus: var(--cobalt); background: var(--white); color: var(--black); border: var(--rule); box-shadow: 12px 12px 0 var(--black); padding: clamp(20px, 3.2vw, 44px); }
.formbox ::selection { background: var(--black); color: var(--yellow); }
.form { display: grid; gap: var(--s-5); }
.form[hidden] { display: none; }
.field label, .field legend, .field__label { display: block; padding: 0; margin-bottom: var(--s-2); font-size: 1.25rem; font-weight: 800; font-stretch: 88%; letter-spacing: -0.01em; line-height: 1.15; }
.field input[type="text"], .field input[type="email"], .field textarea {
  display: block; width: 100%; padding: 13px 14px 12px;
  background: var(--white); border: var(--rule);
  font-size: 1.125rem; font-weight: 600; line-height: 1.35;
  transition: background-color 0.15s, box-shadow 0.18s var(--ease), translate 0.18s var(--ease);
}
.field textarea { resize: none; min-height: 7rem; overflow: hidden; } /* grows as you type, see script.js */
.field input:-webkit-autofill, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--black); caret-color: var(--cobalt);
  box-shadow: inset 0 0 0 100px var(--yellow); transition: background-color 9999s;
}
.field input::-webkit-search-cancel-button, .field input::-webkit-contacts-auto-fill-button, .field input::-webkit-credentials-auto-fill-button { display: none; }
.field ::placeholder { color: var(--grey); font-weight: 500; opacity: 1; }
.field input:hover, .field textarea:hover { background: color-mix(in srgb, var(--yellow) 30%, var(--white)); }
.field input:focus-visible, .field textarea:focus-visible { background: var(--yellow); outline: 0; box-shadow: var(--shadow); translate: -2px -2px; }
.field.is-ok input, .field.is-ok textarea {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Crect width='28' height='28' fill='%231f3cff'/%3E%3Cpath d='M6 15l5 5L22 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px top 11px; background-size: 28px; padding-right: 48px;
}
.field.is-bad input, .field.is-bad textarea { background-color: color-mix(in srgb, var(--pink) 16%, var(--white)); }
.field.is-bad input:focus-visible, .field.is-bad textarea:focus-visible { translate: none; box-shadow: none; outline: var(--line) solid var(--cobalt); outline-offset: -7px; }
.field__count { margin-top: 6px; font-family: var(--mono); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.field__err { font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; line-height: 1.35; }
.field__err:not(:empty) {
  margin-top: -3px; padding: 8px 12px 7px; background: var(--pink); border: var(--rule);
  animation: err-in 0.35s var(--ease);
}
.field__count + .field__err:not(:empty), .chips + .field__err:not(:empty) { margin-top: var(--s-2); }
@keyframes err-in { from { translate: -8px 0; } 40% { translate: 5px 0; } to { translate: 0 0; } }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span {
  display: flex; align-items: center; min-height: 46px; padding: 0 14px;
  background: var(--white); border: var(--rule); box-shadow: var(--shadow-s);
  font-family: var(--mono); font-size: 0.875rem; font-weight: 700; text-transform: uppercase;
  transition: translate 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s, color 0.15s;
}
.pick:hover span { background: var(--yellow); }
.pick input:checked + span { background: var(--black); color: var(--yellow); translate: 4px 4px; box-shadow: 0 0 0 var(--black); }
.pick input:focus-visible + span { outline: var(--line) solid var(--cobalt); outline-offset: 3px; }

.form__fail { padding: 12px 14px; background: var(--black); color: var(--yellow); font-family: var(--mono); font-size: 0.875rem; font-weight: 700; }
.form__small { font-family: var(--mono); font-size: 0.75rem; text-align: center; margin-top: calc(var(--s-2) * -1); }

.btn__dots { display: none; gap: 5px; }
.btn__dots i { width: 8px; height: 8px; background: currentColor; animation: dot 0.7s var(--ease) infinite alternate; }
.btn__dots i:nth-child(2) { animation-delay: 0.15s; }
.btn__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { to { translate: 0 -9px; } }
.btn.is-loading { pointer-events: none; --bg: var(--yellow); translate: 4px 4px; box-shadow: 2px 2px 0 var(--black); }
.btn.is-loading .btn__dots { display: inline-flex; }

.formbox.is-done { background: var(--yellow); }
.thanks { display: grid; justify-items: start; gap: var(--s-5); padding-block: var(--s-5); outline: 0; }
.thanks[hidden] { display: none; }
.thanks__mark { rotate: -8deg; animation: pop 0.6s var(--ease); }
.thanks__h { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.03em; overflow-wrap: anywhere; text-wrap: balance; }
.thanks p { max-width: 38ch; font-size: 1.1875rem; overflow-wrap: anywhere; }
@keyframes pop { from { scale: 0.3; rotate: 30deg; } to { scale: 1; rotate: -8deg; } }

@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-8); gap: var(--s-7); }
  .formbox { box-shadow: 8px 8px 0 var(--black); margin-right: 8px; }
}
@media (max-width: 420px) {
  .price { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .price b { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.foot { --focus: var(--yellow); background: var(--black); color: var(--white); padding-top: var(--s-8); overflow: clip; }
.foot ::selection { background: var(--yellow); color: var(--black); }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--s-6) var(--s-7); padding-inline: var(--gutter); align-items: start; }
.foot__h { margin-bottom: var(--s-3); color: var(--yellow); font-size: 1.375rem; font-weight: 800; font-stretch: 85%; letter-spacing: -0.01em; line-height: 1.1; }
.foot__grid a:not(.btn) { text-decoration-thickness: 2px; transition: color 0.15s, background-color 0.15s; }
.foot__grid a:not(.btn):hover { background: var(--yellow); color: var(--black); text-decoration-color: transparent; }
.foot__list { display: grid; gap: var(--s-1); }
.foot__list a, .foot__grid p a { display: inline-block; padding-block: 3px; }
.foot__legal { margin-top: var(--s-8); padding-inline: var(--gutter); font-family: var(--mono); font-size: 0.75rem; }
.colossus {
  margin-top: var(--s-4); margin-bottom: -0.17em;
  color: var(--yellow); font-size: 25.4vw; font-weight: 800; font-stretch: 75%; line-height: 0.8; text-transform: uppercase; letter-spacing: -0.012em;
  white-space: nowrap; text-align: center; user-select: none;
}
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__list a, .foot__grid p a { padding-block: 10px; }
  .foot__list { gap: 0; }
}

/* ==========================================================================
   5. COMPONENTS
   The themed kit: nothing here is drawn by the browser. Everything runs on the
   tokens at the top of this file, so re-colouring the template re-colours these.
   .picker   select: a field-shaped button that opens a list of price tags
   .toast    notice: a sticker slapped onto the corner of the screen
   .confirm  confirmation dialog: a tilted yellow sheet over a halftone backdrop
   .scrap, .copy   small text buttons used to trigger the above
   ========================================================================== */

/* ----- Select ----- */
.picker { position: relative; }
.picker__btn {
  display: flex; align-items: stretch; width: 100%; min-height: 54px; padding: 0;
  background: var(--white); border: var(--rule); text-align: left; cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.18s var(--ease), translate 0.18s var(--ease);
}
.picker__btn:hover { background: color-mix(in srgb, var(--yellow) 30%, var(--white)); }
.picker__btn:focus-visible, .picker.is-open .picker__btn { background: var(--yellow); outline: 0; box-shadow: var(--shadow); translate: -2px -2px; }
.picker__value {
  flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s-3); align-content: center;
  padding: 9px 14px 8px; font-size: 1.125rem; font-weight: 800; line-height: 1.2;
}
.picker__value small, .picker__opt small { font-family: var(--mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.picker__chev { flex: none; display: grid; place-items: center; width: 54px; background: var(--black); color: var(--yellow); border-left: var(--rule); }
.picker__chev svg { rotate: 90deg; transition: rotate 0.35s var(--ease); }
.picker.is-open .picker__chev { background: var(--pink); color: var(--black); }
.picker.is-open .picker__chev svg { rotate: -90deg; }

.picker__list {
  position: absolute; z-index: 20; left: 6px; right: -6px; top: calc(100% + 10px);
  background: var(--white); border: var(--rule); box-shadow: var(--shadow-l);
  rotate: 0.6deg; transform-origin: 0 0; scroll-margin: var(--s-6);
  animation: picker-in 0.32s var(--ease);
}
.picker__list[hidden] { display: none; }
@keyframes picker-in {
  from { clip-path: inset(0 -14px 100% 0); translate: 0 -10px; }
  to { clip-path: inset(0 -14px -14px 0); translate: 0 0; }
}
.picker__opt {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s-3);
  min-height: 52px; padding: 12px 14px 10px 44px; position: relative; align-content: center;
  font-size: 1.125rem; font-weight: 800; line-height: 1.2; cursor: pointer;
}
.picker__opt + .picker__opt { border-top: var(--rule); }
.picker__opt b { font-weight: 800; }
.picker__opt small { margin-left: auto; }
.picker__tick { position: absolute; left: 14px; top: 50%; translate: 0 -50%; opacity: 0; }
.picker__opt[aria-selected="true"] .picker__tick { opacity: 1; }
.picker__opt[aria-selected="true"] { background: color-mix(in srgb, var(--yellow) 45%, var(--white)); }
.picker__opt.is-active { background: var(--black); color: var(--yellow); }

/* ----- Notice ----- */
.toasts {
  position: fixed; z-index: 90; left: var(--gutter); bottom: var(--s-5); right: var(--gutter);
  display: grid; justify-items: start; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: var(--s-3); max-width: min(30rem, 100%);
  padding: 12px 18px 11px 14px; pointer-events: auto;
  background: var(--white); color: var(--black); border: var(--rule); box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 0.875rem; font-weight: 700; line-height: 1.3; text-transform: uppercase;
  rotate: -2deg; transform-origin: 0 100%;
  animation: slap 0.42s var(--ease);
}
.toast svg { flex: none; rotate: -8deg; }
.toast--loud { background: var(--pink); }
.toast.is-out { animation: peel 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards; }
@keyframes slap {
  from { scale: 1.5; rotate: 7deg; opacity: 0; box-shadow: 22px 22px 0 var(--black); }
  45% { opacity: 1; }
  to { scale: 1; rotate: -2deg; box-shadow: var(--shadow); }
}
@keyframes peel { to { translate: -30px 60px; rotate: -14deg; opacity: 0; } }

/* ----- Confirmation dialog ----- */
.confirm {
  width: min(33rem, calc(100vw - 44px)); max-height: none; margin: auto; padding: clamp(24px, 5vw, 44px);
  overflow: visible; background: var(--yellow); color: var(--black);
  border: var(--rule); box-shadow: 12px 12px 0 var(--black); rotate: -1.5deg;
  --focus: var(--cobalt);
}
.confirm[open] { animation: slap-sheet 0.45s var(--ease); }
.confirm::backdrop {
  background:
    radial-gradient(circle, var(--black) 1.6px, transparent 2.2px) 0 0 / 11px 11px,
    color-mix(in srgb, var(--pink) 90%, transparent);
  animation: fade 0.25s linear;
}
.confirm.is-closing { animation: sheet-out 0.22s cubic-bezier(0.7, 0, 0.84, 0) forwards; }
.confirm.is-closing::backdrop { animation: fade 0.22s linear reverse forwards; }
.confirm__burst { position: absolute; right: -18px; top: -46px; width: 104px; display: grid; place-items: center; rotate: 12deg; filter: drop-shadow(4px 4px 0 var(--black)); }
.confirm__burst > * { grid-area: 1 / 1; }
.confirm__burst b { font-size: 2.125rem; font-weight: 800; font-stretch: 80%; text-transform: uppercase; line-height: 1; }
.confirm__h { padding-right: 56px; font-size: clamp(3rem, 11vw, 5.25rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.03em; text-wrap: balance; }
.confirm__p { margin-top: var(--s-4); max-width: 34ch; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.confirm__acts { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); margin-top: var(--s-6); }
.confirm__acts .btn { flex: 1 1 auto; }
.confirm ::selection { background: var(--black); color: var(--yellow); }
@keyframes slap-sheet { from { scale: 1.25; rotate: 5deg; opacity: 0; } 40% { opacity: 1; } to { scale: 1; rotate: -1.5deg; } }
@keyframes sheet-out { to { translate: 0 40px; rotate: -7deg; opacity: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ----- Small text buttons ----- */
.scrap, .copy {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 6px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em;
  transition: background-color 0.15s, color 0.15s;
}
.scrap { justify-self: center; margin-top: calc(var(--s-4) * -1); }
.scrap[hidden] { display: none; }
.scrap:hover { background: var(--pink); text-decoration-color: transparent; }
.copy { margin: var(--s-2) 0 0 -6px; color: var(--yellow); }
.copy:hover { background: var(--yellow); color: var(--black); text-decoration-color: transparent; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: default; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .band__track { animation: none; }
  .btn__dots i { animation: none; }
  .nav__status i { animation: none; }
  .toast, .toast.is-out, .confirm[open], .confirm.is-closing, .confirm::backdrop, .picker__list { animation: none; }
}
