/* Layout concept: a scrapbook spread. Each section is a different surface
   (daisy field, picnic gingham, corkboard, blue gingham, sky, turf) with
   paper notes, washi tape and stickers laid on top. One bright world, by design. */
:root {
  --ink: #1d2340;
  --ink-soft: #4d5270;
  --ink-blue: #2a3bd0;
  --paper: #fdfaf1;
  --paper-yellow: #fff3b8;
  --paper-blue: #e3f1ff;
  --lime: #7cc520;
  --lime-deep: #3f7d12;
  --clip: #2f6fe0;
  --clip-deep: #1d4db8;
  --orange: #ff6b1a;
  --magenta: #ef2fb4;
  --sun: #ffc631;
  --red: #e3262f;
  --teal: #14a99c;
  --pink: #f0479a;
  --purple: #7b4dff;
  --green: #22a45a;
  --leaf: #1f3d18;
  --turf: #3f8a2a;
  --cork: #c98445;
  --sky-top: #6fbcff;
  --sky-bottom: #dff2ff;
  --white: #ffffff;

  --f-display: "Rubik Scribble", "Rubik", system-ui, sans-serif;
  --f-label: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Courier Prime", "Courier New", ui-monospace, monospace;
  --f-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  --section-pad: clamp(84px, 10vw, 140px);
  --tex-paper: url("../img/tex-paper.webp");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--leaf);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px dashed var(--magenta); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
}

main > section {
  position: relative;
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 -16px 30px -12px rgba(0, 0, 0, .45);
}

/* ---------- shared bits: type ---------- */
.display {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: .92;
  letter-spacing: .01em;
  color: var(--lime);
  text-shadow: .6px 0 0 currentColor, -.6px 0 0 currentColor, 0 .6px 0 currentColor, 0 -.6px 0 currentColor, 3px 3px 0 rgba(63, 125, 18, .4);
  text-wrap: balance;
}
.display--sm { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.display__accent {
  display: inline-block;
  font-size: .58em;
  color: var(--orange);
  text-shadow: .5px 0 0 currentColor, -.5px 0 0 currentColor, 0 .5px 0 currentColor, 0 -.5px 0 currentColor, 2px 2px 0 rgba(150, 50, 0, .35);
  white-space: nowrap;
}
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; white-space: pre; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin: 0;
  padding: .38em .72em;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .78rem;
  line-height: 1.15;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--clip);
  border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .18);
}
.tag svg { width: 1.2em; height: 1.2em; }
.tag--blue { background: var(--clip); }
.tag--pink { background: var(--pink); }
.tag--orange { background: var(--orange); }
.tag--green { background: var(--green); }
.tag--ink { background: var(--ink); }
.tag--purple { background: var(--purple); }

.chip {
  display: inline-block;
  padding: 4px 9px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  border-radius: 4px;
}
.chip--teal { background: var(--teal); }
.chip--pink { background: var(--pink); }
.chip--blue { background: var(--clip); }
.chip--orange { background: var(--orange); }
.chip--purple { background: var(--purple); }

/* ---------- shared bits: paper, tape, pins, stickers ---------- */
.note {
  --fold: 38px;
  --note-bg: var(--paper);
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4vw, 40px);
  rotate: var(--r, 0deg);
  filter: drop-shadow(0 14px 14px rgba(43, 28, 10, .26)) drop-shadow(0 2px 2px rgba(43, 28, 10, .18));
}
.note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--note-bg) var(--tex-paper);
  background-size: 256px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fold)), calc(100% - var(--fold)) 100%, 0 100%);
}
.note::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--fold);
  height: var(--fold);
  z-index: -1;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, .1), rgba(255, 255, 255, .6) 46%, transparent 50%), var(--note-bg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.note p { margin: 0 0 1em; max-width: 62ch; }
.note--yellow { --note-bg: var(--paper-yellow); }
.note--blue { --note-bg: var(--paper-blue); }
.note__blue { color: var(--ink-blue); font-weight: 700; }

.label-paper {
  position: relative;
  isolation: isolate;
  max-width: 640px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  padding: 30px clamp(20px, 4vw, 36px) 30px;
  text-align: center;
  rotate: var(--r, 0deg);
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .25));
}
.label-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper) var(--tex-paper);
  background-size: 256px;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 96% 99%, 92% 95%, 88% 100%, 84% 94%, 80% 99%, 76% 95%, 72% 100%, 68% 94%, 64% 98%, 60% 95%, 56% 100%, 52% 94%, 48% 99%, 44% 95%, 40% 100%, 36% 94%, 32% 98%, 28% 95%, 24% 100%, 20% 94%, 16% 99%, 12% 95%, 8% 100%, 4% 94%, 0 98%);
}
.label-paper--wide { max-width: 720px; }
.label-paper p { margin: 14px auto 0; max-width: 52ch; font-size: .98rem; color: var(--ink-soft); }

.tape {
  position: absolute;
  top: -16px;
  left: 50%;
  z-index: 3;
  width: 128px;
  height: 32px;
  translate: -50% 0;
  rotate: var(--tr, -4deg);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .28) 0 7px, transparent 7px 14px),
    var(--tape, rgba(255, 214, 102, .82));
  clip-path: polygon(2% 0, 98% 0, 100% 20%, 97% 40%, 100% 60%, 97% 80%, 100% 100%, 2% 100%, 0 80%, 3% 60%, 0 40%, 3% 20%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.tape--pink { --tape: rgba(255, 133, 190, .82); --tr: 3deg; }
.tape--blue { --tape: rgba(110, 170, 255, .8); --tr: -3deg; }
.tape--yellow { --tape: rgba(255, 214, 102, .85); --tr: 2deg; }

.pin {
  --pin: var(--red);
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 3;
  width: 24px;
  height: 24px;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, .85) 0 14%, transparent 16%),
    radial-gradient(circle at 50% 50%, var(--pin) 0 58%, color-mix(in srgb, var(--pin) 55%, #000) 100%);
  box-shadow: 3px 5px 4px rgba(0, 0, 0, .35);
}
.pin--blue { --pin: var(--clip); }
.pin--green { --pin: var(--green); }
.pin--yellow { --pin: var(--sun); }

.sticker {
  position: absolute;
  z-index: 3;
  width: var(--s, 64px);
  height: var(--s, 64px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .28));
  animation: wobble 4.5s ease-in-out infinite alternate;
  animation-delay: var(--wd, 0s);
}

.btn-sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: translate .15s ease, box-shadow .15s ease;
}
.btn-sticker svg { width: 16px; height: 16px; }
.btn-sticker:hover { translate: -2px -2px; box-shadow: 5px 5px 0 var(--ink); }
.btn-sticker:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--ink); }

