/*
Theme Name: Ladies In Divi Child Theme
Theme URI: https://www.ladiesin.ba
Description: Premium Editorial Divi Child Theme for Ladies In
Author: IT Factory
Author URI: https://itfactory.ba
Template: Divi
Version: 1.6.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, two-columns, responsive-layout, editorial, fashion, luxury
Text Domain: divi-child-ladiesin
*/

:root {
  --bg: #f4f4f4;
  --bg-warm: #f0f0f0;
  --paper: #ffffff;
  --paper-rgb: 255, 255, 255;
  --cream: #f7f7f7;
  --ink: #120c0a;
  --ink-rgb: 18, 12, 10;
  --ink-soft: #2c221e;
  --muted: #7a7068;
  --muted-light: #ada49b;
  --line: rgba(18, 12, 10, 0.07);
  --line-strong: rgba(18, 12, 10, 0.15);
  --accent: #85192a;
  --accent-rgb: 133, 25, 42;
  --accent-deep: #2d0910;
  --accent-glow: rgba(133, 25, 42, 0.06);
  --champagne: #d4b48f;
  --champagne-rgb: 212, 180, 143;
  --gold: #c9a86c;
  --gold-rgb: 201, 168, 108;
  --gold-light: #e8d5b0;
  --night: #0e090b;
  --dark-card: #130a0d;
  --dark-card-rgb: 19, 10, 13;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(18, 12, 10, 0.04);
  --shadow-md: 0 8px 30px rgba(18, 12, 10, 0.07);
  --shadow-lg: 0 25px 80px rgba(18, 12, 10, 0.1);
  --shadow-xl: 0 40px 120px rgba(18, 12, 10, 0.18);
  --shadow-hero: 0 30px 100px rgba(0, 0, 0, 0.25);
  --radius: 0;
  --radius-pill: 999px;
}

/* Base styles override for the magazine layout */
.magazine-body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #f4f4f4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override Divi link color inheritance on all card types */
.magazine-body a.mini-story,
.magazine-body a.must-read,
.magazine-body a.cat-grid-card,
.magazine-body a.story-card,
.magazine-body a.feature-card {
  color: var(--night) !important;
  text-decoration: none !important;
}

.magazine-body a { color: inherit; text-decoration: none; }
.magazine-body img { max-width: 100%; display: block; }

.shell {
  width: min(1600px, calc(100% - 40px));
  margin: 20px auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: clip;
  position: relative;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 64px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.topbar strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.topbar span:first-child {
  max-width: 60%;
}

.magazine-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.magazine-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.06);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 36px 64px 22px;
  gap: 24px;
  transition: padding 0.5s var(--ease-out);
  position: relative;
  z-index: 2;
}

.magazine-header.scrolled .header-row {
  padding-top: 18px;
  padding-bottom: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.logo {
  justify-self: center;
  width: min(100%, 520px);
  transition: width 0.5s var(--ease-out);
}

.magazine-header.scrolled .logo {
  width: min(100%, 340px);
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.header-actions { justify-self: end; }

.header-link, .icon-btn {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  cursor: pointer;
}

.header-link:hover, .icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header-link:focus-visible, .icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

nav.magazine-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 0 64px 22px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

nav.magazine-nav a {
  position: relative;
  padding-bottom: 6px;
  color: var(--muted);
  transition: color 0.4s var(--ease);
  white-space: nowrap;
}

nav.magazine-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 0.45s var(--ease-out);
}

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

nav.magazine-nav a:hover::after, nav.magazine-nav a.active::after {
  transform: scaleX(1);
}

nav.magazine-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}


.verticals-bar {
  display: flex;
  gap: 10px;
  padding: 14px 48px 0;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
}

.verticals-bar span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-right: 6px;
}

.verticals-bar a {
  border: 1px solid rgba(var(--ink-rgb), 0.06);
  background: rgba(255, 255, 255, 0.85);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.verticals-bar a:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.2);
  background: #fff;
  color: var(--ink-soft);
}

