/* Magazine theme — HANF.biz. Cool editorial; distinct from pilot + cream/peach cliché. */
:root {
  --mag-ink: #0b1210;
  --mag-ink-soft: #1a2822;
  --mag-forest: #1f4d3a;
  --mag-lime: #c6ef4a;
  --mag-lime-deep: #8fb82a;
  --mag-paper: #f3f6f3;
  --mag-paper-2: #e8eee9;
  --mag-white: #ffffff;
  --mag-muted: #5a6b62;
  --mag-line: #cfd8d1;
  --mag-display: "Fraunces", "Libre Bodoni", Georgia, serif;
  --mag-sans: "Manrope", "Public Sans", system-ui, sans-serif;
  --mag-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mag-max: 1200px;
  --mag-prose: 66ch;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.mag {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--mag-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mag-ink);
  background-color: var(--mag-paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 100% -10%, rgba(198, 239, 74, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 40% at -15% 30%, rgba(31, 77, 58, 0.06), transparent 50%),
    linear-gradient(180deg, #f7faf7 0%, var(--mag-paper) 40%, var(--mag-paper-2) 100%);
  background-attachment: fixed;
}

.mag a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.mag a:hover {
  color: var(--mag-forest);
}

.mag :focus-visible {
  outline: 2px solid var(--mag-lime-deep);
  outline-offset: 3px;
}

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

.mag-skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--mag-ink);
  color: var(--mag-lime);
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.mag-skip:focus {
  top: 1rem;
}

/* ——— Header ——— */
.mag-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 246, 243, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--mag-ease), background 200ms var(--mag-ease);
}
.mag-header.is-scrolled {
  border-bottom-color: var(--mag-line);
  background: rgba(243, 246, 243, 0.96);
}

.mag-header-inner {
  max-width: var(--mag-max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mag-brand {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.mag-brand:hover {
  color: inherit;
}
.mag-logo {
  display: block;
  height: 36px;
  width: auto;
}

.mag-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 960px) {
  .mag-nav {
    display: flex;
  }
  .mag-menu-btn {
    display: none !important;
  }
}

.mag-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mag-ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: color 180ms var(--mag-ease);
}
.mag-nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--mag-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--mag-ease);
}
.mag-nav-link:hover,
.mag-nav-link[aria-current="page"] {
  color: var(--mag-ink);
}
.mag-nav-link:hover::after,
.mag-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.mag-nav-group {
  position: relative;
}
.mag-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 0;
  min-width: 260px;
  padding: 0.4rem;
  background: var(--mag-white);
  border: 1px solid var(--mag-line);
  box-shadow: 0 18px 48px rgba(11, 18, 16, 0.12);
  z-index: 50;
}
.mag-nav-group:hover .mag-dropdown,
.mag-nav-group:focus-within .mag-dropdown,
.mag-nav-group.is-open .mag-dropdown {
  display: grid;
  gap: 0.1rem;
  animation: mag-pop 180ms var(--mag-ease);
}
.mag-dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mag-ink);
}
.mag-dropdown a:hover {
  background: var(--mag-paper);
  color: var(--mag-forest);
}

.mag-menu-btn {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mag-line);
  background: var(--mag-white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 160ms var(--mag-ease), background 160ms var(--mag-ease);
}
.mag-menu-btn:hover {
  border-color: var(--mag-forest);
  background: var(--mag-lime);
}
.mag-menu-bars,
.mag-menu-bars::before,
.mag-menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mag-ink);
  position: relative;
}
.mag-menu-bars::before,
.mag-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.mag-menu-bars::before {
  top: -6px;
}
.mag-menu-bars::after {
  top: 6px;
}

.mag-drawer {
  border-bottom: 1px solid var(--mag-line);
  background: var(--mag-white);
  padding: 0.75rem 1.25rem 1.5rem;
  animation: mag-slide 220ms var(--mag-ease);
}
.mag-drawer a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
}
.mag-drawer-label {
  margin: 0.85rem 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mag-muted);
  font-weight: 700;
}
.mag-drawer-child {
  padding-left: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--mag-ink-soft);
}