/* ---------- curtain (entrance) ---------- */
.curtain { display: none; }
.js .curtain { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.curtain__layer { position: absolute; inset: -2px; }
.curtain__layer--pink { background: var(--magenta); }
.curtain__layer--orange {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  background: var(--orange);
}
.curtain__daisy { width: 92px; height: 92px; animation: spin 2.6s linear infinite; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.curtain__hi { margin: 0; font-family: var(--f-hand); font-weight: 700; font-size: clamp(2rem, 7vw, 3.4rem); color: var(--white); }
.is-ready .curtain__layer--orange { animation: curtain-up .85s cubic-bezier(.7, 0, .25, 1) .05s both; }
.is-ready .curtain__layer--pink { animation: curtain-up .85s cubic-bezier(.7, 0, .25, 1) .2s both; }
.is-done .curtain { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
  padding-bottom: 12px;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 4px 5px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
}
.nav__brand svg { width: 34px; height: 34px; animation: spin 14s linear infinite; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
}
.nav__links a {
  padding: 8px 13px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav__links a:hover, .nav__links a.is-active { background: var(--lime); }
.nav__links .nav__cta { background: var(--orange); color: var(--white); }
.nav__links .nav__cta:hover { background: var(--magenta); }
.nav__toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
  cursor: pointer;
}
.nav__toggle span:not(.sr-only) {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: translate .25s ease, rotate .25s ease;
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { translate: 0 4.5px; rotate: 45deg; }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { translate: 0 -4.5px; rotate: -45deg; }

@media (max-width: 1040px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 70px);
    right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
    flex-direction: column;
    align-items: stretch;
    min-width: 210px;
    padding: 10px;
    border-radius: 22px;
    transform-origin: top right;
    scale: .6;
    opacity: 0;
    visibility: hidden;
    transition: scale .3s cubic-bezier(.3, 1.5, .5, 1), opacity .2s ease, visibility 0s linear .3s;
  }
  .nav__links a { padding: 12px 16px; font-size: 1rem; }
  .nav.is-open .nav__links { scale: 1; opacity: 1; visibility: visible; transition-delay: 0s; }
}

/* ---------- 1. hero / cover ---------- */
.hero {
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 1000px);
  padding-top: calc(env(safe-area-inset-top, 0px) + 86px);
  background: var(--leaf);
  box-shadow: none !important;
}
.hero__field {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 450px);
  height: calc(100% + 450px);
  background: url("../img/tex-daisy.webp") 0 0 / 450px repeat;
  animation: field-drift 70s linear infinite;
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(10, 30, 5, .45));
}
.hero__blobs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.blob { position: absolute; overflow: visible; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.blob--pink { width: clamp(170px, 22vw, 320px); height: clamp(170px, 22vw, 320px); top: -7%; left: -7%; animation: blob-float 9s ease-in-out infinite alternate; }
.blob--orange { width: clamp(230px, 30vw, 460px); height: clamp(230px, 30vw, 460px); right: -9%; bottom: -12%; animation: blob-float 11s ease-in-out -3s infinite alternate; }
.blob--orange2 { width: clamp(110px, 13vw, 200px); height: clamp(110px, 13vw, 200px); left: -4%; bottom: 14%; animation: blob-float 8s ease-in-out -5s infinite alternate; }
.blob--lime { width: clamp(150px, 17vw, 250px); height: clamp(46px, 5vw, 76px); top: 15%; right: 3%; color: #9be22e; animation: blob-float 7s ease-in-out -2s infinite alternate; }
.dot { position: absolute; border-radius: 50%; background: var(--clip); box-shadow: inset -5px -7px 0 rgba(0, 0, 0, .2), 0 6px 10px rgba(0, 0, 0, .3); }
.dot--1 { width: 34px; height: 44px; top: 11%; right: 24%; }
.dot--2 { width: 26px; height: 32px; top: 46%; right: 2%; }
.dot--3 { width: 22px; height: 28px; top: 62%; left: 3%; }

.hero__inner {
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  padding-block: 28px 140px;
}
.hero__board { position: relative; max-width: 700px; justify-self: center; width: 100%; }

.clipboard {
  position: relative;
  rotate: var(--r, -2deg);
  padding: clamp(14px, 2.2vw, 22px);
  background: linear-gradient(160deg, #4f8cff, var(--clip) 38%, var(--clip-deep));
  border-radius: 26px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 7px 0 #173f9c, 0 28px 40px -12px rgba(0, 0, 0, .55);
  transform-origin: 50% -40px;
}
.clipboard::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px dashed rgba(255, 255, 255, .55);
  border-radius: 20px;
  pointer-events: none;
}
.clipboard__clip {
  position: absolute;
  top: -30px;
  left: 50%;
  z-index: 3;
  width: 112px;
  height: 54px;
  translate: -50% 0;
  background: linear-gradient(#4a86ff, #2459c8);
  border-radius: 14px 14px 10px 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.clipboard__clip::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 46px;
  height: 12px;
  translate: -50% 0;
  background: #0d2f7c;
  border-radius: 8px;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5);
}
.clipboard__paperclip { position: absolute; top: -20px; left: 12%; z-index: 3; width: 30px; height: 84px; rotate: 8deg; filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .35)); }
.clipboard__paper {
  position: relative;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 4vw, 48px) clamp(20px, 3vw, 32px);
  background: var(--white) var(--tex-paper);
  background-size: 256px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .2);
}

.hero__creative {
  position: absolute;
  top: clamp(8px, 1.6vw, 18px);
  left: 30%;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--ink);
  rotate: -5deg;
}
.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .8;
  letter-spacing: .01em;
  color: var(--lime);
  text-shadow: 1px 0 0 currentColor, -1px 0 0 currentColor, 0 1px 0 currentColor, 0 -1px 0 currentColor, 4px 4px 0 rgba(63, 125, 18, .4);
}
.hero__line { display: block; white-space: nowrap; }
.hero__line + .hero__line { padding-left: .28em; }
.hero__by {
  margin: .5em 0 0 .4em;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1;
  color: var(--ink);
  rotate: -3deg;
}
.doodle { position: absolute; overflow: visible; }
.doodle--spiral-blue { width: 42px; height: 42px; left: 3%; top: 44%; color: #3b5bdb; }
.doodle--spiral-orange { width: 46px; height: 46px; right: 5%; top: 30%; color: var(--orange); }
.doodle--star-pink { width: 30px; height: 30px; left: 48%; top: 20%; }
.doodle--star-blue { width: 34px; height: 34px; right: 12%; bottom: 18%; }

.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0 0 0 4%; list-style: none; }
.hero__tags .tag { font-size: clamp(.78rem, 1.4vw, .95rem); padding: .5em .85em; }
.hero__tags .tag:nth-child(1) { rotate: -3deg; }
.hero__tags .tag:nth-child(2) { rotate: 2deg; }
.hero__tags .tag:nth-child(3) { rotate: -1deg; }