.verticals-bar a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
  min-height: 64vh;
  position: relative;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  background: #160c0e;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 8, 0.02) 0%, rgba(10, 7, 8, 0.58) 100%),
    linear-gradient(90deg, rgba(10, 7, 8, 0.18) 0%, transparent 50%, rgba(10, 7, 8, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.1);
  transition: transform 1.8s var(--ease-smooth);
  will-change: transform;
}

.hero:hover .hero-media img {
  transform: scale(1.02);
}

.hero-title-overlay {
  position: absolute;
  left: 48px;
  top: 48px;
  z-index: 3;
  color: rgba(255, 250, 245, 0.9);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-title-overlay span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(74px, 8vw, 142px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
}

.hero-title-overlay span:first-child {
  font-weight: 400;
  font-style: normal;
  margin-left: 0;
}

.hero-title-overlay span:last-child {
  margin-left: 88px;
}

.hero-index {
  position: absolute;
  right: 24px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 250, 245, 0.5);
  font-weight: 600;
}

.hero-note {
  position: absolute;
  left: 48px;
  bottom: 48px;
  z-index: 3;
  width: min(380px, calc(100% - 96px));
  padding: 28px 32px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 42%, transparent 100%);
}

.hero-note-label, .eyebrow, .kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
}

.hero-note-label, .eyebrow { color: var(--accent); }
.hero-copy .eyebrow { color: var(--gold); }
.hero-note-label { color: var(--gold); }

.hero-note p {
  margin: 12px 0 0;
  color: rgba(255, 250, 245, 0.88);
  line-height: 1.75;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(32px, 5vw, 80px);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  background: linear-gradient(172deg, #140d10 0%, #0d0810 100%);
  color: var(--paper);
}

.hero-copy::before {
  content: "06";
  position: absolute;
  right: -6px;
  top: 12px;
  font-family: var(--serif);
  font-size: clamp(140px, 18vw, 240px);
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
  line-height: 1;
  font-weight: 700;
  font-style: italic;
}

.magazine-body h1, .magazine-body h2, .magazine-body h3, .magazine-body h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.magazine-body h1 {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 0.9;
  max-width: min(640px, 100%);
  margin-top: 28px;
  color: rgba(255, 250, 245, 0.98);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-strap {
  margin-top: 26px;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 250, 245, 0.8);
  font-weight: 400;
  font-family: var(--serif);
  letter-spacing: 0;
}

.hero-dek {
  max-width: 480px;
  margin: 24px 0 36px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 250, 245, 0.72);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  cursor: pointer;
}

.btn:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.35);
}

.btn-secondary {
  border: 1px solid rgba(var(--ink-rgb), 0.22);
  color: var(--ink);
  background: transparent;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  background: rgba(var(--ink-rgb), 0.04);
}

/* Inside dark panels — invert to light */
.hero-copy .btn-secondary,
.split-copy .btn-secondary,
.quote-strip .btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--paper);
}

.hero-copy .btn-secondary:hover,
.split-copy .btn-secondary:hover,
.quote-strip .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 250, 245, 0.38);
  margin-bottom: 8px;
  font-weight: 700;
}

.hero-stats strong {
  display: block;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  color: rgba(255, 250, 245, 0.94);
  font-family: var(--serif);
  letter-spacing: -0.02em;
}

.section {
  padding: 72px 64px;
  position: relative;
  z-index: 2;
}

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

.must-reads {
  margin: 0 48px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.must-reads-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.must-reads-head h2, .must-reads-head strong, .must-reads-head span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--sans);
  font-weight: 700;
}

.must-reads-head h2, .must-reads-head strong { color: var(--accent); margin: 0; white-space: nowrap; }
.must-reads-head span { color: var(--muted-light); }

.must-reads-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  background: var(--line);
}

