/* Text typeface: Figtree (SIL Open Font License; licence in assets/fonts/figtree-OFL.txt), served from
   this site so every device shows the same face. One variable file covers all weights. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --cobalt: #132cd0;
  --blue: var(--cobalt); /* legacy name still used by the /inmoon/ and /about/ detail pages */
  --ink: #171717;
  --paper: #ffffff;
  --paper-blue: #ffffff;
  --muted: #6c6a64;
  --line: rgba(23, 23, 23, .18);
  --pad: clamp(20px, 4vw, 64px);
  --max: 1680px;
  /* Shared system tokens: see DESIGN_SYSTEM.md "Tokens and layout rules". */
  --title-height: clamp(40px, 6.4vw, 104px); /* letter height of every section wordmark */
  --reaction-size: 44px;                     /* height of reaction buttons and card-foot pills */
  --radius-card: calc(var(--card-inset) + var(--reaction-size) / 2); /* concentric with a reaction button sitting on the card inset: its corner arc is an even offset of the card's */
  --card-inset: clamp(20px, 3vw, 42px);      /* content inset inside those fields */
  --card-aspect: 16 / 9;                     /* every project card shares the Abloom card's proportion (3 / 4 on phones) */
  --label-size: .75rem;                      /* small uppercase labels */
  --label-track: .12em;
  /* Text roles: three colours, each with one job. */
  --text: var(--ink);          /* sentences people read */
  --text-identity: var(--cobalt); /* names, labels, links and buttons: anything that is GZVERSO speaking as itself */
  --text-quiet: var(--muted);  /* secondary status only (never labels or names) */
  --inmoon-tracking: .08;    /* InMoon letter gap as a fraction of glyph height (doubled from .04 on 2026-09-30) */
  --inmoon-word-space: .36;  /* InMoon word space as a fraction of glyph height */
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 30;
  padding: .75rem 1rem;
  background: var(--cobalt);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header, main, footer { width: min(100%, var(--max)); margin-inline: auto; }
.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between; /* wordmark on the gutter line at the left, Contact at the right */
  gap: 1rem;
  padding: 18px var(--pad);
  color: white;
}
/* Live InMoon wordmarks (GZVERSO, ABLOOM, INMOON) are built from glyph PNGs by app.js; --glyph sets their letter height. */
.inmoon-wordmark { display: block; width: max-content; max-width: 100%; line-height: 0; }
.inmoon-wordmark .hero-inmoon-line { justify-content: flex-start; transform-origin: left center; }
.inmoon-fallback { display: block; width: auto; height: var(--glyph, 32px); }
.brand .inmoon-wordmark { --glyph: clamp(20px, 2.4vw, 36px); }
/* Detail pages (/inmoon/, /about/) open on white, so the header sits in flow and uses the authored blue. */
.detail-page .site-header { position: relative; left: auto; transform: none; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; color: var(--cobalt); }
.detail-page .inmoon-wordmark img { filter: none; } /* authored blue on white detail pages */
.detail-page .site-header nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.detail-page .site-header a:not(.brand) { text-decoration: none; border-bottom: 1px solid transparent; }
.detail-page .site-header a:not(.brand):hover { border-bottom-color: currentColor; }
.detail-page .site-header a:focus-visible { outline-color: var(--cobalt); background: none; }
.contact-link { text-decoration: none; border-bottom: 1px solid currentColor; }
.site-header a:focus-visible,
.hero a:focus-visible {
  outline: 3px solid white;
  outline-offset: 5px;
  border-radius: 3px;
  background: rgba(0, 8, 36, .72);
}

.abloom-stage {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  border-radius: 0;
  background: #07336d;
  pointer-events: none;
  will-change: top, left, width, height, border-radius;
}
.abloom-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 12, 48, .08), rgba(0, 10, 35, .34));
}
.abloom-canvas { display: block; width: 100%; height: 100%; }