/* the photo always fits its column (never pushed off-screen), so the umbrella stays whole */
.hero__me { position: relative; z-index: 2; align-self: end; justify-self: end; width: 100%; margin: 0 0 -140px; }
.hero__me img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(92svh, 860px);
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .45));
  transform-origin: 50% 100%;
  animation: sway 6s ease-in-out infinite alternate;
}
.hero__s1 { --s: 64px; top: 58%; right: -2%; }
.hero__s2 { --s: 50px; left: 10%; top: 82%; --wd: -1.5s; }
.hero__hello {
  position: absolute;
  top: 56%;
  left: -4%;
  padding: 4px 14px 6px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  background: var(--paper);
  border-radius: 6px;
  rotate: -6deg;
  box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .45);
  white-space: nowrap;
}
.hero__hello svg { position: absolute; right: -50px; top: -22px; width: 60px; height: 42px; color: var(--paper); rotate: -40deg; }
.hero__s3 { --s: 54px; top: 14%; left: 46%; --wd: -2s; }
.hero__s4 { --s: 74px; top: -26px; right: -18px; --wd: -.8s; }

.scroll-cue {
  position: absolute;
  bottom: 96px;
  left: 50%;
  translate: -50% 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .5);
  text-decoration: none;
}
.scroll-cue__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite; }
.scroll-cue__ring text { font-family: var(--f-label); font-weight: 800; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.scroll-cue__arrow { width: 26px; height: 26px; animation: bob 1.4s ease-in-out infinite alternate; }

.ribbon {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 26px;
  z-index: 3;
  padding-block: 10px;
  overflow: hidden;
  rotate: -2deg;
  background: var(--sun);
  border-block: 3px solid var(--ink);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5);
}
.ribbon__track {
  display: flex;
  align-items: center;
  width: max-content;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: clamp(.95rem, 2vw, 1.25rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  animation: marquee 32s linear infinite;
}
.ribbon__track > * { margin-right: 22px; white-space: nowrap; }
.ribbon__track i { font-style: normal; color: var(--magenta); }

/* hero entrance */
.js:not(.is-ready) .hero [data-enter],
.js:not(.is-ready) .hero__title .char,
.js:not(.is-ready) .hero__blobs > * { opacity: 0; }
.is-ready .clipboard[data-enter] { animation: drop-swing 1.5s cubic-bezier(.25, .8, .3, 1) .45s both; }
.is-ready .hero__title .char { animation: char-pop .7s cubic-bezier(.3, 1.7, .5, 1) both; animation-delay: calc(1.05s + var(--i) * 70ms); }
.is-ready .hero__creative, .is-ready .hero__by { animation: scribble-in .6s ease-out both; }
.is-ready .hero__creative { animation-delay: 1s; }
.is-ready .hero__by { animation-delay: 1.75s; }
.is-ready .hero__tags .tag { animation: tag-in .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.is-ready .hero__tags .tag:nth-child(1) { animation-delay: 1.85s; }
.is-ready .hero__tags .tag:nth-child(2) { animation-delay: 1.95s; }
.is-ready .hero__tags .tag:nth-child(3) { animation-delay: 2.05s; }
.is-ready .hero__me[data-enter] { animation: rise 1.1s cubic-bezier(.2, 1.25, .4, 1) 1.3s both; }
.is-ready .scroll-cue[data-enter] { animation: tag-in .6s cubic-bezier(.3, 1.6, .5, 1) 2.2s both; }
.is-ready .hero__blobs > * { animation-name: blob-in, blob-float; animation-duration: .9s, 9s; animation-timing-function: cubic-bezier(.3, 1.5, .5, 1), ease-in-out; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-fill-mode: both, none; }
.is-ready .hero__blobs > :nth-child(1) { animation-delay: .5s, 1.4s; }
.is-ready .hero__blobs > :nth-child(2) { animation-delay: .6s, 1.5s; }
.is-ready .hero__blobs > :nth-child(3) { animation-delay: .7s, 1.6s; }
.is-ready .hero__blobs > :nth-child(4) { animation-delay: .8s, 1.7s; }
.is-ready .hero__blobs > :nth-child(n+5) { animation-delay: .9s, 1.8s; }
.is-ready .sticker[data-enter] { animation: sticker-in .6s cubic-bezier(.3, 1.7, .5, 1) 2.1s both, wobble 4.5s ease-in-out var(--wd, 0s) infinite alternate; }
.is-ready .doodle { animation: doodle-in .6s cubic-bezier(.3, 1.7, .5, 1) both; animation-delay: 1.6s; }

@media (max-width: 1180px) {
  .scroll-cue { display: none; }
}
@media (max-width: 900px) {
  .hero__title { font-size: clamp(4rem, 14vw, 8rem); }
  .hero__inner { grid-template-columns: 1fr; padding-block: 24px 150px; }
  .hero__me { justify-self: center; width: min(100%, 520px); margin: -10px 0 -150px; }
  .hero__me img { max-height: none; }
  .hero__hello { display: none; }
  .hero__s1 { --s: 54px; right: 6%; }
  .hero__s2 { --s: 44px; left: 6%; top: 84%; }
  .hero__s3 { display: none; }
  .hero__s3 { top: auto; bottom: 42%; left: 4%; }
  .hero__s4 { --s: 54px; top: -20px; right: -8px; }
  .scroll-cue { display: none; }
  .blob--lime { top: auto; bottom: 40%; right: -8%; }
  .dot--1 { top: 13%; right: 8%; }
}

/* ---------- 2. about ---------- */
.about {
  padding-block: var(--section-pad);
  background: var(--turf) url("../img/tex-grass.webp") 0 0 / 320px;
}
.about__cloth {
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: -6%;
  width: 58%;
  rotate: -3deg;
  background-color: #fffdf8;
  background-image:
    linear-gradient(90deg, rgba(227, 38, 47, .55) 50%, transparent 0),
    linear-gradient(rgba(227, 38, 47, .55) 50%, transparent 0);
  background-size: 64px 64px;
  box-shadow: 14px 0 30px rgba(0, 0, 0, .4);
}
.about__cloth::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tex-paper);
  background-size: 200px;
  mix-blend-mode: multiply;
  opacity: .9;
}
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.about__left { position: relative; min-height: clamp(520px, 52vw, 660px); align-self: stretch; }
.about__photo {
  position: absolute;
  left: 2%;
  bottom: 0;
  z-index: 2;
  width: min(74%, 380px);
  max-width: none;
}
.about__photo img, .edu__photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.badge {
  position: absolute;
  top: calc(-1 * var(--section-pad));
  right: 0;
  z-index: 4;
  width: clamp(178px, 20vw, 250px);
  transform-origin: 50% 0;
  animation: badge-swing 5s ease-in-out infinite alternate;
}
.badge__strap {
  display: block;
  width: 34px;
  height: clamp(110px, 13vw, 160px);
  margin-inline: auto;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 6px),
    linear-gradient(90deg, #1d4db8, #3f7cf0 50%, #1d4db8);
  box-shadow: 2px 0 6px rgba(0, 0, 0, .3);
}
.badge__card {
  position: relative;
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  padding: 26px 12px 14px;
  background: var(--white);
  border: 6px solid rgba(170, 205, 255, .9);
  border-radius: 16px;
  box-shadow: 0 18px 24px -10px rgba(0, 0, 0, .5);
}
.badge__hole { position: absolute; top: 8px; left: 50%; width: 42px; height: 9px; translate: -50% 0; background: #cdd8ea; border-radius: 6px; }
.badge__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.badge__info { margin: 0; display: grid; gap: 5px; }
.badge__info dt { font-family: var(--f-label); font-weight: 700; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: #8a8fa6; }
.badge__info dd { margin: 0; font-family: var(--f-label); font-weight: 800; font-size: clamp(.72rem, 1.1vw, .88rem); line-height: 1.15; text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere; }
.badge__logo { position: absolute; top: -18px; right: -16px; width: 48px; height: 48px; animation: spin 10s linear infinite; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25)); }
.about__s1 { --s: 76px; top: 4%; left: 2%; }
.about__s2 { --s: 64px; top: 46%; right: 4%; --wd: -2s; }
.about__s3 { --s: 54px; bottom: 26%; left: -2%; --wd: -1s; }
.about__note { z-index: 2; }
.about__note p { font-size: 1.02rem; }
.about__s4 { --s: 58px; top: -22px; right: -12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 900px) {
  .about__cloth { top: -4%; bottom: auto; left: -12%; right: -12%; width: auto; height: 620px; rotate: -2deg; }
  .about__inner { grid-template-columns: 1fr; }
  .about__left { min-height: clamp(470px, 70vw + 200px, 640px); }
  .about__photo { bottom: 74px; width: min(68%, 300px); }
  .badge { width: min(52%, 230px); right: -3%; }
  .badge__card { grid-template-columns: 36% minmax(0, 1fr); gap: 8px; padding: 24px 9px 11px; }
  .badge__info dd { font-size: .7rem; overflow-wrap: normal; }
  .about__note { margin-top: -70px; }
  .about__s2 { top: 54%; right: 2%; }
}