.must-read {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 28px 32px;
  background: #ffffff;
  min-height: 240px;
  height: 100%;
  transition: background 0.4s var(--ease-out);
  position: relative;
  cursor: pointer;
  color: var(--night) !important;
  text-decoration: none !important;
}

.must-read:hover {
  background: #f9f9f9;
  z-index: 2;
}

.must-read:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.must-read .kicker {
  display: block;
  margin-bottom: 16px;
}

.must-read h3 {
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 0.96;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.must-read p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 44px;
  position: relative;
  padding-top: 28px;
}

.section-head::before {
  content: attr(data-index);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.08);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.04em;
}

.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
  display: inline-block;
}

.section-head h2 {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.92;
  max-width: 820px;
  letter-spacing: -0.02em;
}

.section-head p {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
  font-size: 15px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: start;
}

.feature-card, .story-card, .manifesto, .section-banner, .mini-story {
  background: #ffffff;
  border: 1px solid rgba(var(--ink-rgb), 0.07);
}

.feature-card {
  padding: 36px;
  position: relative;
  transition: transform 0.5s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 50%, transparent 100%);
}

.feature-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 28px;
}

.feature-media img, .story-media img, .split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth);
}

.mini-story img {
  transition: transform 0.9s var(--ease-smooth);
}

.feature-card:hover img, .story-card:hover img, .mini-story:hover img, .split-panel:hover img {
  transform: scale(1.06);
}

.feature-card h3 {
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 0.88;
  max-width: 800px;
  margin: 18px 0 22px;
  letter-spacing: -0.03em;
}

.meta-line {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}

.feature-card p, .story-card p, .mini-story p, .split-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

.story-stack {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.story-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  align-items: stretch;
  background: #ffffff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  cursor: pointer;
}

.story-card:hover {
  transform: translateX(4px);
  position: relative;
  z-index: 2;
  background: #f9f9f9;
}

.story-media {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e8e8;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.story-card h3 {
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.02;
  overflow-wrap: anywhere;
  letter-spacing: -0.02em;
}

.read-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  position: relative;
  padding-bottom: 6px;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease);
}

.read-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.read-link:hover { color: var(--accent); }

.read-link:hover::after { transform: scaleX(0.4); }

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

.manifesto {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.03), rgba(0,0,0,0.02));
  border: 1px solid rgba(var(--ink-rgb), 0.06);
}

.manifesto-visual {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: #140b0d;
  border: 1px solid rgba(var(--ink-rgb), 0.05);
}

.manifesto-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.9s var(--ease-smooth);
}

.manifesto-visual:hover > img {
  transform: scale(1.04);
}

.manifesto-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 8, 9, 0.06) 0%, rgba(12, 8, 9, 0.6) 100%);
  pointer-events: none;
}

.manifesto-stack {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.manifesto-thumb {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px;
  transition: transform 0.4s var(--ease-out);
}

.manifesto-thumb:hover {
  transform: translateY(-3px);
}

.manifesto-thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  margin-bottom: 10px;
}

.manifesto-thumb span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 4px;
}

.manifesto-thumb strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 0.94;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}

.manifesto-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.manifesto p {
  margin: 0;
  line-height: 1.9;
  color: rgba(var(--ink-rgb), 0.7);
  font-size: 14px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  background: var(--dark-card);
  color: var(--paper);
  overflow: hidden;
}

.split-media {
  min-height: 700px;
  overflow: hidden;
}

.split-media img {
  transition: transform 1s var(--ease-smooth);
}

.split-panel:hover .split-media img {
  transform: scale(1.05);
}

.split-copy {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.split-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--gold), transparent 80%);
}

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

.split-copy h3 {
  font-size: clamp(64px, 6.5vw, 112px);
  line-height: 0.88;
  margin: 22px 0 28px;
  letter-spacing: -0.03em;
}

.split-copy p {
  color: rgba(255, 250, 245, 0.82);
  max-width: 520px;
  font-size: 15px;
  line-height: 1.8;
}

