:root {
  --ink: #081321;
  --ink-soft: #101f32;
  --paper: #f4f7fa;
  --white: #ffffff;
  --text: #152033;
  --muted: #5e6c7f;
  --line: #d8e0e8;
  --blue: #686bc2;
  --blue-deep: #4f528f;
  --blue-surface: rgb(160 160 255);
  --red: #e2382f;
  --red-deep: #ba251f;
  --lime: #c9fa49;
  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Helvetica Neue", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 5.3rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  color: var(--white);
  background: rgb(8 19 33 / 92%);
  box-shadow: 0 0.4rem 1.6rem rgb(0 0 0 / 14%);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  color: var(--lime);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.83rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 0.25rem;
  color: rgb(255 255 255 / 55%);
  font-size: 0.65rem;
  letter-spacing: 0.17em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.7vw, 1.45rem);
  padding: 0.45rem 0.8rem;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 6%);
}

.global-nav a {
  position: relative;
  color: rgb(255 255 255 / 90%);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.global-nav a.nav-latest {
  padding: 0.38rem 0.62rem;
  color: var(--ink);
  background: var(--lime);
  letter-spacing: 0.04em;
}

.global-nav a.nav-latest::after {
  display: none;
}

.global-nav a.nav-latest:hover,
.global-nav a.nav-latest:focus-visible {
  background: #dcff7f;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgb(255 255 255 / 20%);
}

.language-picker > span {
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.language-picker select {
  min-height: 2rem;
  padding: 0.25rem 1.8rem 0.25rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 0;
  color: var(--white);
  background:
    linear-gradient(45deg, transparent 50%, var(--blue-surface) 50%) calc(100% - 0.75rem) 50% / 0.35rem 0.35rem no-repeat,
    linear-gradient(135deg, var(--blue-surface) 50%, transparent 50%) calc(100% - 0.5rem) 50% / 0.35rem 0.35rem no-repeat,
    var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
}

.language-picker select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.language-picker option {
  color: var(--ink);
  background: var(--white);
}

.nav-label {
  padding-right: 0.8rem;
  border-right: 1px solid rgb(255 255 255 / 20%);
  color: var(--blue-surface);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  background: var(--lime);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.mobile-toc {
  position: relative;
  display: none;
}

.mobile-toc summary {
  min-width: 4.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgb(255 255 255 / 25%);
  color: var(--white);
  background: rgb(255 255 255 / 7%);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  list-style: none;
}

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

.mobile-toc summary::after {
  margin-left: 0.45rem;
  color: var(--blue-surface);
  content: "+";
}

.mobile-toc[open] summary::after {
  content: "−";
}

.mobile-toc nav {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  display: grid;
  width: 13rem;
  padding: 0.55rem;
  border: 1px solid rgb(255 255 255 / 18%);
  background: var(--ink-soft);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 30%);
}

.mobile-toc nav a {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  color: rgb(255 255 255 / 88%);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-toc nav a.mobile-latest {
  color: var(--ink);
  background: var(--lime);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.mobile-toc nav a:last-child {
  border-bottom: 0;
}

.mobile-toc .language-picker {
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem 0.2rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
  border-left: 0;
}

.mobile-toc .language-picker select {
  min-width: 7rem;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(58rem, 100svh);
  overflow: hidden;
  align-content: center;
  padding: 8.5rem var(--pad) 7.5rem;
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 0 49.93%, rgb(255 255 255 / 7%) 50%, transparent 50.07%),
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    radial-gradient(circle at 75% 30%, rgb(160 160 255 / 25%), transparent 28rem),
    var(--ink);
  background-size: auto, 5rem 5rem, 5rem 5rem, auto, auto;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.4rem;
  height: 100%;
  background: linear-gradient(var(--blue-surface) 0 62%, var(--red) 62% 84%, var(--lime) 84% 100%);
  content: "";
}

.hero-watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  color: transparent;
  font-size: clamp(15rem, 43vw, 39rem);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgb(255 255 255 / 8%);
  transform: translate(-51%, -50%);
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: auto;
  text-align: center;
}

.system-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: rgb(255 255 255 / 60%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.system-line span {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--lime);
  box-shadow: 0 0 1rem rgb(201 250 73 / 65%);
}

.hero-kicker,
.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-kicker {
  color: var(--lime);
}

.hero h1 {
  max-width: 11ch;
  margin: 0 auto;
  font-size: clamp(3.5rem, 9vw, 7.9rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.07em;
}

.hero h1 em {
  position: relative;
  color: var(--white);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.04em;
  left: -0.06em;
  height: 0.18em;
  background: var(--red);
  content: "";
  transform: rotate(-1deg);
}

.hero-sub {
  margin: 2rem 0 0;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-lead {
  max-width: 48rem;
  margin: 1rem auto 0;
  color: rgb(255 255 255 / 66%);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgb(255 255 255 / 20%);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover {
  background: #dcff7f;
}

.button-latest {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.button-latest:hover {
  border-color: #f04c43;
  background: #f04c43;
}

.button-quiet {
  color: var(--white);
  background: rgb(255 255 255 / 5%);
}

.button-quiet:hover {
  border-color: rgb(255 255 255 / 50%);
  background: rgb(255 255 255 / 10%);
}

.hero-process {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 1.8rem;
  left: var(--pad);
  display: grid;
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  grid-template-columns: repeat(3, 1fr);
  margin: auto;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.hero-process div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.2rem 0 0;
}

.hero-process span {
  color: var(--lime);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.hero-process strong {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
}

.hero-process small {
  color: rgb(255 255 255 / 48%);
  font-size: 0.7rem;
}

.manifesto {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 28rem);
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) max(var(--pad), calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--red);
}

.manifesto::after {
  position: absolute;
  right: -2rem;
  bottom: -8rem;
  color: rgb(255 255 255 / 9%);
  content: "DX";
  font-size: clamp(12rem, 30vw, 25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.12em;
}

.section-index {
  position: absolute;
  top: 1.5rem;
  left: max(var(--pad), calc((100vw - var(--max)) / 2));
  color: rgb(255 255 255 / 55%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.manifesto h2,
.manifesto p {
  position: relative;
  z-index: 1;
}

.manifesto h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.manifesto h2 span,
.manifesto h2 strong {
  display: block;
}

.manifesto h2 span {
  color: rgb(255 255 255 / 72%);
  font-size: 0.7em;
  font-weight: 600;
}

.manifesto p {
  align-self: end;
  margin: 0;
  color: rgb(255 255 255 / 83%);
}

.section-pad {
  width: 100%;
  padding: clamp(5rem, 10vw, 9rem) max(var(--pad), calc((100vw - var(--max)) / 2));
}

.section-heading h2,
.ferrari-title h2,
.platform-copy h2,
.work-intro h2,
.about-main h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3.2vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.closing h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.audience {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--white);
}

.section-heading {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.audience-copy > .lead-copy {
  margin-top: 0;
}

.lead-copy {
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.85;
}

.issue-grid {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.issue-grid article {
  display: grid;
  grid-template-columns: 3rem minmax(10rem, 0.45fr) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.issue-grid span,
.approach-no,
.skill-grid article > span,
.proof-label {
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.issue-grid h3,
.issue-grid p {
  margin: 0;
}

.issue-grid h3 {
  font-size: 1.12rem;
}

.issue-grid p {
  color: var(--muted);
  font-size: 0.93rem;
}

.decision-note {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border-left: 0.28rem solid var(--blue);
  background: #edf3ff;
}

.decision-note span {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.decision-note p {
  margin: 0;
}

.ferrari {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--white);
  background:
    linear-gradient(115deg, rgb(226 56 47 / 15%), transparent 45%),
    var(--ink);
}

.ferrari .eyebrow {
  color: #ff6d65;
}

.ferrari-title h2 span {
  color: #ff6d65;
}

.ferrari-body {
  align-self: center;
}

.ferrari-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  color: rgb(255 255 255 / 70%);
}

.ferrari-copy p {
  margin-top: 0;
}

.evolution-rail {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto;
  align-items: center;
  margin: 3.5rem 0;
}

.rail-start,
.rail-end {
  display: grid;
}

.rail-start small,
.rail-end small {
  color: rgb(255 255 255 / 45%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.rail-start strong,
.rail-end strong {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.rail-end {
  color: var(--lime);
  text-align: right;
}

.rail-middle {
  color: rgb(255 255 255 / 50%);
  font-size: 0.72rem;
  white-space: nowrap;
}

.rail-middle span {
  color: var(--red);
}

.rail-line {
  position: relative;
  height: 1px;
  margin: 0 0.75rem;
  background: rgb(255 255 255 / 20%);
}

.rail-line span {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.ferrari blockquote {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 750;
  text-align: center;
}

.ferrari blockquote b {
  color: var(--red);
  font-size: 2rem;
}

.ferrari-conclusion {
  margin: 2rem 0 0;
  color: rgb(255 255 255 / 75%);
}

.ferrari-conclusion strong {
  color: var(--white);
}

.fact-source {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin-top: 1.6rem;
  color: rgb(255 255 255 / 38%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fact-source a {
  color: inherit;
  text-underline-offset: 0.25rem;
}

.fact-source a:hover,
.fact-source a:focus-visible {
  color: var(--white);
}

.platform {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(22rem, 1.15fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  background: var(--white);
}

.platform-copy > p:last-child {
  color: var(--muted);
}

.platform-copy .fact-source {
  color: #7a8797;
}

.platform-copy .fact-source a:hover,
.platform-copy .fact-source a:focus-visible {
  color: var(--blue-deep);
}

.platform-stack {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 1.5rem 3rem 1.5rem 0;
}

.stack-caption {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.stack-layer {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid #b9c9e9;
  background: #edf3ff;
}

.stack-layer span {
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
}

.stack-layer strong {
  font-size: 1rem;
}

.stack-layer small {
  color: var(--muted);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.layer-assets {
  border-color: var(--blue-surface);
  color: var(--ink);
  background: var(--blue-surface);
}

.layer-assets span,
.layer-assets small {
  color: rgb(8 19 33 / 60%);
}

.layer-base {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.layer-base span,
.layer-base small {
  color: rgb(255 255 255 / 55%);
}

.stack-brace {
  position: absolute;
  top: 4.35rem;
  right: 0;
  display: grid;
  width: 2rem;
  height: calc(100% - 5.9rem);
  place-items: center;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  color: var(--blue-deep);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  writing-mode: vertical-rl;
}

.approach {
  color: var(--ink);
  background: var(--blue-surface);
}

.approach .eyebrow {
  color: #343773;
}

.section-heading.compact {
  position: static;
  display: grid;
  max-width: 56rem;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.65fr);
  column-gap: 4rem;
}

.section-heading.compact .eyebrow,
.section-heading.compact h2 {
  grid-column: 1;
}

.section-heading.compact h2 {
  font-size: clamp(2.05rem, 3.2vw, 3.2rem);
}

.section-heading.compact > p:last-child {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  color: rgb(8 19 33 / 70%);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4.5rem;
  border-top: 1px solid rgb(8 19 33 / 24%);
}

.approach-grid article {
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 1rem 0;
  border-right: 1px solid rgb(8 19 33 / 18%);
}

.approach-grid article + article {
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}

.approach-grid article:last-child {
  border-right: 0;
}

.approach-no {
  color: #343773;
}

.approach-en {
  margin: 2.5rem 0 0.2rem;
  color: rgb(8 19 33 / 50%);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.approach-grid h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.approach-grid article > p:last-child {
  color: rgb(8 19 33 / 72%);
}

.work {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 7rem);
  background: var(--paper);
}

.work-intro {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.work-intro h2 {
  font-size: clamp(2.05rem, 3.2vw, 3.2rem);
}

.work-intro > p:last-child {
  color: var(--muted);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.skill-grid article {
  min-height: 15rem;
  padding: 1.6rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skill-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 1.5rem;
  border-right: 0;
}

.skill-grid h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.skill-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(20rem, 1.05fr);
  gap: clamp(3rem, 9vw, 9rem);
  color: var(--white);
  background: var(--ink-soft);
}

.about-main h2 span {
  color: var(--lime);
}

.about-main .lead-copy {
  color: rgb(255 255 255 / 82%);
}

.about-main > p:last-child {
  color: rgb(255 255 255 / 58%);
}

.about-proof {
  align-self: center;
  border-top: 1px solid rgb(255 255 255 / 22%);
}

.proof-label {
  margin: 1rem 0;
  color: var(--lime);
}

.proof-item {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.proof-item strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.proof-metric {
  display: grid;
  gap: 0.35rem;
}

.proof-metric b {
  color: var(--lime);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.35;
}

.proof-item span {
  color: rgb(255 255 255 / 55%);
  font-size: 0.85rem;
}

.about-proof blockquote {
  margin: 2.5rem 0 0;
  padding: 1.7rem;
  border-left: 0.3rem solid var(--red);
  color: var(--white);
  background: rgb(255 255 255 / 6%);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 700;
  line-height: 1.75;
}

.blog {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--ink);
  background: var(--white);
}

.blog-intro {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.blog-intro h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3.2vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.blog-intro > p:last-child {
  max-width: 29rem;
  color: var(--muted);
}

.blog-list {
  border-top: 1px solid var(--ink);
}

.blog-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3.2rem) 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.blog-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 6rem;
  height: 0.32rem;
  background: linear-gradient(90deg, var(--red) 0 62%, var(--blue-surface) 62% 100%);
  content: "";
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.blog-state {
  padding: 0.3rem 0.55rem;
  color: var(--ink);
  background: var(--lime);
  letter-spacing: 0.08em;
}

.blog-card h3 {
  max-width: 16ch;
  margin: 2rem 0 1.5rem;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.055em;
}

.blog-card h3 span {
  color: var(--red);
}

.blog-title-link {
  text-decoration: none;
}

.blog-title-link span {
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  transition: text-decoration-color 180ms ease;
}

.blog-title-link:hover span,
.blog-title-link:focus-visible span {
  text-decoration-color: var(--red);
}

.blog-card > p:not(.blog-notice) {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.7rem;
}

.blog-tags span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 750;
}

.blog-notice {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.blog-notice a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.blog-notice a span {
  color: var(--red);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.blog-notice a:hover span,
.blog-notice a:focus-visible span {
  transform: translateX(0.25rem);
}

.blog-series {
  margin-top: clamp(4.5rem, 9vw, 7.5rem);
}

.series-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(160 160 255 / 18%), transparent 52%),
    var(--ink);
  box-shadow: 0.65rem 0.65rem 0 var(--blue-surface);
}

.series-code {
  margin: 0 0 1.2rem;
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.series-code span {
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgb(255 255 255 / 25%);
  color: var(--lime);
}

.series-heading h3 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.series-heading h3 span {
  color: var(--red);
}

.series-heading > p {
  align-self: end;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  line-height: 1.9;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3.3rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.episode-card {
  position: relative;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.episode-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.2rem;
  height: 0.28rem;
  background: var(--blue-surface);
  content: "";
}

.episode-card:hover {
  z-index: 1;
  background: var(--paper);
  transform: translateY(-0.2rem);
}

.episode-no {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.episode-no span {
  color: var(--muted);
}

.episode-card h4 {
  margin: 2.2rem 0 1.2rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.episode-card h4 a {
  text-decoration: none;
}

.episode-card > p:not(.episode-no) {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.episode-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.6rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.episode-link span {
  color: var(--red);
  transition: transform 180ms ease;
}

.episode-link:hover span,
.episode-link:focus-visible span {
  transform: translateX(0.25rem);
}

.episode-card-accent {
  background: var(--blue-surface);
}

.episode-card-accent::before {
  background: var(--red);
}

.episode-card-accent .episode-no,
.episode-card-accent .episode-link {
  color: var(--ink);
}

.episode-card-accent > p:not(.episode-no) {
  color: rgb(8 19 33 / 72%);
}

.episode-card-finale {
  color: var(--white);
  background: var(--ink);
}

.episode-card-finale::before {
  background: var(--lime);
}

.episode-card-finale:hover {
  background: var(--ink-soft);
}

.episode-card-finale .episode-no,
.episode-card-finale h4,
.episode-card-finale .episode-link {
  color: var(--white);
}

.episode-card-finale .episode-no span,
.episode-card-finale > p:not(.episode-no) {
  color: rgb(255 255 255 / 65%);
}

.episode-card-extra {
  background:
    linear-gradient(135deg, rgb(160 160 255 / 24%), transparent 62%),
    var(--paper);
  box-shadow: inset 0 0 0 0.14rem var(--red);
}

.episode-card-extra::before {
  width: 100%;
  background: var(--red);
}

.episode-card-extra .episode-no,
.episode-card-extra .episode-link {
  color: var(--red);
}

.patent-facts {
  margin: 2.6rem 0;
  border-top: 0.35rem solid var(--red);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.patent-facts > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}

.patent-facts dt {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.patent-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.65;
}

.patent-source {
  margin: -1.2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-page {
  background: var(--white);
}

.article-main {
  padding-top: 5.3rem;
}

.article-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgb(160 160 255 / 23%), transparent 29rem),
    var(--ink);
  background-size: 5rem 5rem, 5rem 5rem, auto, auto;
}

.article-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.4rem;
  height: 100%;
  background: linear-gradient(var(--blue-surface) 0 62%, var(--red) 62% 84%, var(--lime) 84% 100%);
  content: "";
}

.article-hero-inner {
  position: relative;
  display: grid;
  width: min(100%, var(--max));
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  gap: clamp(3rem, 7vw, 7rem);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--pad) clamp(4.5rem, 9vw, 7.5rem);
}

.article-number {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0 0 1.8rem;
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.article-number span {
  color: rgb(255 255 255 / 55%);
}

.article-hero h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  line-height: 1.13;
  letter-spacing: -0.06em;
}

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

.article-hero--series {
  background:
    linear-gradient(145deg, rgb(160 160 255 / 20%), transparent 55%),
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 5rem 5rem, 5rem 5rem, auto;
}

.article-series-label {
  margin: 0 0 0.8rem;
  color: var(--lime);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.article-series-label a {
  text-decoration-color: rgb(201 250 73 / 45%);
  text-underline-offset: 0.25rem;
}

.episode-hero-panel {
  position: relative;
  display: grid;
  min-height: 21rem;
  align-content: space-between;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  background: var(--blue-surface);
  box-shadow: 0.7rem 0.7rem 0 var(--red);
}

.episode-hero-panel > p {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.episode-hero-panel > strong {
  color: rgb(8 19 33 / 85%);
  font-size: clamp(7rem, 13vw, 11rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.1em;
}

.episode-hero-panel > span {
  padding-top: 1rem;
  border-top: 1px solid rgb(8 19 33 / 24%);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.episode-hero-panel--red {
  color: var(--white);
  background: var(--red);
  box-shadow: 0.7rem 0.7rem 0 var(--blue-surface);
}

.episode-hero-panel--red > strong {
  color: rgb(255 255 255 / 88%);
}

.episode-hero-panel--red > span {
  border-color: rgb(255 255 255 / 25%);
}

.episode-hero-panel--lime {
  background: var(--lime);
}

.article-body a {
  text-decoration-color: var(--red);
  text-underline-offset: 0.22rem;
}

.article-definition {
  margin: 2.6rem 0;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border-top: 0.35rem solid var(--blue-surface);
  background: var(--paper);
}

.article-definition small {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.article-definition strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.65;
}

.article-flow {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2.8rem 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.article-flow > div {
  padding: 1.5rem;
  color: var(--ink);
  background: var(--white);
}

.article-flow small,
.article-flow strong,
.article-flow span {
  display: block;
}

.article-flow small {
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.article-flow strong {
  margin-top: 0.45rem;
  font-size: 1.15rem;
  line-height: 1.45;
}

.article-flow span {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.article-two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.7rem 0;
}

.article-two-up > div {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.article-two-up small,
.article-two-up strong {
  display: block;
}

.article-two-up small {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.article-two-up strong {
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.45;
}

.article-two-up p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.timepoint-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 2.8rem 0;
  padding: 0;
  list-style: none;
}

.timepoint-map li {
  min-width: 0;
  padding: 1.25rem 0.9rem;
  border-top: 0.3rem solid var(--blue-surface);
  color: var(--ink);
  background: var(--paper);
  text-align: center;
}

.timepoint-map small,
.timepoint-map strong,
.timepoint-map span {
  display: block;
}

.timepoint-map small {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.timepoint-map strong {
  margin-top: 0.45rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.35;
}

.timepoint-map span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.command-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 2.5rem 0;
}

.command-map span {
  display: grid;
  min-height: 6rem;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.1rem;
  font-weight: 850;
  text-align: center;
}

.voice-alias {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.8rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  background: var(--ink);
}

.voice-alias span {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 25%);
  font-weight: 850;
}

.voice-alias b {
  color: var(--lime);
  font-size: 1.35rem;
}

.voice-alias strong {
  padding: 0.6rem 1rem;
  color: var(--ink);
  background: var(--lime);
  font-size: 1.1rem;
}

.article-metric {
  margin: 2.8rem 0;
  padding: clamp(1.8rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--blue-surface);
  text-align: center;
}

.article-metric p {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 850;
  letter-spacing: 0.03em;
}

.article-metric strong {
  display: block;
  margin-top: 0.7rem;
  color: var(--red-deep);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.article-metric small {
  display: block;
  margin-top: 0.7rem;
  font-weight: 750;
}

.article-pullquote {
  margin: 3rem 0;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  border-left: 0.4rem solid var(--red);
  color: var(--white);
  background: var(--ink);
}

.article-pullquote p {
  margin: 0;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 850;
  line-height: 1.65;
  letter-spacing: -0.035em;
}

.article-pullquote footer {
  margin-top: 1rem;
  color: rgb(255 255 255 / 62%);
  font-size: 0.82rem;
}

.series-position {
  margin-top: 4rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
}

.attendance-index-return,
.series-index-return {
  margin: 1.5rem 0 0;
  text-align: center;
}

.attendance-index-return a,
.series-index-return a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.attendance-index-return a span,
.series-index-return a span {
  color: var(--red);
}

.attendance-index-return a:hover,
.attendance-index-return a:focus-visible,
.series-index-return a:hover,
.series-index-return a:focus-visible {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

.article-deck {
  max-width: 44rem;
  margin: 2rem 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.9;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
}

.article-tags span {
  padding: 0.35rem 0.7rem;
  border: 1px solid rgb(255 255 255 / 22%);
  color: rgb(255 255 255 / 78%);
  background: rgb(255 255 255 / 6%);
  font-size: 0.72rem;
  font-weight: 750;
}

.article-result {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--ink);
  background: var(--blue-surface);
  box-shadow: 0.7rem 0.7rem 0 var(--red);
}

.article-result::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5rem;
  height: 0.35rem;
  background: var(--lime);
  content: "";
}

.article-result > p {
  margin: 0 0 1.35rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.article-result > div:first-of-type {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgb(8 19 33 / 20%);
}

.article-result small,
.article-result strong {
  display: block;
}

.article-result small {
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.article-result strong {
  margin-top: 0.2rem;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.article-result-time {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  padding-top: 1.35rem;
}

.article-result-time b {
  padding-bottom: 0.45rem;
  color: var(--red-deep);
  font-size: 1.4rem;
}

.article-result-time span:last-child strong {
  color: var(--red-deep);
}

.article-layout {
  display: grid;
  width: min(100%, 70rem);
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad) clamp(6rem, 11vw, 10rem);
}

.article-toc {
  position: sticky;
  top: 7.2rem;
  align-self: start;
  padding-top: 0.9rem;
  border-top: 0.22rem solid var(--ink);
}

.article-toc > p {
  margin: 0 0 1rem;
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: article-toc;
}

.article-toc li {
  counter-increment: article-toc;
}

.article-toc a {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.article-toc a::before {
  color: var(--red);
  content: "0" counter(article-toc);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--ink);
}

.article-body {
  min-width: 0;
}

.article-body > .article-lead {
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 0.32rem solid var(--red);
  color: var(--ink);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 700;
  line-height: 1.9;
}

.article-body section {
  scroll-margin-top: 7.5rem;
  margin-top: clamp(5.5rem, 10vw, 8.5rem);
}

.article-section-no {
  margin: 0 0 1rem;
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.article-body h2 {
  margin: 0 0 2.2rem;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.article-body section > p:not(.article-section-no) {
  margin: 1.6rem 0 0;
  color: #2d3949;
  font-size: 1.04rem;
  line-height: 2.05;
}

.article-callout {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.6rem;
  border-left: 0.35rem solid var(--red);
  color: var(--white);
  background: var(--ink);
}

.article-callout span {
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.article-callout p {
  margin: 0;
  font-weight: 700;
  line-height: 1.8;
}

.article-equation {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  margin: 2.7rem 0;
  padding: clamp(1.4rem, 3.5vw, 2.3rem);
  color: var(--white);
  background: var(--ink);
}

.article-equation span,
.article-equation small,
.article-equation strong {
  display: block;
}

.article-equation small {
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.article-equation strong {
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  line-height: 1.25;
}

.article-equation b {
  color: rgb(255 255 255 / 45%);
  font-size: 1.3rem;
}

.article-equation-answer strong {
  color: var(--lime);
}

.article-before-after {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin-top: 2.8rem;
}

.article-before-after > div {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-top: 0.35rem solid var(--blue-surface);
  background: var(--paper);
}

.article-before-after > div:last-child {
  border-color: var(--red);
}

.article-before-after > span {
  align-self: center;
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 900;
}

.article-before-after small,
.article-before-after strong {
  display: block;
}

.article-before-after small {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.article-before-after strong {
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.article-before-after > div:last-child strong {
  color: var(--red-deep);
}

.article-before-after p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.article-closing-quote {
  position: relative;
  overflow: hidden;
  margin: 3.5rem 0 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--ink);
  background: var(--lime);
}

.article-closing-quote::after {
  position: absolute;
  right: -0.12em;
  bottom: -0.48em;
  color: rgb(8 19 33 / 7%);
  content: "400";
  font-size: clamp(6rem, 16vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.1em;
}

.article-closing-quote p,
.article-closing-quote footer {
  position: relative;
  z-index: 1;
}

.article-closing-quote p {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.article-closing-quote footer {
  max-width: 36rem;
  margin-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.85;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-author .brand-mark {
  flex: 0 0 auto;
  border-color: var(--ink);
  color: var(--blue-deep);
}

.article-author small,
.article-author strong,
.article-author p {
  display: block;
  margin: 0;
}

.article-author small {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.article-author strong {
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 1rem;
}

.article-author p {
  color: var(--muted);
  font-size: 0.77rem;
}

.article-back {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
}

.article-back a {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 13vw, 12rem) var(--pad);
  color: var(--ink);
  background: var(--lime);
  text-align: center;
}

.closing-code {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgb(8 19 33 / 6%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(7rem, 25vw, 24rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
  transform: translate(-51%, -50%);
  white-space: nowrap;
}

.closing > *:not(.closing-code) {
  position: relative;
  z-index: 1;
}

.closing .eyebrow {
  color: var(--blue-deep);
}

.closing h2 span {
  color: var(--blue-deep);
}

.closing > p:not(.eyebrow, .closing-note) {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.closing-line {
  width: min(13rem, 40vw);
  height: 2px;
  margin: 2rem auto;
  background: var(--ink);
}

.closing-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem max(var(--pad), calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: #040a12;
}

.site-footer p {
  margin: 0;
  color: rgb(255 255 255 / 45%);
  font-size: 0.7rem;
}

.footer-brand .brand-mark {
  color: var(--lime);
}

@media (max-width: 900px) {
  .global-nav {
    display: none;
  }

  .mobile-toc {
    display: block;
  }

  .hero {
    min-height: 54rem;
  }

  .manifesto,
  .audience,
  .ferrari,
  .platform,
  .work,
  .about,
  .blog {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .work-intro,
  .blog-intro {
    position: static;
  }

  .article-hero-inner {
    grid-template-columns: 1fr;
  }

  .article-result {
    max-width: 38rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .article-toc {
    position: static;
  }

  .article-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .series-heading {
    grid-template-columns: 1fr;
  }

  .series-heading > p {
    max-width: 38rem;
  }

  .episode-hero-panel {
    min-height: 17rem;
  }

  .manifesto {
    gap: 2rem;
  }

  .manifesto p {
    max-width: 42rem;
  }

  .ferrari-title h2 br,
  .platform-copy h2 br {
    display: none;
  }

  .platform-stack {
    max-width: 44rem;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 5.8rem;
  }

  .site-header {
    min-height: 4.9rem;
  }

  .article-main {
    padding-top: 4.9rem;
  }

  .article-hero {
    background-size: 3.5rem 3.5rem, 3.5rem 3.5rem, auto, auto;
  }

  .article-hero-inner {
    padding-top: 4.5rem;
  }

  .article-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.55rem);
  }

  .article-result {
    margin-right: 0.6rem;
    box-shadow: 0.55rem 0.55rem 0 var(--red);
  }

  .article-result-time {
    align-items: center;
    grid-template-columns: 1fr;
  }

  .article-result-time b {
    padding: 0;
    transform: rotate(90deg);
    justify-self: start;
  }

  .article-layout {
    gap: 3rem;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .article-body > .article-lead {
    padding-left: 1.1rem;
  }

  .article-body h2 br {
    display: none;
  }

  .article-callout {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .article-equation {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .article-equation b {
    transform: rotate(90deg);
  }

  .article-before-after {
    grid-template-columns: 1fr;
  }

  .article-before-after > span {
    transform: rotate(90deg);
    justify-self: center;
  }

  .article-back {
    align-items: flex-start;
    flex-direction: column;
  }

  .episode-grid,
  .article-two-up {
    grid-template-columns: 1fr;
  }

  .episode-card {
    min-height: 19rem;
  }

  .article-flow {
    grid-template-columns: 1fr;
  }

  .patent-facts > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .command-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timepoint-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timepoint-map li:last-child {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 50rem;
    padding-top: 7rem;
    padding-bottom: 9.5rem;
    background-size: auto, 3.5rem 3.5rem, 3.5rem 3.5rem, auto, auto;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.5rem);
  }

  .hero-lead br {
    display: none;
  }

  .hero-process {
    grid-template-columns: 1fr;
    padding-top: 0.5rem;
  }

  .hero-process div {
    grid-template-columns: 2rem 5rem 1fr;
    padding-top: 0.35rem;
  }

  .manifesto {
    padding-top: 5rem;
  }

  .issue-grid article {
    grid-template-columns: 2.2rem 1fr;
  }

  .issue-grid article p {
    grid-column: 2;
  }

  .decision-note {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .ferrari-copy,
  .skill-grid,
  .approach-grid,
  .section-heading.compact {
    grid-template-columns: 1fr;
  }

  .evolution-rail {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
  }

  .rail-start,
  .rail-end {
    text-align: center;
  }

  .rail-line {
    width: 1px;
    height: 2.2rem;
    margin: 0;
    background: rgb(255 255 255 / 20%);
  }

  .rail-line span {
    top: auto;
    right: -3px;
    bottom: 0;
  }

  .ferrari blockquote {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .platform-stack {
    padding-right: 2.25rem;
  }

  .stack-layer {
    grid-template-columns: 1.5rem 1fr;
  }

  .stack-layer small {
    display: none;
  }

  .stack-brace {
    width: 1.5rem;
  }

  .section-heading.compact > p:last-child {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1.25rem;
  }

  .approach-grid {
    border-top: 0;
  }

  .approach-grid article,
  .approach-grid article + article {
    padding: 1.8rem 0;
    border-top: 1px solid rgb(8 19 33 / 20%);
    border-right: 0;
  }

  .approach-en {
    margin-top: 1.3rem;
  }

  .skill-grid article,
  .skill-grid article:nth-child(even) {
    min-height: auto;
    padding: 1.6rem 0 2rem;
    border-right: 0;
  }

  .proof-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .blog-card h3 br {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Chapter 03: Attendance management DX */

.attendance-series-heading {
  background:
    linear-gradient(135deg, rgb(201 250 73 / 11%), transparent 42%),
    linear-gradient(315deg, rgb(160 160 255 / 24%), transparent 48%),
    var(--ink);
  box-shadow: 0.65rem 0.65rem 0 var(--lime);
}

.attendance-series-heading h3 {
  max-width: 17ch;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.attendance-series-heading h3 span {
  color: var(--blue-surface);
}

.attendance-teaser-body {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 3.3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.attendance-teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0.3rem solid var(--blue-surface);
  background: var(--paper);
}

.attendance-teaser-stats div {
  min-width: 0;
  padding: 1.25rem 0.8rem;
  border-right: 1px solid var(--line);
}

.attendance-teaser-stats div:last-child {
  border-right: 0;
}

.attendance-teaser-stats strong,
.attendance-teaser-stats span {
  display: block;
}

.attendance-teaser-stats strong {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1;
}

.attendance-teaser-stats span {
  margin-top: 0.55rem;
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.attendance-teaser-copy {
  align-self: center;
}

.attendance-teaser-copy p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
}

.attendance-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.attendance-hub-link span {
  color: var(--lime);
  transition: transform 180ms ease;
}

.attendance-hub-link:hover span,
.attendance-hub-link:focus-visible span {
  transform: translateX(0.25rem);
}

.attendance-hub-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    radial-gradient(circle at 78% 26%, rgb(160 160 255 / 31%), transparent 31rem),
    radial-gradient(circle at 15% 82%, rgb(201 250 73 / 9%), transparent 25rem),
    var(--ink);
  background-size: 5rem 5rem, 5rem 5rem, auto, auto, auto;
}

.attendance-hub-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.42rem;
  height: 100%;
  background: linear-gradient(var(--lime) 0 32%, var(--blue-surface) 32% 82%, var(--red) 82%);
  content: "";
}

.attendance-hub-hero-inner {
  position: relative;
  display: grid;
  width: min(100%, var(--max));
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(3rem, 7vw, 7rem);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--pad) clamp(4.5rem, 9vw, 7rem);
}

.attendance-hub-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.14;
  letter-spacing: -0.065em;
}

.attendance-hub-hero h1 span {
  color: var(--blue-surface);
}

.attendance-hub-hero .article-deck {
  max-width: 48rem;
}

.attendance-hub-stats {
  display: grid;
  align-self: end;
  border-top: 0.38rem solid var(--lime);
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(8px);
}

.attendance-hub-stats div {
  display: grid;
  align-items: baseline;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.attendance-hub-stats div:last-child {
  border-bottom: 0;
}

.attendance-hub-stats strong {
  color: var(--blue-surface);
  font-size: 2.4rem;
  line-height: 1;
}

.attendance-hub-stats span {
  color: rgb(255 255 255 / 65%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.attendance-hub-main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad) clamp(6rem, 11vw, 10rem);
}

.attendance-hub-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
  gap: 1rem clamp(2.5rem, 8vw, 7rem);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.attendance-hub-intro .article-section-no {
  grid-column: 1 / -1;
}

.attendance-hub-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.7vw, 4rem);
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.attendance-hub-intro > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
}

.attendance-parts {
  border-top: 0.35rem solid var(--ink);
}

.attendance-part {
  scroll-margin-top: 7rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.attendance-part summary {
  display: grid;
  align-items: center;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease;
}

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

.attendance-part summary:hover,
.attendance-part summary:focus-visible,
.attendance-part[open] summary {
  background: rgb(160 160 255 / 17%);
}

.attendance-part summary > span:nth-child(2) strong,
.attendance-part summary > span:nth-child(2) small {
  display: block;
}

.attendance-part summary > span:nth-child(2) strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.35;
}

.attendance-part summary > span:nth-child(2) small {
  max-width: 48rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.attendance-part summary > b {
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.attendance-part summary > b::after {
  margin-left: 0.8rem;
  color: var(--ink);
  content: "+";
  font-size: 1.1rem;
}

.attendance-part[open] summary > b::after {
  content: "−";
}

.attendance-part-code {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.attendance-story-list {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.attendance-story-row {
  display: grid;
  align-items: center;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.05rem clamp(1.25rem, 3.5vw, 2rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.attendance-story-row:last-child {
  border-bottom: 0;
}

.attendance-story-row:hover,
.attendance-story-row:focus-visible {
  color: var(--ink);
  background: var(--white);
  padding-left: clamp(1.5rem, 4vw, 2.4rem);
}

.attendance-story-no {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.attendance-story-row > span:nth-child(2) strong,
.attendance-story-row > span:nth-child(2) small {
  display: block;
}

.attendance-story-row > span:nth-child(2) strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.attendance-story-row > span:nth-child(2) small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.attendance-story-row > b {
  color: var(--red);
}

.attendance-story-row--restored {
  background: rgb(201 250 73 / 15%);
}

.attendance-story-row--restored > span:nth-child(2) small {
  color: var(--red-deep);
}

.attendance-hub-note {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  background: var(--ink);
}

.attendance-hub-note span {
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.attendance-hub-note p {
  margin: 0;
}

.attendance-hub-legal {
  max-width: 54rem;
  margin: 1.2rem 0 0 auto;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.75;
}

.attendance-hub-legal a {
  text-decoration-color: var(--red);
  text-underline-offset: 0.2rem;
}

/* English edition */

.english-page .hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.98;
}

.english-page .series-heading h3 {
  max-width: 18ch;
  font-size: clamp(2.05rem, 3.8vw, 3.5rem);
}

.english-page .article-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
}

.english-page .article-body h2,
.english-page .attendance-hub-intro h2 {
  max-width: 21ch;
}

/* Chapter 02: Voice specimen verification index */

.specimen-highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.specimen-highlight-grid .episode-card {
  min-height: 21rem;
}

.specimen-hub-hero {
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    radial-gradient(circle at 78% 26%, rgb(255 75 72 / 18%), transparent 31rem),
    radial-gradient(circle at 15% 82%, rgb(160 160 255 / 22%), transparent 25rem),
    var(--ink);
  background-size: 5rem 5rem, 5rem 5rem, auto, auto, auto;
}

.specimen-hub-hero::before {
  background: linear-gradient(var(--blue-surface) 0 38%, var(--red) 38% 84%, var(--lime) 84%);
}

.specimen-hub-hero h1 {
  max-width: 14ch;
}

.specimen-hub-hero h1 span {
  color: var(--red);
}

.specimen-hub-stats {
  border-top-color: var(--blue-surface);
}

.specimen-story-index {
  border-top: 0.35rem solid var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.specimen-story-index .attendance-story-list {
  border-top: 0;
}

.specimen-hub-extra {
  display: grid;
  grid-template-columns: minmax(10rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3rem;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border: 0.14rem solid var(--red);
  background:
    linear-gradient(135deg, rgb(160 160 255 / 24%), transparent 62%),
    var(--paper);
}

.specimen-hub-extra .episode-no {
  display: block;
  align-self: start;
  color: var(--red);
}

.specimen-hub-extra .episode-no span {
  display: block;
  margin-top: 0.6rem;
}

.specimen-hub-extra h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.specimen-hub-extra p {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.specimen-hub-extra .attendance-hub-link {
  margin-top: 1.4rem;
}

.article-hero--attendance {
  background:
    linear-gradient(145deg, rgb(201 250 73 / 8%), transparent 42%),
    linear-gradient(315deg, rgb(160 160 255 / 24%), transparent 52%),
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, 5rem 5rem, 5rem 5rem, auto;
}

.article-hero--attendance h1 {
  max-width: 20ch;
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
}

.episode-hero-panel--attendance {
  background:
    linear-gradient(145deg, rgb(255 255 255 / 23%), transparent 48%),
    var(--blue-surface);
  box-shadow: 0.7rem 0.7rem 0 var(--lime);
}

.episode-hero-panel--attendance > strong {
  font-size: clamp(5.3rem, 10vw, 8.4rem);
  letter-spacing: -0.08em;
}

.episode-hero-panel--restored {
  background: var(--lime);
  box-shadow: 0.7rem 0.7rem 0 var(--red);
}

.attendance-article-layout {
  width: min(100%, 72rem);
}

.attendance-prose {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.attendance-prose > p {
  margin: 1.65rem 0 0;
  color: #2d3949;
  font-size: 1.04rem;
  line-height: 2.08;
}

.attendance-prose > p:first-child {
  margin-top: 0;
}

.attendance-inline-note {
  padding: 0.85rem 1rem;
  border-left: 0.3rem solid var(--lime);
  color: var(--white) !important;
  background: var(--ink);
  font-weight: 800;
}

.attendance-bullets {
  margin: 1.8rem 0;
  padding: 1.4rem 1.4rem 1.4rem 3rem;
  border-left: 0.3rem solid var(--blue-surface);
  background: var(--paper);
}

.attendance-bullets li + li {
  margin-top: 0.55rem;
}

.attendance-recap {
  margin-top: 2.5rem;
  padding: 1.25rem 1.4rem;
  border-top: 0.25rem solid var(--blue-surface);
  background: var(--paper);
}

.attendance-recap small,
.attendance-recap p {
  display: block;
  margin: 0;
}

.attendance-recap small {
  color: var(--blue-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.attendance-recap p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.attendance-origin {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-top: 0.35rem solid #0a66c2;
  background: var(--paper);
}

.attendance-origin small,
.attendance-origin strong,
.attendance-origin p {
  display: block;
}

.attendance-origin small {
  color: #0a66c2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.attendance-origin strong {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.attendance-origin p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.attendance-origin a {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  color: #0a66c2;
  font-size: 0.88rem;
  font-weight: 850;
}

.attendance-origin--restored {
  border-top-color: var(--red);
  background: rgb(201 250 73 / 22%);
}

.attendance-origin--restored small {
  color: var(--red-deep);
}

@media (max-width: 900px) {
  .attendance-teaser-body,
  .attendance-hub-hero-inner,
  .attendance-hub-intro {
    grid-template-columns: 1fr;
  }

  .attendance-hub-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .attendance-hub-stats div {
    grid-template-columns: 1fr;
    border-right: 1px solid rgb(255 255 255 / 14%);
    border-bottom: 0;
  }

  .attendance-hub-stats div:last-child {
    border-right: 0;
  }

  .specimen-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .home-page .global-nav {
    display: none;
  }

  .home-page .mobile-toc {
    display: block;
  }
}

@media (max-width: 650px) {
  .attendance-series-heading h3 br {
    display: none;
  }

  .attendance-teaser-stats {
    grid-template-columns: 1fr;
  }

  .attendance-teaser-stats div {
    display: grid;
    align-items: baseline;
    grid-template-columns: 3.2rem 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .attendance-teaser-stats div:last-child {
    border-bottom: 0;
  }

  .attendance-hub-hero {
    background-size: 3.5rem 3.5rem, 3.5rem 3.5rem, auto, auto, auto;
  }

  .attendance-hub-hero-inner {
    padding-top: 4.5rem;
  }

  .attendance-hub-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
  }

  .attendance-hub-hero h1 br {
    display: none;
  }

  .attendance-hub-stats {
    grid-template-columns: 1fr;
  }

  .attendance-hub-stats div {
    grid-template-columns: 4rem 1fr;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .attendance-hub-stats div:last-child {
    border-bottom: 0;
  }

  .attendance-part summary {
    grid-template-columns: 1fr auto;
  }

  .attendance-part-code {
    grid-column: 1;
  }

  .attendance-part summary > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .attendance-part summary > b {
    grid-column: 2;
    grid-row: 1;
  }

  .attendance-story-row {
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 0.7rem;
  }

  .attendance-hub-note {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .specimen-highlight-grid {
    grid-template-columns: 1fr;
  }

  .specimen-hub-extra {
    grid-template-columns: 1fr;
  }

  .article-hero--attendance h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .english-page .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.4rem);
  }

  .attendance-prose > p {
    font-size: 1rem;
    line-height: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Journal and migrated WordPress archive */
.journal-page {
  background: var(--paper);
}

.journal-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 38rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(10rem, 16vw, 13rem) max(var(--pad), calc((100vw - var(--max)) / 2)) clamp(4rem, 8vw, 7rem);
  color: var(--white);
  background: var(--ink);
}

.journal-hero::before {
  position: absolute;
  right: -0.06em;
  bottom: -0.25em;
  color: rgb(255 255 255 / 3.5%);
  content: "READ";
  font-size: clamp(10rem, 30vw, 28rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.journal-hero-copy,
.journal-hero-count {
  position: relative;
  z-index: 1;
}

.journal-hero h1 {
  max-width: 56rem;
  margin: 1.1rem 0 1.6rem;
  font-size: clamp(2.8rem, 5.6vw, 5.5rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.journal-hero h1 em {
  color: var(--blue-surface);
  font-style: normal;
}

.journal-hero-copy > p:last-child {
  max-width: 46rem;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.journal-hero-count {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  color: var(--ink);
  background: var(--blue-surface);
}

.journal-hero-count strong {
  font-size: clamp(5rem, 10vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.journal-hero-count span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.journal-orientation {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--white);
}

.journal-orientation h2,
.journal-latest h2,
.journal-shelf-heading h2,
.journal-archive-note h2,
.journal-english-heading h2,
.journal-original-language h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3.4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.journal-orientation-copy > p:first-child {
  margin-top: 0;
}

.journal-shelf-nav {
  display: grid;
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  border: 1px solid var(--line);
  background: var(--white);
}

.journal-shelf-nav a {
  display: grid;
  min-height: 11rem;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 0.25rem 1rem;
  padding: 1.7rem;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.journal-shelf-nav a:last-child {
  border-right: 0;
}

.journal-shelf-nav a:hover,
.journal-shelf-nav a:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.journal-shelf-nav span {
  grid-row: 1 / 3;
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
}

.journal-shelf-nav strong {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.35;
}

.journal-shelf-nav small {
  color: var(--muted);
  font-size: 0.74rem;
}

.journal-shelf-nav a:hover small,
.journal-shelf-nav a:focus-visible small {
  color: rgb(255 255 255 / 65%);
}

.journal-latest {
  display: grid;
  grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--white);
  background: var(--red);
}

.journal-latest .eyebrow {
  color: rgb(255 255 255 / 64%);
}

.journal-latest article {
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--text);
  background: var(--white);
}

.journal-latest article > p:first-child {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.journal-latest h3 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3.3vw, 3.25rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.journal-latest h3 a,
.journal-latest article > a {
  text-decoration: none;
}

.journal-latest h3 span {
  color: var(--red);
}

.journal-latest article > a {
  display: inline-flex;
  gap: 0.7rem;
  margin-top: 0.8rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--red);
  font-weight: 850;
}

.journal-shelf {
  padding: clamp(5rem, 10vw, 9rem) max(var(--pad), calc((100vw - var(--max)) / 2));
  scroll-margin-top: 5rem;
}

.journal-shelf-work {
  background: var(--white);
}

.journal-shelf-thought {
  background: #e9e9ff;
}

.journal-shelf-detour {
  background: #edf6e8;
}

.journal-shelf-heading {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(8 19 33 / 20%);
}

.journal-shelf-heading > div:last-child {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  align-items: end;
}

.journal-shelf-heading > div:last-child > strong {
  grid-row: 1 / 3;
  color: var(--red);
  font-size: clamp(3.7rem, 7vw, 6.5rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.journal-shelf-heading > div:last-child > span {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.journal-shelf-heading > div:last-child > p {
  grid-column: 1 / -1;
  margin: 1.2rem 0 0;
}

.journal-current-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: 1px;
  background: rgb(255 255 255 / 20%);
}

.journal-current-card {
  min-height: 16rem;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--white);
  background: var(--ink);
}

.journal-current-card.journal-current-featured {
  background: var(--red);
}

.journal-current-card > p {
  margin: 0 0 2rem;
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.journal-current-card.journal-current-featured > p {
  color: rgb(255 255 255 / 76%);
}

.journal-current-card h3 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.journal-current-card h3 a {
  text-decoration: none;
}

.journal-current-card > span {
  color: rgb(255 255 255 / 55%);
  font-size: 0.78rem;
  font-weight: 700;
}

.journal-archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.journal-archive-heading p,
.journal-archive-heading h3 {
  margin: 0;
}

.journal-archive-heading p {
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.journal-archive-heading h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.journal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.journal-card {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid rgb(8 19 33 / 14%);
  background: rgb(255 255 255 / 86%);
}

.journal-card-image {
  width: calc(100% + 3.2rem);
  aspect-ratio: 16 / 9;
  margin: -1.6rem -1.6rem 1.4rem;
  object-fit: cover;
  background: var(--line);
}

.journal-card-date {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.journal-card-date span {
  color: var(--red);
}

.journal-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.journal-card h3 a,
.journal-card-link {
  text-decoration: none;
}

.journal-card > p:not(.journal-card-date) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.journal-card-link {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  align-self: start;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--red-deep);
  font-size: 0.82rem;
  font-weight: 850;
}

.journal-card-link span {
  transition: transform 160ms ease;
}

.journal-card-link:hover span,
.journal-card-link:focus-visible span {
  transform: translateX(0.3rem);
}

.journal-top-link {
  display: flex;
  justify-content: end;
  gap: 0.7rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.journal-archive-note {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) max(var(--pad), calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.journal-archive-note .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
  color: var(--blue-surface);
}

.journal-archive-note > p:last-child {
  align-self: end;
  margin: 0;
  color: rgb(255 255 255 / 68%);
}

.journal-english-shelves,
.journal-original-language {
  padding: clamp(5rem, 10vw, 9rem) max(var(--pad), calc((100vw - var(--max)) / 2));
}

.journal-english-shelves {
  background: var(--white);
}

.journal-english-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.journal-english-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.journal-english-heading > p:last-child {
  align-self: end;
  margin: 0;
}

.journal-original-language {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  background: #edf6e8;
}

.journal-original-language .eyebrow {
  color: var(--red);
}

.journal-original-language .button {
  margin-top: 1rem;
}

.article-hero--archive {
  min-height: 36rem;
  border-bottom: 0.55rem solid var(--blue-surface);
}

.archive-thought .article-hero--archive {
  border-bottom-color: var(--red);
}

.archive-detour .article-hero--archive {
  border-bottom-color: #a8d38e;
}

.archive-hero-inner {
  grid-template-columns: minmax(0, 1fr);
}

.article-hero--archive .article-hero-copy {
  max-width: 62rem;
}

.article-hero--archive h1 {
  max-width: 60rem;
  font-size: clamp(2.25rem, 4.3vw, 4.2rem);
}

.archive-shelf-label {
  margin: 1.2rem 0 0;
  color: var(--blue-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.archive-thought .archive-shelf-label {
  color: #ff958f;
}

.archive-detour .archive-shelf-label {
  color: #bfe9a6;
}

.archive-article-layout {
  width: min(calc(100% - (var(--pad) * 2)), 52rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.archive-note {
  margin: 0 0 4rem;
  padding: 1.5rem;
  border-left: 0.35rem solid var(--red);
  background: #fff3f1;
}

.archive-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--red-deep);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.archive-note p {
  margin: 0;
  color: #5e3a38;
  font-size: 0.86rem;
}

.archive-featured-image {
  margin: 0 0 3.5rem;
}

.archive-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: contain;
  background: #eef1f4;
}

.legacy-content > h2,
.legacy-content > h3,
.legacy-content > h4 {
  margin: 3.6rem 0 1.2rem;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.legacy-content > h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.legacy-content > h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.legacy-content > h4 {
  font-size: 1.15rem;
}

.legacy-content > p,
.legacy-content > ul,
.legacy-content > ol,
.legacy-content > blockquote {
  margin-top: 1.45rem;
  margin-bottom: 1.45rem;
  font-size: 1rem;
  line-height: 1.95;
}

.legacy-content ul,
.legacy-content ol {
  padding-left: 1.5rem;
}

.legacy-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 1.4rem 1.6rem;
  border-left: 0.35rem solid var(--blue);
  background: #eeeeff;
}

.legacy-content blockquote p {
  margin: 0;
}

.legacy-content figure {
  margin: 2.5rem 0;
}

.legacy-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.legacy-content figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.legacy-content hr {
  width: 4rem;
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legacy-content code {
  padding: 0.12em 0.35em;
  background: #e8edf2;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.legacy-content > h1 {
  margin: 3.6rem 0 1.2rem;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.legacy-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legacy-content th,
.legacy-content td {
  min-width: 7rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legacy-content th {
  background: #e8edf2;
}

.legacy-content audio {
  width: 100%;
}

.legacy-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 2.5rem 0;
  padding-top: 56.25%;
  background: var(--ink);
}

.legacy-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-journal-door {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--ink);
}

.home-journal-door .series-code {
  color: var(--blue-surface);
}

.home-journal-door h3 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(1.8rem, 3.4vw, 3.3rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.home-journal-door > p:not(.series-code) {
  max-width: 50rem;
  color: rgb(255 255 255 / 68%);
}

.home-journal-shelves {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0;
  background: rgb(255 255 255 / 15%);
}

.home-journal-shelves div {
  padding: 1.3rem;
  background: rgb(255 255 255 / 5%);
}

.home-journal-shelves span,
.home-journal-shelves strong,
.home-journal-shelves small {
  display: block;
}

.home-journal-shelves span {
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 850;
}

.home-journal-shelves strong {
  margin: 0.25rem 0;
  font-size: 1rem;
}

.home-journal-shelves small {
  color: rgb(255 255 255 / 48%);
}

.home-journal-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--lime);
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
  color: var(--white);
  background: var(--ink);
}

.redirect-page main {
  max-width: 38rem;
}

.redirect-page h1 {
  margin: 2rem 0 0.5rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
}

.redirect-page a {
  color: var(--lime);
}

@media (max-width: 900px) {
  .journal-hero,
  .journal-orientation,
  .journal-latest,
  .journal-shelf-heading,
  .journal-archive-note,
  .journal-original-language {
    grid-template-columns: 1fr;
  }

  .journal-hero {
    min-height: auto;
  }

  .journal-hero-count {
    min-height: 11rem;
  }

  .journal-shelf-nav,
  .journal-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-shelf-nav a:nth-child(2) {
    border-right: 0;
  }

  .journal-shelf-nav a:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .journal-english-heading {
    grid-template-columns: 1fr;
  }

  .journal-english-heading > p:last-child {
    align-self: auto;
  }
}

@media (max-width: 650px) {
  .journal-hero {
    padding-top: 8.5rem;
  }

  .journal-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .journal-shelf-nav,
  .journal-card-grid,
  .journal-current-grid,
  .home-journal-shelves {
    grid-template-columns: 1fr;
  }

  .journal-shelf-nav a,
  .journal-shelf-nav a:nth-child(2),
  .journal-shelf-nav a:last-child {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .journal-shelf-nav a:first-child {
    border-top: 0;
  }

  .journal-current-card,
  .journal-card {
    min-height: auto;
  }

  .journal-card-link {
    margin-top: 1rem;
  }

  .journal-archive-heading {
    display: block;
  }

  .journal-archive-heading h3 {
    margin-top: 0.5rem;
  }

  .article-hero--archive {
    min-height: auto;
  }

  .article-hero--archive h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .archive-article-layout {
    width: min(calc(100% - 2.5rem), 52rem);
  }
}
