@font-face {
  font-family: "FP Display";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "FP Display";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "FP Body";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "FP Body";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "FP Display Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 90%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "FP Body Fallback";
  src: local("Arial");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --font-display: "FP Display", "FP Display Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-body: "FP Body", "FP Body Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --color-white: #ffffff;
  --color-cream-canvas: #fbfaf9;
  --color-stone-surface: #f2f0ed;
  --color-sand-surface: #f6f4ef;
  --color-ink-black: #121212;
  --color-heading-charcoal: #343433;
  --color-body-brown: #474645;
  --color-muted-gray: #7e7e7d;
  --color-stone-border: #e5d5c3;
  --color-sun-yellow: #ffcd6c;
  --color-sky-blue: #64c6ff;
  --color-grass-green: #00c978;
  --color-coral-pink: #ff58ae;
  --color-honey: #ffbb26;
  --color-sky-wash: #e3f4ff;
  --color-grass-wash: #dcf6ea;
  --color-honey-wash: #fff0cc;
  --color-coral-wash: #ffe4f1;
  --color-small-text: #474645;
  --color-small-link: #d03200;

  --text-micro: 12px;
  --text-caption: 15px;
  --text-body: 17px;
  --text-subheading: 19px;
  --text-heading: 23px;
  --text-heading-lg: 44px;

  --radius-badges: 6px;
  --radius-cards: 10px;
  --radius-pills: 9999px;

  --shadow-hairline: inset 0 0 0 1px #f2f0ed;
  --page: 1200px;
  --measure: 680px;
  --gutter: 16px;
}

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

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--color-stone-border) transparent;
  caret-color: var(--color-ink-black);
}

body {
  margin: 0;
  background-color: var(--color-cream-canvas);
  color: var(--color-heading-charcoal);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  letter-spacing: -0.013em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--color-sun-yellow);
  color: var(--color-ink-black);
}

:focus-visible {
  outline: 2px solid var(--color-ink-black);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight;
  }
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ol,
ul {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-ink-black);
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pills);
  background: var(--color-ink-black);
  color: var(--color-cream-canvas);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 12px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--text-subheading);
  font-weight: 500;
  color: var(--color-ink-black);
  text-decoration: none;
}

.nav {
  display: flex;
  padding: 0;
  list-style: none;
}

.nav-link,
.nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-pills);
  font-size: var(--text-caption);
  text-decoration: none;
}

.nav-link {
  padding: 0 8px;
  color: var(--color-heading-charcoal);
}

.nav-account {
  padding: 0 12px;
  background: var(--color-sand-surface);
  box-shadow: var(--shadow-hairline);
  color: var(--color-ink-black);
  font-weight: 500;
}

.nav-link:hover,
.nav-account:hover {
  background: var(--color-stone-surface);
}

.page {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
  outline: none;
}