.split-copy .btn-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  margin-top: 32px;
  align-self: flex-start;
}

.split-copy .btn-secondary:hover {
  background: var(--paper);
  color: var(--dark-card);
  border-color: var(--paper);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.section-banner {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
  padding: 32px 36px;
  background: linear-gradient(90deg, #ffffff, #f7f7f7);
  box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), 0.03);
  border: 1px solid rgba(var(--ink-rgb), 0.04);
}

.section-banner h3 {
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 0.94;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.section-banner strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 800;
}

.section-banner .btn { justify-self: end; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  background: var(--line);
}

.mini-story {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--night) !important;
  transition: transform 0.4s var(--ease-out);
  cursor: pointer;
}

.mini-story:hover {
  transform: translateY(-4px);
  position: relative;
  z-index: 2;
}

.mini-story > div.mini-img-wrap {
  position: relative;
  overflow: hidden;
}

.mini-story .mini-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  transition: transform 0.9s var(--ease-smooth);
}

.mini-story:hover .mini-img-wrap img {
  transform: scale(1.06);
}

.mini-story .mini-img-wrap .kicker {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 4;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

.mini-story .mini-img-wrap h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  margin: 0;
  padding: 40px 14px 14px;
  font-size: clamp(14px, 1.4vw, 19px);
  font-family: var(--serif);
  font-weight: 600;
  color: #fff !important;
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
}

.kicker { color: var(--accent); }

.magazine-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  padding: 48px 48px 56px;
  border-top: 1px solid var(--line);
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.magazine-footer::before {
  content: "";
  position: absolute;
  left: 48px;
  right: 48px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--gold), transparent 60%);
  opacity: 0.3;
}

.magazine-footer strong {
  display: block;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 0.88;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.magazine-footer p {
  margin: 0;
  line-height: 1.85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-links a {
  white-space: nowrap;
}

.footer-links a {
  transition: color 0.35s var(--ease);
  position: relative;
  cursor: pointer;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  mix-blend-mode: multiply;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

.cursor.expanded { width: 20px; height: 20px; }
.cursor-ring.expanded { width: 60px; height: 60px; border-color: rgba(var(--accent-rgb), 0.25); }

@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}

/* Image reveal */
.reveal-wrap {
  overflow: hidden;
  position: relative;
}

.reveal-wrap img {
  transform: scale(1.12);
  transition: transform 1.2s var(--ease-smooth);
}

.reveal-wrap.revealed img {
  transform: scale(1.0);
}

.reveal-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: left;
  transition: transform 1s var(--ease-smooth);
  z-index: 3;
}

.reveal-wrap.revealed::before {
  transform: scaleX(0);
  transform-origin: right;
}

/* Scroll-triggered fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.38s; }
.delay-4 { transition-delay: 0.52s; }
.delay-5 { transition-delay: 0.7s; }

/* Hero initial reveal is immediate */
.hero .fade-up {
  transition-delay: 0s;
}

.hero .fade-up.delay-1 { transition-delay: 0.15s; }
.hero .fade-up.delay-2 { transition-delay: 0.3s; }

/* Quote strip */
.quote-strip {
  padding: 72px 48px;
  background: var(--night);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.quote-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(var(--accent-rgb), 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(var(--gold-rgb), 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.quote-strip blockquote {
  margin: 0 auto;
  max-width: 920px;
  position: relative;
  z-index: 1;
}

.quote-strip blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.6;
  color: rgba(var(--gold-rgb), 0.25);
  margin-bottom: 16px;
  font-weight: 700;
}

.quote-strip p {
  font-family: var(--serif);
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 250, 245, 0.94);
  margin: 0 0 28px;
}

.quote-strip cite {
  font-style: normal;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
}

/* Feature card overlay on hover */
.feature-media {
  position: relative;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--accent-rgb), 0.18) 100%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  z-index: 1;
  pointer-events: none;
}

