:root {
  --paper: #F6F7F4;
  --surface: #FFFFFF;
  --surface-tint: #ECF1EE;
  --ink: #10241E;
  --ink-muted: #475D56;
  --accent: #134235;
  --accent-dark: #0C2E24;
  --accent-mid: #1D6B59;
  --rule: #CFD9D3;
  --rule-strong: #10241E;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1240px;
}

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

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

body {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  caret-color: var(--accent);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgb(19 66 53 / 16%);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-mid);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
}

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

/* Shared container alignment */
.header-inner,
.hero-inner,
.content-section,
.about-strip-inner,
.page-header-inner,
.article-page,
.footer-inner {
  width: min(var(--container), calc(100% - 3rem));
  margin-right: auto;
  margin-left: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

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

.brand-mark {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.brand-sub {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.25rem 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Buttons and text links */
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
}

.button-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--surface-tint);
  color: var(--ink);
}

.button-copy {
  width: 100%;
  margin-top: 0.85rem;
  font-size: 0.875rem;
}

.button-sm {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  font-size: 0.875rem;
}

.button-icon {
  flex: 0 0 auto;
  transition: transform 150ms ease;
}

.article-read-cta {
  background: var(--surface);
}

.article-read-cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
}

.article-read-cta:hover .button-icon {
  transform: translateX(2px);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(19 66 53 / 45%);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.text-link:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

/* Home Hero */
@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.journal-hero {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, 340px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.8rem, 5vw, 4.5rem) 0;
  animation: fadeRise 420ms ease-out both;
}

