/* ==========================================================================
   Unsing — site styles
   Colors and sizes live in :root. Change them there, not further down.
   ========================================================================== */

/* ---------- Fonts: self-hosted Cormorant (SIL OFL, see ../fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Cormorant SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-sc-latin-500-normal.woff2") format("woff2");
  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: "Cormorant SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-sc-latin-ext-500-normal.woff2") format("woff2");
  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: "Cormorant SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-sc-latin-600-normal.woff2") format("woff2");
  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: "Cormorant SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-sc-latin-ext-600-normal.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  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;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --soot: #120d0d;          /* page background */
  --soot-2: #1c1514;        /* raised surfaces */
  --wax: #ece2cc;           /* main text (cream) */
  --wax-dim: #b3a78f;       /* secondary text */
  --blood: #8b1a2b;         /* brand red: buttons, boss bar. Not for text */
  --blood-hover: #a32337;
  --blood-edge: #b8394c;
  --blood-text: #db6b7b;    /* red that is readable as text on the dark background */
  --line: rgb(236 226 204 / 0.14);
  --line-strong: rgb(236 226 204 / 0.3);

  --font-display: "Cormorant SC", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Garamond, "Times New Roman", serif;

  /* Type scale: perfect fourth (4:3) from a 20px base */
  --step-0: 1.25rem;
  --step-1: 1.667rem;
  --step-2: 2.222rem;
  --step-3: 2.963rem;
  --small: 1.0625rem;

  --header-h: 3.5rem;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-space: clamp(4rem, 11vw, 8.5rem);
  --measure: 36rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem); /* anchors and focused fields land below the sticky header */
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--soot);
  /* faint film grain, tiled */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .89 0 0 0 0 .8 .065 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--wax);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--step-0);
  line-height: 1.55;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}

@media (min-width: 64em) {
  body {
    font-size: 1.3125rem;
  }
}

img,
iframe {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--blood-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wax);
}

:focus-visible {
  outline: 2px solid var(--blood-text);
  outline-offset: 3px;
}

::selection {
  background: var(--blood);
  color: var(--wax);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

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

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--wax);
  color: var(--soot);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.4em 1.3em 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--wax);
  background: var(--blood);
  border: 1px solid var(--blood-edge);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  color: var(--wax);
  background: var(--blood-hover);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.65;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgb(236 226 204 / 0.05);
  border-color: var(--wax);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.3em 1em 0.4em;
  font-size: var(--small);
}

.label-long {
  display: none;
}

@media (min-width: 40em) {
  .label-long {
    display: inline;
  }
  .label-short {
    display: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(18 13 13 / 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.wordmark {
  margin-right: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--wax);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--wax);
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--wax-dim);
  text-decoration: none;
}

.nav a:hover {
  color: var(--wax);
}

@media (min-width: 54em) {
  .nav {
    display: block;
  }
}

/* ---------- Hero: the boss entrance ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: 6rem clamp(2.5rem, 9vh, 5.5rem);
  overflow: hidden;
}

.hero-fog {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 80% 20%, rgb(139 26 43 / 0.28), transparent 70%),
    radial-gradient(55% 45% at 15% 5%, rgb(236 226 204 / 0.045), transparent 70%),
    linear-gradient(to bottom, transparent 60%, rgb(18 13 13 / 0.85));
}

.hero-inner {
  width: 100%;
}

.hero-name {
  margin-left: -0.04em;
  font-size: clamp(4.25rem, 21vw, 12rem);
  line-height: 0.8;
  letter-spacing: 0.015em;
  animation: fade-in 1.1s ease-out both;
}

.boss-bar {
  height: 0.75rem;
  margin: 1.1rem 0 1.75rem;
  padding: 2px;
  background: rgb(0 0 0 / 0.55);
  border: 1px solid rgb(236 226 204 / 0.35);
}

.boss-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(to bottom, #b02a40, var(--blood) 55%, #651120);
  box-shadow: 0 0 1.25rem rgb(139 26 43 / 0.6);
  transform-origin: left center;
  animation: bar-fill 1.5s cubic-bezier(0.22, 0.8, 0.2, 1) 0.35s both;
}

.hero-lede {
  max-width: 31rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.3125rem, 1.1rem + 0.9vw, 1.667rem);
  line-height: 1.42;
  animation: fade-in 0.8s ease-out 0.5s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fade-in 0.8s ease-out 0.6s both;
}

@media (max-width: 29.99em) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 1.5rem 0 0;
  font-size: var(--small);
  color: var(--wax-dim);
  animation: fade-in 0.8s ease-out 0.7s both;
}

.ember {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blood-text);
  box-shadow: 0 0 0.6rem var(--blood-text);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bar-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------- Sections ---------- */
