/* ==========================================================================
   Acta Juris Administrativi — journal website
   Design system, components and responsive layout
   ========================================================================== */

:root {
  --ink: #141415;
  --ink-soft: #383838;
  --muted: #5e5e5a;
  --muted-light: #7b7b76;
  --navy: #141415;
  --navy-deep: #141415;
  --navy-soft: #242424;
  --paper: #ffffff;
  --ivory: #f7f6f2;
  --ivory-deep: #efede7;
  --line: #e2dfd8;
  --line-strong: #cbc8c0;

  /* Journal accent — deep teal for public law */
  --accent: #14505e;
  --accent-deep: #0e3d48;
  --accent-soft: #eaf2f3;
  --accent-tint: #a8c6cb;

  --blue: var(--accent);
  --blue-dark: var(--accent-deep);
  --orange: var(--accent);
  --orange-text: var(--accent);
  --orange-deep: var(--accent-deep);
  --orange-soft: var(--accent-soft);
  --action: var(--accent);
  --action-hover: var(--accent-deep);
  --brand-orange: var(--accent);

  --gold: #c6a15b;
  --gold-light: #e6c88f;
  --green: #256b4a;
  --green-soft: #eaf4ee;
  --red: #a12d2d;

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 1280px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 21, 0.04), 0 4px 14px rgba(20, 20, 21, 0.05);
  --shadow-md: 0 6px 22px rgba(20, 20, 21, 0.08);
  --shadow-lg: 0 22px 55px rgba(20, 20, 21, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

[id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border: 2px solid var(--accent);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.container--narrow {
  width: min(calc(100% - 64px), 1040px);
  margin-inline: auto;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--lg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Shared typographic elements
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: var(--gold-light);
}

.lede {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.text-link:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.text-link:hover .arrow {
  transform: translateX(3px);
}

.text-link--light {
  color: #fff;
}

.text-link--light:hover {
  color: var(--gold-light);
}

.arrow {
  transition: transform 0.2s var(--ease);
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Buttons and labels
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  border-color: var(--action);
  background: var(--action);
  color: #fff;
}

.btn--primary:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
}

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

.btn--outline:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--white {
  background: #fff;
  color: var(--accent);
}

.btn--white:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.btn--sm {
  min-height: 38px;
  padding-inline: 17px;
  font-size: 13px;
}

.btn--lg {
  min-height: 48px;
  padding-inline: 27px;
  font-size: 14.5px;
}

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

.btn .icon {
  width: 15px;
  height: 15px;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
}

.tag--oa {
  background: var(--green-soft);
  color: var(--green);
}

.tag--free {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.global-header {
  position: relative;
  z-index: 95;
  border-bottom: 1px solid #eceae5;
  background: #fff;
}

.global-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 76px;
}

.mast-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  color: var(--ink);
}

.mast-brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.mast-logo {
  display: block;
  width: auto;
  height: 42px;
  flex: none;
}

.mast-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mast-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.mast-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.mast-cn {
  color: var(--accent);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.14em;
}

.mast-status {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.mast-status__text {
  white-space: nowrap;
}

.mast-status__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.mast-status__link:hover {
  color: var(--accent-deep);
  text-decoration: none;
}

.mast-status__link svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.global-actions .btn {
  min-height: 40px;
  padding-inline: 19px;
  font-size: 13px;
}

.global-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.global-icon:hover {
  background: var(--ivory);
  color: var(--accent);
  text-decoration: none;
}

.global-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Primary navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.99);
  transition: box-shadow 0.2s ease;
}

.site-nav.is-stuck {
  box-shadow: 0 3px 14px rgba(20, 20, 21, 0.07);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  min-height: 62px;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 0 -14px;
  padding: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link,
.nav-menu-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-link:hover,
.nav-menu-button:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-link::after,
.nav-menu-button::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  background: transparent;
  transition: background 0.15s ease;
}

.nav-link:hover::after,
.nav-menu-button:hover::after,
.nav-list > li.is-current > .nav-link::after,
.nav-list > li.is-current > .nav-menu-button::after {
  background: var(--accent);
}