.journal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.3vw, 3.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 0.85rem 0 0;
  color: var(--accent-mid);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-lead {
  max-width: 56ch;
  margin: 0.85rem 0 1.85rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Folio Cover Specimen */
.folio-cover {
  position: relative;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 18px 36px rgb(16 36 30 / 14%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.folio-cover:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgb(16 36 30 / 20%);
}

.folio-cover--empty {
  cursor: default;
}

.folio-cover--empty:hover {
  transform: none;
  box-shadow: 0 18px 36px rgb(16 36 30 / 14%);
}

.folio-spine {
  width: 14px;
  flex: 0 0 14px;
  border-right: 1px solid rgb(255 255 255 / 12%);
  background: var(--accent-dark);
}

.folio-body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.75rem 1.65rem;
}

.folio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.folio-mark {
  display: block;
  width: 44px;
  height: 44px;
}

.folio-sigla {
  color: rgb(255 255 255 / 78%);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.folio-year-block {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.folio-label {
  color: rgb(255 255 255 / 78%);
  font-size: 0.875rem;
  font-weight: 500;
}

.folio-year {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 4.8vw, 4.25rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.folio-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.folio-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.folio-count {
  color: rgb(255 255 255 / 80%);
  font-size: 0.875rem;
}

.folio-cta {
  margin-top: 0.65rem;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 45%);
  text-underline-offset: 4px;
}

.folio-cover:hover .folio-cta {
  text-decoration-color: #FFFFFF;
}

/* Content Sections & Section Heading */
.content-section {
  padding: clamp(3rem, 5vw, 4.25rem) 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Article Index (shared across Home and Edition) */
.article-index {
  border-top: 1px solid var(--rule-strong);
}

.article-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  transition: background-color 150ms ease;
}

.article-row:hover {
  background: rgb(236 241 238 / 55%);
}

.article-order {
  padding-top: 0.25rem;
  color: var(--accent-mid);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

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

.article-row h3 {
  margin: 0;
  max-width: 55rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.article-row h3 a {
  text-decoration: none;
}

.article-row h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-authors {
  max-width: 55rem;
  margin: 0.55rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.article-excerpt {
  max-width: 55rem;
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-size: 0.96875rem;
  line-height: 1.65;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.article-row-footer {
  display: flex;
  max-width: 55rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}

.article-row-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: break-word;
}

/* Home About Strip */
.about-strip {
  background: var(--surface-tint);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 320px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.8rem, 5vw, 4rem) 0;
}

.about-strip-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.about-strip-copy p {
  max-width: 60ch;
  margin: 0 0 1.45rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.institutional-card {
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.institutional-card img {
  display: block;
  width: 136px;
  height: auto;
  margin-bottom: 0.75rem;
}

.institutional-course {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

/* Page Header (Editions, Edition, About) */
.page-header {
  border-bottom: 1px solid var(--rule);
  background: var(--surface-tint);
}

.page-header-inner {
  padding: clamp(2.4rem, 4.5vw, 3.5rem) 0;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-header h1 {
  max-width: 28ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.page-intro {
  max-width: 62ch;
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.page-count {
  margin: 1rem 0 0;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Editions Catalog */
.edition-catalog {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edition-entry {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}

.edition-entry:hover {
  border-color: var(--accent-mid);
  transform: translateY(-2px);
}

.folio-thumb {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 176px;
  padding: 1.25rem;
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
}

.folio-thumb img {
  width: 28px;
  height: 28px;
}

.folio-thumb-year {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.edition-entry-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1.75rem;
}

.edition-meta-line {
  margin: 0 0 0.4rem;
  color: var(--accent-mid);
  font-size: 0.875rem;
  font-weight: 600;
}

.edition-entry-body h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.edition-entry-body h2 a {
  text-decoration: none;
}

.edition-entry-body h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.edition-description {
  max-width: 62ch;
  margin: 0.6rem 0 0.65rem;
  color: var(--ink-muted);
  font-size: 0.96875rem;
  text-wrap: pretty;
}

/* Article Page */
.article-page {
  padding: 2rem 0 4.5rem;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.article-breadcrumb a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.article-main,
.article-sidebar {
  min-width: 0;
}

.article-header h1 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.article-author-block {
  margin-bottom: 1.15rem;
}

.article-author-block h2 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
}

.article-authors-inline {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.article-affiliations {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.article-doi {
  margin: 0.65rem 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.article-doi a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-keywords-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.1rem;
}

.keywords-label {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.article-mobile-actions {
  display: none;
  margin-top: 1.5rem;
}

.article-abstract-section {
  margin: 2.25rem 0;
  padding: 1.65rem 1.85rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-tint);
}

.article-abstract-section h2,
.references h2,
.prose h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.25;
}

.article-abstract-section p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.references {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.reference-list {
  margin: 0;
  padding-left: 1.5rem;
}

.reference-list li {
  margin-bottom: 0.85rem;
  padding-left: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.reference-list a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.reference-list a:hover {
  color: var(--accent-dark);
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-wrap: anywhere;
}

.article-pdf {
  width: 100%;
  margin-bottom: 1.35rem;
}

.article-meta {
  margin: 0;
}

.article-meta > div + div,
.article-citation {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}

.article-citation:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-meta dt,
.article-citation h2 {
  margin: 0 0 0.3rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
}

.article-meta dd,
.article-citation p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.article-meta a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* About Page */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 340px);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.prose {
  max-width: 65ch;
}

.prose h2:not(:first-child) {
  margin-top: 2.25rem;
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 1.03125rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.about-colophon {
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.colophon-marks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.colophon-etec {
  width: 112px;
  height: auto;
}

.colophon-symbol {
  width: 40px;
  height: 40px;
}

.about-colophon h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.colophon-list {
  margin: 0;
}

.colophon-list > div + div {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

.colophon-list dt {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.colophon-list dd {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  overflow-wrap: break-word;
}

.edition-notes {
  padding-top: 0;
}

.empty-state {
  padding: 1.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  text-wrap: balance;
}

.empty-state p {
  max-width: 58ch;
  margin: 0 0 1rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding: 2rem 0;
}

.footer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1.15rem;
}

.footer-etec-logo {
  display: block;
  width: 96px;
  height: auto;
  flex: 0 0 auto;
}

.footer-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.footer-desc {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about-strip-inner,
  .article-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .folio-cover {
    min-height: 300px;
    max-width: 420px;
  }

  .article-mobile-actions {
    display: flex;
  }

  .article-sidebar {
    position: static;
  }

  .article-sidebar .article-pdf {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner,
  .hero-inner,
  .content-section,
  .about-strip-inner,
  .page-header-inner,
  .article-page,
  .footer-inner {
    width: calc(100% - 2rem);
  }

  .button-sm {
    min-height: 44px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .edition-entry {
    grid-template-columns: 1fr;
  }

  .folio-thumb {
    min-height: 112px;
    flex-direction: row;
    align-items: center;
  }

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

  .footer-meta {
    align-items: flex-start;
  }

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

@media (max-width: 560px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.9rem 0 0.55rem;
  }

  .site-nav {
    gap: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button,
  .article-mobile-actions .button,
  .article-row-actions,
  .article-row-actions .button,
  .not-found-actions,
  .not-found-actions .button {
    width: 100%;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.35rem 0;
  }

  .article-abstract-section {
    padding: 1.2rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

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

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

@media print {
  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .skip-link,
  .site-nav,
  .article-breadcrumb,
  .article-mobile-actions,
  .article-pdf,
  .button-copy,
  .hero-actions,
  .article-row-actions,
  .footer-links,
  .not-found-actions {
    display: none;
  }

  .header-inner,
  .hero-inner,
  .content-section,
  .about-strip-inner,
  .page-header-inner,
  .article-page,
  .footer-inner {
    width: 100%;
    max-width: none;
  }

  .site-header,
  .site-footer,
  .page-header,
  .journal-hero,
  .about-strip {
    background: #FFFFFF;
  }

  .article-layout,
  .about-layout,
  .hero-inner,
  .about-strip-inner {
    display: block;
  }

  .article-sidebar {
    position: static;
    margin-top: 1.5rem;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    break-inside: avoid;
  }

  .article-abstract-section,
  .about-colophon,
  .institutional-card,
  .edition-entry {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: none;
    break-inside: avoid;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  .reference-list li {
    color: #222222;
    break-inside: avoid;
  }
}
