/* pixelart.studio, design "Diorama" (owner's choice, 2026-12-03): the page is a walk through one day in one world. Flat bands of
   colour from the morning sky to the night, chunky frames and buttons, a round sans for everything to read, heavy for the big
   lines. The pixel face stays in the wordmark only: in Chrome its C, G, 0 and € all read as O, so it carries no headline, no
   label and no price. Pictures are shown as whole squares (image-rendering: pixelated). */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2?v=83f169a") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("/fonts/pixelify-sans-latin-700-normal.woff2?v=83f169a") format("woff2");
  font-weight: 700;
  font-display: block;
}

:root {
  --ink: #2a2440;
  --sky: #cfe9f2;
  --grass: #9fd08a;
  --grass-dark: #6fae5c;
  --sand: #f1dfb2;
  --paper: #fbf4e2;
  --sunset: #f8cda8;
  --dusk: #3b3767;
  --night: #1a1c38;
  --gold: #ffcf6b;
  --coral: #e8584a;
  --teal: #1f8a7d;
  --wood: #e2b377;
  --wood-dark: #7a4a2a;
  --shade: rgb(42 36 64 / 0.22);
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --sans: "Nunito", ui-rounded, ui-sans-serif, system-ui, sans-serif;
  --wrap: min(1140px, 100% - 44px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 500 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2 {
  margin: 0;
  font: 900 clamp(2.2rem, 4.6vw, 3.5rem) / 1.04 var(--sans);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0;
  font: 800 22px/1.2 var(--sans);
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

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

:focus-visible {
  outline: 4px solid var(--coral);
  outline-offset: 3px;
}

.kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 10px;
  background: var(--ink);
  color: #fff;
  font: 800 13px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- a band of the day, and the stepped edge it begins with ---------- */

.band {
  position: relative;
  padding: 84px 0 96px;
  background: var(--bg);
}

.band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--bg) 0 24px, transparent 24px 48px);
}

.band.first::before {
  content: none;
}

