/* ==========================================================================
   ENZA RAMEN // STYLE.CSS // REV 0.1
   Raw blocks. Thick borders. Hard shadows. No gradients. No blur.
   ========================================================================== */

:root {
  --paper: #F2EEE3;
  --bone: #FBF9F3;
  --ink: #111111;
  --tomato: #E8412C;
  --yolk: #FFC629;
  --yolk-pale: #FFE7A3;

  --line: 3px solid var(--ink);
  --line-thick: 4px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: clamp(1rem, 3.2vw, 2.25rem);
  --max: 1320px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("/assets/grid.svg");
  background-size: 32px 32px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

main,
.site-header,
.site-footer {
  max-width: var(--max);
  margin-inline: auto;
}
main { border-inline: var(--line); background: transparent; }
@media (max-width: 1340px) { main { border-inline: 0; } }

svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }

:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--yolk);
}

::selection { background: var(--yolk); color: var(--ink); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.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 {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 50;
  padding: .7rem 1rem;
  border: var(--line);
  background: var(--yolk);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.skip:focus { top: 1rem; }

/* ---------- atoms ---------- */

.tag {
  display: inline-block;
  margin: 0;
  padding: .28rem .55rem .22rem;
  border: 2px solid var(--ink);
  background: var(--bone);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .74rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.tag--yolk { background: var(--yolk); }
.tag--red { background: var(--tomato); }
.tag--lg { font-size: .85rem; padding: .45rem .75rem .38rem; border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }

.btn,
.signal__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .8rem 1.35rem;
  border: var(--line);
  border-radius: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .08s steps(2), box-shadow .08s steps(2), background-color .08s;
}
.btn:hover,
.signal__form button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active,
.signal__form button:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn--red { background: var(--tomato); }
.btn--yolk { background: var(--yolk); }

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

.site-header { position: relative; z-index: 10; border-bottom: var(--line); background: var(--paper); }
@media (min-width: 1341px) { .site-header { border-inline: var(--line); } }

.statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 0;
  padding: .45rem var(--pad);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .05em;
}
.statusbar span { white-space: nowrap; }
.statusbar span + span::before { content: "//"; margin: 0 .75rem; color: var(--yolk); }
.statusbar b { color: var(--yolk); font-weight: 700; }
.statusbar__clock[hidden] { display: none; }

.bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem var(--pad);
  border-right: var(--line);
  text-decoration: none;
}
.logo .mark { width: 40px; height: 40px; }
.logo__word { font-family: var(--display); font-size: 1.75rem; line-height: 1; letter-spacing: -.02em; }
.logo__sub {
  padding: .2rem .4rem;
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .12em;
}
.logo:hover .logo__word { color: var(--tomato); -webkit-text-stroke: 1px var(--ink); }

.nav ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav li { display: flex; border-left: var(--line); }
.nav a {
  display: flex;
  align-items: center;
  padding: 0 clamp(.9rem, 2vw, 1.6rem);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] { background: var(--ink); color: var(--yolk); }
.nav .nav__cta { background: var(--yolk); }
.nav .nav__cta:hover { background: var(--tomato); color: var(--ink); }

@media (max-width: 720px) {
  .bar { flex-direction: column; }
  .logo { border-right: 0; border-bottom: var(--line); }
  .nav ul { display: grid; grid-template-columns: repeat(4, 1fr); }
  .nav li:first-child { border-left: 0; }
  .nav a { flex: 1; justify-content: center; min-height: 3rem; padding: 0 .25rem; font-size: .8rem; }
}

/* ---------- hero ---------- */

.hero { display: grid; border-bottom: var(--line); }
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.hero__type {
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--pad) clamp(2rem, 5vw, 3.5rem);
  background: var(--bone);
}

.hero__title {
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(4.25rem, 17.5vw, 11.5rem);
  line-height: .8;
  letter-spacing: -.045em;
}
.hero__title span { display: block; }
.hero__title span + span { color: var(--tomato); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }

