/* ============================================
   Velvexx Mag — Narratif Immersif (Refonte 2026-04-12)
   Design system: indigo nuit + Velvexx pink + Fraunces editorial
   ============================================ */

:root {
  --bg: #0a0d1a;
  --bg-elev: #131830;
  --bg-deep: #05060e;
  --bg-card: #0e1224;
  --ink: #f0ece4;
  --ink-strong: #ffffff;
  --ink-muted: #8b96b3;
  --ink-faint: #5a6485;
  --accent: #e8407a;
  --accent-2: #8ab4ff;
  --line: #1c2340;
  --line-soft: #141a2e;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Spectral', Georgia, serif;
  --font-meta: 'Inter', -apple-system, sans-serif;
  --max-w-text: 720px;
  --max-w-container: 1280px;
  --max-w-wide: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.78;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

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

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.mag-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 200;
  transition: width 0.15s linear;
}

/* ============================================
   NAV — minimal flotte sur le hero
   ============================================ */
.mag-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 48px;
  mix-blend-mode: difference;
  color: #fff;
}
.mag-nav__left, .mag-nav__right {
  display: flex;
  gap: 28px;
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  align-items: center;
}
.mag-nav__right { justify-content: flex-end; }
.mag-nav__left a, .mag-nav__right a { transition: opacity 0.2s; }
.mag-nav__left a:hover, .mag-nav__right a:hover { opacity: 0.6; }

.mag-nav__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  text-align: center;
  white-space: nowrap;
}
.mag-nav__logo em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  padding-left: 0.05em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-nav__cta {
  padding: 10px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

/* ============================================
   HERO — INDEX (full-bleed avec photo background)
   ============================================ */
.mag-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 96px 72px 72px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}
.mag-hero__bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.mag-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.7) contrast(1.05) saturate(0.85);
}
.mag-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 13, 26, 0.6) 0%, rgba(10, 13, 26, 0.2) 35%, rgba(232, 64, 122, 0.15) 60%, rgba(10, 13, 26, 0.85) 100%),
    linear-gradient(180deg, transparent 50%, var(--bg-deep) 100%);
  z-index: 2;
}
.mag-hero__grain {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.28 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 3;
  pointer-events: none;
}
.mag-hero__content {
  position: relative;
  z-index: 4;
  max-width: var(--max-w-wide);
  width: 100%;
  margin: 0 auto;
}
.mag-hero__issue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  padding: 10px 20px 10px 16px;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(10, 13, 26, 0.35);
}
.mag-hero__issue-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-2);
  font-variation-settings: "opsz" 48;
}
.mag-hero__issue-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
}
.mag-hero__issue-label {
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-strong);
  font-weight: 600;
}
.mag-hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 160px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
  max-width: 1100px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.mag-hero__title em {
  font-style: italic;
  font-weight: 200;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-hero__sub {
  margin-top: 40px;
  max-width: 580px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-muted);
  font-weight: 300;
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.mag-hero__meta {
  display: flex;
  gap: 56px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 860px;
  flex-wrap: wrap;
}
.mag-hero__meta-item {
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  font-weight: 600;
}
.mag-hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--ink-strong);
  text-transform: none;
  margin-top: 6px;
  font-variation-settings: "opsz" 48;
}
.mag-hero__scroll {
  position: absolute;
  right: 72px;
  bottom: 72px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  font-weight: 600;
  transform: rotate(-90deg);
  transform-origin: right center;
}
.mag-hero__scroll::after {
  content: "";
  width: 48px; height: 1px;
  background: var(--accent-2);
}

/* ============================================
   STORY SECTIONS — narratif alterné L/R
   ============================================ */
.mag-story {
  position: relative;
  padding: 160px 0 80px;
}
.mag-story__section {
  max-width: var(--max-w-container);
  margin: 0 auto 160px;
  padding: 0 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mag-story__section:nth-child(even) { direction: rtl; }
.mag-story__section:nth-child(even) > * { direction: ltr; }

.mag-story__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.mag-story__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.05) saturate(0.85);
  transition: filter 0.8s, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mag-story__visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10, 13, 26, 0.7)),
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(138, 180, 255, 0.18), transparent 65%),
    radial-gradient(ellipse 60% 70% at 70% 70%, rgba(232, 64, 122, 0.22), transparent 70%);
  pointer-events: none;
}
.mag-story__visual::before {
  content: attr(data-index);
  position: absolute;
  top: 28px; left: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: 0.05em;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  padding: 5px 14px;
  z-index: 2;
  background: rgba(10, 13, 26, 0.5);
  backdrop-filter: blur(6px);
}
.mag-story__section:hover .mag-story__visual img {
  filter: brightness(0.85) contrast(1.08) saturate(1);
  transform: scale(1.04);
}

.mag-story__visual--placeholder {
  background:
    radial-gradient(ellipse 70% 60% at 40% 30%, rgba(138, 180, 255, 0.2), transparent 65%),
    radial-gradient(ellipse 60% 80% at 70% 70%, rgba(232, 64, 122, 0.28), transparent 70%),
    linear-gradient(145deg, var(--bg-elev), var(--bg-deep));
}