.breadcrumbs {
  padding-top: 24px;
  font-size: var(--text-caption);
  color: var(--color-small-text);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumbs a {
  color: var(--color-small-link);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumbs a[aria-current="page"] {
  overflow: hidden;
  max-width: 40ch;
  color: var(--color-heading-charcoal);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.lede {
  font-size: var(--text-subheading);
  line-height: 28px;
  color: var(--color-body-brown);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pills);
  background: var(--color-honey-wash);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-ink-black);
  text-decoration: none;
}

a.tag {
  position: relative;
}

a.tag::before {
  content: "";
  position: absolute;
  inset: -8px 0;
}

a.tag:hover {
  background: var(--color-honey);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: var(--text-caption);
  color: var(--color-small-text);
}

.meta a:not(.tag) {
  color: var(--color-heading-charcoal);
  text-decoration: none;
}

.meta a:not(.tag):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stage {
  position: relative;
  container-type: inline-size;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 32px;
  background: var(--color-sand-surface);
  box-shadow: inset 0 0 0 1px var(--color-stone-surface);
}

.stage > img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.stage-drapes {
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.stage-valance {
  top: -2px;
  left: -2px;
  z-index: 3;
  width: calc(100% + 4px);
  height: auto;
}

.stage-star,
.stage-heart {
  z-index: 1;
  width: 7cqw;
  height: auto;
}

.stage-star {
  top: 22%;
  left: 12%;
  rotate: -14deg;
}

.stage-heart {
  top: 28%;
  right: 12%;
  width: 5.5cqw;
  rotate: 12deg;
}

.stage-table {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 24%;
  background: var(--color-stone-surface);
  box-shadow:
    0 -1px 0 var(--color-heading-charcoal),
    inset 0 1px 0 var(--color-stone-border);
}

.stage-cast {
  position: absolute;
  inset: auto 13% 24%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 -1.4cqw;
  padding: 0;
  list-style: none;
}

.stage-cast li {
  width: 15cqw;
  transform-origin: 50% 100%;
}

.stage-cast li:nth-child(2) {
  margin-bottom: -0.6cqw;
}

.stage-cast .stage-duck {
  width: 13cqw;
  margin-bottom: -1cqw;
}

.stage-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.stage-target {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
}

.stage-target:disabled {
  cursor: default;
}

.is-playable .stage-target {
  cursor: pointer;
}

.stage-target img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 85%;
}

.shelf {
  display: flex;
  justify-content: center;
}

.shelf[hidden] {
  display: none;
}

.shelf-things {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shelf-things button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: var(--shadow-hairline);
  cursor: pointer;
}

.shelf-things button:hover {
  background: var(--color-sand-surface);
}

.shelf-things button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--color-ink-black);
}

.shelf-things img {
  width: 26px;
  height: 26px;
}

.throw-layer {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow: hidden;
  pointer-events: none;
}

.throw-thing,
.throw-bit {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  will-change: transform;
}

.throw-thing {
  width: 40px;
  height: 40px;
}

.is-playable .curtain-actor {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gag-say {
  position: absolute;
  z-index: 4;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-stone-border);
  font-family: var(--font-display);
  font-size: clamp(13px, 3.4cqw, 18px);
  font-weight: 600;
  color: var(--color-ink-black);
  white-space: nowrap;
  pointer-events: none;
}

.gag-orbit {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.stage-bubble {
  position: absolute;
  top: 26%;
  left: 50%;
  z-index: 2;
  translate: -50% 0;
  padding: 1.4cqw 3cqw;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-stone-border);
  font-family: var(--font-display);
  font-size: clamp(14px, 4cqw, 22px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-ink-black);
  white-space: nowrap;
}

.stage-bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  translate: -50% 0;
  rotate: 45deg;
  background: var(--color-white);
  box-shadow: inset -1px -1px 0 0 var(--color-stone-border);
}

.site-header {
  position: relative;
  z-index: 1;
}

.list-band {
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
}

.list-band::before,
.list-band::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  width: 100vw;
  translate: -50% 0;
  pointer-events: none;
}

.list-band::before {
  top: -240px;
  bottom: 0;
  background: var(--color-stone-surface);
}

.list-band::after {
  top: 100%;
  height: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 20'%3E%3Cpath d='M0 0H44V1Q22 21 0 1Z' fill='%23f2f0ed'/%3E%3Cpath d='M44 1Q22 21 0 1' fill='none' stroke='%23e5d5c3' stroke-width='1.5'/%3E%3C/svg%3E")
    50% 0 / 44px 20px repeat-x;
}

.list-band .stage {
  box-shadow:
    inset 0 0 0 1px var(--color-stone-border),
    0 22px 40px -28px rgb(52 52 51 / 0.45);
}

.list-header {
  display: grid;
  gap: 24px;
  padding: 24px 0 40px;
}

.list-title {
  margin: 56px 0 20px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.list-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--measure);
}

.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.post-list > li {
  --mascot: url("../img/flora.svg");
  --wash: var(--color-sky-wash);
}

.post-list > li:nth-child(4n + 2) {
  --mascot: url("../img/bo.svg");
  --wash: var(--color-grass-wash);
}

.post-list > li:nth-child(4n + 3) {
  --mascot: url("../img/tri.svg");
  --wash: var(--color-honey-wash);
}