.hero__hook {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1.04;
  text-transform: uppercase;
}
.hero__sub {
  max-width: 46ch;
  margin-bottom: 1.75rem;
  font-family: var(--mono);
  font-size: .9rem;
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

.hero__fig {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--yolk);
  border-top: var(--line);
}
@media (min-width: 980px) {
  .hero__fig { border-top: 0; border-left: var(--line); }
}
.fig__cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem var(--pad);
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
}
.fig__art { flex: 1; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem); }
.fig__art .bowl { width: 100%; max-width: 480px; }
.fig__legend {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--line);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .78rem;
}
.fig__legend li {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .8rem;
  margin: 0 -3px -3px 0;
  border-right: var(--line);
  border-bottom: var(--line);
  background: var(--bone);
}
.fig__legend b {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .75rem;
}

.bowl__n { font-family: var(--mono); font-weight: 700; font-size: 18px; fill: var(--bone); }
.bowl__q { font-family: var(--display); font-size: 120px; fill: var(--ink); stroke: none; }

.steam polyline { animation: steam 1.2s steps(3) infinite; }
.steam .steam__b { animation-delay: -.4s; }
.steam .steam__c { animation-delay: -.8s; }
@keyframes steam {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-12px); opacity: .2; }
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--tomato);
}
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__run { display: flex; align-items: center; flex-shrink: 0; }
.ticker span,
.ticker i {
  padding: .7rem 0;
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1;
  white-space: nowrap;
}
.ticker i { margin: 0 1.1rem; font-size: .9em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- blocks ---------- */

.block { border-bottom: var(--line); }

.block__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: var(--line);
  background: var(--bone);
}
.block__num {
  display: grid;
  place-items: center;
  min-width: 4.5rem;
  padding: .75rem 1rem;
  border-right: var(--line);
  background: var(--ink);
  color: var(--yolk);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
}
.block__head h2,
.block__label {
  align-self: center;
  margin: 0;
  padding: .85rem var(--pad);
  font-family: var(--display);
  font-size: clamp(1.7rem, 5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.block__meta {
  display: flex;
  align-items: center;
  padding: .75rem var(--pad);
  border-left: var(--line);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .05em;
}
@media (max-width: 720px) {
  .block__meta { display: none; }
  .block__num { min-width: 3.25rem; }
}

/* house rules */
.rules {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--ink);
  border-bottom: var(--line);
}
@media (min-width: 860px) {
  .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rule--wide { grid-column: span 2; }
}
.rule {
  padding: clamp(1.4rem, 3.5vw, 2.4rem) var(--pad);
  background: var(--bone);
  transition: background-color .05s;
}
.rule:hover { background: var(--yolk-pale); }
.rule--yolk, .rule--yolk:hover { background: var(--yolk); }
.rule--red, .rule--red:hover { background: var(--tomato); }
.rule--ink, .rule--ink:hover { background: var(--ink); color: var(--paper); }
.rule--ink .rule__n { color: var(--yolk); }
.rule__n {
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
}
.rule h3 {
  margin-bottom: .8rem;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}
.rule--wide h3 { max-width: 14ch; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: .9; letter-spacing: -.03em; }
.rule p:last-child { max-width: 52ch; margin: 0; }

/* spec sheet */
.spec { padding: clamp(1.25rem, 3.5vw, 2.5rem) var(--pad) clamp(1.75rem, 4vw, 3rem); }
.spec__intro { max-width: 60ch; margin-bottom: 1.5rem; font-family: var(--mono); font-size: .88rem; }
.spec__intro::before { content: "> "; color: var(--tomato); font-weight: 700; }

.spec__table {
  width: 100%;
  border-collapse: collapse;
  border: var(--line-thick);
  background: var(--bone);
  box-shadow: var(--shadow-lg);
}
.spec__table th,
.spec__table td {
  padding: .85rem .9rem;
  border: 2px solid var(--ink);
  text-align: left;
  vertical-align: top;
}
.spec__table thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .08em;
  border-color: var(--ink);
}
.spec__table thead th + th { border-left-color: #444; }
.spec__table tbody tr { transition: background-color .05s; }
.spec__table tbody tr:hover { background: var(--yolk-pale); }
.spec__id { font-family: var(--mono); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.spec__name { min-width: 12rem; font-family: var(--display); font-weight: 400; font-size: 1.1rem; line-height: 1.1; text-transform: uppercase; }
.spec__name .tag { margin-top: .5rem; }
.spec__mono { font-family: var(--mono); font-size: .82rem; line-height: 1.45; }
.spec__notes { min-width: 18rem; font-size: 1rem; }

@media (max-width: 900px) {
  .spec__table,
  .spec__table tbody,
  .spec__table tr,
  .spec__table th,
  .spec__table td { display: block; width: 100%; }
  .spec__table { border: 0; background: transparent; box-shadow: none; }
  .spec__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec__table tbody tr {
    margin-bottom: 1.5rem;
    border: var(--line);
    background: var(--bone);
    box-shadow: var(--shadow);
  }
  .spec__table th,
  .spec__table td { min-width: 0; border: 0; border-bottom: 2px solid var(--ink); }
  .spec__table td:last-child { border-bottom: 0; }
  .spec__table [data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .25rem;
    font-family: var(--mono);
    font-weight: 700;
    font-size: .68rem;
    letter-spacing: .1em;
    color: #555;
  }
  .spec__id { background: var(--ink); color: var(--yolk); }
  .spec__table .spec__id::before { display: none; }
  .spec__name { font-size: 1.3rem; }
}

/* counter */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow li {
  position: relative;
  padding: clamp(1rem, 3vw, 1.75rem) var(--pad);
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.4vw, 2.5rem);
  line-height: 1;
  background: var(--bone);
}
.flow li:nth-child(2) { background: var(--yolk); }
.flow li:nth-child(3) { background: var(--tomato); }
.flow li:nth-child(4) { background: var(--ink); color: var(--yolk); }
.flow li + li { border-left: var(--line); }
.flow span { display: block; margin-bottom: .6rem; font-family: var(--mono); font-weight: 700; font-size: .78rem; }
@media (max-width: 560px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(3) { border-left: 0; }
  .flow li:nth-child(n+3) { border-top: var(--line); }
}

/* waitlist */
.signal { background: var(--tomato); }
.signal .block__head { background: var(--tomato); }
.signal__body {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--pad);
  align-items: end;
}
@media (min-width: 960px) {
  .signal__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.signal__title {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: .88;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.signal__copy p { max-width: 42ch; margin: 0; font-size: 1.15rem; font-weight: 500; }

.signal__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  border: var(--line-thick);
  background: var(--bone);
  box-shadow: var(--shadow-lg);
}
.signal__form input[type="email"] {
  min-width: 0;
  min-height: 4rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
}
.signal__form input[type="email"]::placeholder { color: #5E5E5E; opacity: 1; }
.signal__form input[type="email"]:focus-visible { outline: 0; box-shadow: none; background: var(--yolk-pale); }
.signal__form:focus-within { outline: 4px solid var(--ink); outline-offset: 4px; }
.signal__form button {
  min-height: 4rem;
  border: 0;
  border-left: var(--line-thick);
  background: var(--ink);
  color: var(--yolk);
  box-shadow: none;
}
.signal__form button:hover { transform: none; box-shadow: none; background: var(--yolk); color: var(--ink); }
.signal__form button:active { transform: translate(3px, 3px); }
.signal__form button[disabled] { cursor: progress; background: #444; color: var(--paper); }
.signal__status {
  grid-column: 1 / -1;
  min-height: 2.75rem;
  margin: 0;
  padding: .7rem 1rem;
  border-top: var(--line);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .85rem;
  background: var(--bone);
}
.signal__status:empty::before { content: "> AWAITING INPUT_"; color: #5E5E5E; }
.signal__status.is-success { background: var(--yolk); }
.signal__status.is-success::before { content: "OK // "; }
.signal__status.is-error { background: var(--ink); color: var(--yolk); }
.signal__status.is-error::before { content: "ERR // "; }
@media (max-width: 520px) {
  .signal__form { grid-template-columns: 1fr; }
  .signal__form button { border-left: 0; border-top: var(--line-thick); }
}

/* logs */
.logs {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--pad);
  list-style: none;
}
@media (min-width: 900px) {
  .logs { grid-template-columns: repeat(3, 1fr); }
  .logs--two { grid-template-columns: repeat(2, 1fr); }
}
.logcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--line);
  background: var(--bone);
  box-shadow: var(--shadow);
  transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.logcard:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.logcard:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.logcard:focus-within { outline: 4px solid var(--ink); outline-offset: 4px; }
.logcard__meta {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin: 0;
  padding: .55rem .85rem;
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
}
.logcard__meta span:first-child { color: var(--yolk); }
.logcard__title { padding: 1.1rem .95rem .6rem; font-size: 1.45rem; line-height: 1.05; }
.logcard__title a { text-decoration: none; }
.logcard__title a::after { content: ""; position: absolute; inset: 0; }
.logcard__title a:focus-visible { outline: 0; box-shadow: none; }
.logcard__excerpt { flex: 1; padding: 0 .95rem; font-size: .98rem; }
.logcard__go {
  margin: 0;
  padding: .6rem .95rem;
  border-top: var(--line);
  background: var(--yolk);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .8rem;
}
.logcard:nth-child(2) .logcard__go { background: var(--tomato); }
.logcard:nth-child(3) .logcard__go { background: var(--paper); }
.logs__all { margin: 0; padding: 0 var(--pad) clamp(1.75rem, 4vw, 2.75rem); }

/* ---------- blog index ---------- */

.pagehead {
  padding: clamp(2rem, 6vw, 4rem) var(--pad) clamp(1.75rem, 5vw, 3rem);
  border-bottom: var(--line);
  background: var(--bone);
}
.pagehead__title {
  margin: 1.25rem 0 1rem;
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: .82;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.pagehead__dek { max-width: 52ch; margin: 0; font-family: var(--mono); font-size: .92rem; }

.index { margin: 0; padding: 0; list-style: none; }
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 7rem 7.5rem minmax(0, 1fr) 7rem;
  grid-template-areas:
    "no date title time"
    "no tag excerpt time";
  column-gap: 0;
  border-bottom: var(--line);
  background: var(--bone);
  transition: background-color .05s;
}
.index__row:hover { background: var(--yolk); }
.index__row:focus-within { outline: 4px solid var(--ink); outline-offset: -6px; }
.index__row > * { padding: 1rem var(--pad); }
.index__no { grid-area: no; border-right: var(--line); background: var(--ink); color: var(--yolk); font-family: var(--mono); font-weight: 700; font-size: .85rem; }
.index__date { grid-area: date; font-family: var(--mono); font-weight: 700; font-size: .85rem; }
.index__tag { grid-area: tag; align-self: start; padding-top: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }
.index__title { grid-area: title; padding-bottom: .35rem; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.02; }
.index__title a { text-decoration: none; }
.index__title a::after { content: ""; position: absolute; inset: 0; }
.index__title a:focus-visible { outline: 0; box-shadow: none; }
.index__excerpt { grid-area: excerpt; margin: 0; padding-top: 0; max-width: 64ch; }
.index__time { grid-area: time; border-left: var(--line); font-family: var(--mono); font-weight: 700; font-size: .78rem; }
@media (max-width: 760px) {
  .index__row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "no date"
      "title title"
      "excerpt excerpt"
      "tag time";
  }
  .index__no, .index__date { border-bottom: var(--line); padding-block: .6rem; }
  .index__title { padding-top: 1rem; }
  .index__excerpt { padding-bottom: 1rem; }
  .index__tag, .index__time { padding-block: .6rem; border-top: var(--line); }
  .index__time { border-left: 0; text-align: right; }
}

/* ---------- post ---------- */

.post__head {
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--pad) clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: var(--line);
  background: var(--bone);
}
.post__crumbs { font-family: var(--mono); font-weight: 700; font-size: .8rem; letter-spacing: .04em; }
.post__crumbs a { text-decoration-thickness: 2px; }
.post__crumbs a:hover { background: var(--yolk); }
.post__title {
  max-width: 18ch;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.post__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.post__meta span {
  padding: .35rem .6rem;
  border: 2px solid var(--ink);
  background: var(--yolk);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .75rem;
}
.post__meta span:nth-child(2) { background: var(--tomato); }
.post__meta span:nth-child(3) { background: var(--paper); }

.post__grid { display: grid; border-bottom: var(--line); }
@media (min-width: 1000px) {
  .post__grid { grid-template-columns: 19rem minmax(0, 1fr); }
  .post__side { border-right: var(--line); }
  .post__side > * { position: sticky; top: 1rem; }
}
.post__side { background: var(--paper); }
@media (max-width: 999px) { .post__side { border-bottom: var(--line); } }

.sheet { margin: 0; border-bottom: var(--line); }
.sheet div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); border-bottom: 2px solid var(--ink); }
.sheet div:last-child { border-bottom: 0; }
.sheet dt, .sheet dd { margin: 0; padding: .6rem .9rem; font-family: var(--mono); font-size: .78rem; }
.sheet dt { border-right: 2px solid var(--ink); background: var(--ink); color: var(--yolk); font-weight: 700; }
.sheet dd { background: var(--bone); }

