/* ==========================================================================
   Michelle Telemann — one page, one stylesheet.
   Palette, type and motion tokens live in :root. Nothing else invents values.
   ========================================================================== */

/* --- Self-hosted faces (no CDN, no third-party request at runtime) -------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Silkscreen';
  src: url('../fonts/silkscreen-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* the whole ramp, hue 310–340, nothing else */
  --magenta-hot: #ff2e88;
  --magenta: #d6117a;
  --berry: #8e1f6d;
  --plum: #3f0a2e;
  --ink: #1a0410;
  --white: #ffffff;

  --display: 'Bricolage Grotesque', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --micro: 'Silkscreen', 'Courier New', monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-gap: clamp(72px, 11vw, 150px);

  --r-card: 30px;
  --r-sm: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-cat: cubic-bezier(0.34, 1.5, 0.5, 1); /* overshoot: cats only */
  --t-fast: 150ms;
  --t-mid: 220ms;
  --t-slow: 320ms;
  --stagger: 60ms;

  --lift: -3px;   /* hover rise, zeroed under reduced motion */
  --press: 1px;

  /* shadows are tinted with --ink, never neutral black */
  --shadow-pill: 0 10px 22px -10px rgba(26, 4, 16, .75);
  --shadow-card: 0 44px 90px -30px rgba(26, 4, 16, .95), 0 14px 30px -14px rgba(26, 4, 16, .6);
  --shadow-cat: drop-shadow(0 14px 18px rgba(26, 4, 16, .5));
}

/* --- Base ---------------------------------------------------------------- */

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

html {
  /* one deliberate composition: off-axis, uneven stops, bright end kept in the
     hero and in the large-type areas, never behind a paragraph */
  background:
    linear-gradient(163deg,
      var(--magenta) 0%,
      var(--magenta) 20%,
      var(--berry) 46%,
      var(--berry) 79%,
      var(--plum) 90%,
      var(--ink) 100%) no-repeat;
  background-color: var(--berry);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .95;
  margin: 0;
  text-wrap: balance;
}

p, ul { margin: 0; }
ul { list-style: none; padding: 0; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--section-gap) * .5);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--plum);
  color: var(--white);
  padding: .7em 1.1em;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus-visible { left: 0; }

/* --- Halftone ------------------------------------------------------------
   Magenta prints as a rotated dot screen. This is the flat-gradient tell
   killer: a real screen angle, not film grain.                             */

.halftone {
  position: fixed;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  transform: rotate(15deg);
  background-image: radial-gradient(circle at 50% 50%, rgba(26, 4, 16, .85) .85px, transparent 1.05px);
  background-size: 5px 5px;
  opacity: .5;
}

/* --- Retro pointer -------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  html { cursor: url('../img/cursor.png') 2 2, auto; }
  a, button, .marquee, .sticker { cursor: url('../img/cursor.png') 2 2, pointer; }
}

/* --- Language blocks -----------------------------------------------------
   Both languages sit in the DOM. Before the first paint the <html data-lang>
   attribute decides which one is drawn, so nothing ever flashes. During a
   switch each block freezes on its own data-show so the crossfade can be
   staggered block by block.                                                */

html[data-lang='de'] .t:not([data-show]) > [lang='en'],
html[data-lang='en'] .t:not([data-show]) > [lang='de'],
.t[data-show='de'] > [lang='en'],
.t[data-show='en'] > [lang='de'] { display: none; }

.t { transition: opacity 160ms var(--ease); }
.t.is-fading { opacity: 0; }
.t.is-arriving { animation: blockIn 220ms var(--ease) both; }

@keyframes blockIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* --- Arrival on scroll ---------------------------------------------------
   Only applied when JS is running, so a broken script can never hide copy. */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Top bar: DE / EN and the sound toggle, always reachable
   ========================================================================== */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: clamp(12px, 2.2vw, 22px) 0;
  pointer-events: none;
}

.topbar__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar__inner > * { pointer-events: auto; }

.lang { position: relative; }

.lang__pill {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  background: var(--plum);
  border-radius: var(--r-pill);
  padding: .5em .85em;
  box-shadow: var(--shadow-pill);
  font-family: var(--micro);
  font-size: clamp(.72rem, .68rem + .2vw, .85rem);
  line-height: 1;
}

