/* MOFE home page: page-specific layout and illustration styles.
   Tokens and shared components come from ../DESIGN_SYSTEM/tokens.css. */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --rules: 1200px; /* the page column, framed by the side rules */
  --rail: 1200px;  /* content sits 24px inside the rules, in line with the nav */
}

/* SVG elements ignore the hidden attribute unless told */
[hidden] {
  display: none !important;
}

/* Ruled page: two hairlines frame the 1200px column from top to bottom (1024px and up) */

body {
  position: relative;
}

.page-rules {
  display: none;
}

@media (min-width: 1024px) {
  .page-rules {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }
  .page-rules::before,
  .page-rules::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }
  .page-rules::before {
    left: calc(50% - var(--rules) / 2);
  }
  .page-rules::after {
    right: calc(50% - var(--rules) / 2);
  }
  .site-header .container {
    max-width: var(--rules);
    padding-inline: 24px;
  }
}

.rail {
  position: relative;
  max-width: var(--rail);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 1024px) {
  .rail {
    padding-inline: 24px;
  }
}

/* Entrances: slide up and fade, once */

.rise {
  animation: rise 1s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(12px);
}

[data-reveal].is-in {
  animation: rise 1s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  [data-reveal].is-in {
    animation: none;
  }
  .js [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}

.is-still .rise,
.is-still [data-reveal],
.is-still [data-reveal].is-in,
.is-still .cap-text.is-in {
  opacity: 1;
  transform: none;
  animation: none;
}

.is-still .view {
  transition: none;
}

/* Header */

.site-header .nav {
  height: 68px;
}

/* Hero -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: calc(50% - var(--rules) / 2) -1px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 25%, transparent 75%);
  pointer-events: none;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-block: var(--space-40) var(--space-56);
}

.announce {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: var(--text-14);
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.announce > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
}

.announce-cta {
  border-left: 1px solid var(--line);
  color: var(--c-accent);
}

.announce:hover {
  border-color: var(--c-silver);
}

.announce:hover .announce-cta {
  color: var(--c-accent);
}

.announce-phone-arrow,
.say-phone {
  display: none;
}

.hero-h1 {
  margin-top: var(--space-24);
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 3.5rem); /* 40px on phones, 56px on desktop */
}

.hero-lead {
  max-width: 700px;
  margin-top: var(--space-20);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-32);
}

@media (max-width: 479px) {
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .announce {
    font-size: 13px;
  }
  .announce > span {
    padding-inline: 12px;
  }
  .say-desk {
    display: none;
  }
  .say-phone {
    display: inline;
  }
}

/* UI cards inside the illustration (11 to 14px text) ------------------------------- */

.ui {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  z-index: var(--z, 1);
  padding: 12px 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 14px 28px -14px rgb(0 0 0 / 0.16);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--c-ink);
}

.ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  min-height: 24px;
}

.ui-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-steel);
}

.ui-src svg {
  width: 15px;
  height: 15px;
  color: var(--c-ink);
}

.ui-meta,
.mono {
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--c-fog);
}

.ui-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.ui-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--c-steel);
}

.ui-to {
  font-size: 12px;
  color: var(--c-steel);
}

.ui-body {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--c-slate);
}

.ui-note {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
}

.note--stuck {
  color: var(--c-stuck);
}

.note--watch {
  color: var(--c-watch);
}

.note--ok {
  color: var(--c-ok);
}

/* Swaps: a before and an after state in the same spot. Default shows the after state. */
.swap {
  display: inline-grid;
}

.swap > * {
  grid-area: 1 / 1;
}

.s-before {
  opacity: 0;
  visibility: hidden;
}

.ui-actions {
  display: grid;
  margin-top: 12px;
  min-height: 26px;
  align-items: center;
}

.acts {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-input);
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
}

.mini-btn--approve {
  border-color: var(--c-smoke);
  font-weight: 600;
}

.sent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-steel);
}

.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-silver);
}

.dot--ok {
  background: var(--c-ok);
}

.dot--watch {
  background: var(--c-watch);
}

.dot--stuck {
  background: var(--c-stuck);
}

/* Inbox */
.mail {
  margin: 0 -14px -14px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.mail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "who time" "who tag";
  column-gap: 10px;
  row-gap: 3px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}

.mail-row:last-child {
  border-bottom: 0;
}

.mail-row > div {
  grid-area: who;
  min-width: 0;
}

.mail-row b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.mail-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--c-steel);
}

