/* Sparrow, style 5: Kinetic Type.
   Loud type, quiet words. Anybody (wdth 50-150, wght 100-900) does the shouting; Bricolage Grotesque reads.
   Without JavaScript, with reduced motion, or before scripts run, every section is a still poster. JavaScript adds
   html.motion, which makes the scenes tall (pinned) and lets site.js drive them. */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: swap;
}

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

:root {
  color-scheme: light dark;
  --shell: #F1ECE3;
  --ink: #1E1713;
  --orange: #C96A2C;
  --orange-2: #E9873F;
  --on-orange: #160903;

  --page: var(--shell);
  --text: var(--ink);
  --muted: #5a4a3f;
  --accent: var(--orange);
  --accent-text: #96461A;
  --hero-bg: var(--orange-2);
  --hero-bg-2: #DD7A36;
  --hero-glow: rgba(255, 220, 180, 0.35);
  --hero-text: var(--ink);
  --pill: #F7F2EA;
  --pill-line: rgba(30, 23, 19, 0.1);
  --card: #FFFAF2;
  --sticker-edge: #FFFAF2;
  --shadow: rgba(60, 30, 10, 0.28);
  --ring: var(--ink);
  --btn: var(--ink);
  --btn-text: var(--shell);
  --final-bg: var(--orange-2);
  --final-text: var(--ink);
  --trail: var(--ink);

  /* the letter-sparrow's four inks (from the painted bird: markings, chestnut, wash, breast) */
  --b0: #1E1713;
  --b1: #C96A2C;
  --b2: #8b7a6b;
  --b3: #c8b6a2;

  --gut: clamp(16px, 4vw, 64px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: "Anybody", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --text-font: "Bricolage", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #14100D;
    --text: var(--shell);
    --muted: #c4b6a6;
    --accent: var(--orange-2);
    --accent-text: var(--orange-2);
    --hero-bg: #14100D;
    --hero-bg-2: #14100D;
    --hero-glow: rgba(233, 135, 63, 0.10);
    --hero-text: var(--orange-2);
    --pill: #211915;
    --pill-line: rgba(241, 236, 227, 0.12);
    --card: #221a15;
    --sticker-edge: #F1ECE3;
    --shadow: rgba(0, 0, 0, 0.6);
    --ring: var(--orange-2);
    --btn: var(--orange-2);
    --btn-text: var(--on-orange);
    --final-bg: #14100D;
    --final-text: var(--orange-2);
    --trail: var(--orange-2);

    --b0: #7a6656;
    --b1: #E9873F;
    --b2: #b3a290;
    --b3: #F1ECE3;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--text-font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--shell);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

#main:focus {
  outline: none;
}

.skip:focus {
  transform: none;
  outline: 3px solid var(--orange-2);
}

.disp {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  line-height: 0.86;
  letter-spacing: -0.01em;
}

.mark {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: none;
}

.mark-belly {
  fill: #000;
  fill-opacity: 0.16;
}

.eyebrow {
  font-family: var(--display);
  font-variation-settings: "wght" 700, "wdth" 125;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* ---------------------------------------------------------------- stickers and buttons */

.sticker {
  border-radius: 28px;
  box-shadow: 0 0 0 5px var(--sticker-edge), 0 18px 34px -16px var(--shadow);
}

.sticker-pill {
  display: inline-block;
  padding: 9px 18px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--shell);
  font-family: var(--display);
  font-variation-settings: "wght" 700, "wdth" 118;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px 13px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-family: var(--display);
  font-variation-settings: "wght" 760, "wdth" 112;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), font-variation-settings 0.35s var(--ease-out);
}

.btn:hover {
  transform: rotate(-2deg) scale(1.04);
  font-variation-settings: "wght" 860, "wdth" 132;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 8px 16px 9px;
  font-size: 15px;
  background: var(--orange-2);
  color: var(--on-orange);
}