.lang__btn {
  color: var(--white);
  padding: .3em .45em;
  border-radius: var(--r-pill);
  opacity: .55;
  transition:
    opacity var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.lang__btn:hover { opacity: 1; }
.lang__btn.is-active {
  opacity: 1;
  background: var(--white);
  color: var(--ink);
}
.lang__slash { opacity: .55; }

.sound {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  background: var(--plum);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: .62em .95em;
  box-shadow: var(--shadow-pill);
  font-family: var(--micro);
  font-size: clamp(.72rem, .68rem + .2vw, .85rem);
  line-height: 1;
  text-transform: uppercase;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.sound:hover { transform: translateY(var(--lift)); }
.sound:active { transform: translateY(var(--press)); }

.sound__icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sound__body { fill: currentColor; stroke: none; }

.sound[aria-pressed='false'] .sound__waves,
.sound[aria-pressed='true'] .sound__slash,
.sound[aria-pressed='false'] .is-on,
.sound[aria-pressed='true'] .is-off { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(96px, 14vh, 150px) clamp(84px, 12vh, 130px);
  overflow: hidden;
}

/* hard-edged diagonal split: one flat ink dropped over another */
.hero__wedge {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--magenta-hot);
  clip-path: polygon(47% 0, 100% 0, 100% 100%, 86% 100%);
}

.hero__inner {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
}

.hero__photo {
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
}

.photo-card {
  position: relative;
  z-index: 2;
  border-radius: var(--r-card);
  overflow: hidden;
  transform: rotate(-3.4deg);
  box-shadow: var(--shadow-card);
}
.photo-card img { width: 100%; }

.hero__name {
  font-size: clamp(3rem, 11vw, 6.6rem);
  line-height: .86;
  letter-spacing: -.045em;
}
.hero__name span { display: block; }

.hero__role {
  margin-top: clamp(14px, 2vw, 22px);
  font-weight: 800;
  font-size: clamp(1.02rem, .95rem + .5vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: .005em;
}

.hero__loc {
  margin-top: .3em;
  font-weight: 500;
  font-size: clamp(.92rem, .88rem + .25vw, 1.05rem);
  letter-spacing: .02em;
}

.hero__slogan {
  display: block;
  margin-top: clamp(26px, 4vw, 42px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  max-width: 19ch;
  text-wrap: balance;
}

.mark {
  display: inline-block;
  background: var(--plum);
  border-radius: 8px;
  padding: 0 .18em .06em;
  transform: rotate(-1.4deg);
}

/* scroll cue */
.scrollcue {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: clamp(34px, 6vh, 66px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .55em;
  font-family: var(--micro);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.scrollcue__arrow {
  width: 14px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bob 1.9s var(--ease) infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(-3px); opacity: .65; }
  50%      { transform: translateY(3px); opacity: 1; }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(30px, 5vw, 70px);
  }
  .hero__photo { grid-column: 2; grid-row: 1; width: min(100%, 460px); }
  .hero__text  { grid-column: 1; grid-row: 1; }
  .hero__slogan { max-width: 17ch; }
}

@media (max-width: 899px) {
  /* the photo sits to the right so the name still lands above the fold and the
     hero cat has somewhere to come out of */
  .hero { padding-block: clamp(78px, 11vh, 120px) clamp(30px, 5vh, 56px); }
  .hero__inner { gap: clamp(22px, 4vw, 38px); }
  .hero__photo { width: min(64%, 300px); margin-inline: auto 0; }
  .hero__wedge { clip-path: polygon(0 0, 100% 0, 100% 40%, 0 56%); }
  .scrollcue { margin-top: clamp(24px, 4vh, 44px); }
}

/* ==========================================================================
   Introduction
   ========================================================================== */

.intro { padding-top: calc(var(--section-gap) * .62); }

.lead {
  display: block;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2.05rem);
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: -.01em;
  max-width: 26ch;
}

@media (min-width: 760px) {
  .lead { max-width: 30ch; margin-left: auto; }
}

/* ==========================================================================
   Skills — sticker clusters, not a card grid
   ========================================================================== */

.skills__head {
  position: relative;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section__title {
  display: block;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem);
}
.section__title.is-nudged { animation: nudge 380ms var(--ease); }
@keyframes nudge {
  0%   { transform: none; }
  38%  { transform: translateX(9px) rotate(.5deg); }
  100% { transform: none; }
}

.clusters {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

@media (min-width: 820px) {
  .clusters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 70px) clamp(28px, 4vw, 54px);
  }
  /* asymmetry, on purpose */
  .cluster:nth-child(2) { margin-top: clamp(18px, 3vw, 44px); }
  .cluster:nth-child(3) { margin-top: clamp(-6px, -1vw, 0px); }
  .cluster:nth-child(4) { margin-top: clamp(14px, 2.4vw, 36px); }
}

.cluster__title {
  display: block;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem);
  letter-spacing: .01em;
  margin-bottom: clamp(14px, 2vw, 20px);
  padding-left: 1.15em;
  position: relative;
}
.cluster__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: .42em;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: var(--magenta-hot);
}

.stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 14px;
}