.post-list > li:nth-child(4n + 4) {
  --mascot: url("../img/duck.svg");
  --wash: var(--color-coral-wash);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-hairline);
}

.post-card:hover {
  background: var(--color-sand-surface);
}

.post-card:focus-within {
  outline: 2px solid var(--color-ink-black);
  outline-offset: 2px;
}

.post-card-photo,
.post-card-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.post-card-photo {
  overflow: hidden;
  background: var(--wash);
}

.post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.85) brightness(1.08);
  mix-blend-mode: multiply;
}

.post-card:hover .post-card-image,
.post-card:focus-within .post-card-image {
  filter: none;
  mix-blend-mode: normal;
}

.post-card-art {
  background:
    var(--mascot) center 58% / auto 52% no-repeat,
    var(--wash);
  box-shadow: inset 0 -1px 0 var(--color-stone-surface);
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.post-card-title {
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.post-card-title a {
  text-decoration: none;
}

.post-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card-title a:focus-visible {
  outline: none;
}

.post-card-excerpt {
  font-size: 16px;
  color: var(--color-body-brown);
}

.post-card .meta {
  margin-top: auto;
  padding-top: 12px;
}

.empty {
  padding: 32px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-hairline);
  color: var(--color-body-brown);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 36px;
}

.page-number {
  font-size: var(--text-caption);
  color: var(--color-small-text);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pills);
  background: var(--color-sand-surface);
  box-shadow: var(--shadow-hairline);
  color: var(--color-ink-black);
  font-size: var(--text-caption);
  font-weight: 500;
  text-decoration: none;
}

.pill:hover {
  background: var(--color-stone-surface);
}

.pill-dark {
  background: var(--color-ink-black);
  box-shadow: none;
  color: var(--color-cream-canvas);
}

.pill-dark:hover {
  background: var(--color-heading-charcoal);
}

.post {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.post-header {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: var(--measure);
  padding-bottom: 40px;
}

.post-header:has(.stage) {
  max-width: none;
}

.post-header:has(.post-hero-photo) {
  position: relative;
  isolation: isolate;
  padding-top: 32px;
}

.post-hero-photo {
  position: absolute;
  top: -64px;
  left: 50%;
  z-index: -1;
  width: max(150%, 640px);
  max-width: none;
  height: calc(100% + 112px);
  translate: -50% 0;
  object-fit: cover;
  filter: grayscale(1) contrast(0.75) brightness(1.15);
  mix-blend-mode: multiply;
  opacity: 0.32;
  mask: url("../img/hero-mask.webp") center / 100% 100% no-repeat;
  -webkit-mask: url("../img/hero-mask.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

.post-header:has(.post-hero-photo) .post-intro h1 {
  text-shadow:
    0 1px 0 var(--color-cream-canvas),
    0 2px 6px rgb(251 250 249 / 0.9),
    0 6px 28px rgb(251 250 249 / 0.85);
}

.post-header:has(.post-hero-photo) .post-intro :is(.lede, .meta span) {
  color: var(--color-heading-charcoal);
  text-shadow:
    0 1px 0 var(--color-cream-canvas),
    0 1px 4px rgb(251 250 249 / 0.95),
    0 3px 14px rgb(251 250 249 / 0.9);
}

.post-header:has(.post-hero-photo) .post-intro .tag {
  box-shadow:
    0 1px 2px rgb(52 52 51 / 0.08),
    0 4px 12px rgb(52 52 51 / 0.08);
}

.post-hero-credit {
  order: 3;
  font-size: 12px;
  color: var(--color-small-text);
}

.post-hero-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-stone-border);
  text-underline-offset: 3px;
}

.post-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-intro .meta {
  padding-top: 4px;
}

.post-image {
  width: 100%;
  margin-bottom: 56px;
}

.post-image img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 24px;
  background: var(--color-stone-surface);
}

.post-image figcaption,
.gh-content figcaption {
  padding-top: 10px;
  font-size: 13px;
  text-align: center;
  color: var(--color-small-text);
}

.post-image figcaption a,
.gh-content figcaption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-stone-border);
  text-underline-offset: 3px;
}