.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(118px, 14vw, 210px) var(--pad) clamp(48px, 7vw, 112px);
  color: white;
  text-align: center;
}
.hero-inmoon {
  width: min(94vw, 1380px);
  display: grid;
  justify-items: center;
  gap: clamp(12px, 2vw, 28px);
}
/* Every InMoon glyph line: spacing comes from the shared tokens, scaled by that line's --glyph height. */
.hero-inmoon-line {
  --glyph: clamp(40px, 7.4vw, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--glyph) * var(--inmoon-tracking));
  width: max-content;
  transform-origin: center;
}
.inmoon-wordmark .hero-inmoon-line { --glyph: inherit; }
.hero-inmoon-line img {
  width: auto;
  height: var(--glyph);
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}
.hero-inmoon-space {
  width: calc(var(--glyph) * var(--inmoon-word-space));
  flex: 0 0 auto;
}
.hero-content > p {
  max-width: 31ch;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
}
.down-link {
  width: max-content;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.no-script-display {
  max-width: 18ch;
  color: white;
  font-size: clamp(2.5rem, 8vw, 8rem);
  line-height: .94;
  text-wrap: balance;
}

.work { position: relative; background: var(--paper); border-top: 1px solid var(--line); }
.project { padding: clamp(80px, 10vw, 170px) var(--pad); }
.project + .project { border-top: 1px solid var(--line); }
.project-heading {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin: clamp(26px, 4vw, 54px) 0 0; /* every project: card first, then its name and sentence beneath */
}
.project-index {
  grid-column: 1 / 4;
  color: var(--text-identity);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}
/* Section titles sit under their index label; wordmarks are tightly cropped, so equal height = equal letter size. */
.project-heading .project-index { grid-column: 1 / 7; grid-row: 1; align-self: end; }
/* Reactions live with the project's words, outside its card, in the same place for all four. */
.project-cheer { grid-column: 7 / 13; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; } /* right edge lines up with the card's */
.cheer-hint { color: var(--text-identity); font-size: var(--label-size); letter-spacing: var(--label-track); text-transform: uppercase; }
.project-heading h2, .moving-image-title { grid-row: 2; margin: 0; line-height: 0; }
.project-heading h2 { grid-column: 1 / 10; }
.project-heading h2 img, .moving-image-title img { width: auto; max-width: 100%; height: var(--title-height); object-fit: contain; object-position: left center; }
.project-heading .inmoon-wordmark, .moving-image-title .inmoon-wordmark { --glyph: var(--title-height); }
.project-heading .inmoon-wordmark img { filter: none; }
.project-intro {
  grid-column: 10 / 13;
  grid-row: 2;
  align-self: end;
  max-width: 31ch;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.word-tester {
  display: flex;
  flex-direction: column;
  aspect-ratio: var(--card-aspect);
  padding: var(--card-inset);
  overflow: clip;
  border-radius: var(--radius-card);
  background: var(--cobalt);
  color: white;
}
.tester-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(14px, 2.4vw, 36px);
}
.tester-topline label { font-size: var(--label-size); letter-spacing: var(--label-track); text-transform: uppercase; }
.tester-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; }
.tester-switch { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.tester-spacing { display: flex; align-items: center; gap: .75rem; font-size: var(--label-size); letter-spacing: var(--label-track); text-transform: uppercase; }
.tester-spacing input { width: clamp(96px, 11vw, 160px); margin: 0; accent-color: white; cursor: pointer; }
.tester-switch button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.tester-switch button[aria-pressed="true"] { border-bottom-color: currentColor; }
.word-tester button:focus-visible,
.word-tester input:focus-visible { outline-color: white; }
#inmoon-word {
  display: block;
  width: 100%;
  max-height: 2.5em; /* two lines, then the limit stops it */
  padding: 0 0 .25em;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-size: clamp(1.4rem, 2.8vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  caret-color: white;
  resize: none;
  overflow: hidden;
}
#inmoon-word::selection { background: white; color: var(--cobalt); }
.word-tester-output {
  flex: 1 1 auto;
  min-height: clamp(84px, 12vw, 200px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 28px) 0;
}
/* Words wrap onto further lines; app.js picks the largest letter height (--tester-glyph) at which
   the whole text fits the space. The Spacing slider sets --tester-tracking (fraction of that height). */
.word-tester-line {
  --tester-glyph: 100px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  column-gap: calc(var(--tester-glyph) * var(--inmoon-word-space));
  row-gap: calc(var(--tester-glyph) * .24);
  width: 100%;
}
.word-tester-word { display: flex; flex: 0 0 auto; gap: calc(var(--tester-glyph) * var(--tester-tracking, var(--inmoon-tracking))); }
.word-tester-line img { width: auto; height: var(--tester-glyph); flex: 0 0 auto; filter: brightness(0) invert(1); }
.word-tester-status { color: rgba(255,255,255,.68); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 0;
  padding: .78rem 1.15rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--cobalt);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.project-link:not(:disabled):hover,
.project-link:not(:disabled):focus-visible { background: var(--cobalt); color: white; }
.project-link--disabled { background: transparent; opacity: 1; cursor: default; }
.project-link--disabled small {
  margin-left: .2rem;
  padding-left: .75rem;
  border-left: 1px solid currentColor;
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}

.project-visual { margin: 0; }
.cubittown-visual img { width: 100%; background: white; }
.project-visual figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}

