:root {
  color-scheme: light;
  --paper: #F4EFE6;
  --surface: #FBF7EF;
  --ink: #1A1512;
  --navy: #0A2540;
  --steel: #2D4A6F;
  --orange: #E8590C;
  --red: #D9480F;
  --volt: #C8F135;
  --sand: #C7BFA9;
  --slate: #5B6B7A;
  --font-display: "Archivo", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rail-w: 268px;
  --container: 1240px;
  --header-z: 1000;
  --backdrop-z: 1005;
  --drawer-z: 1010;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
}

::selection {
  background: var(--volt);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

html.js-reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.js-reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 241, 53, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(200, 241, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 241, 53, 0);
  }
}

[data-scrollbar] {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1400;
  background: linear-gradient(90deg, var(--orange), var(--volt));
  box-shadow: 0 1px 4px rgba(10, 37, 64, 0.18);
  pointer-events: none;
  opacity: 0.92;
}

.site-skip {
  position: fixed;
  top: -120px;
  left: 12px;
  z-index: 1300;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.18s ease;
}

.site-skip:focus {
  top: 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
}

/* ================= Header ================= */

.site-header {
  background: var(--navy);
  color: #FBF7EF;
  border-bottom: 1px solid rgba(251, 247, 239, 0.12);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FBF7EF;
}

.brand__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: var(--steel);
  border: 1px solid rgba(200, 241, 53, 0.5);
  color: var(--volt);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.brand__mark-core {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(232, 89, 12, 0.7);
  pointer-events: none;
}

.brand__mark::first-letter {
  position: relative;
  z-index: 1;
}

.brand__text {
  display: block;
  line-height: 1.2;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #FBF7EF;
  white-space: nowrap;
}

.brand__en {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
  margin-left: 6px;
}

.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-top: 3px;
}

.site-nav {
  padding: 4px 20px 16px;
}

.site-nav__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt);
  line-height: 1;
}

.site-nav__heading::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 241, 53, 0.15);
}

.site-nav__count {
  border: 1px solid var(--steel);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  color: var(--volt);
  font-family: var(--font-mono);
}

.site-nav__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav__item {
  flex: 0 0 auto;
}

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  color: rgba(251, 247, 239, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-nav__link:hover {
  color: #fff;
  background: rgba(45, 74, 111, 0.4);
}

.site-nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(45, 74, 111, 0.35);
  border-color: rgba(232, 89, 12, 0.5);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--orange);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  line-height: 1.6;
}

.site-nav__label {
  font-size: 15px;
  line-height: 1.4;
}

.site-nav__cta {
  margin-top: 12px;
  display: inline-flex;
}

.site-nav__foot {
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-backdrop {
  display: none;
}

/* ---- Desktop rail (js-rail) ---- */

html.js-rail body {
  padding-left: var(--rail-w);
}

html.js-rail [data-scrollbar] {
  left: var(--rail-w);
}

html.js-rail .site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: var(--header-z);
  border-bottom: 0;
  border-right: 1px solid rgba(200, 241, 53, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.js-rail .site-header__top {
  padding: 28px 22px 0;
}

html.js-rail .site-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 44px 22px 24px;
  overflow-y: auto;
}

html.js-rail .site-nav__list {
  display: block;
  margin-top: 18px;
  flex: 1;
}

html.js-rail .site-nav__item {
  margin-bottom: 2px;
}

html.js-rail .site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
}

html.js-rail .site-nav__link:hover {
  background: rgba(45, 74, 111, 0.4);
  border-left-color: rgba(200, 241, 53, 0.4);
}

html.js-rail .site-nav__link[aria-current="page"] {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(232, 89, 12, 0.16), rgba(232, 89, 12, 0.02));
  border-color: transparent;
  border-left-color: var(--orange);
}

html.js-rail .site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--orange);
}

html.js-rail .site-nav__cta {
  width: 100%;
  margin-top: 18px;
}

html.js-rail .site-nav__foot {
  display: block;
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--slate);
  text-align: center;
  letter-spacing: 0.04em;
}

html.js-rail .nav-toggle {
  display: none;
}

html.js-rail .nav-backdrop {
  display: none;
}

/* ---- Mobile drawer (js-drawer) ---- */

@media (max-width: 899px) {
  :root {
    --rail-w: 0px;
  }

  html.js-drawer body {
    padding-top: 64px;
  }

  html.js-drawer .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    z-index: var(--header-z);
    border-bottom: 1px solid rgba(200, 241, 53, 0.14);
    border-right: 0;
    display: block;
    overflow: visible;
  }

  html.js-drawer .site-header__top {
    height: 64px;
    padding: 0 16px 0 20px;
  }

  html.js-drawer .brand__sub {
    display: none;
  }

  html.js-drawer .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  html.js-drawer .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 44px;
    height: 44px;
    padding: 6px;
    background: rgba(45, 74, 111, 0.35);
    border: 1px solid rgba(251, 247, 239, 0.24);
    border-radius: 4px;
    cursor: pointer;
  }

  html.js-drawer .nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #FBF7EF;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  html.js-drawer .nav-toggle__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--volt);
    line-height: 1;
  }

  html.js-drawer .site-header[data-open] .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  html.js-drawer .site-header[data-open] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  html.js-drawer .site-header[data-open] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  html.js-drawer .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: var(--drawer-z);
    padding: 28px 20px 32px;
    background: var(--navy);
    border-right: 1px solid rgba(200, 241, 53, 0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  html.js-drawer .site-header[data-open] .site-nav {
    transform: translateX(0);
  }

  html.js-drawer .site-nav__list {
    display: block;
    margin-top: 20px;
    flex: 1;
  }

  html.js-drawer .site-nav__link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
  }

  html.js-drawer .site-nav__link[aria-current="page"] {
    border-left-color: var(--orange);
    background: linear-gradient(90deg, rgba(232, 89, 12, 0.16), rgba(232, 89, 12, 0.02));
    border-color: transparent;
    border-left-color: var(--orange);
  }

  html.js-drawer .site-nav__cta {
    width: 100%;
    margin-top: 18px;
  }

  html.js-drawer .site-nav__foot {
    display: block;
    margin: 16px 0 0;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    text-align: center;
    letter-spacing: 0.04em;
  }

  html.js-drawer .nav-backdrop {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--backdrop-z);
    background: rgba(10, 37, 64, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  html.js-drawer .site-header[data-open] .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  html.js-drawer[data-menu-open] body {
    overflow: hidden;
  }
}