.gh-content {
  --measure-px: min(var(--measure), 100%);
  display: grid;
  grid-template-columns:
    [full-start] minmax(0, 1fr)
    [wide-start] minmax(0, calc((var(--page) - var(--measure)) / 2))
    [main-start] var(--measure-px) [main-end]
    minmax(0, calc((var(--page) - var(--measure)) / 2)) [wide-end]
    minmax(0, 1fr) [full-end];
  width: 100%;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-body-brown);
}

.gh-content > * {
  grid-column: main;
  margin-top: 20px;
}

.gh-content > :first-child {
  margin-top: 0;
}

.gh-content > .kg-width-wide {
  grid-column: wide;
}

.gh-content > .kg-width-full {
  grid-column: full;
}

.gh-content > .kg-width-full img {
  border-radius: 0;
}

.gh-content a {
  color: var(--color-small-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.gh-content a:hover {
  text-decoration-thickness: 2px;
}

.gh-content a[href^="https://tinytroop.estacouveflor.com/new"],
.gh-content a[href^="/new"] {
  position: relative;
  padding: 5px 14px 6px;
  border-radius: var(--radius-pills);
  background: var(--color-ink-black);
  font-size: var(--text-caption);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-cream-canvas);
  text-decoration: none;
  white-space: nowrap;
  box-decoration-break: clone;
}

.gh-content a[href^="https://tinytroop.estacouveflor.com/new"]::after,
.gh-content a[href^="/new"]::after {
  content: "";
  position: absolute;
  inset: -8px 0;
}

.gh-content a[href^="https://tinytroop.estacouveflor.com/new"]::before,
.gh-content a[href^="/new"]::before {
  content: "";
  position: absolute;
  bottom: 62%;
  left: 50%;
  z-index: -1;
  width: 34px;
  height: 34px;
  background: url("../img/cauliflower.svg") center / contain no-repeat;
  opacity: 0;
  translate: -50% 70%;
  scale: 0.5;
  rotate: -14deg;
  pointer-events: none;
}

.gh-content a[href^="https://tinytroop.estacouveflor.com/new"]:is(:hover, :focus-visible)::before,
.gh-content a[href^="/new"]:is(:hover, :focus-visible)::before {
  opacity: 1;
  translate: -50% 0;
  scale: 1;
  rotate: 6deg;
}

.gh-content a[href^="https://tinytroop.estacouveflor.com/new"]:hover,
.gh-content a[href^="/new"]:hover {
  background: var(--color-heading-charcoal);
}

.gh-content strong {
  color: var(--color-heading-charcoal);
  font-weight: 600;
}

.gh-content > h2 {
  position: relative;
  margin-top: 56px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gh-content > h2::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.3em;
  margin-right: 0.4em;
  border-radius: 3px;
  background: var(--confetti, var(--color-sky-blue));
  box-shadow: inset 0 0 0 1.5px var(--color-heading-charcoal);
  vertical-align: 0.18em;
  rotate: -18deg;
}

.gh-content > h2:nth-of-type(4n + 2) {
  --confetti: var(--color-coral-pink);
}

.gh-content > h2:nth-of-type(4n + 2)::before {
  rotate: 14deg;
}

.gh-content > h2:nth-of-type(4n + 3) {
  --confetti: var(--color-sun-yellow);
}

.gh-content > h2:nth-of-type(4n + 4) {
  --confetti: var(--color-grass-green);
}

.gh-content > h2:nth-of-type(4n + 4)::before {
  rotate: 24deg;
}

.gh-content > h2 + * {
  margin-top: 14px;
}

.gh-content > h3 {
  margin-top: 36px;
  font-size: 21px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.015em;
  color: var(--color-ink-black);
}

.gh-content > h3 + * {
  margin-top: 8px;
}

.gh-content > h4 {
  margin-top: 28px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-ink-black);
}

.gh-content ul {
  padding-left: 0;
  list-style: none;
}

.gh-content ul > li {
  position: relative;
  padding-left: 28px;
}

