﻿/*
  BitPrison.net
  A working notebook for servers, web craft, and photographs.
  House style: warm paper, ink, one blue, one proof mark.
  The Bulma layer is self hosted in bulma.min.css and is re tuned here.
*/

:root {
  --cell-paper: #f4f0e8;
  --cell-paper-deep: #ebe5d9;
  --cell-card: #fffdf8;
  --cell-ink: #16181d;
  --cell-ink-soft: #4e545d;
  --cell-ink-faint: #5c626b;
  --cell-line: #d6cdbd;
  --cell-line-strong: #b8ad99;
  --cell-blue: #1a4f8f;
  --cell-blue-deep: #103666;
  --cell-blue-wash: #e4ecf6;
  --cell-signal: #9e2f52;
  --cell-signal-wash: #f5e3e9;
  --cell-dark: #11151c;
  --cell-dark-2: #171c25;
  --cell-dark-line: #2a313c;
  --cell-dark-text: #e9e4d9;
  --cell-radius: 8px;
  --cell-radius-sm: 4px;
  --cell-max: 1180px;
  --cell-read: 72ch;
  --cell-shadow: 0 1px 2px rgba(22, 24, 29, 0.05), 0 18px 44px -26px rgba(22, 24, 29, 0.42);
  --cell-shadow-lift: 0 2px 4px rgba(22, 24, 29, 0.06), 0 30px 60px -30px rgba(22, 24, 29, 0.5);
  --cell-font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --cell-font-head: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --cell-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --cell-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --bulma-body-background-color: var(--cell-paper);
  --bulma-body-color: var(--cell-ink);
  --bulma-body-family: var(--cell-font-body);
  --bulma-body-size: 1.0625rem;
  --bulma-primary: var(--cell-blue);
  --bulma-primary-invert: #fffdf8;
  --bulma-link: var(--cell-blue);
  --bulma-link-hover: var(--cell-signal);
  --bulma-text: var(--cell-ink);
  --bulma-text-strong: var(--cell-ink);
  --bulma-family-primary: var(--cell-font-head);
  --bulma-family-secondary: var(--cell-font-body);
  --bulma-radius: var(--cell-radius);
  --bulma-radius-small: var(--cell-radius-sm);
  --bulma-border: var(--cell-line);
  --bulma-border-weak: var(--cell-line);
  --bulma-input-border-color: var(--cell-line-strong);
  --bulma-input-focus-border-color: var(--cell-blue);
  --bulma-input-placeholder-color: var(--cell-ink-faint);
  --bulma-tag-background-color: var(--cell-paper-deep);
  --bulma-tag-color: var(--cell-ink-soft);
  --bulma-tag-radius: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.cell-body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--cell-paper);
  color: var(--cell-ink);
  font-family: var(--cell-font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(90deg, rgba(22, 24, 29, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(22, 24, 29, 0.018) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
}

body.cell-body--frame {
  --cell-paper: #0e1116;
  --cell-paper-deep: #151a22;
  --cell-card: #171c25;
  --cell-ink: #f0ebe1;
  --cell-ink-soft: #b9b3a7;
  --cell-ink-faint: #8e8a80;
  --cell-line: #2a3038;
  --cell-line-strong: #3c434e;
  --cell-blue: #8db4e2;
  --cell-blue-deep: #b6d0ee;
  --cell-blue-wash: #1b2634;
  --cell-signal: #e08aa6;
  --cell-signal-wash: #2a1d23;
  --bulma-body-background-color: var(--cell-paper);
  --bulma-body-color: var(--cell-ink);
  background-image: none;
}

::selection {
  background: var(--cell-blue);
  color: #fffdf8;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cell-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 180ms var(--cell-ease), text-decoration-color 180ms var(--cell-ease);
}

a:hover {
  color: var(--cell-signal);
}

:focus-visible {
  outline: 3px solid var(--cell-signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.cell-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cell-ink);
  color: var(--cell-card);
  font-family: var(--cell-font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--cell-radius-sm);
}

.cell-skip:focus {
  top: 16px;
  color: var(--cell-card);
}

.cell-wrap {
  width: 100%;
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Masthead */

.cell-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 232, 0.94);
  border-bottom: 1px solid var(--cell-line);
  backdrop-filter: blur(10px);
}

.cell-body--frame .cell-masthead {
  background: rgba(14, 17, 22, 0.92);
}

.cell-masthead__in {
  max-width: var(--cell-max);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cell-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cell-ink);
  text-decoration: none;
}

.cell-logo:hover {
  color: var(--cell-ink);
}

.cell-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.12), 0 4px 12px -4px rgba(22, 24, 29, 0.35);
}

.cell-logo__type {
  font-family: var(--cell-font-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cell-logo__tld {
  color: var(--cell-signal);
  margin-left: 2px;
}

.cell-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cell-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--cell-radius-sm);
}