.feature-card:hover .feature-media::after {
  opacity: 1;
}

/* Story card image overlay */
.story-media {
  position: relative;
}

.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--accent-rgb), 0.15);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.story-card:hover .story-media::after {
  opacity: 1;
}

/* Mini-story number badge */
.mini-story-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: rgba(255, 250, 245, 0.8);
  letter-spacing: 0.04em;
  z-index: 3;
  pointer-events: none;
}

.mini-story {
  position: relative;
}

.mini-story > div.mini-img-wrap {
  position: relative;
  overflow: hidden;
}

/* Hero parallax */
.hero-media img {
  will-change: transform;
}

/* Animated line under section label */
.section-label {
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out) 0.3s;
}

.in-view .section-label::after,
.section-head.in-view .section-label::after {
  transform: scaleX(1);
}

/* Must-read number indicator */
.must-read-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  font-style: italic;
  color: rgba(var(--accent-rgb), 0.06);
  letter-spacing: -0.04em;
  pointer-events: none;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.stagger-children.in-view > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.in-view > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger-children.in-view > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger-children.in-view > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger-children.in-view > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.45s; }
.stagger-children.in-view > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.55s; }
.stagger-children.in-view > *:nth-child(7)  { opacity: 1; transform: none; transition-delay: 0.65s; }
.stagger-children.in-view > *:nth-child(8)  { opacity: 1; transform: none; transition-delay: 0.75s; }
.stagger-children.in-view > *:nth-child(9)  { opacity: 1; transform: none; transition-delay: 0.85s; }
.stagger-children.in-view > *:nth-child(n+10) { opacity: 1; transform: none; transition-delay: 0.9s; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .stagger-children > * { opacity: 1; transform: none; transition: none; }
  .reveal-wrap::after { display: none; }
  .reveal-wrap img { transform: scale(1); transition: none; }
  html { scroll-behavior: auto; }
  .hero-media img { transform: scale(1); transition: none; }
  .cursor, .cursor-ring { display: none; }
}

@media (max-width: 1400px) {
  .story-card {
    grid-template-columns: 1fr;
  }
  .story-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 1300px) {
  .section {
    padding: 96px 48px;
  }

  .topbar, .header-row, nav.magazine-nav, .verticals-bar, .must-reads {
    padding-left: 48px;
    padding-right: 48px;
  }

  .section-head h2 {
    font-size: clamp(48px, 5.5vw, 88px);
  }

  .split-copy h3 {
    font-size: clamp(48px, 5.5vw, 88px);
  }

  .magazine-body h1 {
    font-size: clamp(72px, 8vw, 128px);
  }

  .mini-story h3 {
    font-size: clamp(18px, 1.8vw, 26px);
  }

  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .must-reads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .magazine-footer {
    padding: 40px 48px 48px;
  }

  .quote-strip {
    padding: 64px 48px;
  }
}