.gh-content ul > li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--confetti, var(--color-sky-blue));
  box-shadow: inset 0 0 0 1.5px var(--color-heading-charcoal);
  rotate: 45deg;
}

.gh-content ul > li:nth-child(4n + 2) {
  --confetti: var(--color-coral-pink);
}

.gh-content ul > li:nth-child(4n + 3) {
  --confetti: var(--color-sun-yellow);
}

.gh-content ul > li:nth-child(4n + 4) {
  --confetti: var(--color-grass-green);
}

.gh-content ol {
  padding-left: 0;
  list-style: none;
  counter-reset: card;
}

.gh-content ol > li {
  position: relative;
  min-height: 60px;
  padding-left: 68px;
  counter-increment: card;
}

.gh-content ol > li::before {
  content: counter(card);
  position: absolute;
  top: -2px;
  left: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 58px;
  border-radius: 8px;
  background: var(--color-white);
  box-shadow:
    inset 0 0 0 1px var(--color-stone-border),
    0 2px 6px rgb(0 0 0 / 0.05);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-black);
  rotate: -5deg;
}

.gh-content ol > li:nth-child(even)::before {
  rotate: 4deg;
}

.gh-content ol > li:nth-child(3n)::before {
  rotate: -2deg;
}

.gh-content li + li {
  margin-top: 10px;
}

.gh-content ol > li + li {
  margin-top: 24px;
}

.gh-content blockquote:not([class]) {
  position: relative;
  margin-bottom: 64px;
  padding: 22px 26px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-stone-border);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-ink-black);
}

.gh-content blockquote:not([class])::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 36px;
  width: 12px;
  height: 12px;
  rotate: 45deg;
  background: var(--color-white);
  box-shadow: inset -1px -1px 0 0 var(--color-stone-border);
}

.gh-content blockquote:not([class])::before {
  content: "";
  position: absolute;
  bottom: -62px;
  left: 14px;
  width: 52px;
  height: 52px;
  background: url("../img/bo.svg") center / contain no-repeat;
}

.gh-content blockquote:not([class]) + * {
  margin-top: 0;
}

.gh-content hr {
  width: 100%;
  height: 1px;
  margin-top: 48px;
  margin-bottom: 28px;
  border: 0;
  background: var(--color-stone-surface);
}

.gh-content img {
  border-radius: 24px;
}

.gh-content code {
  padding: 2px 6px;
  border-radius: var(--radius-badges);
  background: var(--color-stone-surface);
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--color-ink-black);
}

.gh-content pre {
  overflow-x: auto;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--color-ink-black);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-cream-canvas);
}

.gh-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.gh-content table:not([class]) {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: var(--text-caption);
  font-variant-numeric: tabular-nums;
}

.gh-content table:not([class]) th,
.gh-content table:not([class]) td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-stone-surface);
  text-align: left;
}

.gh-content table:not([class]) th {
  font-weight: 600;
  color: var(--color-heading-charcoal);
}

.gh-content .kg-card {
  margin-top: 32px;
}

.gh-content .kg-card + * {
  margin-top: 32px;
}

.gh-content .kg-bookmark-container,
.gh-content .kg-callout-card,
.gh-content .kg-toggle-card,
.gh-content .kg-file-card-container,
.gh-content .kg-product-card-container {
  border: 0;
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-hairline);
  color: var(--color-heading-charcoal);
  text-decoration: none;
}

.gh-content .kg-bookmark-title {
  color: var(--color-ink-black);
  font-weight: 500;
}

.gh-content .kg-bookmark-description,
.gh-content .kg-bookmark-metadata {
  color: var(--color-small-text);
}

.gh-content .kg-btn,
.gh-content .kg-header-card-button {
  border-radius: var(--radius-pills);
  background: var(--color-ink-black);
  color: var(--color-cream-canvas);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
}

.curtain-call {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: var(--measure);
  margin-top: 72px;
  padding-top: 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-heading-charcoal);
}

.curtain-call > img {
  width: 64px;
  height: auto;
  margin-bottom: -2px;
  transform-origin: 50% 100%;
}

.curtain-call > .curtain-duck {
  width: 52px;
  margin-bottom: -3px;
}