.abloom-frame {
  position: relative;
  z-index: 2;
  aspect-ratio: var(--card-aspect);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: transparent;
  color: white;
}
.abloom-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 12, 39, .42));
  pointer-events: none;
}
.abloom-frame-title {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 72%;
  transform: translate(-50%, -50%);
}
.abloom-line .hero-inmoon-line {
  justify-content: flex-start;
  transform-origin: left center;
}
.abloom-line .hero-inmoon-line { --glyph: clamp(30px, 3.4vw, 56px); }
.abloom-line .hero-inmoon-line img {
  filter: brightness(0) invert(1);
}
/* Line drawing of a phone: Abloom's mobile embodiment is in development. */
.abloom-phone {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  height: 76%;
  aspect-ratio: 9 / 19.5;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  /* Elliptical percentages keep the corner in proportion to the drawn phone at any size (≈ an iPhone's corner). */
  border-radius: 15% / 7%;
}
.abloom-phone::before,
.abloom-phone::after {
  content: "";
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: white;
}
.abloom-phone::before { right: -5px; top: 26%; height: 13%; }
.abloom-phone::after { left: -5px; top: 20%; height: 18%; }
.abloom-phone-island {
  position: absolute;
  top: 3.2%;
  left: 50%;
  width: 32%;
  height: 3.6%;
  transform: translateX(-50%);
  border: 1.5px solid white;
  border-radius: 999px;
}
.abloom-next {
  position: absolute;
  z-index: 3;
  left: var(--card-inset);
  top: var(--card-inset);
  display: grid;
  gap: .35rem;
  color: white;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  text-align: left;
}
.abloom-next span {
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  opacity: .8;
}

/* 04 is a project card like the others: label and title at the top, the lines in the middle,
   the YouTube button and reactions held in the bottom corners by the card inset. */
.moving-image {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 28px);
  aspect-ratio: var(--card-aspect);
  width: auto;
  margin: 0;
  padding: var(--card-inset);
  overflow: clip;
  border-radius: var(--radius-card);
  background: var(--cobalt);
  color: white;
}
.moving-image .project-index { color: rgba(255, 255, 255, .64); }
.moving-image-title img { filter: brightness(0) invert(1); }
.moving-inmoon {
  flex: 1 1 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(8px, 1.2vw, 18px);
  width: 100%;
  min-height: 0;
}
.moving-inmoon .hero-inmoon-line {
  --glyph: clamp(24px, 4.6vw, 78px);
  justify-content: flex-start;
  transform-origin: left center;
}
.moving-inmoon .hero-inmoon-line img {
  filter: brightness(0) invert(1);
}
.moving-image .no-script-display { max-width: 14ch; }
.youtube-button {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: .7rem;
  padding: .78rem 1.15rem;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.youtube-button:hover,
.youtube-button:focus-visible {
  background: white;
  color: var(--cobalt);
}

footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 7vw, 120px);
  padding: clamp(70px, 9vw, 140px) var(--pad) 40px;
}
.footer-title { max-width: 34ch; margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 3.6rem); line-height: 1.08; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; }

@media (max-width: 760px) {
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .hero, .hero-content { min-height: 100svh; }
  .hero-inmoon { width: 92vw; gap: 11px; }
  .project-index, .project-heading h2, .project-intro { grid-column: 1 / 13; }
  .project-intro { grid-row: 3; margin-top: 6px; }
  .project-cheer { grid-column: 1 / 13; grid-row: 4; margin-top: 10px; justify-content: flex-start; }
  .tester-topline { align-items: flex-start; flex-direction: column; }
  :root { --card-aspect: 3 / 4; }
  .moving-inmoon .hero-inmoon-line { --glyph: clamp(22px, 7vw, 38px); }
  .card-foot .project-link, .card-foot .youtube-button { font-size: .9rem; gap: .5rem; padding-inline: 1rem; }
  /* Portrait card, read top to bottom: status label, phone, then the line ABLOOM. All flush to the card inset. */
  .abloom-next { font-size: .95rem; gap: .15rem; }
  .abloom-phone { top: calc(var(--card-inset) + 58px); height: calc(100% - 2 * var(--card-inset) - 58px - 58px); transform: translateX(-50%); }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .abloom-stage { will-change: auto; }
}

.footer-brand .inmoon-wordmark { --glyph: clamp(40px, 5vw, 64px); }

/* Card foot: the project's action on the inset line at the left, reactions at the right. */
.card-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-top: auto; padding-top: clamp(10px, 1.6vw, 20px); }
.card-foot--paper { margin-top: clamp(18px, 2.4vw, 30px); padding-top: 0; }
.word-tester .project-link { color: white; }
.word-tester-status { margin: 0; }

/* Reactions: a way to cheer for a project before it is finished. Prototype — remembered on this
   device only; shared counts need a small backend and a privacy decision before release. */
/* Reactions: one white pill of three (thumbs up, heart, fire). Each has a reserved slot for its
   number, so nothing shifts when a count appears. */