@media (max-width: 1180px) {
  header.magazine-header { position: static; }

  .topbar, .header-row, nav.magazine-nav, .section, .magazine-footer, .verticals-bar, .must-reads {
    padding-left: 40px;
    padding-right: 40px;
  }

  .must-reads { margin: 0 40px; }

  .magazine-header.scrolled .header-row {
    padding-top: 22px;
    padding-bottom: 16px;
  }

  .magazine-header.scrolled .logo {
    width: min(100%, 440px);
  }

  .hero, .editorial-grid, .split-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy, .split-copy {
    border-left: 0;
  }

  .hero-media, .split-media {
    min-height: 60vh;
  }

  .feature-card::before {
    left: 20px;
    right: 20px;
  }

  .hero-title-overlay span:last-child {
    margin-left: 64px;
  }

  .section-banner, .magazine-footer {
    grid-template-columns: 1fr;
  }

  .section-banner .btn { justify-self: start; }

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

  .must-reads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-copy::before {
    width: 100%;
    height: 3px;
    top: 0;
    bottom: auto;
    left: 0;
    background: linear-gradient(90deg, var(--accent), var(--gold), transparent 80%);
  }

  .magazine-footer::before {
    left: 40px;
    right: 40px;
  }

  .quote-strip {
    padding: 56px 40px;
  }

  .section {
    padding: 88px 40px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100%, calc(100% - 12px));
    margin: 6px auto;
  }

  .topbar, .header-row, nav.magazine-nav, .section, .magazine-footer, .verticals-bar, .must-reads {
    padding-left: 24px;
    padding-right: 24px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .topbar span:first-child {
    max-width: 100%;
  }

  .header-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 14px;
  }

  .header-actions {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav.magazine-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
    overflow-x: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  nav.magazine-nav a {
    white-space: normal;
  }

  .magazine-body h1 {
    font-size: clamp(52px, 16vw, 88px);
  }

  .hero-media {
    min-height: 50vh;
  }

  .hero-title-overlay {
    left: 24px;
    top: 24px;
  }

  .hero-index {
    right: 12px;
    letter-spacing: 0.24em;
  }

  .hero-note {
    left: 24px;
    right: 24px;
    bottom: 24px;
    width: auto;
    padding: 20px;
  }

  .hero-stats, .manifesto, .story-card {
    grid-template-columns: 1fr;
  }

  .feature-card, .story-card, .mini-story, .must-read {
    padding: 16px;
  }

  .must-reads {
    margin: 0 24px;
  }

  .must-reads-head, .section-head {
    align-items: flex-start;
  }

  .must-reads-head span {
    display: none;
  }

  .section-head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding-top: 36px;
  }

  .section-head::before {
    font-size: 48px;
  }

  .section-head h2, .split-copy h3 {
    max-width: none;
  }

  .section-banner {
    gap: 16px;
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .section-banner .btn { justify-self: start; }

  .manifesto-visual {
    min-height: 260px;
  }

  .manifesto-thumb strong {
    font-size: 16px;
  }

  .section {
    padding: 72px 24px;
  }

  .quote-strip {
    padding: 48px 24px;
  }

  .quote-strip blockquote::before {
    font-size: 80px;
  }
}

@media (max-width: 560px) {
  /* Hide second topbar span (date/location) — redundant on small screens */
  .topbar span:last-child {
    display: none;
  }

  .topbar {
    gap: 0;
    font-size: 9px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-row {
    padding-top: 16px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .logo {
    width: min(100%, 220px);
  }

  .header-actions {
    gap: 8px;
    font-size: 9px;
  }

.verticals-bar {
    gap: 8px;
    padding-top: 12px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .verticals-bar a {
    padding: 6px 12px;
    font-size: 8px;
  }

.must-reads-grid, .mini-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-head h2 {
    font-size: clamp(36px, 9vw, 58px);
  }

  .split-copy h3 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .quote-strip blockquote p {
    font-size: clamp(24px, 7vw, 36px);
  }

  .hero-copy {
    padding: 36px 20px 40px;
  }

  .hero-title-overlay {
    left: 20px;
    top: 20px;
  }

  .hero-title-overlay span {
    font-size: clamp(48px, 18vw, 72px);
  }

  .hero-title-overlay span:last-child {
    margin-left: 28px;
  }

  .hero-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 16px;
  }

  .hero-actions, .hero-stats {
    gap: 12px;
  }

  .manifesto-stack {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .btn, .btn-secondary {
    width: 100%;
  }

  .hero-copy::before {
    right: -18px;
    top: 18px;
  }

  .must-read {
    min-height: 0;
  }

  .magazine-footer {
    padding: 32px 20px 40px;
  }

  .magazine-footer::before {
    left: 20px;
    right: 20px;
  }

  .quote-strip {
    padding: 40px 20px;
  }

  .quote-strip blockquote::before {
    font-size: 64px;
  }

  .footer-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px 18px;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .footer-links::-webkit-scrollbar { display: none; }
}