/* ——— Shared ——— */
.mag-wrap {
  max-width: var(--mag-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.mag-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mag-lime-deep);
}

.mag-section {
  padding: 3.25rem 0;
}

.mag-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--mag-ink);
}
.mag-section-head h2 {
  margin: 0;
  font-family: var(--mag-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.mag-section-head a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mag-forest);
}
.mag-section-head a:hover {
  color: var(--mag-ink);
}

/* ——— Lead / homepage hero ——— */
.mag-lead {
  position: relative;
  display: grid;
  min-height: min(92vh, 820px);
  background: var(--mag-ink);
  color: var(--mag-white);
  overflow: hidden;
  text-decoration: none;
}
.mag-lead:hover {
  color: var(--mag-white);
}
.mag-lead-media {
  position: absolute;
  inset: 0;
}
.mag-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  transform: scale(1.04);
  transition: transform 1.2s var(--mag-ease), opacity 400ms var(--mag-ease);
}
.mag-lead:hover .mag-lead-media img {
  transform: scale(1.08);
  opacity: 0.55;
}
.mag-lead-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 16, 0.55) 0%, rgba(11, 18, 16, 0.15) 35%, rgba(11, 18, 16, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 18, 16, 0.75) 0%, transparent 55%);
}
.mag-lead-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--mag-max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  min-height: min(92vh, 820px);
}
.mag-lead-brand {
  font-family: var(--mag-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0;
  color: var(--mag-white);
}
.mag-lead-brand span {
  color: var(--mag-lime);
}
.mag-lead-tag {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 246, 243, 0.72);
  max-width: 28ch;
}
.mag-lead-body {
  max-width: 22ch;
  margin-top: auto;
  animation: mag-rise 700ms var(--mag-ease) both;
}
.mag-lead-body .mag-kicker {
  color: var(--mag-lime);
}
.mag-lead-body h1 {
  margin: 0 0 0.85rem;
  font-family: var(--mag-display);
  font-size: clamp(2.1rem, 5.5vw, 3.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.mag-lead-body p {
  margin: 0 0 1.35rem;
  max-width: 38ch;
  color: rgba(243, 246, 243, 0.86);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 450;
}
.mag-lead-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mag-ink);
  background: var(--mag-lime);
  padding: 0.85rem 1.25rem;
  min-height: 48px;
  text-decoration: none;
  transition: background 180ms var(--mag-ease), transform 180ms var(--mag-ease);
}
.mag-lead-cta svg {
  transition: transform 200ms var(--mag-ease);
}
.mag-lead:hover .mag-lead-cta {
  background: var(--mag-white);
}
.mag-lead:hover .mag-lead-cta svg {
  transform: translateX(4px);
}