.mag-story__text { max-width: 560px; }
.mag-story__tag {
  display: inline-block;
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 24px;
}
.mag-story__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.mag-story__title em {
  font-style: italic;
  font-weight: 200;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-story__excerpt {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 540px;
}
.mag-story__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-meta);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  transition: gap 0.3s;
}
.mag-story__cta:hover { gap: 20px; }
.mag-story__cta::after { content: "→"; font-family: var(--font-meta); }

/* ============================================
   STRIP — autres articles du numéro
   ============================================ */
.mag-strip {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(19, 24, 48, 0.4), transparent);
}
.mag-strip__header {
  max-width: var(--max-w-container);
  margin: 0 auto 72px;
  padding: 0 72px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 48px;
  flex-wrap: wrap;
}
.mag-strip__label {
  font-family: var(--font-meta);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.mag-strip__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  max-width: 900px;
  font-variation-settings: "opsz" 144;
}
.mag-strip__title em {
  font-style: italic;
  font-weight: 200;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-strip__link {
  font-family: var(--font-meta);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink-muted);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.mag-strip__link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.mag-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-w-container);
  margin: 0 auto;
  padding: 0 72px;
}
.mag-strip__card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mag-strip__card__img {
  position: absolute; inset: 0;
  z-index: 0;
}
.mag-strip__card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s;
}
.mag-strip__card__img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(5, 6, 14, 0.95)),
    radial-gradient(ellipse at 50% 30%, rgba(232, 64, 122, 0.15), transparent 70%);
  pointer-events: none;
}
.mag-strip__card__img--placeholder {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(138, 180, 255, 0.2), transparent 70%),
    radial-gradient(ellipse at 70% 60%, rgba(232, 64, 122, 0.25), transparent 70%),
    var(--bg-elev);
}
.mag-strip__card__body {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.mag-strip__card:hover { transform: translateY(-8px); border-color: var(--accent-2); }
.mag-strip__card:hover .mag-strip__card__img img {
  transform: scale(1.05);
  filter: brightness(0.65) contrast(1.08) saturate(1);
}
.mag-strip__card__tag {
  font-family: var(--font-meta);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.mag-strip__card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  font-variation-settings: "opsz" 48, "SOFT" 50;
}
.mag-strip__card__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.mag-strip__card__meta {
  margin-top: 12px;
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ============================================
   CLOSING CTA (index)
   ============================================ */
.mag-closing {
  padding: 200px 72px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.mag-closing__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
  margin-bottom: 40px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-closing__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 200;
}
.mag-closing__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.55;
  font-weight: 300;
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.mag-closing__button {
  display: inline-block;
  padding: 20px 48px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-meta);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.3s, background 0.3s;
}
.mag-closing__button:hover { transform: scale(1.04); background: #f54d85; }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.mag-article {
  position: relative;
}

/* Article hero — full-bleed photo + overlay title */
.mag-article__hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 96px 72px 80px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}
.mag-article__hero-bg {
  position: absolute; inset: 0;
  z-index: 1;
}
.mag-article__hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.65) contrast(1.05) saturate(0.85);
}
.mag-article__hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 13, 26, 0.55) 0%, rgba(10, 13, 26, 0.15) 30%, rgba(232, 64, 122, 0.18) 60%, rgba(10, 13, 26, 0.92) 100%),
    linear-gradient(180deg, transparent 50%, var(--bg-deep) 100%);
}
.mag-article__hero-grain {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.28 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.55;
  z-index: 2;
  pointer-events: none;
}
.mag-article__hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w-wide);
  width: 100%;
  margin: 0 auto;
}
.mag-article__hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding: 8px 18px;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent-2);
  font-weight: 600;
  backdrop-filter: blur(8px);
  background: rgba(10, 13, 26, 0.35);
}
.mag-article__hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink-strong);
  max-width: 1200px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.mag-article__hero-title em {
  font-style: italic;
  font-weight: 200;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-article__hero-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 32px;
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  font-weight: 600;
  flex-wrap: wrap;
}
.mag-article__hero-meta span { color: var(--ink-strong); }

/* Article body — long-form */
.mag-article__body {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 96px 24px 64px;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.78;
  color: var(--ink);
  font-weight: 400;
}

.mag-article__body p {
  margin-bottom: 1.4em;
}

/* Drop cap on first paragraph */
.mag-article__body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 5em;
  font-weight: 400;
  float: left;
  line-height: 0.82;
  padding-right: 12px;
  padding-top: 8px;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
}

.mag-article__body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin: 3em 0 0.8em;
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
.mag-article__body h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.mag-article__body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin: 2.4em 0 0.6em;
  font-variation-settings: "opsz" 48;
}

