:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-2: #eceff1;
  --ink: #171717;
  --muted: #626764;
  --faint: #d8d2c8;
  --line: #2b2b29;
  --accent: #8f1d17;
  --accent-2: #b44a3e;
  --slate: #263238;
  --shadow: 0 22px 60px rgba(29, 31, 30, 0.11);
  --max: 960px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 255, 255, 0.95), transparent 26rem),
    linear-gradient(110deg, #f8f5ef 0%, #f1f3f2 54%, #f7f4ee 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(38, 50, 56, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 50, 56, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 13px clamp(56px, 7vw, 112px);
  border-bottom: 1px solid rgba(43, 43, 41, 0.16);
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.05vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-rule {
  width: 1px;
  height: 42px;
  background: rgba(43, 43, 41, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.86rem;
  line-height: 1.1;
}

.brand small {
  max-width: 260px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.22;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.15vw, 18px);
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 750;
}

.main-nav a {
  position: relative;
  padding: 9px 0;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--ink);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(43, 43, 41, 0.28);
  background: rgba(255, 253, 248, 0.78);
}

.lang-switch a {
  min-width: 38px;
  padding: 8px 10px;
  text-align: center;
}

.main-nav .lang-switch a.active {
  color: #fff;
  background: var(--accent);
}

.main-nav .lang-switch a::after {
  content: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(43, 43, 41, 0.28);
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.flash {
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(143, 29, 23, 0.32);
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
}

.institute-hero,
.page-shell,
.reading-shell,
.admin-shell,
.site-footer {
  width: min(var(--max), calc(100% - clamp(96px, 16vw, 280px)));
  margin-inline: auto;
}

.institute-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.48fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  min-height: auto;
  padding: clamp(38px, 4.8vw, 64px) 0 clamp(42px, 5.2vw, 70px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.hero-copy h1,
.article-reading h1,
.admin-shell h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.25vw, 3.45rem);
  font-weight: 700;
  line-height: 1.02;
}

.page-hero h1,
.about-layout h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.1vw, 3.05rem);
  font-weight: 700;
  line-height: 1.04;
}

.hero-lead,
.page-hero > p,
.lead {
  max-width: 720px;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.12vw, 1.08rem);
  line-height: 1.48;
}

.hero-profile {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-actions,
.admin-actions,
.small-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

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

.btn.secondary {
  border-color: rgba(43, 43, 41, 0.26);
  background: rgba(255, 253, 248, 0.72);
}

.btn.locked {
  min-width: 240px;
  color: #9b9b9b;
  background: var(--ink);
  cursor: not-allowed;
}

.btn.locked.unlocked {
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 850;
}

.text-link::after {
  content: "->";
  color: currentColor;
}

.meaning-axis {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(43, 43, 41, 0.18);
  background: rgba(255, 253, 248, 0.68);
  box-shadow: var(--shadow);
}

.meaning-axis::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 88px;
  left: 38px;
  width: 1px;
  background: rgba(143, 29, 23, 0.42);
}

.meaning-axis div {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(43, 43, 41, 0.1);
}

.meaning-axis span,
.info-card span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
}

.meaning-axis strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
}

.meaning-axis p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.statement-band {
  border-top: 1px solid rgba(43, 43, 41, 0.16);
  border-bottom: 1px solid rgba(43, 43, 41, 0.16);
  background: rgba(255, 253, 248, 0.52);
}

.statement-band blockquote {
  width: min(760px, calc(100% - clamp(96px, 16vw, 280px)));
  margin: 0 auto;
  padding: clamp(32px, 5.4vw, 58px) 0;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.05vw, 1.95rem);
  line-height: 1.28;
}

.section-block,
.split-feature,
.axis-section,
.about-layout,
.page-hero {
  padding: clamp(34px, 5vw, 62px) 0;
}

body.home-page main > .section-block,
body.home-page main > .split-feature {
  width: min(var(--max), calc(100% - clamp(96px, 16vw, 280px)));
  margin-inline: auto;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.48fr);
  gap: clamp(22px, 4.8vw, 58px);
  align-items: end;
  margin-bottom: 26px;
}