main {
  padding-bottom: var(--section-space);
}

.section {
  padding-top: var(--section-space);
}

.section-title {
  margin-bottom: 1.5rem;
  font-size: var(--step-2);
  letter-spacing: 0.02em;
}

.split {
  display: grid;
}

@media (min-width: 56em) {
  .section-title {
    font-size: var(--step-3);
  }
  .split {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 2.3fr);
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
  .split > .section-title {
    margin-bottom: 0;
  }
}

.prose {
  max-width: var(--measure);
}

/* Cormorant's default old-style 1 and 0 look like i and o: use lining figures where it matters */
a[data-email],
.handle,
.input {
  font-variant-numeric: lining-nums;
}

.handle {
  font-weight: 600;
  color: var(--wax);
}

/* a button that looks like a text link (footer) */
.link-button {
  padding: 0;
  font: inherit;
  color: var(--wax);
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.link-button:hover {
  color: var(--blood-text);
}

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

/* ---------- About: the Ante lucem motif ---------- */
.motif {
  max-width: 34rem;
  margin: 0 0 2rem;
}

.motif img {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten; /* the image's black background melts into the page */
}

/* ---------- Tracks ---------- */
.track {
  display: grid;
  grid-template-areas:
    "title"
    "player"
    "body";
  row-gap: 1.25rem;
  padding-block: 2.75rem;
  border-top: 1px solid var(--line);
}

.track:first-child {
  padding-top: 0.5rem;
  border-top: 0;
}

.track-title {
  grid-area: title;
  font-size: var(--step-2);
}

.track-player {
  grid-area: player;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 35%, var(--glow, rgb(139 26 43 / 0.35)), transparent 72%),
    var(--soot-2);
  border: 1px solid var(--line);
}

.track-player > img,
.track-player > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.track-player > img {
  object-fit: cover;
}

/* SoundCloud's player is a light-scheme page. Matching it stops Chrome from painting
   a white backdrop behind it on our dark page while it loads. */
.track-player > iframe {
  color-scheme: light;
}

html.js .track-player > iframe {
  opacity: 0;
  transition: opacity 0.6s ease;
}

html.js .track-player > iframe.is-loaded {
  opacity: 1;
}

.track-body {
  grid-area: body;
  max-width: var(--measure);
}

.track-scoring {
  font-style: italic;
  color: var(--wax-dim);
}

@media (min-width: 56em) {
  .track {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      "player ."
      "player title"
      "player body"
      "player .";
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    row-gap: 0;
    padding-block: 3.5rem;
  }
  .track-title {
    margin-bottom: 1rem;
    font-size: var(--step-3);
  }
}

/* ---------- What I make ---------- */
.make-list {
  max-width: var(--measure);
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.make-list li {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.orchestral-only {
  max-width: var(--measure);
  margin: 0;
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.35;
}

/* ---------- How I work ---------- */
.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 40em) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

.steps > li {
  counter-increment: step;
}

.steps > li::before {
  content: counter(step, upper-roman);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--wax-dim);
}

.step-title {
  margin-bottom: 0.4rem;
  font-size: var(--step-1);
}

.steps p {
  margin: 0;
}

/* ---------- Prices and rights ---------- */
.price-list {
  max-width: var(--measure);
  margin: 0 0 1.75rem;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(1.25rem, 1fr) auto;
  align-items: last baseline;
  column-gap: 0.5rem;
  padding-block: 0.5rem;
}