.sky { --bg: var(--sky); }
.grass { --bg: var(--grass); }
.sandy { --bg: var(--sand); }
.papery { --bg: var(--paper); }
.sunny { --bg: var(--sunset); }
.dusky { --bg: var(--dusk); color: #fff; }
.nighty { --bg: var(--night); color: #fff; }

.dusky .kicker {
  background: var(--gold);
  color: var(--ink);
}

.nighty .kicker {
  background: #fff;
  color: var(--ink);
}

/* a section's heading runs on one line where the page is wide enough (owner, 2026-12-03); the words under it keep a
   measure that reads well */
.head {
  margin-bottom: 42px;
}

.head h1,
.head h2 {
  text-wrap: balance;
}

.head p {
  max-width: 36em;
  margin: 16px 0 0;
  font-size: 20px;
}

/* ---------- chunky things ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--gold);
  color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  font: 800 17px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.08s,
    box-shadow 0.08s;
}

a.btn:hover,
button.btn:not([disabled]):hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--ink);
}

a.btn:active,
button.btn:not([disabled]):active {
  transform: translateY(6px);
  box-shadow: 0 0 0 var(--ink);
}

.btn.white,
.btn.ghost {
  background: #fff;
}

.btn.soon,
.btn[disabled] {
  background: #d9d4e6;
  color: #5d5778;
  cursor: default;
}

.box {
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shade);
}

.picture {
  padding: 6px;
  background: #fff;
  border: 6px solid var(--ink);
  box-shadow: 12px 12px 0 var(--shade);
}

.picture img {
  width: 100%;
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.mark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font: 700 24px/1 var(--pixel);
}

.logo {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 2px;
}

.logo i {
  width: 8px;
  height: 8px;
  background: #fff;
}

.logo i:nth-child(1),
.logo i:nth-child(5),
.logo i:nth-child(9) {
  background: var(--gold);
}
.logo i:nth-child(2) {
  background: var(--coral);
}
.logo i:nth-child(4) {
  background: var(--teal);
}
.logo i:nth-child(6) {
  background: #5b7fd0;
}
.logo i:nth-child(8) {
  background: #8f6fd6;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font: 800 16px/1 var(--sans);
}

.top nav a {
  text-decoration: none;
}

.top nav a:not(.btn):hover,
.top nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.top .btn {
  padding: 10px 16px;
  font-size: 15px;
  box-shadow: 0 4px 0 var(--ink);
}

/* ---------- hero: the morning ---------- */

.hero {
  padding: 0;
  overflow: hidden;
}

/* (the clouds pass behind the words and the picture, never over them) */
.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero .words {
  padding: 44px 0 0;
  text-align: center;
}

.hero h1 {
  max-width: 12em;
  margin: 0 auto;
  font-size: clamp(2.7rem, 6.6vw, 5.2rem);
  text-shadow: 4px 4px 0 #fff;
}

.hero h1 span {
  color: var(--coral);
}

.sub {
  max-width: 36em;
  margin: 22px auto 0;
  font-size: clamp(18px, 1.8vw, 21px);
}

/* (what it is and the way on stand under the picture) */
.hero .words.below {
  padding-top: 34px;
}

.hero .words.below .sub {
  margin-top: 0;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.cloud {
  position: absolute;
  left: -140px;
  width: 96px;
  height: 24px;
  background: #fff;
  box-shadow:
    24px -24px 0 #fff,
    48px -24px 0 #fff,
    -24px 0 0 #fff;
  opacity: 0.9;
  animation: drift 80s linear infinite;
}

.cloud.c1 {
  top: 120px;
  animation-duration: 70s;
  animation-delay: -20s;
}
.cloud.c2 {
  top: 300px;
  animation-duration: 95s;
  animation-delay: -60s;
}
.cloud.c3 {
  top: 520px;
  animation-delay: -5s;
}

@keyframes drift {
  to {
    transform: translateX(calc(100vw + 280px));
  }
}

.scene {
  position: relative;
  margin: 44px 0 0;
}

/* the prompt, typed on a wooden sign over the picture (one line high, whatever is typed) */
.sign {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  max-width: calc(100% - 52px);
  margin: 0 0 -4px 26px;
  padding: 10px 16px;
  overflow: hidden;
  background: var(--wood);
  border: 4px solid var(--ink);
  font: 800 16px/1.3 var(--sans);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sign::before {
  content: "› ";
  color: var(--coral);
}

[data-type].typing::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--coral);
  animation: pulse 0.9s steps(2) infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}

/* the world being made: about 2.3 : 1, on a narrow screen higher (its middle is shown) */
.world {
  min-width: 0;
  container-type: inline-size;
}

.frame {
  position: relative;
  overflow: hidden;
  height: max(100cqw * 824 / 1920, min(100cqw * 412 / 480, 440px));
  background: #2f5da8;
}

.frame .fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js .frame .fallback {
  display: none;
}

.js .frame.fallback-only .fallback {
  display: block;
}

.frame > canvas {
  position: absolute;
  image-rendering: pixelated;
  transition: opacity 0.9s ease;
}

.frame > canvas.gone {
  opacity: 0;
}

/* the town's engine runs under its picture at its own pixels: a box of 1920 × 824 at zoom 2; the script scales both to fill
   the frame and keeps their middle */
.frame > .engine {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 824px;
  overflow: hidden;
  transform-origin: 0 0;
  pointer-events: none;
}

.frame > .engine canvas {
  display: block;
  image-rendering: pixelated;
}

.frame > .engine canvas.hud {
  display: none;
}

/* the two ways out, at the foot of the picture at the end */
.ways-out {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ways-out.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ways-out .btn {
  padding: 10px 16px;
  font-size: 15px;
  box-shadow: 0 4px 0 var(--ink);
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: var(--ink);
  color: #fff;
  font: 800 clamp(11px, 1.15vw, 14px) / 1.1 var(--sans);
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.tag.on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.tag i {
  width: 8px;
  height: 8px;
  background: var(--z, #fff);
}

.tag.tip {
  z-index: 3;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.tag em {
  font-style: normal;
  font-weight: 600;
  opacity: 0.85;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dots button {
  width: 40px;
  height: 14px;
  padding: 0;
  border: 4px solid var(--ink);
  background: #fff;
  cursor: pointer;
}

.dots button.on {
  background: var(--coral);
}

/* the strip of grass the hero stands on, and who walks along it */
.ground {
  position: relative;
  height: 92px;
  margin-top: 30px;
  background: var(--grass);
  box-shadow: inset 0 8px 0 var(--grass-dark);
  overflow: hidden;
}

.walker {
  position: absolute;
  bottom: 8px;
  left: -80px;
  width: 70px;
  height: 84px;
  background: url("/media/sprite-mika.png?v=83f169a") 0 -168px / 280px 672px no-repeat;
  image-rendering: pixelated;
  animation:
    walk 0.5s steps(4) infinite,
    cross 30s linear infinite;
}

@keyframes walk {
  to {
    background-position-x: -280px;
  }
}

@keyframes cross {
  to {
    left: calc(100% + 20px);
  }
}

/* ---------- the three promises: boards in the grass ---------- */

.grass.after-hero {
  padding-top: 30px;
}

.boards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.board {
  position: relative;
  margin-bottom: 30px;
  padding: 24px 24px 26px;
  background: var(--wood);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shade);
}

.board::before,
.board::after {
  content: "";
  position: absolute;
  bottom: -34px;
  width: 14px;
  height: 30px;
  background: var(--wood-dark);
  border: 4px solid var(--ink);
  border-top: 0;
}

.board::before {
  left: 18%;
}

.board::after {
  right: 18%;
}

.board p {
  margin: 10px 0 0;
  font-size: 17px;
}

.board a {
  font-weight: 800;
}

/* ---------- how it works: three stops on a path ---------- */

.stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.stops::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 22px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 16px, transparent 16px 32px);
}

.stops li {
  position: relative;
  padding-top: 70px;
  counter-increment: s;
}

.stops li::before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--gold);
  border: 4px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  font: 900 24px/1 var(--sans);
}

.stops p {
  margin: 8px 0 0;
}

/* ---------- why not image generation ---------- */

.versus {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shade);
}

.versus th,
.versus td {
  padding: 18px 22px;
  border-top: 4px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

.versus thead th {
  border-top: 0;
  font: 800 14px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.versus tbody th {
  width: 20%;
  background: var(--sand);
  font: 800 20px/1.2 var(--sans);
}

.versus td {
  width: 40%;
  border-left: 4px solid var(--ink);
}

.versus thead th + th {
  border-left: 4px solid var(--ink);
}

.versus .them::before {
  content: "✕ ";
  color: var(--coral);
  font-weight: 900;
}

.versus .us {
  background: #e9f6ee;
  font-weight: 700;
}

.versus .us::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 900;
}

/* ---------- what you can make; who it is for ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
}

.shot .picture {
  padding: 4px;
  border-width: 4px;
  box-shadow: 8px 8px 0 var(--shade);
}

.shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shot h3 {
  margin: 16px 0 4px;
}

.shot p {
  margin: 0;
  font-size: 17px;
}

.who {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 30px;
  margin-top: 84px;
}

.house {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.12s;
}

.house:hover {
  transform: translateY(-4px);
}

.roof {
  height: 40px;
  background: var(--coral);
  clip-path: polygon(0 100%, 0 75%, 6% 75%, 6% 50%, 12% 50%, 12% 25%, 18% 25%, 18% 0, 82% 0, 82% 25%, 88% 25%, 88% 50%, 94% 50%, 94% 75%, 100% 75%, 100% 100%);
}

.r1 { background: var(--coral); }
.r2 { background: var(--teal); }
.r3 { background: #5b7fd0; }
.r4 { background: var(--gold); }
.r0 { background: #8f8aa8; }

.house .box {
  padding: 22px 22px 24px;
  box-shadow: none;
}

.house p {
  margin: 8px 0 14px;
  font-size: 17px;
}

.house span {
  color: var(--teal);
  font: 800 16px/1 var(--sans);
}

/* ---------- pricing: dusk, the windows lit ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.plan .box {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 24px;
  box-shadow: none;
}

.plan.best .box {
  background: #fff7d6;
}

.price {
  margin: 14px 0 0;
  font: 900 44px/1 var(--sans);
  letter-spacing: -0.02em;
}

.price small {
  font: 700 15px/1 var(--sans);
  letter-spacing: 0;
}

.budget {
  margin: 12px 0 0;
  font-weight: 800;
}

.plan ul {
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.plan li {
  position: relative;
  padding: 4px 0 4px 22px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 10px;
  background: var(--teal);
}

.plan .btn {
  margin-top: auto;
}

.under {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
  color: var(--ink);
}

.under .box {
  padding: 22px 22px 20px;
  box-shadow: none;
}

.under table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 17px;
}

.under td {
  padding: 8px 0;
  border-top: 3px dotted rgb(42 36 64 / 0.3);
}

.under td:last-child {
  text-align: right;
  font-weight: 800;
}

.note {
  margin: 12px 0 0;
  font-size: 15px;
}

.more-link {
  display: inline-block;
  margin-top: 26px;
  font-weight: 800;
}

/* ---------- questions and the way in: the night ---------- */

.nighty.last-band {
  padding-bottom: 0;
}

.stars {
  position: absolute;
  top: 26px;
  left: 4%;
  width: 4px;
  height: 4px;
  background: #fff;
  box-shadow:
    120px 40px 0 #fff,
    300px 14px 0 #ffe9a8,
    520px 70px 0 #fff,
    700px 26px 0 #fff,
    880px 60px 0 #ffe9a8,
    1040px 20px 0 #fff,
    1240px 54px 0 #fff,
    1420px 30px 0 #ffe9a8;
  animation: twinkle 3s steps(2) infinite;
}

@keyframes twinkle {
  50% {
    opacity: 0.45;
  }
}

.faq {
  display: grid;
  gap: 14px;
  max-width: 50em;
}

.faq details {
  background: #262a52;
  border: 4px solid #fff;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font: 800 20px/1.3 var(--sans);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-weight: 900;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0;
  padding: 0 20px 18px;
  color: #dcdcf2;
}

.last {
  padding: 110px 0 90px;
  text-align: center;
}

.last h2 {
  color: var(--gold);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  text-shadow: 4px 4px 0 #000;
}

.last p {
  max-width: 30em;
  margin: 16px auto 30px;
  color: #dcdcf2;
  font-size: 20px;
}

.join {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.join input[type="email"] {
  width: min(320px, 78vw);
  padding: 13px 16px;
  border: 4px solid #fff;
  background: #fff;
  color: var(--ink);
  font: 700 17px/1 var(--sans);
  box-shadow: 0 6px 0 #000;
}

.join .btn {
  border-color: #000;
  box-shadow: 0 6px 0 #000;
}

/* a field people never see or fill; whatever fills it is a robot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.last .join-note {
  margin: 18px auto 0;
  font-size: 15px;
  color: #b9b9da;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 24px 0 70px;
  border-top: 4px solid #fff;
  color: #c9c9e6;
  font-size: 15px;
}

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

/* ---------- a target group's page ---------- */

.ghead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 0;
}

.ghead h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  text-shadow: 4px 4px 0 #fff;
}

.ghead .sub {
  margin: 20px 0 0;
}

.ghead .cta {
  justify-content: flex-start;
}

.gshow {
  margin: 0;
}

.gshow figcaption {
  margin-top: 16px;
  font-size: 15px;
}

.gcode {
  padding: 0;
  background: var(--night);
}

.gcode pre {
  margin: 0;
  padding: 24px 22px;
  overflow-x: auto;
  color: #dcdcf2;
  font: 400 clamp(12px, 1.25vw, 15px) / 1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.gcode .a { color: #fff; }
.gcode .b { color: #9db9ff; }
.gcode .c { color: #8fe3b4; }
.gcode .d { color: var(--gold); }

.pairs {
  display: grid;
  gap: 26px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 56px 1.1fr;
  align-items: stretch;
}

.pair .need,
.pair .answer {
  padding: 22px 24px;
  border: 4px solid var(--ink);
}

.pair .need {
  background: #fff;
}

.pair .answer {
  background: #e9f6ee;
  box-shadow: 8px 8px 0 var(--shade);
}

.pair p {
  margin: 8px 0 0;
  font-size: 17px;
}

/* the step from the problem to the answer: a dashed path */
.pair .to {
  align-self: center;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px);
}

.gets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 30px;
}

/* ---------- the imprint, the privacy policy, a short note ---------- */

.legal {
  width: min(760px, 100% - 44px);
  margin: 0 auto;
  padding: 30px 0 20px;
}

.legal h1 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.legal p {
  margin: 0 0 14px;
}

.legal .stand {
  opacity: 0.75;
}

.note-page {
  padding: 60px 0 40px;
  text-align: center;
}

.note-page p {
  max-width: 32em;
  margin: 18px auto 30px;
  font-size: 20px;
}

/* ---------- arrival: only with the script and with motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
  }
  .js [data-reveal].in {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 920px) {
  .top nav a:not(.btn) {
    display: none;
  }
  .boards,
  .stops,
  .gallery,
  .under,
  .ghead {
    grid-template-columns: 1fr;
  }
  .stops::before {
    display: none;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .versus thead {
    display: none;
  }
  .versus tbody th,
  .versus td {
    display: block;
    width: auto;
    border-left: 0;
  }
  .sign {
    margin-left: 8px;
    max-width: calc(100% - 16px);
    font-size: 14px;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .pair .to {
    width: 8px;
    height: 26px;
    margin-left: 30px;
    background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 16px);
  }
}

@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
  }
  .band {
    padding: 64px 0 76px;
  }
  .mark {
    font-size: 20px;
  }
}

/* ---------- the signed-in part: signing in, a team, a project ---------- */

.top form {
  margin: 0;
}

.top .me {
  font-weight: 600;
  opacity: 0.75;
}

.app-body {
  padding: 34px 0 20px;
}

.app-body h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.app-body .kicker a {
  color: inherit;
}

.narrow {
  max-width: 30em;
  margin: 40px auto 30px;
}

.narrow .sub {
  margin: 14px 0 26px;
}

.flash {
  margin: 0 0 22px;
  padding: 12px 16px;
  border: 4px solid var(--ink);
  font-weight: 700;
}

.flash.ok {
  background: #e9f6ee;
}

.flash.bad {
  background: #ffe3de;
}

.hint {
  margin: 8px 0 16px;
  font-size: 16px;
  opacity: 0.85;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 22px 0 8px;
}

.facts dt {
  font: 800 13px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.facts dd {
  margin: 6px 0 0;
  font: 800 20px/1.25 var(--sans);
}

.facts small {
  font-weight: 600;
  font-size: 14px;
  opacity: 0.75;
}

.panel {
  margin-top: 30px;
  padding: 24px 26px 26px;
}

.panel h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
}

.stack {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.stack.box {
  padding: 22px;
}

.stack label {
  font-weight: 800;
}

.line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.app-body input[type="text"],
.app-body input[type="email"],
.app-body select,
.app-body textarea,
.app-body input[type="file"] {
  min-width: min(100%, 260px);
  padding: 11px 14px;
  border: 4px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: 600 17px/1.3 var(--sans);
}

.app-body textarea {
  width: 100%;
  resize: vertical;
}

.stack input {
  width: 100%;
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px dotted rgb(42 36 64 / 0.3);
}

.rows li {
  border-bottom: 3px dotted rgb(42 36 64 / 0.3);
}

.rows li > a,
.rows li:not(:has(> a)) {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  text-decoration: none;
}

.rows li > a:hover b {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.rows .empty,
.refs .empty {
  opacity: 0.75;
}

.list {
  width: 100%;
  border-collapse: collapse;
}

.list th,
.list td {
  padding: 10px 6px 10px 0;
  border-bottom: 3px dotted rgb(42 36 64 / 0.3);
  text-align: left;
}

.list th {
  font: 800 13px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.list td:last-child {
  text-align: right;
}

.list td span {
  opacity: 0.75;
}

.list form {
  margin: 0;
}

button.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--coral);
  font: 800 16px/1.2 var(--sans);
  text-decoration: underline;
  cursor: pointer;
}

.notes {
  margin: 0;
  white-space: pre-wrap;
  font: 500 17px/1.6 var(--sans);
}

.refs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 24px;
}

.refs figure {
  margin: 0;
}

.refs .picture {
  padding: 4px;
  border-width: 4px;
  box-shadow: 6px 6px 0 var(--shade);
}

.refs img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f1eee6;
}

.refs figcaption {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  font-size: 15px;
}

.tagchip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--ink);
  color: #fff;
  font: 700 13px/1.4 var(--sans);
  font-style: normal;
}