/* ——— Asymmetric story band ——— */
.mag-duo {
  display: grid;
  gap: 2rem;
}
@media (min-width: 880px) {
  .mag-duo {
    grid-template-columns: 1.35fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.mag-stack {
  display: grid;
  gap: 1.5rem;
}

.mag-story {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: color 180ms var(--mag-ease);
}
.mag-story:hover {
  color: inherit;
}
.mag-story-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 0.95rem;
  position: relative;
}
.mag-story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--mag-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--mag-ease);
}
.mag-story:hover .mag-story-media::after {
  transform: scaleX(1);
}
.mag-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--mag-ease);
}
.mag-story:hover .mag-story-media img {
  transform: scale(1.05);
}
.mag-story h3 {
  margin: 0.3rem 0 0.45rem;
  font-family: var(--mag-display);
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  transition: color 160ms var(--mag-ease);
}
.mag-story:hover h3 {
  color: var(--mag-forest);
}
.mag-story p {
  margin: 0;
  color: var(--mag-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.mag-story-meta {
  font-size: 0.72rem;
  color: var(--mag-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.mag-story--feature {
  height: 100%;
}
.mag-story--feature .mag-story-media {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.1rem;
}
.mag-story--feature h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  max-width: 18ch;
}
.mag-story--feature p {
  font-size: 1.02rem;
  max-width: 42ch;
}

.mag-story--row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
}
.mag-story--row .mag-story-media {
  aspect-ratio: 1;
  margin-bottom: 0;
}
.mag-story--row .mag-story-media::after {
  display: none;
}
.mag-story--row h3 {
  font-size: 1.15rem;
}
@media (max-width: 520px) {
  .mag-story--row {
    grid-template-columns: 88px 1fr;
  }
}

/* Editorial fallback when no featured image */
.mag-story-thumb {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0.75rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 70% at 15% 10%, rgba(198, 239, 74, 0.22), transparent 55%),
    linear-gradient(155deg, #f7faf7 0%, #e6ede8 48%, #dce6df 100%);
  border: 1px solid var(--mag-line);
  position: relative;
  overflow: hidden;
}
.mag-story-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -14deg,
    transparent,
    transparent 10px,
    rgba(31, 77, 58, 0.035) 10px,
    rgba(31, 77, 58, 0.035) 11px
  );
  pointer-events: none;
}
.mag-story-thumb-letter {
  position: relative;
  z-index: 1;
  font-family: var(--mag-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--mag-forest);
}
.mag-story-thumb-cat {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mag-muted);
  line-height: 1.25;
}
.mag-story--row .mag-story-thumb-letter {
  font-size: 1.5rem;
}
.mag-story--row .mag-story-thumb-cat {
  display: none;
}
.mag-list-thumb--placeholder {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
}
.mag-list-thumb--placeholder .mag-story-thumb {
  border-radius: 0;
}
.mag-list-thumb--placeholder .mag-story-thumb-letter {
  font-size: 1.35rem;
}
.mag-list-thumb--placeholder .mag-story-thumb-cat {
  display: none;
}

.mag-story--text {
  padding: 1.35rem 1.4rem 1.45rem;
  background: var(--mag-white);
  border: 1px solid var(--mag-line);
  border-left: 4px solid var(--mag-lime);
  position: relative;
  overflow: hidden;
  transition: border-color 180ms var(--mag-ease), box-shadow 180ms var(--mag-ease);
}
.mag-story--text:hover {
  border-color: rgba(31, 77, 58, 0.25);
  box-shadow: 0 10px 28px rgba(11, 18, 16, 0.06);
}
.mag-story--text > div {
  position: relative;
  z-index: 1;
}
.mag-story-watermark {
  position: absolute;
  right: 0.35rem;
  top: -0.2rem;
  font-family: var(--mag-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--mag-forest);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.mag-story--feature.mag-story--text {
  padding: 1.75rem 1.85rem 1.9rem;
}
.mag-story--feature.mag-story--text h3 {
  max-width: 22ch;
}

/* ——— Numbered list ——— */
.mag-rank {
  display: grid;
  gap: 0;
  counter-reset: mag-rank;
}
.mag-rank-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--mag-line);
  text-decoration: none;
  color: inherit;
  align-items: start;
  counter-increment: mag-rank;
  transition: background 160ms var(--mag-ease);
}
.mag-rank-item:first-child {
  border-top: 1px solid var(--mag-line);
}
.mag-rank-item:hover {
  color: inherit;
}
.mag-rank-item::before {
  content: counter(mag-rank, decimal-leading-zero);
  font-family: var(--mag-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--mag-lime-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.mag-rank-item h3 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--mag-display);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 160ms var(--mag-ease);
}
.mag-rank-item:hover h3 {
  color: var(--mag-forest);
}
.mag-rank-item p {
  margin: 0;
  color: var(--mag-muted);
  font-size: 0.92rem;
}

.mag-rail {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 920px) {
  .mag-rail {
    grid-template-columns: 1.45fr 0.9fr;
    gap: 3rem;
  }
}

/* Rubriken — text links, not pills */
.mag-rubrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  align-items: baseline;
}
.mag-rubric {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.55rem 0;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--mag-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms var(--mag-ease), color 180ms var(--mag-ease);
}
.mag-rubric:hover {
  color: var(--mag-forest);
  border-bottom-color: var(--mag-lime);
}
.mag-rubric span {
  font-family: var(--mag-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mag-muted);
}