.section-intro h2,
.split-feature h2,
.axis-section h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.55vw, 2.42rem);
  line-height: 1.06;
}

.section-intro p,
.split-feature p,
.page-hero p,
.info-card p,
.article-main p,
.article-aside p,
.toc li {
  color: var(--muted);
  line-height: 1.65;
}

.research-grid,
.quad-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(43, 43, 41, 0.16);
  background: rgba(43, 43, 41, 0.16);
}

.quad-grid,
.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  min-height: 150px;
  padding: clamp(18px, 2.1vw, 24px);
  background: rgba(255, 253, 248, 0.74);
}

.info-card h3 {
  margin: 16px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  line-height: 1.1;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.56fr);
  gap: clamp(28px, 5.6vw, 72px);
  align-items: center;
  border-top: 1px solid rgba(43, 43, 41, 0.16);
}

.project-media {
  margin: 0;
}

.project-media img,
.context-panel img,
.article-aside img {
  border: 1px solid rgba(43, 43, 41, 0.18);
  background: var(--surface);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.latest-section {
  border-top: 1px solid rgba(43, 43, 41, 0.16);
}

.page-shell {
  padding-bottom: 40px;
}

.page-hero {
  max-width: 980px;
}

.page-hero.compact {
  max-width: 860px;
  padding-bottom: 34px;
}

.page-hero.compact h1 {
  font-size: clamp(1.7rem, 2.85vw, 2.75rem);
}

.category-band {
  padding-bottom: 36px;
}

.article-list.full {
  padding-bottom: 58px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(43, 43, 41, 0.2);
}

.article-date {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-date span,
.article-date em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.article-date strong {
  color: var(--ink);
  font-weight: 750;
}

.article-main h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  line-height: 1.08;
}

.article-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 850;
}

.article-arrow span {
  font-size: 1.35rem;
}

.axis-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(26px, 5.6vw, 68px);
  align-items: center;
}

.axis-large {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(43, 43, 41, 0.16);
  background: rgba(43, 43, 41, 0.16);
}

.axis-large span {
  padding: 18px 22px;
  background: rgba(255, 253, 248, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.3vw, 1.9rem);
}

.axis-section blockquote {
  margin: 0;
  color: var(--slate);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.05vw, 1.85rem);
  line-height: 1.28;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.45fr);
  gap: clamp(28px, 5.6vw, 70px);
}

.profile-panel {
  align-self: start;
}

.mini-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(43, 43, 41, 0.16);
  background: rgba(43, 43, 41, 0.16);
}

.mini-list .info-card {
  min-height: 0;
  padding: 18px 20px;
}

.mini-list .info-card p {
  display: none;
}

.consent-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  color: #fff;
  background: var(--slate);
  font-weight: 800;
}

.consent-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.33fr) minmax(0, 1fr);
  gap: clamp(24px, 4.4vw, 54px);
  align-items: start;
  padding-bottom: 58px;
}

.context-panel {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.consent-gate {
  min-width: 0;
}

.consent-gate h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.75vw, 2.45rem);
  line-height: 1.05;
}

.gate-subtitle {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 800;
}

.consent-instruction {
  margin-bottom: 22px;
  color: var(--muted);
}

.consent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(43, 43, 41, 0.16);
  background: rgba(43, 43, 41, 0.16);
}

.consent-item {
  display: grid;
  grid-template-columns: 24px 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 13px;
  background: rgba(255, 253, 248, 0.78);
  cursor: pointer;
}

.consent-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-item .box {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1.5px solid var(--accent);
}

.consent-item input:checked + .box {
  background: var(--accent);
}

.consent-item input:checked + .box::after {
  content: "";
  width: 10px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.consent-item strong {
  color: var(--accent);
}

.consent-item span:last-child {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  line-height: 1.25;
}

.consent-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(43, 43, 41, 0.18);
  background: rgba(255, 253, 248, 0.84);
}

.consent-progress strong,
.consent-progress span {
  display: block;
}

.consent-progress output {
  color: var(--accent);
  font-weight: 850;
  text-align: center;
}

.consent-progress output b {
  display: block;
  font-size: 1.55rem;
}