.cell-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  background: var(--cell-signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--cell-ease);
}

.cell-nav a:hover {
  color: var(--cell-ink);
}

.cell-nav a:hover::after,
.cell-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.cell-nav a[aria-current="page"] {
  color: var(--cell-ink);
}

.cell-nav__rss {
  border: 1px solid var(--cell-line-strong);
  margin-left: 8px;
}

.cell-nav__rss::after {
  display: none;
}

.cell-nav__rss:hover {
  border-color: var(--cell-blue);
  background: var(--cell-blue);
  color: #fffdf8 !important;
}

.cell-burger {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--cell-line-strong);
  border-radius: var(--cell-radius-sm);
  color: var(--cell-ink);
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.cell-burger__box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.cell-burger__box span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 220ms var(--cell-ease), opacity 220ms var(--cell-ease);
}

.cell-burger[aria-expanded="true"] .cell-burger__box span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.cell-burger[aria-expanded="true"] .cell-burger__box span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Main shell */

.cell-main {
  display: block;
  padding: 0 0 96px;
}

.cell-hero {
  position: relative;
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 84px 32px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 64px;
  align-items: end;
  border-bottom: 1px solid var(--cell-line);
}

.cell-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cell-eyebrow__rule {
  display: inline-block;
  width: 38px;
  height: 1px;
  background: var(--cell-signal);
}

.cell-hero__title {
  margin: 0;
  color: var(--cell-ink);
  font-family: var(--cell-font-head);
  font-size: clamp(3.6rem, 9vw, 7.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.cell-hero__lede {
  margin: 24px 0 0;
  max-width: 18ch;
  color: var(--cell-blue-deep);
  font-family: var(--cell-font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cell-hero__copy {
  margin: 22px 0 0;
  max-width: 48ch;
  color: var(--cell-ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.cell-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--cell-radius-sm);
  border: 1px solid transparent;
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms var(--cell-ease), color 200ms var(--cell-ease), border-color 200ms var(--cell-ease), transform 200ms var(--cell-ease);
}

.cell-btn svg {
  width: 14px;
  height: 14px;
}

.cell-btn--solid {
  background: var(--cell-blue);
  border-color: var(--cell-blue);
  color: #fffdf8;
}

.cell-btn--solid:hover {
  background: var(--cell-blue-deep);
  border-color: var(--cell-blue-deep);
  color: #fffdf8;
  transform: translateY(-2px);
}

.cell-btn--line {
  background: transparent;
  border-color: var(--cell-line-strong);
  color: var(--cell-ink);
}

.cell-btn--line:hover {
  border-color: var(--cell-ink);
  color: var(--cell-ink);
  transform: translateY(-2px);
}

.cell-docket {
  position: relative;
  padding: 26px 26px 22px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-top: 4px solid var(--cell-signal);
  border-radius: var(--cell-radius);
  box-shadow: var(--cell-shadow);
}

.cell-docket::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed var(--cell-line);
  border-radius: 4px;
  pointer-events: none;
}

.cell-docket__top {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cell-line);
}

.cell-docket__stamp {
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cell-docket__no {
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-mono);
  font-size: 0.7rem;
}

.cell-docket__list {
  position: relative;
  margin: 0;
  padding: 6px 0;
}

.cell-docket__list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cell-line);
}

.cell-docket__list div:last-child {
  border-bottom: 0;
}

.cell-docket__list dt {
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cell-docket__list dd {
  margin: 0;
  color: var(--cell-ink);
  font-family: var(--cell-font-head);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cell-docket__foot {
  position: relative;
  margin: 10px 0 0;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* Section bands */

.cell-band {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 72px 32px 0;
}

.cell-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--cell-ink);
}

.cell-band__head h2 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cell-band__head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cell-blue);
  font-family: var(--cell-font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.cell-band__head a:hover {
  color: var(--cell-signal);
}

.cell-band__head svg {
  width: 15px;
  height: 15px;
}

/* Ledger */

.cell-ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cell-entry;
}

.cell-entry {
  border-bottom: 1px solid var(--cell-line);
}

.cell-entry__link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 48px;
  gap: 26px;
  align-items: start;
  padding: 28px 14px 28px 0;
  color: var(--cell-ink);
  text-decoration: none;
  transition: background 260ms var(--cell-ease), padding 260ms var(--cell-ease), transform 260ms var(--cell-ease);
}

.cell-entry__link:hover {
  background: var(--cell-card);
  padding-left: 16px;
  color: var(--cell-ink);
  transform: translateX(2px);
}

.cell-entry__no {
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  padding-top: 6px;
}

.cell-entry__body {
  display: block;
  min-width: 0;
}