.curtain-call > .curtain-confetti,
.curtain-call > .curtain-star {
  position: absolute;
  top: 0;
  width: 36px;
}

.curtain-call > .curtain-confetti {
  left: calc(50% - 170px);
}

.curtain-call > .curtain-star {
  left: calc(50% + 140px);
  top: 8px;
  width: 28px;
  rotate: 16deg;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: var(--measure);
  margin: 40px auto 0;
}

.post-nav:not(:has(a)) {
  display: none;
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-hairline);
  font-weight: 500;
  color: var(--color-ink-black);
  text-decoration: none;
}

.post-nav-link span {
  font-size: 13px;
  color: var(--color-small-text);
}

.post-nav-link:hover {
  background: var(--color-sand-surface);
}

.post-nav-next {
  text-align: right;
}

.error {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 0;
  text-align: center;
}

.error-duck {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.error-duck img {
  width: 88px;
  height: auto;
  rotate: -8deg;
}

.error-code {
  position: relative;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-stone-border);
  font-family: var(--font-display);
  font-size: var(--text-subheading);
  font-weight: 500;
  color: var(--color-ink-black);
}

.error-code::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  translate: -50% 0;
  rotate: 45deg;
  background: var(--color-white);
  box-shadow: inset -1px -1px 0 0 var(--color-stone-border);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  padding: 24px var(--gutter);
  font-size: var(--text-micro);
  color: var(--color-small-text);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  color: var(--color-small-link);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer p a {
  min-height: 24px;
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a {
  min-height: 44px;
}

@media (min-width: 640px) {
  .nav {
    gap: 4px;
  }

  .nav-link {
    padding: 0 12px;
  }

  .nav-account {
    min-width: 112px;
    padding: 0 16px;
  }

  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card-body {
    padding: 28px 32px 32px;
  }

  .post-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-nav-next {
    grid-column: 2;
  }

  .curtain-call {
    gap: 20px;
  }

  .curtain-call > img {
    width: 76px;
  }

  .curtain-call > .curtain-duck {
    width: 60px;
  }

  .curtain-call > .curtain-confetti {
    left: calc(50% - 210px);
  }

  .curtain-call > .curtain-star {
    left: calc(50% + 180px);
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .post-header .stage-wrap,
  .list-header .stage-wrap {
    width: 100%;
    max-width: 520px;
  }
}

@media (min-width: 768px) {
  .gh-content > h2::before {
    position: absolute;
    top: 0.42em;
    left: -1.2em;
    margin: 0;
  }
}

@media (min-width: 960px) {
  .list-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 48px;
    align-items: center;
    padding-bottom: 48px;
  }

  .post-header:has(.stage) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 64px;
    align-items: center;
    padding-bottom: 56px;
  }

  .post-header:has(.post-hero-photo) {
    padding-top: 56px;
  }

  .post-hero-photo {
    width: min(1560px, 128%);
    top: -88px;
    height: calc(100% + 150px);
  }

  .post-hero-credit {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: right;
  }

  .stage {
    aspect-ratio: 4 / 3;
  }

  .stage-table {
    height: 28%;
  }

  .stage-cast {
    inset: auto 10% 28%;
  }

  .stage-cast li {
    width: 18cqw;
  }

  .stage-cast .stage-duck {
    width: 15cqw;
  }

  .stage-bubble {
    top: 24%;
  }

  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-template:not(.paged) .post-list > li:first-child {
    grid-column: 1 / -1;
  }

  .home-template:not(.paged) .post-list > li:first-child .post-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .home-template:not(.paged) .post-list > li:first-child .post-card-photo,
  .home-template:not(.paged) .post-list > li:first-child .post-card-art {
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
  }

  .home-template:not(.paged) .post-list > li:first-child .post-card-art {
    background-size: auto 46%;
    box-shadow: inset -1px 0 0 var(--color-stone-surface);
  }

  .home-template:not(.paged) .post-list > li:first-child .post-card-body {
    justify-content: center;
    gap: 14px;
    padding: 48px;
  }

  .home-template:not(.paged) .post-list > li:first-child .post-card-title {
    font-size: 36px;
    line-height: 1.08;
  }

  .home-template:not(.paged) .post-list > li:first-child .post-card-excerpt {
    font-size: var(--text-body);
    line-height: 1.55;
  }
}