.btn-big {
  padding: 18px 30px 19px;
  font-size: clamp(18px, 1.6vw, 22px);
  box-shadow: 0 0 0 5px var(--sticker-edge), 0 18px 30px -14px var(--shadow);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.cta-note {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------------------------------------------------------------- header */

.top {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}

.top-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: var(--pill);
  border: 1px solid var(--pill-line);
  box-shadow: 0 10px 30px -18px var(--shadow);
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.brand .mark {
  color: var(--accent);
}

.brand-name {
  font-family: var(--display);
  font-variation-settings: "wght" 850, "wdth" 128;
  font-size: 19px;
  letter-spacing: -0.01em;
  transition: font-variation-settings 0.4s var(--ease-out);
}

.brand:hover .brand-name {
  font-variation-settings: "wght" 900, "wdth" 150;
}

.top-nav ul {
  display: flex;
  gap: clamp(4px, 1.4vw, 18px);
}

.top-nav a {
  display: block;
  padding: 6px 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
}

.top-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .top-nav {
    display: none;
  }
}

@media (max-width: 400px) {
  .top-pill {
    gap: 6px;
    padding-left: 10px;
  }
  .brand-name {
    font-size: 17px;
  }
  .btn-sm {
    padding: 8px 12px 9px;
    font-size: 13px;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-text);
  --ring: var(--ink);
}

.hero-pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 92px var(--gut) clamp(24px, 4vh, 48px);
  overflow: hidden;
  isolation: isolate;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 85% 0%, var(--hero-glow), transparent 60%),
    linear-gradient(180deg, var(--hero-bg) 30%, var(--hero-bg-2));
}

.kicker {
  margin: 10px 0 0;
  transform: rotate(-3deg);
  transform-origin: 0 50%;
}

.hero-title {
  margin-top: auto;
  padding-top: 24px;
  font-weight: 800;
}

.ht {
  display: block;
  font-size: clamp(52px, 11vw, 210px);
  --wg: 780;
}

.ln {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  line-height: 0.9;
  font-variation-settings: "wght" var(--wg), "wdth" var(--wd, 100);
  transform-origin: 0 100%;
}

.ln1 { --wd: 78; }
.ht-narrow .ln { line-height: 0.96; }
.hero-narrow .badge { display: none; }
.hero-short .kicker { display: none; }
.ln2 { --wd: 72; }
.ln3 { --wd: 150; }

.w {
  display: inline-block;
  position: relative;
  transform-origin: 50% 70%;
}

.ch {
  display: inline-block;
  position: relative;
  font-variation-settings: "wght" calc(var(--wg) + var(--cw, 0)), "wdth" calc(var(--wd, 100) + var(--wdv, 0) + var(--cd, 0));
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(20px, 4vh, 44px);
}

.lede {
  max-width: 30em;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--hero-text);
}

@media (prefers-color-scheme: dark) {
  .lede {
    color: var(--shell);
  }
}

.badge {
  position: absolute;
  right: clamp(16px, 6vw, 110px);
  top: clamp(90px, 15vh, 150px);
  width: clamp(110px, 12vw, 180px);
  aspect-ratio: 1;
  pointer-events: none;
}

.badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.badge-bg {
  fill: var(--ink);
}

.badge-text {
  font-family: var(--display);
  font-variation-settings: "wght" 760, "wdth" 125;
  font-size: 17px;
  letter-spacing: 1px;
  fill: var(--shell);
}

.badge-mark {
  position: absolute;
  left: 30%;
  top: 30%;
  width: 40%;
  height: 40%;
  fill: var(--orange-2);
}

@media (prefers-color-scheme: dark) {
  .badge-bg { fill: var(--orange-2); }
  .badge-text { fill: var(--on-orange); }
  .badge-mark { fill: var(--ink); }
}

.hero-wipe {
  display: none;
}

/* the poster birds: where the birds sit when nothing moves */
.poster-bird {
  position: absolute;
  pointer-events: none;
  max-width: none;
}

.pb-hero {
  width: 0.92em;
  left: 0.5em;
  bottom: 0.79em;
  transform: translateX(-64%);
}

@media (max-width: 640px) {
  .badge {
    top: 138px;
    right: 14px;
    width: 92px;
  }
}

/* ---------------------------------------------------------------- marquee bands */

.bands {
  position: relative;
  height: clamp(220px, 30vw, 420px);
  overflow: hidden;
  overflow: clip;
  background: var(--page);
}