.sticker {
  --rot: 0deg;
  background: var(--plum);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: .68em 1.2em;
  font-weight: 700;
  font-size: clamp(1rem, .95rem + .3vw, 1.14rem);
  line-height: 1.3;
  transform: rotate(var(--rot));
  box-shadow: var(--shadow-pill);
  transition:
    transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.stickers > li:nth-child(4n+1) { --rot: -2.4deg; }
.stickers > li:nth-child(4n+2) { --rot: 1.7deg; }
.stickers > li:nth-child(4n+3) { --rot: -1.1deg; }
.stickers > li:nth-child(4n+4) { --rot: 2.6deg; }

.sticker:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 18px 32px -14px rgba(26, 4, 16, .85);
}

.sticker--feature {
  flex-basis: 100%;
  border-radius: var(--r-sm);
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.4vw, 26px);
}
.sticker__name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.sticker__note {
  display: block;
  margin-top: .6em;
  font-weight: 500;
  font-size: clamp(.94rem, .9rem + .2vw, 1.03rem);
  line-height: 1.55;
  max-width: 46ch;
}

/* staggered arrival, sequence inside each cluster */
.js .cluster .sticker { opacity: 0; transform: translateY(16px) rotate(var(--rot)); }
.js .cluster.is-in .sticker {
  opacity: 1;
  transform: rotate(var(--rot));
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.js .cluster.is-in .stickers > li:nth-child(1) { transition-delay: 0ms; }
.js .cluster.is-in .stickers > li:nth-child(2) { transition-delay: 60ms; }
.js .cluster.is-in .stickers > li:nth-child(3) { transition-delay: 120ms; }
.js .cluster.is-in .stickers > li:nth-child(4) { transition-delay: 180ms; }
.js .cluster.is-in .stickers > li:nth-child(5) { transition-delay: 240ms; }
.js .cluster.is-in .sticker:hover { transform: rotate(0deg) translateY(-4px); }

.js .cluster .cluster__title { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .cluster.is-in .cluster__title { opacity: 1; transform: none; }

/* ==========================================================================
   Platform strip
   ========================================================================== */

.platforms { padding-block: calc(var(--section-gap) * .55); }

.eyebrow {
  display: block;
  font-family: var(--body);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: clamp(6px, 1.4vw, 14px);
  /* the #000 stops below are mask alpha, not colour: nothing here paints */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: drift 34s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee:focus .marquee__track { animation-play-state: paused; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 62px);
  padding-right: clamp(26px, 4vw, 62px);
}
.marquee__group li {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 62px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1rem + 4.4vw, 4.2rem);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.marquee__group li::after {
  content: '';
  width: .17em;
  height: .17em;
  border-radius: 50%;
  background: var(--magenta-hot);
  flex: none;
}

/* ==========================================================================
   AI statement — solid plum panel, hard diagonal edges
   ========================================================================== */

.ai {
  background: var(--plum);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  padding-block: clamp(96px, 13vw, 168px);
  margin-block: calc(var(--section-gap) * .35);
}

.ai__inner { max-width: calc(var(--maxw) - 4vw); }

.ai__statement {
  display: block;
  font-size: clamp(2rem, 1.2rem + 4vw, 4.1rem);
  line-height: .98;
  max-width: 17ch;
}

.ai__intro {
  display: block;
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 42ch;
  font-size: clamp(1rem, .96rem + .35vw, 1.18rem);
}

@media (min-width: 900px) {
  .ai__intro { margin-left: 33%; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding-bottom: clamp(96px, 15vw, 200px);
}
html.no-contact-cat .contact { padding-bottom: clamp(64px, 8vw, 116px); }
.contact .wrap { position: relative; }

.contact__cta {
  display: block;
  font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.6rem);
  line-height: .96;
  max-width: 16ch;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.contact__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .62em;
  padding: .92em 1.5em;
  border-radius: var(--r-pill);
  background: var(--magenta);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  line-height: 1;
  box-shadow: var(--shadow-pill);
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.btn:hover,
.btn:focus-visible {
  background: var(--magenta-hot);
  color: var(--ink);
  transform: translateY(var(--lift));
  box-shadow: 0 20px 34px -16px rgba(26, 4, 16, .9);
}
.btn:active { transform: translateY(var(--press)) scale(.985); }

.btn__icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.js .contact__list li { opacity: 0; transform: translateY(22px); }
.js .contact.is-in .contact__list li {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}

/* ==========================================================================
   Cats — one sticker, one transform each
   ========================================================================== */

.cat {
  position: absolute;
  display: block;
  pointer-events: none;
  filter: var(--shadow-cat);
}
.cat img { width: 100%; }
.cat[hidden] { display: none; }

/* 1 · behind the hero photo card */
.cat--hero {
  z-index: 1;
  left: -13%;
  bottom: 4%;
  width: clamp(118px, 40%, 200px);
  opacity: 0;
  transform: translateY(58px) rotate(-5deg);
  transition:
    transform 420ms var(--ease-cat),
    opacity var(--t-mid) var(--ease);
}
.cat--hero.is-in { opacity: 1; transform: translateY(0) rotate(-5deg); }
.cat--hero.is-in img { animation: sway 7s var(--ease) 900ms infinite alternate; }
@keyframes sway {
  from { transform: rotate(-1.4deg) translateY(0); }
  to   { transform: rotate(1.6deg) translateY(-5px); }
}

/* 2 · leaning on the DE / EN control */
.cat--lang {
  left: -34px;
  bottom: -6px;
  width: 62px;
  z-index: -1;
  transform: rotate(9deg);
  transform-origin: 70% 100%;
  transition: transform var(--t-mid) var(--ease);
}
.cat--lang.is-tilt { animation: catTilt 420ms var(--ease-cat); }
@keyframes catTilt {
  0%   { transform: rotate(9deg); }
  40%  { transform: rotate(-7deg) translateY(-4px); }
  100% { transform: rotate(9deg); }
}

/* 3 · arriving beside the skills heading */
.cat--skills {
  right: 0;
  bottom: -6%;
  width: clamp(96px, 15vw, 168px);
  opacity: 0;
  transform: translateX(38px) rotate(7deg);
  transition:
    transform 400ms var(--ease-cat),
    opacity var(--t-mid) var(--ease);
}
.cat--skills.is-in { opacity: 1; transform: translateX(0) rotate(3deg); }

/* 4 · under the contact links */
.cat--contact {
  right: clamp(0px, 4vw, 60px);
  bottom: calc(-1 * clamp(70px, 11vw, 150px));
  width: clamp(110px, 18vw, 200px);
  opacity: 0;
  transform: translateY(30px) rotate(-3deg);
  transition:
    transform var(--t-slow) var(--ease-cat),
    opacity var(--t-mid) var(--ease);
}
.cat--contact.is-in { opacity: 1; transform: translateY(0) rotate(-3deg); }
.cat--contact.is-perked { transform: translateY(-10px) rotate(4deg); }
.cat--contact.is-squashed { animation: catSquash 320ms var(--ease-cat); }
@keyframes catSquash {
  0%   { transform: translateY(-10px) rotate(4deg) scale(1, 1); }
  35%  { transform: translateY(2px) rotate(0deg) scale(1.09, .86); }
  100% { transform: translateY(0) rotate(-3deg) scale(1, 1); }
}

@media (max-width: 899px) {
  .cat--skills { bottom: -14%; width: clamp(84px, 22vw, 130px); }
  .cat--contact { bottom: calc(-1 * clamp(54px, 16vw, 110px)); }
}

/* ==========================================================================
   Reduced motion — nothing moves, everything still reads and clicks
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  :root { --lift: 0px; --press: 0px; }

  html { scroll-behavior: auto; }

  /* No movement anywhere. Static poses — the print tilt, the sticker angles —
     are composition, not motion, so they stay. */
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 160ms !important;
    transition-property: opacity !important;
  }

  .js .reveal,
  .js .cluster .cluster__title,
  .js .contact__list li,
  .sound:hover, .sound:active,
  .btn:hover, .btn:focus-visible, .btn:active { transform: none !important; }

  .js .cluster .sticker,
  .js .cluster.is-in .sticker,
  .sticker:hover { transform: rotate(var(--rot)) !important; }

  /* cats hold their pose and simply appear */
  .cat--hero, .cat--hero.is-in { transform: translateY(0) rotate(-5deg) !important; }
  .cat--lang, .cat--lang.is-tilt { transform: rotate(9deg) !important; }
  .cat--skills, .cat--skills.is-in { transform: rotate(3deg) !important; }
  .cat--contact, .cat--contact.is-in,
  .cat--contact.is-perked, .cat--contact.is-squashed { transform: rotate(-3deg) !important; }
  .cat--hero, .cat--skills, .cat--contact { opacity: 0; }
  .cat--hero.is-in, .cat--skills.is-in, .cat--contact.is-in { opacity: 1; }

  /* strip becomes a static wrapped row */
  .marquee {
    -webkit-mask-image: none;
            mask-image: none;
    overflow: visible;
    padding-inline: var(--gutter);
  }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee__group { flex-wrap: wrap; row-gap: .2em; }
  .marquee__group[aria-hidden='true'] { display: none; }
  .marquee__group li:last-child::after { display: none; }

  .photo-card { transform: rotate(-3.4deg) !important; }
  .mark { transform: rotate(-1.4deg) !important; }
}