.toc { padding: 1rem .9rem 1.25rem; }
.toc__label { margin-bottom: .6rem; font-family: var(--mono); font-weight: 700; font-size: .75rem; letter-spacing: .1em; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: .4rem .25rem;
  border-bottom: 2px solid var(--ink);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-weight: 700; font-size: .75rem; padding-top: .15rem; }
.toc a:hover { background: var(--yolk); }

.post__body {
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--pad) clamp(2rem, 5vw, 3.5rem);
  background: var(--bone);
}
.prose { font-size: 1.125rem; line-height: 1.68; }
.prose > * { max-width: 68ch; }
.prose .lede {
  margin-bottom: 2rem;
  padding: 1.1rem 1.25rem;
  border: var(--line);
  border-left-width: 12px;
  background: var(--yolk);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.55;
}
.prose h2 {
  display: inline-block;
  margin: 2.5rem 0 1rem;
  padding: .5rem .75rem .45rem;
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  scroll-margin-top: 1rem;
  box-shadow: 5px 5px 0 var(--tomato);
}
.prose ul { margin: 0 0 1.25em; padding: 0; list-style: none; }
.prose li { position: relative; margin-bottom: .6em; padding-left: 1.6rem; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .7rem;
  height: .7rem;
  border: 2px solid var(--ink);
  background: var(--tomato);
}
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose .spec {
  margin: 0 0 1.25em;
  padding: 1rem 1.1rem;
  border: var(--line);
  background: var(--ink);
  color: var(--yolk);
  font-family: var(--mono);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.6;
  white-space: pre-wrap;
  box-shadow: var(--shadow);
}
.prose .spec code { font: inherit; }
.prose a { background: var(--yolk-pale); }