.band {
  position: absolute;
  left: -6vw;
  right: -6vw;
  top: 50%;
  padding: clamp(10px, 1.4vw, 20px) 0;
  font-family: var(--display);
  font-variation-settings: "wght" 850, "wdth" 118;
  font-size: clamp(30px, 5.2vw, 84px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.band-a {
  transform: translateY(-82%) rotate(-4deg);
  background: var(--orange-2);
  color: var(--on-orange);
  z-index: 2;
  box-shadow: 0 16px 30px -18px var(--shadow);
}

.band-b {
  transform: translateY(12%) rotate(3deg);
  background: var(--ink);
  color: var(--shell);
}

@media (prefers-color-scheme: dark) {
  .band-b {
    background: var(--shell);
    color: var(--ink);
  }
}

.track {
  display: flex;
  width: max-content;
}

.grp {
  display: inline-flex;
  align-items: center;
  gap: 0.36em;
  padding-right: 0.36em;
}

.sep {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background: currentColor;
  -webkit-mask: url("../img/sparrow-mark.svg") center / contain no-repeat;
  mask: url("../img/sparrow-mark.svg") center / contain no-repeat;
}

.perch-mark {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pm-band {
  left: 64%;
  top: 0;
}

/* ---------------------------------------------------------------- flock (sign up) */

.flock {
  position: relative;
  background: var(--page);
}

.flock-pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  overflow: clip;
}

.flock-stage {
  position: absolute;
  inset: 0;
  contain: layout style;
}

.flock-fallback {
  position: absolute;
  inset: 90px var(--gut) auto;
  font-size: clamp(54px, 9vw, 150px);
  font-variation-settings: "wght" 850, "wdth" 70;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
}

.js .flock-fallback {
  display: none;
}

.fl {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--display);
  font-variation-settings: "wght" 820, "wdth" 112;
  line-height: 1;
  color: var(--text);
  white-space: pre;
  backface-visibility: hidden;
}

.fl.hl { color: var(--accent); }
.fl.dot { color: var(--accent); }
.fl.b0 { color: var(--b0); }
.fl.b1 { color: var(--b1); }
.fl.b2 { color: var(--b2); }
.fl.b3 { color: var(--b3); }

.card {
  position: absolute;
  left: var(--gut);
  bottom: clamp(24px, 6vh, 64px);
  z-index: 3;
  width: min(460px, calc(100% - 2 * var(--gut)));
  padding: 26px 28px 28px;
  background: var(--card);
  color: var(--text);
  transform: rotate(-1.5deg);
}

.card .eyebrow {
  margin-bottom: 12px;
}

.card-h {
  font-size: clamp(34px, 3.4vw, 50px);
  font-variation-settings: "wght" 850, "wdth" 92;
  line-height: 0.92;
  margin-bottom: 14px;
}

.card p:last-child {
  color: var(--muted);
}

.pm-card {
  right: 22%;
  top: -4px;
}

@media (max-width: 760px) {
  .card {
    left: 50%;
    width: calc(100% - 2 * var(--gut));
    transform: translateX(-50%) rotate(-1.5deg);
    padding: 20px 20px 22px;
    font-size: 16px;
  }
}

/* ---------------------------------------------------------------- only you */

.only {
  position: relative;
  background: var(--ink);
  color: var(--shell);
  --ring: var(--orange-2);
  --accent: var(--orange-2);
  --accent-text: var(--orange-2);
}

@media (prefers-color-scheme: dark) {
  .only {
    background: #0e0b09;
  }
}

.only-pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vh, 40px);
  padding: 120px var(--gut) 80px;
  text-align: center;
  overflow: hidden;
  overflow: clip;
}

.only-h {
  width: 100%;
}

.ow {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: clamp(56px, 14vw, 250px);
  line-height: 0.8;
  color: var(--orange-2);
  white-space: nowrap;
  padding-top: 0.5em;
}

.ow .l {
  display: inline-block;
  position: relative;
  font-variation-settings: "wght" var(--lw, 900), "wdth" var(--ld, 118);
}

.ow .gap {
  display: inline-block;
  width: 0.3em;
}

.pb-female {
  width: 0.5em;
  left: 50%;
  bottom: 0.775em;
  transform: translateX(-62%);
}

.pb-male-u {
  width: 0.54em;
  left: 50%;
  bottom: 0.775em;
  transform: translateX(-30%) scaleX(-1);
}

.pm-u {
  left: 50%;
  bottom: 0.79em;
}

.welcome {
  max-width: 17em;
  font-family: var(--display);
  font-variation-settings: "wght" 640, "wdth" 104;
  font-size: clamp(28px, 3.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--shell);
}

.fine {
  max-width: 34em;
  color: #cbbdae;
  font-size: clamp(16px, 1.25vw, 19px);
}

/* ---------------------------------------------------------------- invite */