/* ---------- 3. numbers (corkboard) ---------- */
.numbers {
  padding-block: var(--section-pad);
  background: var(--cork) url("../img/tex-cork.webp") 0 0 / 300px;
}
.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 140px rgba(70, 35, 5, .5);
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  max-width: 1120px;
  margin-inline: auto;
}
@media (max-width: 1000px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
}
.sticky {
  --c: #ffe45c;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 178px;
  margin: 0;
  padding: 32px 18px 16px;
  background: var(--c);
  rotate: var(--r, 0deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 16px 20px -10px rgba(40, 20, 0, .55);
}
.sticky:hover { rotate: 0deg; scale: 1.04; }
.sticky--yellow { --c: #ffe45c; }
.sticky--pink { --c: #ffa3cf; }
.sticky--blue { --c: #a6d4ff; }
.sticky--green { --c: #bdee80; }
.sticky--orange { --c: #ffb978; }
.sticky--white { --c: #fffdf4; }
.sticky p { margin: 0; }
.sticky__num {
  font-family: var(--f-label);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.sticky__label { margin-top: 8px !important; font-size: .95rem; line-height: 1.35; }
.sticky__src { margin-top: auto !important; padding-top: 10px; font-family: var(--f-hand); font-weight: 700; font-size: 1.2rem; line-height: 1.1; color: var(--ink-soft); }
.numbers__s1 { --s: 84px; top: 6%; right: 6%; }
.numbers__s2 { --s: 64px; top: 8%; left: 7%; --wd: -1.6s; }

@media (max-width: 760px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky { min-height: 160px; padding: 28px 12px 12px; }
  .sticky__label { font-size: .86rem; }
  .sticky__src { font-size: 1.02rem; }
  .numbers__s1 { --s: 60px; top: 2%; right: 2%; }
  .numbers__s2 { --s: 50px; top: 3%; left: 3%; }
}

/* ---------- 4. accounts (phones) ---------- */
.accounts {
  padding-block: var(--section-pad);
  background-color: #f4f9ff;
  background-image:
    linear-gradient(90deg, rgba(47, 111, 224, .2) 50%, transparent 0),
    linear-gradient(rgba(47, 111, 224, .2) 50%, transparent 0);
  background-size: 52px 52px;
}
.accounts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 56px);
}
.account { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.account--flip { grid-template-columns: minmax(0, 1fr) auto; }
.account--flip .phone { order: 2; margin: 0 0 0 -28px; }
.account--flip .account__note { padding-left: clamp(22px, 3vw, 32px); padding-right: calc(28px + clamp(18px, 3vw, 30px)); }

.phone {
  position: relative;
  z-index: 2;
  width: clamp(178px, 17vw, 228px);
  margin-right: -28px;
  padding: 9px;
  rotate: var(--r, 0deg);
  background: #15161c;
  border-radius: 36px;
  box-shadow: 0 0 0 2px #3b3e4a, inset 0 0 0 2px #2b2d36, 0 30px 40px -16px rgba(10, 20, 60, .6);
}
.phone::before {
  content: "";
  position: absolute;
  top: 110px;
  right: -4px;
  width: 4px;
  height: 56px;
  background: #2b2d36;
  border-radius: 0 3px 3px 0;
}
.phone__screen { position: relative; overflow: hidden; aspect-ratio: 600 / 1299; background: #000; border-radius: 28px; }
.phone__strip { display: flex; flex-direction: column; will-change: transform; }
.phone__strip img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1299; flex: none; }
.phone__island { position: absolute; top: 16px; left: 50%; z-index: 2; width: 30%; height: 15px; translate: -50% 0; background: #000; border-radius: 10px; }
.phone__touch {
  position: absolute;
  left: 50%;
  top: 72%;
  z-index: 3;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .3);
  opacity: 0;
  pointer-events: none;
}
.account__note { padding-left: calc(28px + clamp(18px, 3vw, 30px)); }
.account__note h3 {
  margin: 12px 0 2px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.1;
  text-wrap: balance;
}
.account__handle { margin: 0 0 14px !important; font-family: var(--f-hand); font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--ink-blue); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 2px;
  padding: 8px 6px;
  text-align: center;
  background: var(--white);
  border: 2px dashed rgba(29, 35, 64, .25);
  border-radius: 10px;
}
.stats dt { font-size: .68rem; line-height: 1.2; color: var(--ink-soft); }
.stats dd { margin: 0; font-family: var(--f-label); font-weight: 900; font-size: clamp(1.02rem, 1.8vw, 1.3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.account__hl { font-size: .92rem; line-height: 1.5; }
.accounts__s1 { --s: 70px; top: 3%; left: 3%; }
.accounts__s2 { --s: 56px; top: 9%; right: 5%; --wd: -1.2s; }

@media (max-width: 1080px) {
  .accounts__list { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .account, .account--flip { grid-template-columns: 1fr; justify-items: center; }
  .phone, .account--flip .phone { order: 0; width: min(62vw, 230px); margin: 0 0 -46px; }
  .account__note, .account--flip .account__note { width: 100%; padding: 64px clamp(20px, 5vw, 28px) 28px; }
  .stats dt { font-size: .62rem; }
}

/* ---------- 5. videos (clothesline) ---------- */
.videos {
  padding-block: var(--section-pad) clamp(70px, 8vw, 110px);
  background: linear-gradient(var(--sky-top), var(--sky-bottom) 72%, #c6eaa6);
}
.videos__sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute;
  width: 180px;
  height: 52px;
  background: var(--white);
  border-radius: 60px;
  opacity: .9;
  animation: cloud-drift 70s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: var(--white); border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; top: -40px; left: 28px; }
.cloud::after { width: 60px; height: 60px; top: -26px; left: 92px; }
.cloud--1 { top: 9%; left: -10%; }
.cloud--2 { top: 30%; left: 45%; scale: .7; animation-duration: 90s; animation-delay: -40s; }
.cloud--3 { top: 64%; left: 12%; scale: .55; animation-duration: 80s; animation-delay: -20s; }

.line { position: relative; }
.line__track {
  display: flex;
  gap: clamp(22px, 3vw, 38px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-top: 10px;
  padding-bottom: 36px;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  scroll-padding-inline: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  background: linear-gradient(#fdf6e6, #fdf6e6) 0 20px / 100% 3px no-repeat local;
  scrollbar-width: thin;
  scrollbar-color: var(--clip) transparent;
}
.line__track > :first-child { margin-left: auto; }
.line__track > :last-child { margin-right: auto; }
.reel {
  --c: var(--lime);
  position: relative;
  flex: 0 0 auto;
  width: clamp(250px, 72vw, 300px);
  padding-top: 8px;
  scroll-snap-align: center;
  rotate: var(--r, 0deg);
  transform-origin: 50% 0;
  animation: hang 5s ease-in-out infinite alternate;
  animation-delay: var(--sw, 0s);
}
.reel__peg {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 18px;
  height: 50px;
  translate: -50% 0;
  background: linear-gradient(90deg, #c98b4f, #f2c792 50%, #c98b4f);
  border-radius: 4px;
  box-shadow: 1px 3px 4px rgba(0, 0, 0, .3);
}
.reel__peg::after { content: ""; position: absolute; top: 16px; left: -3px; right: -3px; height: 6px; background: #9aa3b2; border-radius: 3px; }
.reel__frame { padding: 12px 12px 0; background: var(--white); box-shadow: 0 20px 30px -14px rgba(20, 40, 80, .55); }
.reel__media { position: relative; overflow: hidden; aspect-ratio: 9 / 19; background: var(--c); }
.reel__media--lime { --c: #9fdc4a; }
.reel__media--pink { --c: #ff8cc6; }
.reel__media--blue { --c: #6fa8ff; }
.reel__media--orange { --c: #ff9a52; }
.reel__media iframe, .reel__media video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
  opacity: 0;
  transition: opacity .5s ease;
}
.reel__media video { object-fit: cover; background: #000; }
.reel__media.is-loaded iframe, .reel__media.is-loaded video { opacity: 1; }
.reel__cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  text-decoration: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .5) 0 7%, transparent 7.5%),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, .4) 0 9%, transparent 9.5%),
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, .3) 0 4%, transparent 4.5%),
    radial-gradient(circle at 25% 82%, rgba(255, 255, 255, .35) 0 5%, transparent 5.5%),
    var(--c);
}
.reel__num {
  position: absolute;
  top: 10px;
  left: 14px;
  font-family: var(--f-display);
  font-size: 5.6rem;
  line-height: 1;
  color: var(--white);
  text-shadow: 3px 3px 0 rgba(29, 35, 64, .35);
}
.reel__play { width: 86px; height: 86px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); animation: pulse 1.6s ease-in-out infinite; }
.reel__cover:hover .reel__play { animation-duration: .6s; }
.reel__kind {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  translate: -50% 0;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .8rem;
  white-space: nowrap;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}
.reel__kind svg { width: 16px; height: 16px; }
.reel__caption { margin: 0; padding: 8px 4px 12px; font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1.2; text-align: center; }
.reel__caption a { color: var(--ink-blue); }
.line__label { margin-top: clamp(4px, 1.5vw, 16px); margin-bottom: 4px; }
.line + .line__label { margin-top: clamp(24px, 3vw, 40px); }
.line__label span {
  display: inline-block;
  padding: 0 14px 4px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .35);
  rotate: -2deg;
}
.vid { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #111 center / cover no-repeat; }
.vid__loop { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vid video { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.vid.is-video video { opacity: 1; pointer-events: auto; }
.vid__sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: var(--magenta);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: scale .2s ease, background .2s ease;
}
.vid__sound:hover { scale: 1.1; }
.vid__sound svg { width: 22px; height: 22px; }
.vid__sound .i-on, .vid__sound[aria-pressed="true"] .i-off { display: none; }
.vid__sound[aria-pressed="true"] .i-on { display: block; }
.vid__sound[aria-pressed="true"] { background: var(--green); }
.vid__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 11px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 999px;
  rotate: -6deg;
  animation: pulse 1.6s ease-in-out infinite;
}
.reel__text { padding: 10px 4px 14px; }
.reel--video { width: clamp(220px, 16vw, 250px); }
.vid__badge--my { background: var(--clip); }
.more { text-align: center; }
.more .quick--more { margin: 12px auto 0; }
.reel__text h3 { margin: 0; font-family: var(--f-label); font-weight: 900; font-size: 1.05rem; line-height: 1.2; }
.reel__text p { margin: 4px 0 0; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); }

/* ---------- 6. experience (timeline on turf) ---------- */
.experience {
  padding-block: var(--section-pad);
  background: var(--turf) url("../img/tex-grass.webp") 0 0 / 320px;
}
.timeline {
  position: relative;
  display: grid;
  gap: clamp(30px, 4vw, 48px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  translate: -50% 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .92) 0 18px, transparent 18px 30px);
  border-radius: 3px;
}
.tl {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 84px;
  align-items: start;
}
.tl::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  width: 28px;
  height: 28px;
  translate: -50% 0;
  background: var(--white);
  border: 6px solid var(--pink);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
}
.tl:nth-child(3n+2)::after { border-color: var(--clip); }
.tl:nth-child(3n)::after { border-color: var(--orange); }
.tl__card { grid-column: 1; grid-row: 1; }
.tl__date { grid-column: 2; grid-row: 1; margin: 0; padding-top: 30px; }
.tl:nth-child(even) .tl__card { grid-column: 2; }
.tl:nth-child(even) .tl__date { grid-column: 1; text-align: right; }
.tl__date span {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  rotate: -3deg;
}
.tl:nth-child(even) .tl__date span { rotate: 3deg; }
.tl__card h3 {
  margin: 0 0 2px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.12;
  text-wrap: balance;
}
.tl__card .job__title { margin-top: 4px !important; }
.tl__sum {
  margin: 0 0 14px !important;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.22;
  color: var(--ink-blue);
}
.tl__win {
  display: inline-block;
  margin: 16px 0 0 !important;
  padding: 7px 13px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  border: 3px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35);
  rotate: -2deg;
}
.job__title { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 8px !important; }
.job__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px !important; font-family: var(--f-hand); font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--ink-soft); }
.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .95rem; line-height: 1.55; }
.ticks li, .langs li { position: relative; padding-left: 26px; }
.ticks li::before, .langs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 17px;
  height: 17px;
  background: var(--orange);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.exp__s1 { --s: 72px; top: 7%; left: 3%; }
.exp__s2 { --s: 64px; bottom: 4%; right: 4%; --wd: -1.2s; }

@media (max-width: 820px) {
  .timeline::before { left: 14px; }
  .tl { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding-left: 42px; }
  .tl::after { top: 4px; left: 14px; width: 24px; height: 24px; border-width: 5px; }
  .tl__date, .tl:nth-child(even) .tl__date { grid-column: 1; grid-row: 1; padding-top: 0; text-align: left; }
  .tl__card, .tl:nth-child(even) .tl__card { grid-column: 1; grid-row: 2; }
  .tl__date span, .tl:nth-child(even) .tl__date span { rotate: -2deg; font-size: .85rem; }
  .exp__s1 { --s: 50px; top: 28px; left: auto; right: 4%; }
}

/* ---------- 7. education (graph paper) ---------- */
.education {
  padding-block: var(--section-pad);
  background-color: #fbfdff;
  background-image:
    linear-gradient(rgba(47, 111, 224, .17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 224, .17) 1px, transparent 1px),
    linear-gradient(rgba(47, 111, 224, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 224, .08) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
.education::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(10px, 5vw, 80px);
  width: 2px;
  background: rgba(227, 38, 47, .45);
}
.edu__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 4vw, 56px);
  align-items: start;
}
.edu__col { display: grid; min-width: 0; }
.edu__photo { z-index: 2; justify-self: center; max-width: 290px; margin: 0 0 -36px; }
.brand-logo { display: block; width: min(100%, 230px); height: auto; margin: 6px 0 4px; }
.edu__card h3, .pub h3 {
  margin: 4px 0 4px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.15;
  text-wrap: balance;
}
.edu__cap { --s: 86px; top: -34px; right: -16px; }
.edu__gpa { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 20px !important; }
.edu__gpa span { font-family: var(--f-hand); font-weight: 700; font-size: 1.7rem; color: var(--ink-soft); }
.edu__gpa strong {
  font-family: var(--f-label);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1;
  background: linear-gradient(transparent 58%, rgba(143, 209, 47, .65) 58%);
  padding-inline: 4px;
}
.edu__extra { padding-top: 16px; border-top: 2px dashed rgba(29, 35, 64, .22); }
.edu__extra .chip { margin: 0; }
.edu__extra h4 { margin: 10px 0 4px; font-family: var(--f-label); font-weight: 800; font-size: 1.05rem; }
.edu__extra p:last-child { margin: 0; font-size: .95rem; }
.pub { padding-top: 44px; }
.pub__sinta {
  position: absolute;
  top: -30px;
  right: -12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 !important;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  text-align: center;
  color: var(--white);
  background: var(--red);
  border: 3px dashed rgba(255, 255, 255, .85);
  border-radius: 50%;
  outline: 5px solid var(--red);
  box-shadow: 0 10px 16px -6px rgba(0, 0, 0, .45);
  rotate: -12deg;
}
.pub__head .job__title { margin-top: 0 !important; padding-right: 80px; }
.pub__authors { margin: 0 0 14px !important; font-family: var(--f-hand); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--ink-blue); }
.pub__sum { font-size: .95rem; line-height: 1.55; }
.stats--pub { max-width: 420px; }
.browser {
  margin: 4px 0 18px;
  overflow: hidden;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--ink), 5px 5px 0 2px var(--ink);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #eef1f7; border-bottom: 2px solid var(--ink); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 3px 10px;
  overflow: hidden;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: .72rem;
  color: var(--ink-soft);
  white-space: nowrap;
  text-overflow: ellipsis;
  background: var(--white);
  border-radius: 999px;
}
.browser__screen { position: relative; overflow: hidden; aspect-ratio: 900 / 520; }
.browser__screen img { display: block; width: 100%; height: auto; animation: page-scroll 14s ease-in-out infinite; }