/* Legacy list (kept for compatibility) */
.mag-list {
  display: grid;
  gap: 0;
}
.mag-list-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mag-line);
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.mag-list-item:hover {
  color: inherit;
}
.mag-list-item:hover h3 {
  color: var(--mag-forest);
}
.mag-list-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mag-paper-2);
  border: 1px solid var(--mag-line);
}
.mag-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mag-list-item h3 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--mag-display);
  font-size: 1.15rem;
  line-height: 1.25;
  transition: color 160ms var(--mag-ease);
}

.mag-secondary {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .mag-secondary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mag-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--mag-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.mag-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 700px) {
  .mag-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .mag-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ——— Article ——— */
.mag-article-header {
  padding: 2.75rem 0 1.25rem;
}
.mag-article-header h1 {
  margin: 0.45rem 0 0.85rem;
  font-family: var(--mag-display);
  font-size: clamp(2.15rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 16ch;
  font-weight: 600;
}
.mag-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--mag-muted);
  margin-bottom: 1rem;
}
.mag-crumb a {
  text-decoration: none;
  font-weight: 700;
  color: var(--mag-forest);
}
.mag-article-meta {
  color: var(--mag-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.mag-hero {
  margin: 0 0 2.25rem;
  overflow: hidden;
  background: var(--mag-ink);
  position: relative;
}
.mag-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--mag-lime);
}
.mag-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
}

.mag-prose {
  max-width: var(--mag-prose);
  font-size: 1.1rem;
  line-height: 1.78;
}
.mag-prose :first-child {
  margin-top: 0;
}
.mag-prose > p:first-of-type::first-letter {
  font-family: var(--mag-display);
  font-size: 3.4rem;
  float: left;
  line-height: 0.85;
  padding: 0.12em 0.12em 0 0;
  font-weight: 600;
  color: var(--mag-forest);
}
.mag-prose h2,
.mag-prose h3 {
  font-family: var(--mag-display);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 2.25rem 0 0.75rem;
  font-weight: 600;
}
.mag-prose img {
  max-width: 100%;
  height: auto;
}
.mag-prose figure {
  margin: 2rem 0;
}
.mag-prose a {
  color: var(--mag-forest);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}
.mag-prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--mag-lime);
  font-family: var(--mag-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--mag-ink-soft);
}

.mag-archive-hero {
  padding: 3rem 0 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.mag-archive-hero::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  background: var(--mag-lime);
  margin-top: 1.25rem;
}
.mag-archive-hero h1 {
  margin: 0.35rem 0 0.55rem;
  font-family: var(--mag-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  font-weight: 600;
}
.mag-archive-hero p {
  margin: 0;
  color: var(--mag-muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

/* ——— Footer ——— */
.mag-footer {
  margin-top: 4.5rem;
  background: var(--mag-ink);
  color: rgba(243, 246, 243, 0.82);
  padding: 3.25rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.mag-footer::before {
  content: "HANF";
  position: absolute;
  right: -0.05em;
  bottom: -0.25em;
  font-family: var(--mag-display);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: rgba(198, 239, 74, 0.07);
  pointer-events: none;
  user-select: none;
}
.mag-footer-inner {
  position: relative;
  max-width: var(--mag-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 720px) {
  .mag-footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}
.mag-footer-brand strong {
  display: block;
  font-family: var(--mag-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mag-white);
  margin-bottom: 0.35rem;
}
.mag-footer-brand p {
  margin: 0;
  max-width: 36ch;
  color: rgba(243, 246, 243, 0.6);
}
.mag-footer a {
  color: var(--mag-lime);
  text-decoration: none;
  font-weight: 600;
}
.mag-footer a:hover {
  color: var(--mag-white);
}
.mag-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}
.mag-footer-copy {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: rgba(243, 246, 243, 0.45);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(243, 246, 243, 0.12);
}

/* ——— Motion ——— */
@keyframes mag-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mag-pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mag-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mag-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--mag-ease), transform 500ms var(--mag-ease);
}
.mag-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mag-reveal {
    opacity: 1;
    transform: none;
  }
  .mag-lead-body {
    animation: none;
  }
}