/* ================= Footer ================= */

.site-footer {
  background: var(--navy);
  color: rgba(251, 247, 239, 0.78);
  margin-top: 64px;
}

.site-footer__stripe {
  position: relative;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--red) 18%,
    transparent 18% 42%,
    var(--steel) 42% 62%,
    transparent 62% 78%,
    rgba(200, 241, 53, 0.55) 78%,
    transparent 78%
  );
  border-bottom: 1px solid rgba(200, 241, 53, 0.22);
}

.site-footer__stripe::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--volt);
  border-radius: 50%;
  animation: livePulse 1.6s ease-out infinite;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 1.2fr;
  gap: 40px 32px;
  padding: 56px 0 44px;
}

.site-footer__brand-col .brand {
  margin-bottom: 20px;
}

.site-footer__slogan {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #FBF7EF;
}

.site-footer__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 42ch;
}

.footer-col__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(251, 247, 239, 0.78);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-contact__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--volt);
  letter-spacing: 0.08em;
  padding-top: 2px;
}

.footer-contact__value {
  color: rgba(251, 247, 239, 0.82);
  word-break: break-word;
}

.site-footer__trust {
  background: var(--steel);
  padding: 14px 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.88);
  border-top: 1px solid rgba(200, 241, 53, 0.2);
}

.site-footer__trust p {
  margin: 0;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 18px 0 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.site-footer__copy {
  color: rgba(251, 247, 239, 0.7);
}

.site-footer__icp {
  color: rgba(251, 247, 239, 0.6);
}

.site-footer__ver {
  color: rgba(251, 247, 239, 0.5);
}

@media (max-width: 1023px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
}

@media (max-width: 599px) {
  .site-footer {
    margin-top: 40px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
  }
}

/* ================= Shared UI ================= */

.section {
  padding: 48px 0;
}

.section--tight {
  padding: 28px 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}

.section__aside {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
}

.page-head {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 32px;
  position: relative;
}

.page-head__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
}

.page-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.page-head__lede {
  max-width: 640px;
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--sand);
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb [aria-current="page"] {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--orange);
  color: #0A2540;
}

.btn--primary:hover {
  background: #F45D1B;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 89, 12, 0.32);
}

.btn--ghost {
  border-color: var(--sand);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(26, 21, 18, 0.04);
}

.btn--navy {
  background: var(--navy);
  color: #FBF7EF;
}

.btn--navy:hover {
  background: var(--steel);
}

.btn--block {
  width: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background: var(--sand);
  color: var(--ink);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.tag--live {
  background: var(--red);
  color: #F4EFE6;
}

.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--volt);
  border-radius: 50%;
  animation: livePulse 1.5s ease-out infinite;
}

.tag--sync {
  background: var(--volt);
  color: var(--navy);
}

.tag--navy {
  background: var(--navy);
  color: #FBF7EF;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 26px;
  box-shadow: 0 2px 0 rgba(26, 21, 18, 0.05);
}

.card__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 10px 0 8px;
}

.card__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  margin: 0;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--feature {
  grid-template-columns: 1.2fr 0.8fr;
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--ledger {
  grid-template-columns: 240px 1fr;
  align-items: start;
}

@media (max-width: 899px) {
  .grid--feature,
  .grid--ledger {
    grid-template-columns: 1fr;
  }
}

.chapter-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 24px 0 40px;
  padding: 0;
}

.chapter-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 8px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chapter-index__link:hover {
  border-color: var(--navy);
  background: rgba(10, 37, 64, 0.06);
}

.chapter-index__link[aria-current="location"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #FBF7EF;
}

.chapter-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

.data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.data-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.06em;
}

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%);
  border: 1px solid rgba(200, 241, 53, 0.16);
  min-height: 120px;
}

.img-frame[data-caption]::before {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgba(10, 37, 64, 0.82));
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  z-index: 1;
}

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

.img-frame--16x9 {
  aspect-ratio: 16 / 9;
}

.img-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.img-frame--1x1 {
  aspect-ratio: 1 / 1;
}

.entry {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.entry h2,
.entry h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

.entry p {
  margin: 0 0 1.4em;
}

.entry a {
  color: var(--orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.4em;
}

.entry li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.4em;
}

.entry li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: var(--font-mono);
}

.archive-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--sand);
  display: grid;
  gap: 28px;
}

.archive-timeline__item {
  position: relative;
}

.archive-timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--orange);
}

.archive-timeline__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

.archive-timeline__title {
  font-weight: 700;
  font-size: 17px;
  margin: 4px 0;
}

.archive-timeline__body {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

/* ================= Reduced motion ================= */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.js-reveal-enabled [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