.invite {
  position: relative;
  padding: clamp(96px, 14vh, 160px) var(--gut) clamp(60px, 10vh, 120px);
  background: var(--page);
  overflow: hidden;
  overflow: clip;
}

.invite-copy {
  position: relative;
  z-index: 2;
}

.invite-copy .eyebrow {
  margin-bottom: 18px;
}

.kin {
  display: block;
  transform-origin: 0 100%;
}

.kin .ln {
  font-variation-settings: "wght" var(--wg, 820), "wdth" calc(var(--wd, 100) + var(--wdv, 0));
}

.invite-h {
  font-size: clamp(54px, 10.5vw, 190px);
  --wg: 820;
}

.invite-h .ln:first-child { --wd: 74; }
.invite-h .ln:last-child { --wd: 132; color: var(--accent); }

.invite-p {
  max-width: 30em;
  margin-top: clamp(20px, 3vh, 34px);
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--muted);
}

.invite-art {
  position: relative;
  width: min(100%, 1100px);
  margin: clamp(10px, 3vh, 40px) auto 0;
  aspect-ratio: 1000 / 420;
}

.trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trail path {
  fill: none;
  stroke: var(--trail);
  stroke-width: 3;
  stroke-linecap: round;
}

.trail-ghost {
  stroke-dasharray: 2 12;
  opacity: 0.45;
}

.trail-ink {
  opacity: 0;
}

.chip {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 14px 20px 16px;
  background: var(--card);
  color: var(--text);
  text-align: left;
}

.chip-k {
  font-family: var(--display);
  font-variation-settings: "wght" 700, "wdth" 120;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-url,
.chip-msg {
  font-family: var(--display);
  font-variation-settings: "wght" 800, "wdth" 96;
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.1;
}

.chip-link {
  left: 0;
  bottom: 2%;
  transform: rotate(-4deg);
  background: var(--orange-2);
  color: var(--on-orange);
}

.chip-link .chip-k {
  color: var(--on-orange);
}

.chip-chat {
  right: 0;
  top: 0;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  transform: rotate(3deg);
}

.chip-av {
  grid-row: span 2;
  width: clamp(40px, 4.4vw, 58px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--shell);
  overflow: hidden;
}

.chip-av img {
  width: 230%;
  max-width: none;
  margin: 12% 0 0 -128%;
}

.pm-link {
  left: 62%;
  top: -3px;
}

@media (min-width: 1000px) {
  .invite-art {
    margin-top: -90px;
  }
}

.plane {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(40px, 5vw, 70px);
  aspect-ratio: 1;
  color: var(--accent);
  display: none;
}

.plane svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (max-width: 640px) {
  .invite-art { aspect-ratio: 1000 / 700; margin-top: 28px; }
  .chip { padding: 10px 14px 12px; }
  .chip-k { font-size: 10px; }
}

/* ---------------------------------------------------------------- stickers */

.more {
  position: relative;
  padding: clamp(60px, 10vh, 120px) var(--gut) clamp(100px, 16vh, 180px);
  background: var(--page);
}

.more-h {
  font-size: clamp(54px, 10.5vw, 190px);
  --wg: 820;
  margin-bottom: clamp(40px, 7vh, 90px);
}

.more-h .ln:first-child { --wd: 96; }
.more-h .ln:last-child { --wd: 138; color: var(--accent); }

.stickers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
  align-items: start;
}

.st {
  --r: -3deg;
}

.st:nth-child(4n + 2) { margin-top: 70px; }
.st:nth-child(4n + 3) { margin-top: 24px; }
.st:nth-child(4n + 4) { margin-top: 96px; }

.st-in {
  padding: 26px 24px 28px;
  background: var(--card);
  color: var(--text);
  transform: rotate(var(--r));
  transition: transform 0.5s var(--ease-spring);
}

.st-in h3 {
  font-size: clamp(30px, 2.8vw, 44px);
  font-variation-settings: "wght" 850, "wdth" 96;
  line-height: 0.9;
  margin-bottom: 12px;
  transition: font-variation-settings 0.5s var(--ease-out);
}

.st-in p {
  font-size: 17px;
  line-height: 1.42;
}

.st-in:hover {
  transform: rotate(0deg) scale(1.04);
}

.st-in:hover h3 {
  font-variation-settings: "wght" 900, "wdth" 140;
}