@media (max-width: 920px) {
  .top .me {
    display: none;
  }
  .line > * {
    flex: 1 1 100%;
  }
}

.app {
  min-height: calc(100vh - 230px);
}

.narrow .hint {
  margin-top: 26px;
}

.panel h2 + .rows,
.panel h2 + .list {
  margin-top: 16px;
}

/* ---------- building in a project ---------- */

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.quote {
  margin-top: 22px;
  padding: 18px 20px;
  border: 4px solid var(--ink);
  background: #fff;
}

.pieces {
  margin: 12px 0 14px;
  padding-left: 1.4em;
}

.pieces li {
  padding: 3px 0;
}

.pieces span,
.pieces small {
  opacity: 0.75;
}

.cost {
  margin: 0 0 14px;
  font-size: 20px;
}

.cost span {
  font-size: 16px;
  opacity: 0.8;
}

.assets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 26px;
  align-items: start;
}

.asset .picture {
  display: grid;
  place-items: center;
  padding: 10px;
  border-width: 4px;
  background: #cfe3c4;
  box-shadow: 6px 6px 0 var(--shade);
  overflow: auto;
  max-height: 420px;
}

/* (a sheet is shown at whole multiples of its pixels, as its width and height say, never stretched to the card) */
.asset .picture img {
  flex: none;
  width: auto;
  height: auto;
  max-width: none;
  image-rendering: pixelated;
}

.asset h3 {
  margin-top: 14px;
}

.asset p {
  margin: 6px 0 0;
  font-size: 15px;
}

.asset .files {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-weight: 800;
}

.asset .files form {
  margin: 0;
}

.asset .tags .tagchip:first-child {
  margin-left: 0;
}