.nav-list > li.is-current > .nav-link,
.nav-list > li.is-current > .nav-menu-button {
  color: var(--accent);
  font-weight: 500;
}

.nav-menu-button .chevron {
  width: 8px;
  height: 8px;
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  min-width: 264px;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(20, 20, 21, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.has-menu:hover > .nav-sub,
.has-menu:focus-within > .nav-sub,
.has-menu.menu-open > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 18px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}

.nav-sub a:hover {
  background: var(--ivory);
  color: var(--accent);
  text-decoration: none;
}

.nav-sub a span {
  color: var(--muted-light);
  font-size: 10.5px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  padding-left: 20px;
}

.nav-issue {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-issue::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

a.nav-issue:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-guide {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 17px;
}

.bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-open .bars span:nth-child(2) {
  opacity: 0;
}

.nav-open .bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-mobile-title {
  display: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 136px;
  background-color: var(--ivory);
  background-image: url("../assets/pattern-tiles.svg");
  background-position: center top;
  background-size: 640px auto;
  text-align: center;
}

.hero__inner,
.hero__inner--center {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.hero__kicker {
  display: block;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__title {
  max-width: 980px;
  margin: 0 auto;
  color: #403e3b;
  font-family: var(--serif);
  font-size: clamp(42px, 3.7vw, 54px);
  font-weight: 400;
  letter-spacing: -0.033em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero__title em {
  color: #403e3b;
  font-style: italic;
}

.hero__lede {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 31px;
}

.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.hero__secondary svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.hero__secondary:hover {
  color: var(--accent);
  text-decoration: none;
}

.hero__secondary:hover svg {
  transform: translate(2px, -2px);
}

.hero__credit {
  max-width: 700px;
  margin: 17px auto 0;
  color: var(--muted-light);
  font-size: 11.5px;
  text-align: center;
}

.hero__credit strong {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Issue strip
   -------------------------------------------------------------------------- */

.issue-strip-shell {
  position: relative;
  z-index: 3;
  margin-top: -78px;
}

.issue-strip {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 48px rgba(20, 20, 21, 0.1);
}

.issue-strip__cover-link {
  display: block;
  align-self: center;
}

.issue-strip__cover {
  width: 100%;
  height: auto;
  border: 1px solid #dedbd4;
  box-shadow: 0 7px 18px rgba(20, 20, 21, 0.14);
  transition: transform 0.2s var(--ease);
}

.issue-strip__cover-link:hover .issue-strip__cover {
  transform: translateY(-2px);
}

.issue-strip__kicker {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.issue-strip__body h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.issue-strip__meta {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.issue-strip__themes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 22px;
  margin: 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.issue-strip__themes li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.issue-strip__themes li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.issue-strip__note {
  max-width: 680px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.issue-strip__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 158px;
  padding-left: 10px;
  text-align: right;
}

.issue-strip__aside .btn {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 12.5px;
}

.issue-strip__aside p {
  margin: 2px 0 0;
  color: var(--muted-light);
  font-size: 10.5px;
  line-height: 1.55;
}

.alert-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Scope strip
   -------------------------------------------------------------------------- */

.scope-strip {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.scope-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scope-cell {
  padding: 25px 28px 27px 0;
  border-right: 1px solid var(--line);
}

.scope-cell + .scope-cell {
  padding-left: 28px;
}

.scope-cell:last-child {
  border-right: 0;
}

.scope-cell__number {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.scope-cell h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.scope-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Publication model
   -------------------------------------------------------------------------- */

.publishing-model {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.publishing-model__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.publishing-model__copy h2 {
  margin: 5px 0 9px;
  color: #403e3b;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.publishing-model__copy p {
  max-width: 60ch;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.publishing-model__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-left: 1px solid var(--line);
}

.publishing-model__facts div {
  padding: 5px 20px;
}

.publishing-model__facts div + div {
  border-left: 1px solid var(--line);
}

.publishing-model__facts dt {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.publishing-model__facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Sections and editorial layout
   -------------------------------------------------------------------------- */

.section {
  padding: 82px 0;
}

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

.section--ivory {
  background: var(--ivory);
}

.section--top-rule {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-head__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-head__aside {
  flex: none;
  padding-bottom: 2px;
}

.section-head__note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-intro {
  max-width: 700px;
  margin: -12px 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 60px;
  align-items: start;
}

.layout-main__aside {
  min-width: 0;
}

.layout-main__main {
  min-width: 0;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.side-card + .side-card {
  margin-top: 20px;
}

.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.side-card__head h2,
.side-card__head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.side-card__head a {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.side-card__head a:hover {
  color: var(--accent);
}

.status-list {
  margin: 0;
  padding: 0;
}

.status-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.status-list > div:last-child {
  border-bottom: 0;
}

.status-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.status-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 68px;
  align-items: start;
}

/* Homepage body prose */

.home-prose p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

.scope-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.scope-topics li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.list-end-link {
  display: inline-flex;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 500;
}

/* Highlight list */

.issue-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-highlights li {
  position: relative;
  padding: 0 0 0 17px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

.issue-highlights li + li {
  margin-top: 9px;
}

.issue-highlights li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* LaTeX callout */

.latex-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: #fff;
}

.latex-callout > div:first-child {
  flex: 1 1 300px;
}

.latex-callout h3 {
  margin: 2px 0 6px;
  color: #403e3b;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.latex-callout p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.latex-callout .eyebrow {
  margin-bottom: 2px;
}

.latex-callout__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.article-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

/* News */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.news-item {
  padding-top: 17px;
  border-top: 1px solid var(--line-strong);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.news-date::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.news-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
}

.news-title a {
  color: var(--ink);
}

.news-title a:hover {
  color: var(--accent);
}

.news-excerpt {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.news-item .text-link {
  font-size: 11.5px;
}

/* Call to action */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -120px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(230, 200, 143, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 66px rgba(230, 200, 143, 0.025), 0 0 0 132px rgba(230, 200, 143, 0.018);
}

.cta-band::after {
  content: "IUS";
  position: absolute;
  right: 8%;
  bottom: -48px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: 200px;
  line-height: 1;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 57px 0;
}

.cta-band__copy {
  max-width: 680px;
}

.cta-band .eyebrow {
  color: var(--gold-light);
}

.cta-band .eyebrow::before {
  background: var(--gold-light);
}

.cta-band__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.cta-band__text {
  margin: 0;
  color: #b8b8b3;
  font-size: 14.5px;
  line-height: 1.7;
}

.cta-band__note {
  margin: 16px 0 0;
  color: #8a8a85;
  font-size: 10.5px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #b7b7b3;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.8fr));
  gap: 48px;
  padding: 56px 0 43px;
}

.footer-brand {
  max-width: 330px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.footer-logo:hover {
  color: #fff;
  text-decoration: none;
}

.footer-logo-mark {
  display: block;
  width: auto;
  height: 40px;
  flex: none;
}

.footer-cn {
  margin: 13px 0 11px;
  color: var(--accent-tint);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.26em;
}

.footer-about {
  margin: 0 0 19px;
  color: #adada8;
  font-size: 11.5px;
  line-height: 1.7;
}

.footer-contact {
  margin: 0;
  color: #adada8;
  font-size: 11.5px;
  line-height: 1.7;
}

.footer-contact strong {
  display: block;
  margin-bottom: 4px;
  color: #e8e8e4;
  font-weight: 600;
}

.footer-contact a {
  color: #e8e8e4;
}

.footer-status {
  display: inline-block;
  margin-top: 7px;
  color: var(--accent-tint);
}

.footer-col h2 {
  margin: 4px 0 17px;
  color: #efefec;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  color: #adada8;
  font-size: 11.5px;
  line-height: 1.45;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 21px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #82827d;
  font-size: 9.5px;
  line-height: 1.65;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 17px;
}

.footer-legal a {
  color: #c7c7c2;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-note {
  max-width: 680px;
  margin: 11px 0 0;
  color: #82827d;
  font-size: 9px;
  line-height: 1.6;
}

.footer-issn {
  flex: none;
  color: #82827d;
  font-size: 9.5px;
  line-height: 1.7;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Interior page headers
   -------------------------------------------------------------------------- */

.page-header {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
  background-color: var(--ivory);
  background-image: url("../assets/pattern-tiles.svg");
  background-position: center -40px;
  background-size: 760px auto;
}

.breadcrumbs {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 11.5px;
}

.breadcrumbs a {
  color: var(--accent);
}

.breadcrumbs a:hover {
  color: var(--accent-deep);
}

.breadcrumbs .sep {
  color: var(--muted-light);
}

.breadcrumbs [aria-current="page"] {
  max-width: 460px;
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-header__grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.page-header__main {
  max-width: 800px;
}

.page-header h1 {
  margin: 0;
  color: #403e3b;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.page-header__lede {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.page-header__aside {
  flex: none;
  max-width: 280px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.page-header__aside strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-intro {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  padding: 42px 0 51px;
  border-bottom: 1px solid var(--line);
}

.about-intro__cover {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-intro__copy {
  max-width: 760px;
}

.about-intro__copy .lede {
  margin: 0 0 17px;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.48;
}

.about-intro__copy p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.about-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.about-intro__meta div {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.about-intro__meta strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.about-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  padding-top: 46px;
  padding-bottom: 84px;
}

.on-this-page {
  position: sticky;
  top: 76px;
  padding-top: 15px;
  border-top: 2px solid var(--ink);
}

.on-this-page h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.on-this-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.on-this-page li + li {
  margin-top: 1px;
}

.on-this-page a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.on-this-page a:hover,
.on-this-page a.is-active {
  color: var(--ink);
  text-decoration: none;
}

.on-this-page a.is-active {
  font-weight: 700;
}

.on-this-page .side-card {
  margin-top: 23px;
  padding: 15px;
}

.on-this-page .side-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.on-this-page .side-card a {
  display: inline;
  padding: 0;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
}

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

.about-body section {
  scroll-margin-top: 84px;
}

.about-body section + section {
  margin-top: 46px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}

.about-body h2 {
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-body h3 {
  margin: 26px 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.about-body p {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

.about-body .lede {
  max-width: 800px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
}

.about-body ul {
  padding-left: 18px;
}

.about-body li {
  font-size: 13px;
  line-height: 1.7;
}

.about-body li + li {
  margin-top: 5px;
}

.scope-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 36px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
}

.scope-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.oa-panel {
  margin-top: 21px;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: var(--green-soft);
}

.oa-panel h3 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.oa-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.oa-panel a {
  color: var(--green);
  font-weight: 600;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 14px;
  border-top: 2px solid var(--ink);
  font-size: 12px;
}

.metrics-table th,
.metrics-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.metrics-table th {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics-table td:last-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  text-align: right;
}

.metrics-table td:last-child small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.form-note {
  margin: 8px 0 0;
  color: var(--muted-light);
  font-size: 9.5px;
  line-height: 1.5;
}

.timeline {
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.timeline time {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.timeline strong {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   LaTeX guidance
   -------------------------------------------------------------------------- */

.latex-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 32px;
  align-items: start;
  margin: 22px 0 24px;
}

.latex-layout h3 {
  margin-top: 22px;
}

.latex-layout > div > h3:first-child {
  margin-top: 0;
}

.latex-preview {
  margin: 0;
  padding: 11px;
  border: 1px solid var(--line);
  background: #fff;
}

.latex-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eee;
}

.latex-preview figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.about-body code {
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.88em;
}

/* --------------------------------------------------------------------------
   Not found
   -------------------------------------------------------------------------- */

.error-page {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 70px 0;
  background: var(--ivory);
  background-image: url("../assets/pattern-tiles.svg");
  background-position: center top;
  background-size: 700px auto;
}

.error-page__inner {
  max-width: 720px;
}

.error-page__code {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 108px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.error-page h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.error-page p {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1220px) {
  .mast-status__text {
    display: none;
  }

  .global-header__inner {
    gap: 22px;
  }
}

@media (max-width: 1040px) {
  .mast-name {
    font-size: 25px;
  }

  .mast-sub-long {
    display: none;
  }

  .mast-status {
    gap: 8px;
  }

  .global-header__inner {
    min-height: 70px;
  }

  .nav-inner {
    gap: 18px;
  }

  .nav-link,
  .nav-menu-button {
    padding-inline: 11px;
    font-size: 13px;
  }

  .nav-link::after,
  .nav-menu-button::after {
    right: 11px;
    left: 11px;
  }

  .nav-tools {
    gap: 12px;
    padding-left: 10px;
  }
}

@media (max-width: 920px) {
  .mast-status {
    display: none;
  }

  .global-header__inner {
    min-height: 66px;
  }

  .global-actions .btn {
    min-height: 38px;
    padding-inline: 16px;
  }
}

@media (max-width: 820px) {
  .global-header__inner {
    gap: 12px;
  }

  .mast-logo {
    height: 35px;
  }

  .mast-name {
    font-size: 23px;
  }

  .mast-sub {
    font-size: 8.5px;
  }

  .global-actions {
    gap: 2px;
  }

  .global-icon {
    width: 34px;
    height: 34px;
  }

  .global-icon svg {
    width: 18px;
    height: 18px;
  }

  .nav-inner {
    min-height: 56px;
    gap: 12px;
    align-items: center;
  }

  .nav-mobile-title {
    display: block;
    order: 0;
    margin-right: auto;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
  }

  .nav-mobile-title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: 1px;
  }

  .nav-toggle {
    order: 1;
    display: inline-flex;
    margin-left: 0;
  }

  .nav-tools {
    display: none;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    right: -24px;
    left: -24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 28px rgba(20, 20, 21, 0.09);
  }

  .nav-open .nav-list {
    display: flex;
  }

  .nav-list > li {
    display: block;
  }

  .nav-link,
  .nav-menu-button {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--ink);
    font-size: 14px;
  }

  .nav-link::after,
  .nav-menu-button::after {
    display: none;
  }

  .nav-list > li.is-current > .nav-link,
  .nav-list > li.is-current > .nav-menu-button {
    color: var(--accent);
    font-weight: 600;
  }

  .nav-sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-menu.menu-open > .nav-sub,
  .has-menu.menu-open:hover > .nav-sub,
  .has-menu.menu-open:focus-within > .nav-sub {
    display: block;
  }

  .has-menu:hover > .nav-sub,
  .has-menu:focus-within > .nav-sub {
    display: none;
  }

  .nav-sub a {
    padding: 7px 0;
    font-size: 12.5px;
  }

  .nav-sub a span {
    display: none;
  }

  .hero {
    padding: 64px 0 105px;
  }

  .hero__title {
    font-size: clamp(38px, 7vw, 48px);
  }

  .hero__lede {
    font-size: 15.5px;
  }

  .issue-strip-shell {
    margin-top: -54px;
  }

  .issue-strip {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .issue-strip__cover {
    width: 92px;
  }

  .issue-strip__aside {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }

  .issue-strip__aside p {
    margin: 0;
    text-align: right;
  }

  .issue-strip__body h2 {
    font-size: 19px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head__title {
    font-size: 25px;
  }

  .hero__actions {
    gap: 16px;
  }

  .hero__secondary {
    font-size: 13.5px;
  }

  .layout-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-header__grid {
    display: block;
  }

  .page-header__aside {
    max-width: none;
    margin-top: 20px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0;
  }

  .cta-band__title {
    font-size: 34px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .about-intro {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 36px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .on-this-page {
    position: static;
    padding-top: 12px;
  }

  .on-this-page ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 20px;
  }

  .on-this-page li + li {
    margin-top: 0;
  }

  .on-this-page .side-card {
    display: none;
  }

  .page-header__aside {
    padding-top: 14px;
    border-top: 1px solid var(--line-strong);
  }

  .latex-layout {
    grid-template-columns: 1fr;
  }

  .latex-preview {
    max-width: 280px;
  }
}

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

  .mast-sub-long {
    display: none;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .container--narrow {
    width: min(calc(100% - 40px), 1040px);
  }

  .nav-list {
    right: -20px;
    left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-header__grid {
    display: block;
  }

  .page-header__aside {
    max-width: none;
    margin-top: 20px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 0 40px;
  }

  .about-intro__cover {
    max-width: 180px;
  }
}

@media (max-width: 640px) {
  .scope-strip {
    margin-top: 20px;
  }

  .scope-strip__grid {
    grid-template-columns: 1fr;
  }

  .scope-cell,
  .scope-cell + .scope-cell {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scope-cell:last-child {
    border-bottom: 0;
  }

  .scope-cell h2 {
    font-size: 14px;
  }

  .scope-cell p {
    font-size: 11.5px;
  }

  .page-header {
    padding: 27px 0 33px;
    background-size: 600px auto;
  }

  .page-header h1 {
    font-size: 35px;
    line-height: 1.12;
  }

  .page-header__lede {
    font-size: 14px;
    line-height: 1.65;
  }

  .page-header__aside {
    font-size: 11px;
  }

  .breadcrumbs {
    margin-bottom: 17px;
    font-size: 10.5px;
  }

  .about-body h2 {
    font-size: 27px;
  }

  .about-body p {
    font-size: 13.5px;
  }

  .about-body .lede {
    font-size: 16.5px;
  }

  .scope-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .metrics-table th,
  .metrics-table td {
    padding: 9px 7px;
    font-size: 11px;
  }

  .metrics-table td:last-child {
    font-size: 14px;
  }

  .timeline li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline time {
    font-size: 15px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (min-width: 641px) and (max-width: 940px) {
  .scope-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .scope-cell,
  .scope-cell + .scope-cell {
    padding: 20px 24px 21px;
  }

  .scope-cell:nth-child(odd) {
    padding-left: 0;
  }

  .scope-cell:nth-child(even) {
    border-right: 0;
  }

  .scope-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .global-header__inner {
    min-height: 61px;
  }

  .mast-name {
    font-size: 20px;
  }

  .mast-brand {
    gap: 9px;
  }

  .mast-logo {
    height: 31px;
  }

  .footer-logo-mark {
    height: 34px;
  }

  .mast-sub {
    letter-spacing: 0.02em;
  }

  .global-icon {
    width: 31px;
    height: 31px;
  }

  .nav-inner {
    min-height: 52px;
  }

  .nav-mobile-title {
    font-size: 12px;
  }

  .hero {
    padding: 50px 0 92px;
  }

  .hero__kicker {
    margin-bottom: 15px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .hero__title {
    font-size: clamp(33px, 9.6vw, 41px);
    line-height: 1.08;
  }

  .hero__lede {
    margin-top: 17px;
    font-size: 14.5px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .issue-strip-shell {
    margin-top: -42px;
  }

  .issue-strip {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .issue-strip__cover {
    width: 68px;
  }

  .issue-strip__body h2 {
    font-size: 17px;
  }

  .issue-strip__themes {
    gap: 6px 15px;
  }

  .issue-strip__aside {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .issue-strip__aside p {
    text-align: left;
  }

  .section {
    padding: 49px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-head__title {
    font-size: 23px;
  }

  .side-card {
    padding: 20px;
  }

  .news-grid {
    gap: 13px;
  }

  .cta-band__title {
    font-size: 30px;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .publishing-model {
    padding: 34px 0;
  }

  .publishing-model__inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .publishing-model__facts {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .publishing-model__facts div {
    padding: 0;
  }

  .publishing-model__facts div + div {
    padding-top: 13px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .latex-callout {
    padding: 19px;
  }

  .latex-callout__actions .btn {
    width: 100%;
  }

  .footer-logo {
    font-size: 17px;
  }

  .footer-main {
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-issn {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    font-size: 9px;
  }

  .global-actions .global-icon {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

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

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

@media print {
  @page {
    margin: 18mm 17mm 20mm;
  }

  body {
    color: #000;
    font-size: 10.5pt;
  }

  .global-header,
  .site-nav,
  .hero,
  .issue-strip-shell,
  .scope-strip,
  .publishing-model,
  .site-footer,
  .cta-band,
  .on-this-page,
  .skip-link {
    display: none !important;
  }

  .page-header {
    padding: 0 0 14pt;
    border-bottom: 1pt solid #777;
    background: #fff;
  }

  .page-header h1 {
    color: #000;
    font-size: 24pt;
  }

  .about-layout {
    display: block;
    padding-top: 16pt;
  }

  .about-body section + section {
    border-top: 0.5pt solid #999;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