.st-1 { --r: -4deg; }
.st-1 .st-in { background: var(--orange-2); color: var(--on-orange); border-radius: 48px; }
.st-2 { --r: 2.5deg; }
.st-2 .st-in { border-radius: 999px 999px 32px 32px; padding-top: 48px; text-align: center; }
.st-3 { --r: -2deg; }
.st-3 .st-in { background: var(--ink); color: var(--shell); border-radius: 36px 36px 36px 6px; }
.st-3 .st-in h3 { color: var(--orange-2); }
.st-4 { --r: 3.5deg; }
.st-4 .st-in { background: #F6CFA6; color: var(--ink); border-radius: 60% 40% 52% 48% / 46% 54% 46% 54%; padding: 40px 34px; }
.st-5 { --r: 2deg; }
.st-5 .st-in { border-radius: 20px; }
.st-5 .st-in h3 { color: var(--accent); }
.st-6 { --r: -3.5deg; }
.st-6 .st-in { background: var(--orange); color: var(--on-orange); border-radius: 50%; aspect-ratio: 1; display: grid; place-content: center; text-align: center; padding: 34px; }
.st-7 { --r: 4deg; }
.st-7 .st-in { background: var(--ink); color: var(--shell); border-radius: 999px; padding: 30px 36px; }
.st-7 .st-in h3 { color: var(--orange-2); }
.st-8 { --r: -1.5deg; }
.st-8 .st-in { border-radius: 30px; border: 3px dashed var(--accent); box-shadow: none; background: transparent; }

@media (prefers-color-scheme: dark) {
  .st-3 .st-in,
  .st-7 .st-in {
    background: #2b211b;
  }
}

@media (max-width: 1000px) {
  .stickers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st:nth-child(n) { margin-top: 0; }
  .st:nth-child(2n) { margin-top: 40px; }
}

@media (max-width: 560px) {
  .stickers {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .st:nth-child(2n) { margin-top: 0; }
  .st-6 .st-in { width: 78%; margin: 0 auto; }
}

/* ---------------------------------------------------------------- final */

.final {
  position: relative;
  padding: clamp(150px, 26vh, 260px) var(--gut) clamp(70px, 12vh, 130px);
  background: var(--final-bg);
  color: var(--final-text);
  --ring: var(--ink);
  overflow: hidden;
  overflow: clip;
}

@media (prefers-color-scheme: dark) {
  .final {
    --ring: var(--orange-2);
    border-top: 1px solid rgba(241, 236, 227, 0.08);
  }
}

.final-h {
  font-size: clamp(56px, 14vw, 260px);
  font-variation-settings: "wght" 880, "wdth" 112;
  line-height: 0.8;
  white-space: nowrap;
}

.fw {
  display: inline-block;
  position: relative;
}

.lt {
  position: relative;
}

.pm-final {
  left: 50%;
  bottom: 1.03em;
}

.pb-final-f {
  width: 0.42em;
  left: 50%;
  bottom: 0.94em;
  transform: translateX(-66%);
}

.pb-final-m {
  width: 0.44em;
  left: 50%;
  bottom: 1.06em;
  transform: translateX(-36%) scaleX(-1);
}

.final-p {
  max-width: 28em;
  margin: clamp(24px, 4vh, 40px) 0 28px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
}

@media (prefers-color-scheme: dark) {
  .final-p {
    color: var(--shell);
  }
}

.btn-ink {
  background: var(--ink);
  color: var(--shell);
}

@media (prefers-color-scheme: dark) {
  .btn-ink {
    background: var(--orange-2);
    color: var(--on-orange);
  }
}

/* ---------------------------------------------------------------- footer */

.foot {
  padding: 34px var(--gut) 40px;
  background: var(--page);
  color: var(--text);
  border-top: 1px solid var(--pill-line);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.foot-line {
  color: var(--muted);
  font-size: 16px;
}

.foot-nav {
  margin-left: auto;
}

.foot-nav ul {
  display: flex;
  gap: 18px;
}

.foot-nav a {
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.foot-small {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- the roaming sparrow */

.pip {
  display: none;
}

/* ================================================================ motion (added by site.js) */

.motion .hero { height: 210vh; }
.motion .hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.motion .pb-hero { display: none; }

.motion .hero-wipe {
  display: block;
  position: absolute;
  left: 50%;
  top: 100%;
  width: 260vmax;
  height: 260vmax;
  margin: -130vmax 0 0 -130vmax;
  border-radius: 50%;
  background: var(--page);
  transform: scale(0);
  z-index: 4;
  pointer-events: none;
}

.motion .w,
.motion .kicker,
.motion .hero-foot,
.motion .badge {
  will-change: transform;
}

.motion .flock { height: 360vh; }
.motion .flock-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.motion .fl { transition: color 0.45s ease; }
.motion .flock-stage.breathe {
  transform-origin: var(--bx, 60%) var(--by, 90%);
  animation: breathe 1600ms ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: none; }
  50% { transform: scale(1.022, 1.034); }
}

.motion .only { height: 320vh; }
.motion .only-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.motion .pb-male-u { display: none; }
.motion .ow .l {
  color: rgb(233 135 63 / var(--lf, 1));
  -webkit-text-stroke: calc((1 - var(--lf, 1)) * 2px) var(--orange-2);
  transform: translateY(calc(var(--ly, 0) * 1px)) scale(var(--ls, 1));
  transform-origin: 50% 100%;
}
.motion .wd {
  opacity: var(--wo, 1);
}
.motion .fine {
  opacity: var(--fo, 1);
}

.motion .plane { display: block; will-change: transform; }
.motion .trail-ink { opacity: 1; }
.motion .chip-chat { transform: rotate(3deg) scale(var(--pop, 1)); transform-origin: 20% 80%; }

.motion .st-in {
  opacity: 0;
  transform: translateY(60px) rotate(calc(var(--r) * 3)) scale(1.18);
  transition: transform 0.8s var(--ease-spring), opacity 0.35s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.motion .st.in .st-in {
  opacity: 1;
  transform: rotate(var(--r));
}

.motion .st.in .st-in:hover {
  transform: rotate(0deg) scale(1.04);
  transition-delay: 0s;
}

.motion .pb-final-m { display: none; }

.motion .pip {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  pointer-events: none;
  will-change: transform;
}

.pip-body {
  position: relative;
  width: var(--pw, 120px);
  transform-origin: 0 0;
}

.pip-body > * {
  position: absolute;
  max-width: none;
}

.pip-rest { width: 100%; left: -63.7%; top: calc(var(--pw, 120px) * -0.861); }
.pip-hop { width: 96.5%; left: -60.2%; top: calc(var(--pw, 120px) * -0.861); opacity: 0; }
.pip-look { width: 94.5%; left: -63.7%; top: calc(var(--pw, 120px) * -0.901); opacity: 0; }

.pip-fly {
  width: calc(var(--pw, 120px) * 1.235);
  height: calc(var(--pw, 120px) * 1.36);
  left: calc(var(--pw, 120px) * -0.79);
  top: calc(var(--pw, 120px) * -1.13);
  background: url("../img/male-flight-sprite-dark.webp") 0 0 / 1000% 100% no-repeat;
  opacity: 0;
}

.pip[data-pose="hop"] .pip-rest,
.pip[data-pose="fly"] .pip-rest,
.pip[data-pose="look"] .pip-rest { opacity: 0; }
.pip[data-pose="hop"] .pip-hop { opacity: 1; }
.pip[data-pose="look"] .pip-look { opacity: 1; }
.pip[data-pose="fly"] .pip-fly {
  opacity: 1;
  animation: flap 300ms steps(10) infinite;
}

@keyframes flap {
  from { background-position: 0 0; }
  to { background-position: 111.111% 0; }
}

/* the first moment: the hero's letters pop up in a wave, the stickers slap down */
.motion.intro .ch {
  animation: pop 900ms var(--ease-spring) both;
  animation-delay: calc(var(--i, 0) * 28ms);
  transform-origin: 50% 90%;
}

.motion.intro .kicker {
  animation: slap 700ms var(--ease-spring) 650ms both;
}

.motion.intro .badge-ring {
  animation: spin-in 1200ms var(--ease-out) 300ms both;
}

.motion.intro .hero-foot {
  animation: rise 700ms var(--ease-out) 900ms both;
}

@keyframes pop {
  0% { transform: translateY(0.35em) scale(1.25, 0.1); opacity: 0; }
  55% { transform: translateY(-0.06em) scale(0.92, 1.12); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes slap {
  0% { transform: rotate(-14deg) scale(1.6); opacity: 0; }
  100% { transform: rotate(-3deg) scale(1); opacity: 1; }
}

@keyframes spin-in {
  0% { transform: rotate(-200deg) scale(0.3); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@keyframes rise {
  0% { transform: translateY(24px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

/* ================================================================ reduced motion: still posters */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .st-in:hover {
    transform: none;
  }
}