.mail-row time {
  grid-area: time;
  justify-self: end;
  font: 500 10.5px var(--font-mono);
  color: var(--c-fog);
}

.case {
  grid-area: tag;
  justify-self: end;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--c-mist);
  font: 500 10px var(--font-mono);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-slate);
  white-space: nowrap;
}

.case--muted {
  color: var(--c-fog);
}

/* Case stages */
.ui-title--badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.stages li {
  padding-top: 7px;
  border-top: 3px solid var(--c-ash);
  font-size: 10.5px;
  color: var(--c-fog);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.stages li.on {
  border-top-color: var(--c-ok);
  color: var(--c-steel);
}

.stages li.hot {
  border-top-color: var(--c-ok);
  color: var(--c-ink);
  font-weight: 500;
}

/* Order and tracker tables */
.lines {
  width: calc(100% + 28px);
  margin: 0 -14px;
  border-collapse: collapse;
  font-size: 12px;
}

.lines th {
  padding: 6px 14px;
  border-block: 1px solid var(--line);
  background: var(--c-paper-2);
  font: 500 10px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-fog);
  text-align: left;
}

.lines td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.lines td:nth-child(2),
.lines th:nth-child(2) {
  text-align: center;
}

.lines:not(.tracker) td:last-child,
.lines:not(.tracker) th:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.line--flag td {
  background: transparent; /* finished state: confirmed; the story tints it amber, then green, then clear */
}

.flag {
  display: grid;
  margin-top: 10px;
}

.flag-watch,
.flag-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}

.flag-watch .mini-btn {
  margin-left: auto;
}

.flag-ok {
  color: var(--c-ok);
}

.flash {
  padding: 1px 4px;
  margin: -1px -4px;
  border-radius: 4px;
}

.tracker td:first-child {
  font-weight: 500;
}

/* Inbox email with an attachment */
.attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  font-size: 11.5px;
  font-weight: 500;
}

.attach svg {
  width: 14px;
  height: 14px;
}

.pdf {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--c-paper-2);
}

.pdf i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--c-ash);
}

.pdf i:nth-child(1) { width: 60%; }
.pdf i:nth-child(2) { width: 90%; }
.pdf i:nth-child(3) { width: 80%; }
.pdf i:nth-child(4) { width: 45%; }

/* Calendar */
.cal-event {
  display: grid;
  gap: 1px;
  margin-top: 8px;
  padding: 8px 10px;
  border-left: 3px solid var(--c-smoke);
  border-radius: var(--radius-input);
  background: var(--c-paper-2);
  font-size: 12px;
}

.cal-event span {
  color: var(--c-steel);
}

.cal-event--new {
  border-left-color: var(--c-ink);
  background: var(--c-mist);
}

/* The cast in the scene ------------------------------------------------------------ */

.char {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  overflow: visible;
  offset-path: var(--path, none);
  offset-distance: 100%;
  offset-rotate: 0deg;
  offset-anchor: center;
  --ow: 0.78;
  --dw: 0.55;
  --mw: 0.75;
  --tag: var(--c-ok);
  --flat: 0;
  --smile: 1;
}

/* About 1.9 times the drawing size; outlines stay 1.5px, details 1px */
.char--envelope {
  width: 115px;
  height: 92px;
}

.char--slip {
  width: 84px;
  height: 108px;
}

.char--sheet {
  width: 100px;
  height: 100px;
}

/* Inside the symbols: white paper, ink outline, quiet details */
.ch-paper {
  fill: var(--paper, var(--c-paper));
  stroke: var(--c-ink);
  stroke-width: var(--ow, 1.5);
}

.ch-ring {
  fill: var(--c-paper);
  stroke: var(--c-ink);
  stroke-width: var(--dw, 1);
}

.ch-flap {
  stroke: var(--c-ink);
  stroke-width: var(--dw, 1);
}

.ch-detail {
  stroke: var(--c-smoke);
  stroke-width: var(--dw, 1);
}

.ch-mouth-flat,
.ch-mouth-smile {
  stroke-width: var(--mw, 1.4);
}

.ch-band {
  fill: var(--c-mist);
}

/* Per-character state comes in through inherited custom properties */
.ch-tag {
  fill: var(--tag, #2f7a4b);
}

.ch-mouth-flat {
  opacity: var(--flat, 0);
}

.ch-mouth-smile {
  opacity: var(--smile, 1);
}

.ch-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5s infinite;
}