/* dotted leader between item and price */
.price-row::after {
  content: "";
  grid-row: 1;
  grid-column: 2;
  align-self: end;
  margin-bottom: 0.45em;
  border-bottom: 2px dotted var(--line-strong);
}

.price-row dt {
  grid-row: 1;
  grid-column: 1;
}

.price-row dd {
  grid-row: 1;
  grid-column: 3;
  margin: 0;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

/* On phones, long items sit on their own line with the leader running to the price below */
@media (max-width: 35.99em) {
  .price-row.is-long {
    grid-template-columns: minmax(1.25rem, 1fr) auto;
  }
  .price-row.is-long dt {
    grid-column: 1 / -1;
  }
  .price-row.is-long::after {
    grid-row: 2;
    grid-column: 1;
  }
  .price-row.is-long dd {
    grid-row: 2;
    grid-column: 2;
  }
}

.terms {
  max-width: var(--measure);
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.terms li {
  position: relative;
  margin-bottom: 0.35rem;
  padding-left: 1.35rem;
}

/* small hollow diamond */
.terms li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0.15rem;
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid var(--wax-dim);
  transform: rotate(45deg);
}

.sub-title {
  margin-bottom: 0.5rem;
  font-size: var(--step-1);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: var(--measure);
  margin: 0;
}

.faq > div + div {
  margin-top: 1.5rem;
}

.faq dt {
  font-weight: 600;
}

.faq dd {
  margin: 0.15rem 0 0;
  color: var(--wax-dim);
}

/* ---------- Commission request ---------- */
.request-intro {
  max-width: 30rem;
  margin-bottom: 2rem;
}

.request-intro .section-title {
  margin-bottom: 1.5rem;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.contact-line {
  margin: 0;
  color: var(--wax-dim);
}

.contact-line + .contact-line {
  margin-top: 0.6rem;
}

.form-panel {
  max-width: 44rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: rgb(28 21 20 / 0.75);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.form-grid {
  display: grid;
  gap: 1.35rem;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field-label,
.form-grid legend {
  padding: 0;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
}

.optional {
  font-weight: 500;
  color: var(--wax-dim);
}

.hint {
  margin: 0.15rem 0 0.6rem;
  font-size: var(--small);
  color: var(--wax-dim);
}

.field-pair {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 36em) {
  .field-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}

.input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 1.1875rem; /* stays above 16px so iPhones don't zoom in on focus */
  line-height: 1.35;
  color: var(--wax);
  background: var(--soot);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.input::placeholder {
  color: #918672;
  opacity: 1;
}

.input:hover {
  border-color: rgb(236 226 204 / 0.45);
}

.input:focus-visible {
  outline: 2px solid var(--blood-text);
  outline-offset: 1px;
  border-color: var(--blood-text);
}

.input[aria-invalid="true"] {
  border-color: var(--blood-text);
}

textarea.input {
  min-height: 8.5rem;
  resize: vertical;
}

select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b3a78f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem;
}

.checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--blood);
}

.field-error {
  margin: 0;
  font-size: var(--small);
  color: var(--blood-text);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form-status {
  margin: 0;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--blood-text);
}

.fine {
  margin: 0;
  font-size: var(--small);
  color: var(--wax-dim);
}

/* honeypot: hidden from people, bots fill it in */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-done h3 {
  margin-bottom: 0.75rem;
  font-size: var(--step-2);
}

/* ---------- Tools ---------- */
.tools {
  max-width: var(--measure);
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 13rem;
  column-gap: 2rem;
}

.tools li {
  padding-block: 0.15rem;
  break-inside: avoid;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom));
  font-size: var(--small);
  color: var(--wax-dim);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--wax);
}

.footer-links a:hover {
  color: var(--blood-text);
}

/* ---------- Small pages (thanks, failed request, 404) ---------- */
.notice {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 7rem);
  min-height: calc(100svh - var(--header-h) - 7rem);
  padding-block: 4rem;
}

.notice h1 {
  margin-bottom: 1rem;
  font-size: var(--step-3);
}

.notice .prose p:last-of-type {
  margin-bottom: 1.75rem;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}