.certs__title { margin: clamp(60px, 7vw, 92px) 0 clamp(30px, 4vw, 44px); text-align: center; }
.certs__title span {
  display: inline-block;
  padding: 2px 18px 6px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  rotate: -2deg;
}
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 38px); align-items: start; }
.cert {
  position: relative;
  margin: 0;
  padding: 10px 10px 16px;
  background: var(--white);
  rotate: var(--r, 0deg);
  box-shadow: 0 18px 26px -12px rgba(20, 30, 60, .45);
  transition: rotate .3s ease;
}
.cert:hover { rotate: 0deg; }
.cert__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cert__open img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 849; object-fit: cover; border: 1px solid #e3e6ee; }
.cert__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
  border-radius: 50%;
  transition: scale .2s ease;
}
.cert__zoom svg { width: 18px; height: 18px; }
.cert__open:hover .cert__zoom { scale: 1.15; }
.cert figcaption { padding: 12px 4px 0; }
.cert b { display: block; font-family: var(--f-label); font-weight: 800; font-size: .98rem; line-height: 1.25; }
.cert span:not(.tape):not(.pin):not(.cert__zoom) { display: block; margin-top: 3px; font-family: var(--f-hand); font-weight: 700; font-size: 1.18rem; line-height: 1.15; color: var(--ink-blue); }
.cert small { display: block; margin-top: 6px; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); }
.cert--text { padding: 34px 20px 26px; background: none; box-shadow: none; }