.ch-breathe {
  animation: breathe 3.2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  92%,
  96%,
  100% {
    transform: scaleY(1);
  }
  94% {
    transform: scaleY(0.12);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.2px);
  }
}

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 17px;
  height: 24px;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.18));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ch-eye,
  .ch-breathe {
    animation: none;
  }
}

.is-still .ch-eye,
.is-still .ch-breathe {
  animation: none;
}

/* A live dot that pings once a second */
.hub-live {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.hub-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-accent);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Routes: 1px Smoke connectors from each system down to its card; ink-blue dots travel on them */
.route {
  stroke: var(--c-smoke);
  stroke-width: 1;
  stroke-linecap: round;
}

/* Dots that travel along a route: the box moves, the dot inside fades at each end */
.flow {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 6px;
  height: 6px;
  offset-path: var(--path, none);
  offset-rotate: 0deg;
  offset-anchor: center;
  animation: flow 4s linear infinite;
  animation-delay: var(--fd, 0s);
  pointer-events: none;
}

.flow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-accent);
  animation: flow-fade 4s linear infinite;
  animation-delay: var(--fd, 0s);
}

.flow--rail {
  animation-duration: 8s;
}

.flow--leg {
  animation-duration: 2s;
}

.flow--leg::before {
  animation-duration: 2s;
}

.flow--rail::before {
  animation-duration: 8s;
  background: var(--c-silver);
}

@keyframes flow {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}