.reactions {
  display: inline-flex;
  align-items: center;
  height: var(--reaction-size);
  padding: 0 .55rem;
  border: 1px solid var(--cobalt);
  border-radius: 999px;
  background: white;
  color: var(--cobalt);
}
.reactions button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .35rem;
  height: 100%;
  padding: 0 .55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: .85rem;
  line-height: 1;
  cursor: pointer;
}
.reaction-emoji { font-size: 1.1rem; filter: grayscale(1); opacity: .8; transition: filter .2s ease, opacity .2s ease, transform .18s ease; }
/* Always present and a fixed width (room for three digits), so the emoji never move. */
.reaction-count { display: inline-block; min-width: 3ch; text-align: left; font-variant-numeric: tabular-nums; font-weight: 500; }
.reactions button:hover .reaction-emoji { transform: translateY(-2px); opacity: 1; filter: none; } /* colour on hover says "press me" */
.reactions button[aria-pressed="true"] .reaction-emoji { filter: none; opacity: 1; }
.reactions button.is-bumped .reaction-emoji { animation: reaction-bump .32s ease; }
@keyframes reaction-bump { 40% { transform: scale(1.3); } }
.reactions button:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -3px; }
/* On white (CUBITTOWN) the white pill needs its cobalt line to be seen. */

/* Narrowest phones: the InMoon tester needs more height than 3:4, so every card takes 5:8 together. */
@media (max-width: 400px) {
  :root { --card-aspect: 5 / 8; }
}

/* Card-foot pills share the reaction height, so buttons, reactions and card corners stay concentric. */
.card-foot .project-link, .card-foot .youtube-button { min-height: var(--reaction-size); padding-block: 0; }
@media (prefers-reduced-motion: reduce) { .reactions button.is-bumped { animation: none; } }

/* CUBITTOWN: a blue-lined card of the same proportion as the others, holding artwork, pill and reactions. */
.cubittown-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: var(--card-aspect);
  padding: var(--card-inset);
  border: 1.5px solid var(--cobalt);
  border-radius: var(--radius-card);
  overflow: clip;
}
/* The artwork fills the space it is given instead of stretching the card to its natural size. */
.cubittown-card .cubittown-visual { position: relative; flex: 1 1 auto; min-height: 0; }
.cubittown-card .cubittown-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cubittown-card .card-foot--paper { margin-top: auto; padding-top: clamp(10px, 1.6vw, 20px); }

/* GZVERSO: the lines beside a preview screen. A poster shows first; YouTube loads only when it is pressed. */
.moving-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(16px, 3vw, 48px); } /* top-aligned: the screen sits on the card inset on three sides */
.moving-text { min-width: 0; display: grid; gap: clamp(12px, 1.6vw, 22px); align-content: start; }
.moving-body .moving-inmoon { flex: none; min-width: 0; overflow: clip; }
.channel-note { max-width: 34ch; color: rgba(255, 255, 255, .86); font-size: clamp(.95rem, 1.2vw, 1.15rem); }
.channel-preview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; } /* minmax(0, …) lets the one-line title truncate instead of widening the card */
.channel-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--reaction-size) / 2); background: rgba(0, 8, 60, .45); }
.channel-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.channel-poster img { width: 100%; height: 100%; object-fit: cover; }
.channel-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--cobalt); font-size: 1.1rem; padding-left: 3px; transition: transform .18s ease; }
.channel-poster:hover .channel-play { transform: translate(-50%, -50%) scale(1.08); }
.channel-poster:focus-visible { outline: 3px solid white; outline-offset: -4px; }
.channel-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.channel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.channel-title { min-width: 0; font-size: var(--label-size); letter-spacing: var(--label-track); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }
.channel-nav { display: flex; gap: 6px; flex: 0 0 auto; }
.channel-nav button { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: transparent; color: white; cursor: pointer; }
.channel-nav button:hover { background: white; color: var(--cobalt); }
.channel-nav button:focus-visible { outline: 3px solid white; outline-offset: 2px; }
@media (max-width: 760px) {
  .moving-body { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
  .channel-preview { order: -1; }
  .moving-body .moving-inmoon .hero-inmoon-line { --glyph: clamp(20px, 6.4vw, 34px); }
  .moving-body .moving-inmoon { gap: 7px; margin-top: 6px; }
  .channel-preview { gap: 6px; }
  .channel-nav button { width: 30px; height: 30px; }
}

/* Phones: a two-part pill becomes a deliberate two-line button instead of wrapping awkwardly (SITE-005). */
@media (max-width: 560px) {
  .card-foot .project-link { flex-direction: column; align-items: flex-start; gap: .15rem; padding: .5rem 1.1rem; border-radius: calc(var(--reaction-size) / 2); text-align: left; }
  .card-foot .project-link small { margin-left: 0; padding-left: 0; border-left: 0; }
}
/* The slogan runs on one line on wide screens and three on phones (set in data-lines-mobile). */
@media (max-width: 760px) {
  .hero-inmoon { gap: 12px; }
}