.mag-article__body ul,
.mag-article__body ol {
  margin: 0 0 1.6em 1.4em;
  padding-left: 0;
}
.mag-article__body li {
  margin-bottom: 0.6em;
  line-height: 1.7;
}
.mag-article__body li::marker { color: var(--accent); }

.mag-article__body strong {
  color: var(--ink-strong);
  font-weight: 600;
}
.mag-article__body em {
  font-style: italic;
}

.mag-article__body blockquote {
  margin: 2.4em -24px;
  padding: 56px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-strong);
  text-align: center;
  position: relative;
  font-variation-settings: "opsz" 96, "SOFT" 100;
}
.mag-article__body blockquote::before {
  content: "«";
  display: block;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  font-style: normal;
  opacity: 0.7;
}

.mag-article__body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.mag-article__body a:hover {
  color: var(--accent);
}

/* ============================================
   CTA INLINE — top of article
   ============================================ */
.mag-cta--inline {
  margin: 2.4em 0;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(232, 64, 122, 0.08), transparent);
}
.mag-cta--inline p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.mag-cta--inline strong {
  color: var(--ink-strong);
  font-weight: 600;
  font-style: normal;
}
.mag-cta--inline a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-style: normal;
}
.mag-cta--inline a:hover { color: #f54d85; }

/* ============================================
   RELATED ARTICLES BLOCK
   ============================================ */
.mag-related {
  max-width: var(--max-w-text);
  margin: 80px auto 0;
  padding: 48px 24px 0;
  border-top: 1px solid var(--line);
}
.mag-related h3 {
  font-family: var(--font-meta);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 24px;
}
.mag-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mag-related li::marker { content: ""; }
.mag-related a {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  font-variation-settings: "opsz" 48;
}
.mag-related a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================
   CTA BOTTOM (article)
   ============================================ */
.mag-cta {
  max-width: var(--max-w-text);
  margin: 80px auto 0;
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(19, 24, 48, 0.4), transparent);
}
.mag-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.mag-cta h3 em {
  font-style: italic;
  font-weight: 200;
  color: var(--accent);
}
.mag-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 auto 32px;
  max-width: 460px;
  line-height: 1.55;
  font-weight: 300;
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.mag-cta a {
  display: inline-block;
  padding: 18px 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-meta);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.3s, background 0.3s;
  text-decoration: none;
}
.mag-cta a:hover {
  transform: scale(1.04);
  background: #f54d85;
}

/* ============================================
   FOOTER
   ============================================ */
.mag-footer {
  border-top: 1px solid var(--line);
  padding: 64px 48px 48px;
  margin-top: 120px;
  text-align: center;
  background: var(--bg-deep);
}
.mag-footer__logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-variation-settings: "opsz" 144;
}
.mag-footer__logo em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  padding-left: 0.05em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.mag-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 40px;
  font-weight: 300;
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.mag-footer__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-meta);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.mag-footer__links a {
  color: var(--ink-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.mag-footer__links a:hover { color: var(--accent); }
.mag-footer__copyright {
  margin-top: 28px;
  font-family: var(--font-meta);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .mag-nav { padding: 16px 24px; grid-template-columns: auto 1fr auto; }
  .mag-nav__left { display: none; }
  .mag-nav__right { gap: 14px; }
  .mag-nav__right a:not(.mag-nav__cta) { display: none; }
  .mag-nav__logo { font-size: 20px; text-align: left; }

  .mag-hero { padding: 96px 24px 48px; min-height: 580px; }
  .mag-hero__scroll { display: none; }
  .mag-hero__meta { gap: 24px; padding-top: 24px; margin-top: 36px; }
  .mag-hero__sub { margin-top: 28px; }

  .mag-story { padding: 80px 0 40px; }
  .mag-story__section { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; margin-bottom: 80px; }
  .mag-story__section:nth-child(even) { direction: ltr; }

  .mag-strip { padding: 72px 0; }
  .mag-strip__header { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .mag-strip__row { grid-template-columns: repeat(2, 1fr); padding: 0 24px; gap: 16px; }

  .mag-closing { padding: 96px 24px 120px; }

  .mag-article__hero { padding: 96px 24px 48px; min-height: 60vh; }
  .mag-article__hero-meta { gap: 20px; }

  .mag-article__body { padding: 64px 24px 48px; font-size: 17px; }
  .mag-article__body h2 { margin-top: 2.2em; }
  .mag-article__body blockquote { margin: 2em -24px; padding: 40px 24px; }

  .mag-related { padding: 40px 24px 0; margin-top: 56px; }
  .mag-related a { font-size: 18px; }

  .mag-cta { padding: 56px 24px; margin-top: 56px; }

  .mag-footer { padding: 48px 24px 32px; margin-top: 80px; }
  .mag-footer__logo { font-size: 28px; }
  .mag-footer__links { gap: 16px; }
}

@media (max-width: 560px) {
  .mag-strip__row { grid-template-columns: 1fr; }
  .mag-article__body > p:first-of-type::first-letter { font-size: 4em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