@media (max-width: 1080px) {
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .edu__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .certs { grid-template-columns: minmax(0, 1fr); }
  .pub__sinta { width: 76px; height: 76px; font-size: .9rem; right: -4px; }
}

/* ---------- 8. skills (cork + turf, like the reference) ---------- */
.skills {
  padding-block: var(--section-pad);
  background: var(--turf) url("../img/tex-grass.webp") 0 0 / 320px;
}
.skills__cork {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 56%;
  background: var(--cork) url("../img/tex-cork.webp") 0 0 / 300px;
  box-shadow: inset -16px 0 0 #a8692f, inset -20px 0 6px rgba(0, 0, 0, .25), 16px 0 30px rgba(0, 0, 0, .35);
}
.skills__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.skills__col { display: grid; gap: clamp(36px, 5vw, 56px); min-width: 0; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 10px 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pill {
  --c: var(--pink);
  padding: 8px 15px;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .92rem;
  color: var(--white);
  background: var(--c);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .15), 0 6px 10px -4px rgba(0, 0, 0, .3);
  rotate: var(--w, 0deg);
  transition: rotate .25s ease, scale .25s ease;
}
.pill:hover { rotate: 0deg; scale: 1.08; }
.pill--pink { --c: var(--pink); }
.pill--blue { --c: var(--clip); }
.pill--teal { --c: var(--teal); }
.pill--orange { --c: var(--orange); }
.pill--purple { --c: var(--purple); }
.pill--green { --c: var(--green); }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.tools li { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--f-label); font-weight: 700; font-size: .92rem; line-height: 1.2; }
.tool {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-family: var(--f-label);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 15px;
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35);
  rotate: -5deg;
}
.tools li:nth-child(even) .tool { rotate: 4deg; }
.tool svg { width: 26px; height: 26px; }
.tool--capcut { background: #111; }
.tool--vn { background: linear-gradient(135deg, #3a1c71, #8e44ad); }
.tool--canva { font-family: var(--f-hand); font-size: 1.1rem; background: linear-gradient(135deg, #00c4cc, #7d2ae8); }
.tool--ig { background: linear-gradient(45deg, #f9a825, #e91e63 52%, #7b1fa2); }
.tool--tt { background: #111; }
.tool--meta { font-size: .85rem; background: var(--clip); }
.tool--xl { background: #1f8f4e; }
.tool--word { background: #2b5bd7; }
.langs { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.langs li { display: grid; gap: 1px; }
.langs b { font-family: var(--f-label); font-weight: 800; font-size: 1.02rem; }
.langs span { font-size: .9rem; color: var(--ink-soft); }
.skills__s1 { --s: 70px; top: -26px; right: -14px; }
.skills__s2 { --s: 56px; bottom: -18px; right: 18px; --wd: -1.2s; }

@media (max-width: 900px) {
  .skills__cork { width: auto; right: 0; bottom: auto; height: 50%; box-shadow: inset 0 -16px 0 #a8692f, 0 16px 30px rgba(0, 0, 0, .35); }
  .skills__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(15, 20, 40, .82); }
.lightbox__inner { position: relative; padding: 14px; background: var(--paper); border-radius: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox[open] .lightbox__inner { animation: tag-in .4s cubic-bezier(.3, 1.5, .5, 1); }
.lightbox__img { display: block; width: 100%; height: auto; max-height: calc(92vh - 110px); object-fit: contain; background: var(--white); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.lightbox__title { flex: 1; margin: 0; font-family: var(--f-label); font-weight: 800; font-size: .95rem; line-height: 1.3; text-align: center; }
.lightbox__nav, .lightbox__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav.is-off { visibility: hidden; }
.lightbox__close { position: absolute; top: -16px; right: -16px; z-index: 2; background: var(--white); }

/* ---------- 9. contact ---------- */
.contact { padding-top: var(--section-pad); background: var(--leaf); }
.contact__field { position: absolute; inset: 0; background: url("../img/tex-daisy.webp") 0 0 / 450px repeat; }
.contact__field::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(10, 30, 5, .5)); }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(80px, 10vw, 130px);
}
.polaroid {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 14px 14px 0;
  background: var(--white);
  rotate: var(--r, 0deg);
  box-shadow: 0 24px 36px -16px rgba(0, 0, 0, .6);
}
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1037; object-fit: cover; }
.polaroid figcaption { padding: 10px 0 14px; font-family: var(--f-hand); font-weight: 700; font-size: 1.9rem; line-height: 1; text-align: center; }
.clipboard--contact { --r: 1.5deg; }
.clipboard--contact .clipboard__paper p { max-width: 54ch; margin: 18px 0 0; font-size: 1.02rem; }
.contact__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.contact__item > a, .contact__item > div {
  --c: var(--sun);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
  background: var(--c);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: translate .15s ease, box-shadow .15s ease;
}
.contact__item > a:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--ink); }
.contact__item svg { flex: none; width: 26px; height: 26px; }
.contact__item b { display: block; font-family: var(--f-label); font-weight: 800; font-size: .95rem; line-height: 1.2; }
.contact__item small { display: block; font-size: .8rem; line-height: 1.3; color: var(--ink-soft); overflow-wrap: anywhere; }
.contact__item span { min-width: 0; }
.contact__item--wa > * { --c: #8ff0a4; }
.contact__item--mail > * { --c: #ffe45c; }
.contact__item--ig > * { --c: #ffa3cf; }
.contact__item--tt > * { --c: #c9b8ff; }
.contact__item--in > * { --c: #a6d4ff; }
.contact__cv { margin-top: 18px; }
.contact__item--mail { grid-column: 1 / -1; }
.contact__s1 { --s: 78px; top: 4%; right: 5%; }
.contact__s2 { --s: 58px; bottom: 16%; left: 4%; --wd: -1.4s; }

.footer { position: relative; z-index: 2; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); }
.ribbon--footer { position: relative; left: auto; right: auto; bottom: auto; margin: 0 -5%; rotate: 1.2deg; translate: 0 -14px; background: var(--lime); }
.ribbon--footer .ribbon__track { animation-direction: reverse; }
.footer__copy { margin: 0; padding-block: 8px 26px; font-family: var(--f-body); font-size: .9rem; text-align: center; color: #cfd3ea; }

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; }
  .polaroid { max-width: 270px; }
}
@media (max-width: 520px) {
  .contact__list { grid-template-columns: 1fr; }
}

/* ---------- scroll reveal (only once JS is running) ---------- */
.io [data-reveal] {
  transition:
    opacity .6s ease var(--d, 0ms),
    transform .9s cubic-bezier(.2, .9, .25, 1.12) var(--d, 0ms),
    translate .9s cubic-bezier(.2, .9, .3, 1.2) var(--d, 0ms),
    scale .65s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0ms),
    rotate .3s ease;
}
.io [data-reveal="slap"]:not(.is-in) { opacity: 0; transform: translateY(40px) scale(1.16) rotate(6deg); }
.io [data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(80px); }
.io [data-reveal="drop"]:not(.is-in) { opacity: 0; translate: 0 -120px; }
.io [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(30%) rotate(-4deg); }
.io [data-reveal="pop"]:not(.is-in) { opacity: 0; scale: 0; }
.io [data-reveal="letters"] { transition: none; }
.io [data-reveal="letters"] .char {
  transition: opacity .4s ease, transform .6s cubic-bezier(.3, 1.7, .5, 1);
  transition-delay: calc(var(--i) * 45ms + 150ms);
}
.io [data-reveal="letters"]:not(.is-in) .char { opacity: 0; transform: translateY(.5em) rotate(-14deg) scale(.4); }
.io [data-reveal]:not(.is-in) .pill { transform: scale(0) rotate(-20deg); }
.io [data-reveal] .pill { transition: transform .55s cubic-bezier(.3, 1.7, .5, 1) calc(var(--i, 0) * 55ms + 350ms), rotate .25s ease, scale .25s ease; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
@keyframes wobble { from { transform: rotate(-7deg) translateY(0); } to { transform: rotate(7deg) translateY(-6px); } }
@keyframes sway { from { transform: rotate(-.6deg); } to { transform: rotate(.6deg); } }
@keyframes hang { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
@keyframes badge-swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes field-drift { to { transform: translate3d(-450px, -450px, 0); } }
@keyframes cloud-drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
@keyframes blob-float { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(14px, -18px) rotate(8deg); } }
@keyframes blob-in { from { opacity: 0; transform: scale(0) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes curtain-up { to { transform: translateY(-104%); border-radius: 0 0 50% 50% / 0 0 22% 22%; } }
@keyframes drop-swing {
  0% { opacity: 0; transform: translateY(-115vh) rotate(-14deg); }
  8% { opacity: 1; }
  42% { transform: translateY(0) rotate(7deg); }
  60% { transform: rotate(-4.5deg); }
  76% { transform: rotate(2.4deg); }
  89% { transform: rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes char-pop { from { opacity: 0; transform: translateY(.3em) rotate(-25deg) scale(.2); } to { opacity: 1; transform: none; } }
@keyframes scribble-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes tag-in { from { opacity: 0; transform: scale(.3) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(60%) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes sticker-in { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
@keyframes page-scroll { 0%, 12% { transform: translateY(0); } 45%, 60% { transform: translateY(-55%); } 92%, 100% { transform: translateY(0); } }
@keyframes doodle-in { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .curtain { display: none; }
}

/* ---------- account quick links + clickable phones ---------- */
.quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: calc(-1 * clamp(16px, 3vw, 36px)) auto clamp(48px, 6vw, 72px);
  padding: 0;
  list-style: none;
}
.quick__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 11px;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .92rem;
  color: var(--white);
  text-decoration: none;
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .55);
  transition: translate .15s ease, scale .15s ease;
}
.quick li:nth-child(odd) .quick__btn { rotate: -2deg; }
.quick li:nth-child(even) .quick__btn { rotate: 2deg; }
.quick__btn svg { width: 20px; height: 20px; }
.quick__btn--ig { background: linear-gradient(45deg, #e8890c, #d81b60 52%, #7b1fa2); }
.quick__btn--tt { background: #111; }
.quick__btn:hover { translate: 0 -3px; scale: 1.05; }

a.phone { display: block; color: inherit; text-decoration: none; transition: translate .25s ease; }
a.phone:hover { translate: 0 -8px; }
.phone__hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  translate: -50% 10px;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .78rem;
  color: var(--ink);
  white-space: nowrap;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s ease, translate .2s ease;
}
.phone__hint svg { width: 14px; height: 14px; }
a.phone:hover .phone__hint, a.phone:focus-visible .phone__hint { opacity: 1; translate: -50% 0; }
@media (hover: none) {
  .phone__hint { opacity: 1; translate: -50% 0; }
}
.btn-sticker--pink { background: #ffa3cf; }

/* ---------- 4b. website project (pink polka paper) ---------- */
.site {
  padding-block: var(--section-pad);
  background-color: #ffe2ee;
  background-image:
    radial-gradient(rgba(255, 255, 255, .95) 17%, transparent 18%),
    radial-gradient(rgba(255, 255, 255, .95) 17%, transparent 18%);
  background-size: 46px 46px;
  background-position: 0 0, 23px 23px;
}
.site__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(36px, 4vw, 60px);
  align-items: center;
}
.browser__screen { display: block; }
.browser--site {
  position: relative;
  display: block;
  margin: 0;
  color: inherit;
  text-decoration: none;
  rotate: var(--r, 0deg);
  transition: translate .25s ease;
}
.browser--site:hover { translate: 0 -6px; }
.site__screen { aspect-ratio: 16 / 10; background: #fff7fb; }
.site__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: #fff7fb;
}
.site__brand {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  text-align: center;
  background: #f6ece2;
  border-radius: 8px;
}
.site__fallback .site__brand img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 0; }
.site__brand em { margin-top: 6px; font-family: var(--f-hand); font-style: normal; font-weight: 700; font-size: 1.15rem; color: var(--ink-soft); }
.site__fallback img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.site__live {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: var(--vw, 1280px);
  height: 3000px;
  transform-origin: 0 0;
  scale: var(--s, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.site__live.is-loaded { opacity: 1; }
.site__live iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--white); }
.site__open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink);
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
}
.site__open svg { width: 16px; height: 16px; }
.site__note h3 { margin: 4px 0 2px; font-family: var(--f-label); font-weight: 900; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.12; }
.site__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item {
  position: relative;
  padding: 8px 8px 24px;
  background: var(--white);
  rotate: var(--r, 0deg);
  box-shadow: 0 16px 22px -12px rgba(90, 20, 50, .45);
}
.gallery__item:hover { z-index: 2; rotate: 0deg; scale: 1.06; }
.gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 237 / 235; object-fit: cover; }
.site__s1 { --s: 72px; top: 5%; right: 5%; }
.site__s2 { --s: 52px; bottom: 5%; left: 4%; --wd: -1.3s; }

@media (max-width: 900px) {
  .site__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 12px;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: .95rem;
  color: var(--white);
  text-decoration: none;
  background: #13804a;
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .5);
  transition: translate .2s ease, scale .2s ease, opacity .4s ease;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px solid #25d366;
  border-radius: inherit;
  animation: wa-ring 2.2s ease-out infinite;
  pointer-events: none;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { translate: 0 -3px; scale: 1.04; }
.js:not(.is-done) .wa-float { opacity: 0; }
@keyframes wa-ring { from { opacity: .85; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
@media (max-width: 600px) {
  .wa-float { padding: 12px; }
  .footer__copy { padding-bottom: 92px; }
  .accounts__s1 { --s: 44px; top: 14px; left: 3%; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 900px) {
  .reel--video { width: min(68vw, 270px); }
}

/* ---------- print / PDF export (html.print-mode, set by the export script) ---------- */
.print-mode *, .print-mode *::before, .print-mode *::after { animation: none !important; transition: none !important; }
.print-mode .curtain, .print-mode .nav, .print-mode .wa-float, .print-mode .scroll-cue,
.print-mode .lightbox, .print-mode .phone__touch, .print-mode .phone__hint, .print-mode .vid__sound { display: none !important; }
.print-mode .line__track { flex-wrap: wrap; justify-content: center; overflow: visible; background: none; }
.print-mode .line__track > :first-child, .print-mode .line__track > :last-child { margin-inline: 0; }
.print-mode .hero__field { width: 100%; height: 100%; }
.print-mode .hero { height: 900px; min-height: 0; }
.print-mode .hero__me img { max-height: 720px; }
.print-mode main > section { box-shadow: none; }
.print-mode *, .print-mode *::before, .print-mode *::after { filter: none !important; mix-blend-mode: normal !important; }
.print-mode .note, .print-mode .label-paper { box-shadow: 0 10px 18px -8px rgba(43, 28, 10, .35); }
.print-mode .note::before, .print-mode .label-paper::before { clip-path: none; }
.print-mode .note::after { display: none; }
.print-mode .phone__strip img:not(:first-child) { display: none; }
.print-mode .line__track { gap: 22px; }
.print-mode .reel--video { width: 214px; }