@keyframes flow-fade {
  0%,
  100% {
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
}

/* Frozen frames (?t=): dots sit where they would be at that moment */
.is-still .flow,
.is-still .flow::before {
  animation-play-state: paused;
  animation-delay: calc(var(--fd, 0s) - var(--t, 0s));
}

.is-still .hub-live::after {
  animation: none;
}

.site-header .brand {
  font-size: var(--text-20);
}

@media (prefers-reduced-motion: reduce) {
  .flow,
  .hub-live::after {
    display: none;
  }
}

/* A table that ends the card ends at its last row */
.ui-tracker {
  padding-bottom: 0;
}

.tracker tbody tr:last-child td {
  border-bottom: 0;
}

/* What the team is waiting on */
.wait {
  display: grid;
  margin: 0 -14px -14px;
  padding: 0;
  list-style: none;
}

.wait li {
  display: grid;
  grid-template-columns: 7px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.wait li > b {
  font-weight: 500;
}

.wait li > span:last-child,
.wait li > .swap:last-child {
  grid-column: 2;
  color: var(--c-steel);
}

.wait .swap:first-child {
  grid-row: span 2;
}

.wait li > .dot {
  grid-row: span 2;
}

.dot--idle {
  background: var(--c-silver);
}

/* MOFE's activity log */
.log {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.log li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  color: var(--c-ink);
}

.log time {
  font: 500 11px var(--font-mono);
  color: var(--c-fog);
}

.ui-src svg use[href="#ic-mofe"] {
  fill: var(--c-accent);
}

/* Piece 2: the week as it is ---------------------------------------------------------- */

.manifesto {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.manifesto-rail {
  padding-block: var(--space-96);
}

@media (min-width: 1024px) {
  .manifesto-rail {
    padding-block: 120px;
  }
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 24px max(16px, calc(50% - var(--rules) / 2 + 16px));
  background-image: radial-gradient(rgb(0 0 0 / 0.11) 1px, transparent 1.3px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}

.manifesto-text {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-inline: auto;
  display: grid;
  gap: 1.05em;
  font-size: clamp(1.375rem, 1.05rem + 1.3vw, 1.875rem);
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--c-slate);
  text-wrap: pretty;
}

.mf-p {
  margin: 0;
  font: inherit;
  color: var(--c-steel);
}

.mf-strong {
  color: var(--c-ink);
}

.mf-close {
  font-weight: 500;
}

/* The three nouns in ink; the characters beside them carry the colour */
.mf-hl {
  color: var(--c-ink);
  background: none;
}

.mf-pair {
  white-space: nowrap;
}

.mf-more {
  margin: 0;
  line-height: 1;
}

.mf-more .text-link {
  font-size: var(--text-16);
}

.mf-chip {
  --paper: var(--c-tint-blue);
  --ow: 1.5;
  --dw: 1.05;
  --mw: 1.4;
  display: inline-block;
  width: 1.8em;
  height: 1.44em;
  vertical-align: -0.36em;
  margin: -0.3em 0.06em;
  overflow: visible;
  --tag: var(--c-stuck);
  --flat: 1;
  --smile: 0;
  transform: rotate(-6deg);
}

.mf-chip--tall {
  --paper: var(--c-tint-pink);
  width: 1.3em;
  height: 1.66em;
  vertical-align: -0.44em;
  --tag: var(--c-watch);
  transform: rotate(5deg);
}

.mf-chip--sq {
  --paper: var(--c-tint-lilac);
  width: 1.52em;
  height: 1.52em;
  vertical-align: -0.38em;
  --tag: var(--c-watch);
  transform: rotate(-4deg);
}

/* Stuck cards in two overlapping clusters beside the statement; a stuck character on each */
.mf-clip {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .mf-clip {
    left: calc(50% - var(--rules) / 2);
    right: calc(50% - var(--rules) / 2);
  }
}

.mf-cluster {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 300px;
}

.mf-cluster--left {
  left: 0;
}

.mf-cluster--right {
  right: 0;
}

.float-card {
  position: absolute;
  width: 250px;
  padding: 12px 14px 14px;
  display: grid;
  gap: 4px;
  justify-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 24px -12px rgb(0 0 0 / 0.14);
  transform: rotate(var(--r, 0deg));
  animation: drift 7s ease-in-out var(--dl, 0s) infinite alternate;
}

.float-card { width: 226px; }
.mf-a { left: 22px; top: 296px; }
.mf-b { left: 52px; top: 428px; z-index: 2; }
.mf-c { right: 22px; top: 262px; }
.mf-d { right: 52px; top: 400px; z-index: 2; }

/* The cast, stuck: tilted, flat-mouthed, tagged */
.float-char {
  position: absolute;
  z-index: 3;
  overflow: visible;
  transform: rotate(var(--r, 0deg));
  animation: drift 7s ease-in-out var(--dl, 0s) infinite alternate;
  --tag: var(--c-watch);
  --flat: 1;
  --smile: 0;
}

.mf-env {
  left: 168px;
  top: 214px;
  width: 104px;
  height: 83px;
  --paper: var(--c-tint-blue);
  --tag: var(--c-stuck);
  --ow: 0.87;
  --dw: 0.58;
  --mw: 0.81;
}

.mf-slip {
  right: 150px;
  top: 166px;
  width: 78px;
  height: 99px;
  --paper: var(--c-tint-pink);
  --ow: 0.85;
  --dw: 0.56;
  --mw: 0.8;
}

.mf-sheet {
  right: 26px;
  top: 548px;
  width: 88px;
  height: 88px;
  --paper: var(--c-tint-lilac);
  --ow: 0.89;
  --dw: 0.59;
  --mw: 0.83;
}

@keyframes drift {
  from {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  to {
    transform: translateY(-8px) rotate(calc(var(--r, 0deg) + 1.2deg));
  }
}

.fc-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.fc-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.fc-src svg {
  width: 14px;
  height: 14px;
  color: var(--c-ink);
}

.fc-meta {
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--c-ink);
  white-space: nowrap;
}

.fc-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.3;
}

.fc-sub {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.35;
}

/* Phones and tablets: one compact cluster above the statement */
@media (max-width: 1023px) {
  .mf-clip {
    position: relative;
    inset: auto;
    height: 252px;
    margin: var(--space-40) var(--gutter) 0;
    overflow: visible;
  }
  .mf-cluster {
    position: static;
    width: auto;
  }
  .mf-b,
  .mf-d,
  .mf-sheet {
    display: none;
  }
  .float-card.mf-a {
    left: 0;
    top: 8px;
    width: min(64%, 280px);
  }
  .float-card.mf-c {
    left: auto;
    right: 0;
    top: 136px;
    width: min(64%, 280px);
  }
  .mf-env {
    left: auto;
    right: 4%;
    top: 26px;
    width: 76px;
    height: 61px;
    --ow: 1.13;
    --dw: 0.75;
    --mw: 1.05;
  }
  .mf-slip {
    left: 9%;
    right: auto;
    top: 166px;
    width: 60px;
    height: 76px;
    --ow: 1.1;
    --dw: 0.73;
    --mw: 1.03;
  }
  .manifesto-rail {
    padding-top: var(--space-24);
    padding-bottom: var(--space-64);
  }
}

@media (max-width: 479px) {
  .float-card {
    padding: 10px 12px 12px;
  }
  .fc-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-card,
  .float-char {
    animation: none;
  }
}

.is-still .float-card,
.is-still .float-char {
  animation: none;
}

/* Placeholder for the pieces still to come */

.todo {
  position: relative;
  z-index: 2;
  padding-block: var(--space-64);
  text-align: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: var(--text-12);
}