.signal--post { border-bottom: var(--line); }

.post__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--pad);
  border-bottom: var(--line);
  background: var(--paper);
}

/* ---------- 404 ---------- */

.lost { display: grid; align-items: center; border-bottom: var(--line); }
@media (min-width: 900px) { .lost { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.lost__art { padding: clamp(1.5rem, 5vw, 3rem); background: var(--yolk); border-bottom: var(--line); align-self: stretch; display: grid; place-items: center; }
@media (min-width: 900px) { .lost__art { border-bottom: 0; border-right: var(--line); } }
.lost__art .bowl { width: 100%; max-width: 420px; }
.lost__copy { padding: clamp(2rem, 6vw, 4rem) var(--pad); background: var(--bone); align-self: stretch; }
.lost__title { margin: 1.25rem 0 1rem; font-size: clamp(3rem, 10vw, 7rem); line-height: .86; letter-spacing: -.04em; text-transform: uppercase; }
.lost__text { max-width: 44ch; margin-bottom: 1.75rem; font-family: var(--mono); font-size: .95rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--paper); }
@media (min-width: 1341px) { .site-footer { border-inline: var(--line); } }
.site-footer__word {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem) var(--pad) 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(2.6rem, 11.4vw, 9.8rem);
  line-height: .85;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px var(--yolk);
}
.site-footer__grid {
  display: grid;
  gap: 1rem 2rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem) var(--pad);
  font-family: var(--mono);
  font-size: .8rem;
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr auto 1fr; }
  .site-footer__legal { text-align: right; }
}
.site-footer__line,
.site-footer__legal { margin: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.site-footer a {
  display: inline-block;
  padding: .5rem .8rem;
  border: 2px solid var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.site-footer a:hover { background: var(--yolk); border-color: var(--yolk); color: var(--ink); }
.site-footer :focus-visible { outline-color: var(--yolk); box-shadow: none; }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker__track { transform: none; }
  .btn:hover, .btn:active, .logcard:hover, .logcard:active { transform: none; }
}