.progress {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: none;
  height: 4px;
  container-type: inline-size;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--color-stone-surface);
  pointer-events: none;
}

.progress.is-scripted {
  display: block;
}

.progress-bar {
  position: absolute;
  inset: 0;
  background: var(--color-honey);
  transform-origin: 0 50%;
}

.progress-walker {
  --duck: 34px;
  position: absolute;
  bottom: 1px;
  left: 0;
  width: var(--duck);
}

.progress-slip {
  display: block;
  transform: skewX(var(--lean, 0deg));
  transform-origin: 50% 100%;
}

.progress-duck {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 90%;
}

.progress-quack {
  position: absolute;
  right: 4px;
  bottom: calc(var(--duck) + 6px);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-stone-border);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink-black);
  white-space: nowrap;
  opacity: 0;
}

.progress-quack:empty {
  display: none;
}

.progress-quack.is-start {
  right: auto;
  left: 4px;
}

.progress-quack.is-start::after {
  right: auto;
  left: 12px;
}

.progress-quack::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  rotate: 45deg;
  background: var(--color-white);
  box-shadow: inset -1px -1px 0 0 var(--color-stone-border);
}

.progress.is-scripted .progress-bar {
  scale: var(--p, 0) 1;
}

.progress.is-scripted .progress-walker {
  translate: calc((100cqw - var(--duck)) * var(--p, 0)) 0;
}

.progress.is-scripted .progress-duck {
  rotate: calc(sin(var(--p, 0) * 62.83rad) * 7deg);
}

.progress.is-backward .progress-duck {
  scale: -1 1;
}

@media (prefers-reduced-motion: no-preference) {
  .progress-duck {
    transition: scale 420ms cubic-bezier(0.65, 0, 0.35, 1);
  }
}

@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
  }

  .progress-bar {
    animation: progress-fill linear both;
    animation-timeline: scroll(root);
  }

  .progress-walker {
    animation: progress-walk linear both;
    animation-timeline: scroll(root);
  }

  .progress-duck {
    animation: progress-waddle linear both;
    animation-timeline: scroll(root);
  }
}

@media (max-width: 639px) {
  .stage {
    aspect-ratio: 2 / 1;
    border-radius: 24px;
  }

  .stage-table {
    height: 22%;
  }

  .stage-cast {
    inset: auto 16% 22%;
  }

  .stage-cast li {
    width: 13cqw;
  }

  .stage-cast .stage-duck {
    width: 11cqw;
  }

  .stage-bubble {
    top: 22%;
  }

  .progress {
    height: 3px;
  }

  .progress-walker {
    --duck: 24px;
  }

  .progress-quack {
    font-size: 13px;
  }
}

@keyframes progress-fill {
  from {
    scale: 0 1;
  }
}

@keyframes progress-walk {
  from {
    translate: 0 0;
  }
  to {
    translate: calc(100cqw - var(--duck)) 0;
  }
}