.consent-progress output span {
  color: var(--muted);
  font-size: 0.8rem;
}

.reading-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 680px) 220px;
  gap: clamp(22px, 3.4vw, 42px);
  align-items: start;
  padding: clamp(38px, 6vw, 68px) 0;
}

.toc,
.article-aside {
  position: sticky;
  top: 110px;
  padding-top: 16px;
  border-top: 1px solid rgba(43, 43, 41, 0.22);
}

.toc h2,
.article-aside h2 {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.toc ol {
  margin: 0 0 22px;
  padding-left: 18px;
}

.small-actions {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.small-actions button,
.small-actions a {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

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

.article-reading h1 {
  font-size: clamp(1.95rem, 3.55vw, 3.35rem);
}

.article-subtitle {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  line-height: 1.25;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(43, 43, 41, 0.18);
  border-bottom: 1px solid rgba(43, 43, 41, 0.18);
  color: var(--muted);
  font-size: 0.9rem;
}

.article-reading p,
.article-reading li {
  color: #2f3130;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.7;
}

.article-reading .lead {
  color: var(--slate);
  font-size: 1.05rem;
}

.article-reading blockquote {
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(143, 29, 23, 0.3);
  border-bottom: 1px solid rgba(143, 29, 23, 0.3);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.95vw, 1.75rem);
  line-height: 1.32;
}

.article-reading h2 {
  margin: 36px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
}

.article-reading h3 {
  margin: 28px 0 10px;
  color: var(--accent);
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-reading a {
  color: var(--accent);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.article-reading strong {
  color: var(--ink);
  font-weight: 850;
}

.article-reading em {
  color: var(--slate);
}

.article-rule {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid rgba(43, 43, 41, 0.18);
}

.article-aside .btn {
  width: 100%;
  margin-top: 14px;
}

.editor-actions {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.admin-login,
.narrow {
  width: min(720px, calc(100% - 44px));
  margin: 70px auto;
}

.auth-box,
.article-form,
.admin-table {
  padding: 28px;
  border: 1px solid rgba(43, 43, 41, 0.18);
  background: rgba(255, 253, 248, 0.78);
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-weight: 760;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(43, 43, 41, 0.28);
  background: var(--surface);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.editor-source {
  display: none;
}

.rich-editor {
  min-height: 420px;
  padding: 18px 20px;
  border: 1px solid rgba(43, 43, 41, 0.28);
  background: var(--surface);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.65;
  outline: none;
}

.rich-editor:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 29, 23, 0.12);
}

.rich-editor p {
  margin: 0 0 1em;
}

.rich-editor h2 {
  margin: 1.1em 0 0.45em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1.15;
}

.rich-editor h3 {
  margin: 1em 0 0.45em;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1.22;
  text-transform: uppercase;
}

.rich-editor blockquote {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(143, 29, 23, 0.3);
  border-bottom: 1px solid rgba(143, 29, 23, 0.3);
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 1.35;
}

.rich-editor ul,
.rich-editor ol {
  margin: 0 0 1em 1.35em;
  padding: 0;
}

.rich-editor a {
  color: var(--accent);
  font-weight: 800;
}

.rich-editor hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid rgba(43, 43, 41, 0.22);
}

.editor-field {
  margin-top: 20px;
}

.format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.format-toolbar button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(43, 43, 41, 0.24);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.format-toolbar button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.editor-help,
.form-help {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-head,
.form-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: center;
}

.checkbox-line input {
  width: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-top: 1px solid rgba(43, 43, 41, 0.16);
  text-align: left;
}

.admin-table small {
  display: block;
  color: var(--muted);
}

.table-link {
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid rgba(43, 43, 41, 0.16);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 750;
}

.quiet-admin {
  opacity: 0.58;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 16px;
    border-top: 1px solid rgba(43, 43, 41, 0.16);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .institute-hero,
  .split-feature,
  .axis-section,
  .about-layout,
  .consent-layout,
  .reading-shell,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .reading-shell {
    width: min(860px, calc(100% - 44px));
  }

  .article-reading {
    order: 1;
  }

  .toc {
    order: 2;
  }

  .article-aside {
    order: 3;
  }

  .consent-gate {
    order: 1;
  }

  .context-panel {
    order: 2;
  }

  .toc,
  .article-aside,
  .context-panel {
    position: static;
  }

  .research-grid,
  .quad-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 28px;
  }

  .brand {
    grid-template-columns: auto 1px minmax(0, 1fr);
    gap: 9px;
  }

  .brand-mark {
    font-size: 1.08rem;
  }

  .brand-rule {
    height: 36px;
  }

  .brand small {
    max-width: 126px;
    font-size: 0.62rem;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  body.nav-open .main-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(43, 43, 41, 0.12);
  }

  .institute-hero,
  .page-shell,
  .reading-shell,
  .admin-shell,
  .site-footer {
    width: min(100% - 64px, var(--max));
  }

  .institute-hero {
    gap: 22px;
    min-height: auto;
    padding: 28px 0 28px;
  }

  .kicker {
    margin-bottom: 10px;
    font-size: 0.62rem;
  }

  .hero-copy h1,
  .article-reading h1,
  .admin-shell h1 {
    font-size: clamp(1.65rem, 6.7vw, 2.05rem);
    line-height: 1.02;
  }

  .page-hero h1,
  .about-layout h1 {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    line-height: 1.06;
  }

  .page-hero.compact h1 {
    font-size: clamp(1.38rem, 5.4vw, 1.72rem);
  }

  .hero-lead,
  .page-hero > p,
  .lead {
    font-size: 0.88rem;
    line-height: 1.44;
  }

  .hero-profile {
    font-size: 0.82rem;
    line-height: 1.52;
  }

  .hero-actions,
  .admin-actions,
  .small-actions {
    gap: 9px;
    margin-top: 20px;
  }

  .btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .meaning-axis {
    display: none;
  }

  .statement-band blockquote {
    width: min(100% - 64px, 760px);
    font-size: 1rem;
  }

  .section-block,
  .split-feature,
  .axis-section,
  .about-layout,
  .page-hero {
    padding: 26px 0;
  }

  body.home-page main > .section-block,
  body.home-page main > .split-feature {
    width: min(100% - 64px, var(--max));
  }

  .section-intro {
    gap: 14px;
    margin-bottom: 18px;
  }

  .section-intro h2,
  .split-feature h2,
  .axis-section h2 {
    font-size: clamp(1.28rem, 5.1vw, 1.62rem);
    line-height: 1.08;
  }

  .section-intro p,
  .split-feature p,
  .page-hero p,
  .info-card p,
  .article-main p,
  .article-aside p,
  .toc li {
    font-size: 0.84rem;
    line-height: 1.46;
  }

  .research-grid,
  .quad-grid,
  .category-grid,
  .consent-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
    padding: 16px;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-main h2 {
    font-size: clamp(1.15rem, 4.7vw, 1.45rem);
  }

  .axis-large span {
    padding: 14px 16px;
    font-size: clamp(1rem, 4vw, 1.28rem);
  }

  .article-arrow {
    justify-self: start;
  }

  .consent-item {
    grid-template-columns: 20px 25px minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 9px 10px;
  }

  .consent-item .box {
    width: 18px;
    height: 18px;
  }

  .consent-item strong {
    font-size: 0.88rem;
  }

  .consent-item span:last-child {
    font-size: 0.74rem;
    line-height: 1.22;
  }

  .consent-gate h2 {
    font-size: clamp(1.32rem, 5.2vw, 1.64rem);
  }

  .gate-subtitle,
  .consent-instruction {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .consent-progress {
    position: sticky;
    bottom: 0;
    z-index: 10;
    grid-template-columns: 90px minmax(0, 1fr);
    margin-inline: 0;
  }

  .consent-progress > div {
    display: none;
  }

  .consent-progress .btn {
    width: 100%;
    min-width: 0;
  }

  .article-meta,
  .admin-head,
  .form-head,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    display: grid;
    gap: 10px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .article-aside,
  .consent-strip {
    display: none;
  }

  body {
    background: #fff;
  }

  .reading-shell {
    display: block;
    width: auto;
    padding: 0;
  }
}