.cell-entry__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cell-entry__title {
  display: block;
  font-family: var(--cell-font-head);
  font-size: clamp(1.28rem, 2.4vw, 1.72rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  transition: color 220ms var(--cell-ease);
}

.cell-entry__link:hover .cell-entry__title {
  color: var(--cell-blue);
}

.cell-entry__excerpt {
  display: block;
  margin-top: 10px;
  max-width: 68ch;
  color: var(--cell-ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.cell-entry__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 4px;
  border: 1px solid var(--cell-line);
  border-radius: 50%;
  color: var(--cell-ink-soft);
  transition: background 220ms var(--cell-ease), border-color 220ms var(--cell-ease), color 220ms var(--cell-ease), transform 220ms var(--cell-ease);
}

.cell-entry__link:hover .cell-entry__arrow {
  background: var(--cell-blue);
  border-color: var(--cell-blue);
  color: #fffdf8;
  transform: rotate(-8deg) translateX(2px);
}

.cell-entry__arrow svg {
  width: 16px;
  height: 16px;
}

/* Pager */

.cell-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 0;
  font-family: var(--cell-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell-pager__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--cell-line-strong);
  border-radius: var(--cell-radius-sm);
  color: var(--cell-ink);
  text-decoration: none;
}

.cell-pager__link:hover {
  background: var(--cell-ink);
  border-color: var(--cell-ink);
  color: var(--cell-paper);
}

.cell-pager__link svg {
  width: 14px;
  height: 14px;
}

.cell-pager__state {
  color: var(--cell-ink-faint);
  font-variant-numeric: tabular-nums;
}

/* Shelves */

.cell-shelves {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 84px 32px 0;
}

.cell-shelves__head {
  max-width: 60ch;
  margin-bottom: 30px;
}

.cell-shelves__head h2 {
  margin: 0 0 12px;
  font-family: var(--cell-font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cell-shelves__head p {
  margin: 0;
  color: var(--cell-ink-soft);
}

.cell-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--cell-line);
  border: 1px solid var(--cell-line);
  border-radius: var(--cell-radius);
  overflow: hidden;
}

.cell-shelf {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 196px;
  padding: 24px 22px;
  background: var(--cell-card);
  color: var(--cell-ink);
  text-decoration: none;
  transition: background 220ms var(--cell-ease), color 220ms var(--cell-ease);
}

.cell-shelf:hover {
  background: var(--cell-blue);
  color: #fffdf8;
}

.cell-shelf__no {
  color: var(--cell-signal);
  font-family: var(--cell-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.cell-shelf:hover .cell-shelf__no {
  color: #f4c6d4;
}

.cell-shelf h3 {
  margin: 18px 0 6px;
  font-family: var(--cell-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cell-shelf p {
  margin: 0;
  color: var(--cell-ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.cell-shelf:hover p {
  color: #e7eef8;
}

.cell-shelf__count {
  display: block;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--cell-line);
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell-shelf:hover .cell-shelf__count {
  border-color: rgba(255, 253, 248, 0.3);
  color: #dbe7f6;
}

/* Frame strip */

.cell-frames {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 84px 32px 0;
}

.cell-frames__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cell-line);
}

.cell-frames__head h2 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cell-frames__head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cell-blue);
  font-family: var(--cell-font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.cell-frames__head a:hover {
  color: var(--cell-signal);
}

.cell-frame-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 20px;
  align-items: start;
}

.cell-frame {
  display: block;
  color: var(--cell-ink);
  text-decoration: none;
}

.cell-frame__mat {
  display: block;
  padding: 10px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-radius: var(--cell-radius);
  box-shadow: var(--cell-shadow);
  overflow: hidden;
}

.cell-frame__img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 3px;
  transition: transform 600ms var(--cell-ease), filter 600ms var(--cell-ease);
}

.cell-frame-strip--home .cell-frame:nth-child(2) .cell-frame__img {
  height: 230px;
}

.cell-frame-strip--home .cell-frame:nth-child(3) .cell-frame__img {
  height: 270px;
}

.cell-frame:hover .cell-frame__img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.cell-frame__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px 0;
  font-family: var(--cell-font-head);
}

.cell-frame__name {
  color: var(--cell-ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cell-frame:hover .cell-frame__name {
  color: var(--cell-blue);
}

.cell-frame__date {
  color: var(--cell-ink-faint);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About block */

.cell-about {
  max-width: var(--cell-max);
  margin: 84px auto 0;
  padding: 0 32px;
}

.cell-about__in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 42px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-left: 6px solid var(--cell-blue);
  border-radius: var(--cell-radius);
  box-shadow: var(--cell-shadow);
}

.cell-about__in h2 {
  margin: 0 0 16px;
  font-family: var(--cell-font-head);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cell-about__in p {
  margin: 0 0 18px;
  color: var(--cell-ink-soft);
}

.cell-about__in a {
  font-family: var(--cell-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--cell-signal);
}

.cell-about__seal {
  justify-self: center;
  text-align: center;
}

.cell-about__seal img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 6px solid var(--cell-paper);
  box-shadow: 0 0 0 1px var(--cell-line), var(--cell-shadow);
}

.cell-about__seal span {
  display: block;
  margin-top: 14px;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Subscribe */

.cell-sub {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 84px 32px 0;
}

.cell-sub__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 42px;
  background: var(--cell-dark);
  color: var(--cell-dark-text);
  border-radius: var(--cell-radius);
  overflow: hidden;
}

.cell-sub__in::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.cell-sub__in h2 {
  margin: 0 0 8px;
  color: #fffdf8;
  font-family: var(--cell-font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cell-sub__in p {
  margin: 0;
  color: #b9b3a7;
  max-width: 52ch;
}

.cell-sub__in .cell-eyebrow {
  color: #e08aa6;
  margin-bottom: 10px;
}

.cell-sub__in .cell-btn--line {
  border-color: #4a5260;
  color: #f0ebe1;
}

.cell-sub__in .cell-btn--line:hover {
  background: #fffdf8;
  border-color: #fffdf8;
  color: var(--cell-dark);
}

/* Footer */

.cell-footer {
  margin-top: 96px;
  border-top: 1px solid var(--cell-line);
  background: var(--cell-paper-deep);
}

.cell-body--frame .cell-footer {
  background: #0a0d11;
}

.cell-footer__in {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 48px 32px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.5fr) minmax(240px, 0.8fr);
  gap: 40px;
}

.cell-footer__brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cell-ink);
  text-decoration: none;
  font-family: var(--cell-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cell-footer__brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.cell-footer__brand p {
  margin: 14px 0 0;
  max-width: 40ch;
  color: var(--cell-ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.cell-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cell-footer__nav a {
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
}

.cell-footer__nav a:hover {
  color: var(--cell-signal);
}

.cell-footer__legal {
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.76rem;
  line-height: 1.8;
}

.cell-footer__legal p {
  margin: 0 0 10px;
}

.cell-footer__legal a {
  color: var(--cell-ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--cell-line-strong);
}

.cell-footer__legal a:hover {
  color: var(--cell-signal);
}

.cell-footer__bottom {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 0 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell-footer__bottom a {
  color: var(--cell-ink-soft);
  text-decoration: none;
}

/* Blog and archive pages */

.cell-page-head {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 76px 32px 34px;
  border-bottom: 1px solid var(--cell-line);
}

.cell-page-head h1 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cell-page-head p {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--cell-ink-soft);
  font-size: 1.02rem;
}

.cell-page-body {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 34px 32px 0;
}

.cell-filter {
  margin: 0 0 34px;
  padding: 24px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-radius: var(--cell-radius);
}

.cell-filter__label {
  display: block;
  margin-bottom: 8px;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cell-filter__row {
  display: flex;
  gap: 10px;
}

.cell-filter .input {
  height: 46px;
  background: var(--cell-paper);
  border-color: var(--cell-line-strong);
  border-radius: var(--cell-radius-sm);
  box-shadow: none;
  color: var(--cell-ink);
  font-family: var(--cell-font-body);
  font-size: 0.95rem;
}

.cell-filter .input:focus {
  border-color: var(--cell-blue);
  box-shadow: 0 0 0 3px var(--cell-blue-wash);
}

.cell-filter .button {
  height: 46px;
  background: var(--cell-blue);
  border-color: var(--cell-blue);
  border-radius: var(--cell-radius-sm);
  color: #fffdf8;
  font-family: var(--cell-font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell-filter .button:hover {
  background: var(--cell-blue-deep);
  border-color: var(--cell-blue-deep);
  color: #fffdf8;
}

.cell-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cell-chipbtn {
  padding: 8px 13px;
  background: var(--cell-paper);
  border: 1px solid var(--cell-line);
  border-radius: 999px;
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--cell-ease), color 180ms var(--cell-ease), border-color 180ms var(--cell-ease);
}

.cell-chipbtn:hover {
  border-color: var(--cell-blue);
  color: var(--cell-blue);
}

.cell-chipbtn[aria-pressed="true"] {
  background: var(--cell-ink);
  border-color: var(--cell-ink);
  color: var(--cell-paper);
}

.cell-filter__count {
  margin: 16px 0 0;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cell-year {
  margin: 0 0 34px;
}

.cell-year__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 6px;
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cell-year__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cell-line);
}

.cell-archlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cell-archlist li {
  border-bottom: 1px solid var(--cell-line);
}

.cell-archlist a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 130px;
  gap: 20px;
  align-items: baseline;
  padding: 16px 10px 16px 0;
  color: var(--cell-ink);
  text-decoration: none;
  transition: background 180ms var(--cell-ease), padding 180ms var(--cell-ease);
}

.cell-archlist a:hover {
  background: var(--cell-card);
  padding-left: 12px;
  color: var(--cell-ink);
}

.cell-archlist__date {
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cell-archlist__title {
  font-family: var(--cell-font-head);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.cell-archlist a:hover .cell-archlist__title {
  color: var(--cell-blue);
}

.cell-archlist__shelf {
  justify-self: end;
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.cell-filter__none {
  display: none;
  margin: 30px 0;
  padding: 22px;
  border: 1px dashed var(--cell-line-strong);
  border-radius: var(--cell-radius);
  color: var(--cell-ink-soft);
  text-align: center;
}

.cell-filter__none.is-on {
  display: block;
}

/* Post page */

.cell-crumbs {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 28px 32px 0;
}

.cell-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--cell-line-strong);
}

.cell-crumbs a {
  color: var(--cell-ink-soft);
  text-decoration: none;
}

.cell-crumbs a:hover {
  color: var(--cell-signal);
}

.cell-note {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 36px 32px 0;
}

.cell-note__head {
  max-width: 980px;
}

.cell-note__head h1 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: clamp(2.35rem, 5.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.cell-note__lede {
  margin: 22px 0 0;
  max-width: 70ch;
  color: var(--cell-ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.cell-note__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--cell-line);
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cell-note__meta a {
  color: var(--cell-blue);
  text-decoration: none;
}

.cell-note__meta a:hover {
  color: var(--cell-signal);
}

.cell-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 60px;
  align-items: start;
  margin-top: 44px;
}

.cell-prose {
  min-width: 0;
  max-width: var(--cell-read);
  color: var(--cell-ink);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.88;
}

.cell-prose > p:first-child {
  font-size: 1.12rem;
}

.cell-prose p {
  margin: 0 0 1.25em;
}

.cell-prose h2 {
  margin: 2.2em 0 0.65em;
  padding-top: 0.8em;
  border-top: 1px solid var(--cell-line);
  font-family: var(--cell-font-head);
  font-size: clamp(1.4rem, 2.4vw, 1.72rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cell-prose h3 {
  margin: 1.9em 0 0.55em;
  font-family: var(--cell-font-head);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.cell-prose h4,
.cell-prose h5 {
  margin: 1.6em 0 0.5em;
  font-family: var(--cell-font-head);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.cell-prose ul,
.cell-prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.4em;
}

.cell-prose ul {
  list-style: disc;
}

.cell-prose ol {
  list-style: decimal;
}

.cell-prose li {
  margin-bottom: 0.55em;
}

.cell-prose li::marker {
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-weight: 700;
}

.cell-prose blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--cell-signal);
  background: var(--cell-signal-wash);
  border-radius: 0 var(--cell-radius-sm) var(--cell-radius-sm) 0;
  color: var(--cell-ink-soft);
  font-style: italic;
}

.cell-prose blockquote p:last-child {
  margin-bottom: 0;
}

.cell-prose strong {
  font-weight: 700;
}

.cell-prose em {
  font-style: italic;
}

.cell-prose a {
  text-decoration-color: var(--cell-line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.cell-prose a:hover {
  text-decoration-color: var(--cell-signal);
}

.cell-prose code {
  padding: 0.12em 0.35em;
  background: var(--cell-paper-deep);
  border: 1px solid var(--cell-line);
  border-radius: 3px;
  color: var(--cell-blue-deep);
  font-family: var(--cell-font-mono);
  font-size: 0.84em;
  overflow-wrap: anywhere;
}

.cell-prose hr {
  height: 1px;
  margin: 2.4em 0;
  border: 0;
  background: var(--cell-line);
}

.cell-prose img {
  display: block;
  margin: 2em 0;
  border-radius: var(--cell-radius);
  border: 1px solid var(--cell-line);
}

/* Code blocks */

.cell-code {
  margin: 1.9em 0;
  border: 1px solid #252c37;
  border-radius: var(--cell-radius);
  background: var(--cell-dark);
  overflow: hidden;
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.7);
}

.cell-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  background: var(--cell-dark-2);
  border-bottom: 1px solid var(--cell-dark-line);
}

.cell-code__lang {
  color: #8db4e2;
  font-family: var(--cell-font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cell-code__copy {
  padding: 4px 9px;
  background: transparent;
  border: 1px solid #3c434e;
  border-radius: 3px;
  color: #b9b3a7;
  font-family: var(--cell-font-head);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms var(--cell-ease), color 160ms var(--cell-ease), border-color 160ms var(--cell-ease);
}

.cell-code__copy:hover {
  background: #262d38;
  border-color: #5a6372;
  color: #fffdf8;
}

.cell-code__copy.is-done {
  background: #1f4936;
  border-color: #2f6b4d;
  color: #d9f2e3;
}

.cell-code pre {
  margin: 0;
  padding: 18px 18px 20px;
  overflow-x: auto;
  background: transparent;
  border: 0;
  color: #dbe3ee;
  font-family: var(--cell-font-mono);
  font-size: 0.8rem;
  line-height: 1.72;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}

.cell-code code {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  white-space: pre;
  overflow-wrap: normal;
}

/* Side rail */

.cell-rail {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 4px;
}

.cell-rail__block {
  padding-top: 14px;
  border-top: 1px solid var(--cell-line);
}

.cell-rail__label {
  display: block;
  margin-bottom: 8px;
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cell-rail__block p,
.cell-rail__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.6;
}

.cell-rail__block ul li {
  margin-bottom: 6px;
}

.cell-rail__block ul a {
  color: var(--cell-ink-soft);
  text-decoration: none;
}

.cell-rail__block ul a:hover {
  color: var(--cell-signal);
}

.cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cell-tag {
  display: inline-block;
  padding: 4px 9px;
  background: var(--cell-paper-deep);
  border: 1px solid var(--cell-line);
  border-radius: 999px;
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.cell-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  background: transparent;
  border: 1px solid var(--cell-line-strong);
  border-radius: var(--cell-radius-sm);
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.cell-copy:hover {
  border-color: var(--cell-blue);
  color: var(--cell-blue);
}

.no-js .cell-code__copy,
.no-js .cell-copy {
  display: none;
}

.cell-copy.is-done {
  border-color: #2f6b4d;
  background: #e3f2e9;
  color: #1f4936;
}

.cell-toc {
  font-family: var(--cell-font-head);
}

.cell-toc summary {
  color: var(--cell-signal);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.cell-toc summary::-webkit-details-marker {
  display: none;
}

.cell-toc summary::after {
  content: " +";
  color: var(--cell-ink-faint);
}

.cell-toc[open] summary::after {
  content: " \2212";
}

.cell-toc ol {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: cell-toc;
}

.cell-toc li {
  counter-increment: cell-toc;
  margin-bottom: 6px;
  font-size: 0.74rem;
  line-height: 1.45;
}

.cell-toc li::before {
  content: counter(cell-toc, decimal-leading-zero);
  margin-right: 7px;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-mono);
  font-size: 0.6rem;
}

.cell-toc a {
  color: var(--cell-ink-soft);
  text-decoration: none;
}

.cell-toc a:hover {
  color: var(--cell-signal);
}

/* Sources, author, next, related */

.cell-sources {
  max-width: var(--cell-read);
  margin: 56px 0 0;
  padding-top: 26px;
  border-top: 2px solid var(--cell-ink);
}

.cell-sources h2 {
  margin: 0 0 18px;
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cell-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cell-sources li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cell-line);
}

.cell-sources li::before {
  content: "\2197";
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  line-height: 1;
}

.cell-sources a {
  color: var(--cell-ink-soft);
  font-family: var(--cell-font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.cell-sources a:hover {
  color: var(--cell-blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cell-authorbox {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: var(--cell-read);
  margin: 44px 0 0;
  padding: 24px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-radius: var(--cell-radius);
}

.cell-authorbox img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: none;
}

.cell-authorbox h2 {
  margin: 0 0 6px;
  font-family: var(--cell-font-head);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cell-authorbox h2 a {
  color: var(--cell-ink);
  text-decoration: none;
}

.cell-authorbox h2 a:hover {
  color: var(--cell-blue);
}

.cell-authorbox p {
  margin: 0;
  color: var(--cell-ink-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.cell-authorbox .cell-eyebrow {
  margin-bottom: 7px;
}

.cell-nextprev {
  max-width: var(--cell-max);
  margin: 64px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cell-nextprev a {
  display: block;
  padding: 20px 22px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-radius: var(--cell-radius);
  color: var(--cell-ink);
  text-decoration: none;
  transition: border-color 180ms var(--cell-ease), transform 180ms var(--cell-ease);
}

.cell-nextprev a:hover {
  border-color: var(--cell-blue);
  transform: translateY(-2px);
}

.cell-nextprev span {
  display: block;
  margin-bottom: 7px;
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cell-nextprev strong {
  display: block;
  font-family: var(--cell-font-head);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
}

.cell-nextprev .is-next {
  text-align: right;
}

.cell-related {
  max-width: var(--cell-max);
  margin: 64px auto 0;
  padding: 0 32px;
}

.cell-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--cell-ink);
  margin-bottom: 10px;
}

.cell-related__head h2 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cell-related__head a {
  color: var(--cell-blue);
  font-family: var(--cell-font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.cell-related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--cell-line);
  border: 1px solid var(--cell-line);
  border-bottom: 0;
}

.cell-related__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 20px;
  background: var(--cell-card);
  color: var(--cell-ink);
  text-decoration: none;
}

.cell-related__item:hover {
  background: var(--cell-paper);
  color: var(--cell-ink);
}

.cell-related__kicker {
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cell-related__item strong {
  display: block;
  margin-top: 12px;
  font-family: var(--cell-font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.cell-related__item:hover strong {
  color: var(--cell-blue);
}

/* Photoblog */

.cell-photo-head {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 76px 32px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--cell-line);
}

.cell-photo-head h1 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.cell-photo-head p {
  margin: 0;
  color: var(--cell-ink-soft);
  font-size: 1rem;
}

.cell-photo-grid {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 48px 32px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 34px;
  align-items: start;
}

.cell-photo-card {
  display: block;
  color: var(--cell-ink);
  text-decoration: none;
}

.cell-photo-card:nth-child(even) {
  margin-top: 64px;
}

.cell-photo-card__mat {
  display: block;
  padding: 12px;
  background: var(--cell-card);
  border: 1px solid var(--cell-line);
  border-radius: var(--cell-radius);
  box-shadow: var(--cell-shadow);
  transition: box-shadow 260ms var(--cell-ease), transform 260ms var(--cell-ease);
}

.cell-photo-card:hover .cell-photo-card__mat {
  box-shadow: var(--cell-shadow-lift);
  transform: translateY(-4px);
}

.cell-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.cell-photo-card.is-small img {
  width: auto;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.cell-photo-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 0;
}

.cell-photo-card__title {
  font-family: var(--cell-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.cell-photo-card:hover .cell-photo-card__title {
  color: var(--cell-blue);
}

.cell-photo-card__date {
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cell-photo-note {
  max-width: var(--cell-max);
  margin: 64px auto 0;
  padding: 0 32px;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cell-frame-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 32px 0;
}

.cell-frame-page__head {
  margin-bottom: 26px;
  text-align: center;
}

.cell-frame-page__head h1 {
  margin: 0;
  color: var(--cell-ink);
  font-family: var(--cell-font-head);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.cell-frame-page__head p {
  margin: 10px 0 0;
  color: var(--cell-ink-faint);
  font-family: var(--cell-font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cell-frame-page__figure {
  margin: 0;
}

.cell-frame-page__mat {
  display: block;
  padding: 16px;
  background: #f7f2e7;
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.cell-frame-page__mat img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
}

.cell-frame-page__figure figcaption {
  margin: 18px auto 0;
  max-width: 64ch;
  color: var(--cell-ink-soft);
  font-size: 0.92rem;
  font-style: italic;
  text-align: center;
}

.cell-frame-page__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 56px;
  align-items: start;
  margin-top: 44px;
}

.cell-frame-page__body .cell-prose {
  color: var(--cell-ink);
}

.cell-frame-page__body .cell-rail__block p,
.cell-frame-page__body .cell-rail__block ul {
  color: var(--cell-ink-soft);
}

.cell-frame-page__body .cell-tag {
  background: #1b2634;
  border-color: #2a3038;
  color: #cfd6e1;
}

.cell-frame-page__body .cell-rail__block {
  border-top-color: var(--cell-line);
}

.cell-frame-page__body .cell-copy {
  border-color: var(--cell-line-strong);
  color: var(--cell-ink-soft);
}

.cell-frame-page__body .cell-sources {
  border-top-color: var(--cell-ink);
}

.cell-frame-page__body .cell-sources a {
  color: var(--cell-ink-soft);
}

/* Author page */

.cell-author-hero {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 76px 32px 40px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--cell-line);
}

.cell-author-hero img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 8px solid var(--cell-card);
  box-shadow: 0 0 0 1px var(--cell-line), var(--cell-shadow);
}

.cell-author-hero h1 {
  margin: 0;
  font-family: var(--cell-font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.cell-author-hero p {
  margin: 14px 0 0;
  max-width: 64ch;
  color: var(--cell-ink-soft);
}

/* 404 */

.cell-404 {
  max-width: var(--cell-max);
  margin: 0 auto;
  padding: 100px 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 48px;
  align-items: center;
}

.cell-404__code {
  margin: 0;
  color: var(--cell-signal);
  font-family: var(--cell-font-head);
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.cell-404 h1 {
  margin: 0 0 16px;
  font-family: var(--cell-font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.cell-404 p {
  margin: 0 0 22px;
  color: var(--cell-ink-soft);
}

.cell-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reveal */

.cell-js .cell-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms var(--cell-ease), transform 640ms var(--cell-ease);
}

.cell-js .cell-reveal.is-in {
  opacity: 1;
  transform: none;
}

.cell-js .cell-reveal:nth-child(2) {
  transition-delay: 60ms;
}

.cell-js .cell-reveal:nth-child(3) {
  transition-delay: 110ms;
}

.cell-js .cell-reveal:nth-child(4) {
  transition-delay: 150ms;
}

/* Responsive */

@media screen and (max-width: 1080px) {
  .cell-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 40px;
  }

  .cell-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cell-note__grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
  }

  .cell-frame-page__body {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 40px;
  }
}

@media screen and (max-width: 860px) {
  .cell-wrap,
  .cell-masthead__in,
  .cell-hero,
  .cell-band,
  .cell-shelves,
  .cell-frames,
  .cell-about,
  .cell-sub,
  .cell-page-head,
  .cell-page-body,
  .cell-note,
  .cell-crumbs,
  .cell-nextprev,
  .cell-related,
  .cell-photo-head,
  .cell-photo-grid,
  .cell-photo-note,
  .cell-frame-page,
  .cell-author-hero,
  .cell-404,
  .cell-footer__in,
  .cell-footer__bottom {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cell-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 58px;
    gap: 34px;
  }

  .cell-hero__lede {
    max-width: 26ch;
  }

  .cell-docket {
    max-width: 460px;
  }

  .cell-note__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
  }

  .cell-frame-page__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-frame-page__body .cell-rail {
    margin-top: 10px;
  }

  .cell-photo-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .cell-frame-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cell-frame-strip--home .cell-frame:nth-child(3) {
    display: none;
  }

  .cell-about__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 30px;
  }

  .cell-about__seal {
    justify-self: start;
  }

  .cell-sub__in {
    flex-direction: column;
    align-items: flex-start;
  }

  .cell-footer__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cell-footer__legal {
    grid-column: 1 / -1;
  }

  .cell-related__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-archlist a {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .cell-archlist__shelf {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  .no-js .cell-masthead__in {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .no-js .cell-nav {
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 6px;
  }

  .no-js .cell-nav a {
    padding: 8px 8px 8px 0;
  }

  .cell-js .cell-burger {
    display: inline-flex;
  }

  .cell-js .cell-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 22px;
    background: var(--cell-paper);
    border-bottom: 1px solid var(--cell-line);
    box-shadow: 0 24px 40px -24px rgba(22, 24, 29, 0.4);
  }

  .cell-body--frame .cell-js .cell-nav {
    background: var(--cell-paper-deep);
  }

  .cell-js .cell-nav.is-open {
    display: flex;
  }

  .cell-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--cell-line);
    border-radius: 0;
  }

  .cell-nav a::after {
    display: none;
  }

  .cell-nav__rss {
    margin: 12px 0 0;
    border: 1px solid var(--cell-line-strong);
    padding: 12px 16px;
    text-align: center;
  }

  .cell-masthead__in {
    position: relative;
    min-height: 68px;
  }

  .cell-hero__title {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .cell-band,
  .cell-shelves,
  .cell-frames,
  .cell-sub {
    padding-top: 58px;
  }

  .cell-band__head,
  .cell-frames__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cell-entry__link {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 4px 22px 0;
  }

  .cell-entry__arrow {
    display: none;
  }

  .cell-entry__title {
    font-size: 1.18rem;
  }

  .cell-entry__excerpt {
    font-size: 0.9rem;
  }

  .cell-pager {
    flex-wrap: wrap;
  }

  .cell-shelf-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-shelf {
    min-height: 0;
  }

  .cell-frame-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-frame-strip--home .cell-frame:nth-child(2),
  .cell-frame-strip--home .cell-frame:nth-child(3) {
    display: none;
  }

  .cell-frame__img {
    height: 260px;
  }

  .cell-photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .cell-photo-card:nth-child(even) {
    margin-top: 0;
  }

  .cell-note__head h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .cell-frame-page__mat {
    padding: 8px;
  }

  .cell-frame-page__body .cell-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-nextprev {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-nextprev .is-next {
    text-align: left;
  }

  .cell-footer__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .cell-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cell-404 {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 66px;
  }

  .cell-404__code {
    font-size: 8rem;
  }

  .cell-author-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-author-hero img {
    width: 100px;
    height: 100px;
  }

  .cell-filter__row {
    flex-direction: column;
  }

  .cell-filter .button {
    width: 100%;
  }

  .cell-archlist a {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .cell-archlist__date {
    order: 2;
  }

  .cell-archlist__title {
    order: 1;
  }
}

@media screen and (max-width: 460px) {
  .cell-logo__type {
    font-size: 0.9rem;
  }

  .cell-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cell-btn {    width: 100%;
  }

  .cell-docket {
    padding: 22px 18px 18px;
  }

  .cell-about__in,
  .cell-sub__in {
    padding: 24px 20px;
  }

  .cell-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-prose {
    font-size: 1rem;
  }

  .cell-code pre {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cell-js .cell-reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .cell-masthead,
  .cell-footer,
  .cell-nextprev,
  .cell-related,
  .cell-rail,
  .cell-crumbs,
  .cell-sources {
    display: none !important;
  }

  body.cell-body {
    background: #fff;
    color: #000;
  }

  .cell-note,
  .cell-prose,
  .cell-note__grid {
    max-width: none;
    display: block;
    padding: 0;
    margin: 0;
  }

  .cell-code {
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .cell-code pre {
    color: #000;
  }
}