@keyframes progress-waddle {
  0%,
  10%,
  20%,
  30%,
  40%,
  50%,
  60%,
  70%,
  80%,
  90% {
    rotate: -7deg;
  }
  5%,
  15%,
  25%,
  35%,
  45%,
  55%,
  65%,
  75%,
  85%,
  95% {
    rotate: 7deg;
  }
  100% {
    rotate: 0deg;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .post-card-image {
    transition: filter 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .post-card,
  .pill,
  .nav-link,
  .nav-account,
  .post-nav-link,
  a.tag,
  .shelf-things button {
    transition:
      background-color 150ms ease-out,
      translate 150ms ease-out;
  }

  .shelf-things button:hover {
    translate: 0 -3px;
  }

  .is-playable .stage-target:hover img {
    animation: stage-wiggle 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .stage-cast li {
    animation: stage-hop 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(240ms + var(--seat, 0) * 110ms);
  }

  .stage-cast li:nth-child(2) {
    --seat: 1;
  }

  .stage-cast li:nth-child(3) {
    --seat: 2;
  }

  .stage-cast li:nth-child(4) {
    --seat: 3;
  }

  .stage-bubble {
    animation: stage-pop 520ms cubic-bezier(0.16, 1, 0.3, 1) 760ms both;
  }

  .gh-content a[href^="https://tinytroop.estacouveflor.com/new"]::before,
  .gh-content a[href^="/new"]::before {
    transition:
      opacity 120ms ease-out,
      translate 520ms cubic-bezier(0.16, 1, 0.3, 1),
      scale 520ms cubic-bezier(0.16, 1, 0.3, 1),
      rotate 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  @supports (animation-timeline: view()) {
    .gh-content ol > li::before {
      animation: card-reveal linear both;
      animation-timeline: view();
      animation-range: entry 100% cover 30%;
    }

    .curtain-call > .curtain-actor {
      animation: curtain-rise linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }

    .curtain-call > .curtain-actor:nth-child(3) {
      animation-range: entry 20% entry 80%;
    }

    .curtain-call > .curtain-actor:nth-child(4) {
      animation-range: entry 30% entry 90%;
    }

    .curtain-call > .curtain-actor:nth-child(5) {
      animation-range: entry 40% entry 100%;
    }
  }
}

@keyframes stage-hop {
  0% {
    translate: 0 0;
    scale: 1 1;
  }
  30% {
    translate: 0 -14%;
    scale: 0.96 1.05;
  }
  60% {
    translate: 0 0;
    scale: 1.04 0.96;
  }
  100% {
    translate: 0 0;
    scale: 1 1;
  }
}

@keyframes stage-wiggle {
  30% {
    rotate: -6deg;
  }
  60% {
    rotate: 5deg;
  }
}

@keyframes stage-pop {
  from {
    opacity: 0;
    scale: 0.85;
  }
}

@keyframes curtain-rise {
  from {
    translate: 0 100%;
  }
  80% {
    translate: 0 -6%;
  }
  to {
    translate: 0 0;
  }
}

@keyframes card-reveal {
  0%,
  49.9% {
    transform: perspective(240px) rotateY(180deg);
    background:
      repeating-linear-gradient(45deg, transparent 0 5px, rgb(251 250 249 / 0.12) 5px 10px),
      var(--color-ink-black);
    box-shadow:
      inset 0 0 0 4px var(--color-ink-black),
      inset 0 0 0 5px rgb(251 250 249 / 0.3),
      0 2px 6px rgb(0 0 0 / 0.05);
    color: transparent;
  }
  49.9% {
    transform: perspective(240px) rotateY(90deg);
  }
  50% {
    transform: perspective(240px) rotateY(90deg);
    background: var(--color-white);
    box-shadow:
      inset 0 0 0 1px var(--color-stone-border),
      0 2px 6px rgb(0 0 0 / 0.05);
    color: var(--color-ink-black);
  }
  100% {
    transform: perspective(240px) rotateY(0deg);
    background: var(--color-white);
    box-shadow:
      inset 0 0 0 1px var(--color-stone-border),
      0 2px 6px rgb(0 0 0 / 0.05);
    color: var(--color-ink-black);
  }
}

body:has(.progress) .site-footer {
  padding-bottom: 56px;
}

@media (prefers-reduced-motion: reduce) {
  .progress-duck {
    animation: none;
  }
}

@media (forced-colors: active) {
  .shelf-things button[aria-pressed="true"] {
    outline: 2px solid CanvasText;
    outline-offset: -2px;
  }

  .tag,
  .stage-bubble,
  .gag-say,
  .progress-quack {
    border: 1px solid CanvasText;
  }
}

@media print {
  .stage-wrap,
  .progress,
  .curtain-call,
  .post-nav,
  .skip-link {
    display: none;
  }

  .post-header:has(.stage) {
    display: flex;
  }
}

[data-visitor="account"] .visitor-guest,
:root:not([data-visitor="account"]) .visitor-account {
  display: none;
}
