/* ============================================================
   OFFSHORE AFRICA MAGAZINE — Stylesheet
   Signature palette: Red · Black · White (matching logo/cover)
   ============================================================ */

:root {
  /* Signature brand colors — matched to magazine logo */
  --red:        #d11a2a;
  --red-dark:   #a1101f;
  --red-deep:   #7a0a17;
  --red-soft:   #f8e6e8;

  --ink:        #111111;
  --ink-soft:   #2a2a2a;
  --ink-2:      #444;

  --white:      #ffffff;
  --paper:      #faf7f2;
  --paper-2:    #f1ece3;
  --line:       #e4dfd5;
  --gray:       #8a8a8a;

  --shadow-sm: 0 2px 8px rgba(17,17,17,0.06);
  --shadow-md: 0 10px 30px rgba(17,17,17,0.10);
  --shadow-lg: 0 20px 60px rgba(122,10,23,0.18);

  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 96px 24px;
  --radius: 6px;
  --transition: 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== UTILITY ===== */
.section { padding: var(--section-pad); }
.text-center { text-align: center; }
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
h1, h2, h3, h4 { color: var(--ink); }
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
h4 { font-family: var(--font-sans); font-weight: 700; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.section-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
  font-family: var(--font-sans);
}
.btn-sm { padding: 10px 20px; font-size: 0.78rem; }
.btn-full { width: 100%; display: block; }

.btn-orange { /* primary brand button — red */
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-orange:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(209,26,42,0.35);
}
.btn-blue { /* secondary — black */
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-blue:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.btn-outline-blue {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-blue:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--red-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--red);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a { color: inherit; transition: color var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.top-bar a:hover { color: var(--red); }
.top-bar .divider { opacity: 0.4; }
.tb-ico {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 2px 6px;
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo-wrap { display: inline-flex; align-items: center; }
.logo {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  font-family: var(--font-serif);
  font-weight: 900;
}
.logo-offshore {
  font-size: 1.55rem;
  color: var(--red);
  letter-spacing: -0.01em;
}
.logo-africa {
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.logo-mag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 5px;
}
.main-nav ul {
  display: flex;
  gap: 34px;
}
.main-nav a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--red); }

.header-cta { white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  color: var(--white);
}
.slides-container {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 560px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; visibility: visible; }

.slide--1 { background-image: url('https://images.unsplash.com/photo-1518709594023-6eab9bab7b23?w=1800&q=80'); }
.slide--2 { background-image: url('https://images.unsplash.com/photo-1513828583688-c52646db42da?w=1800&q=80'); }
.slide--3 { background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1800&q=80'); }
.slide--4 { background-image: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?w=1800&q=80'); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(17,17,17,0.88) 0%, rgba(122,10,23,0.72) 55%, rgba(17,17,17,0.55) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}
.slide-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border-radius: 2px;
}
.slide-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}
.slide-content p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.6;
}
/* Slider controls */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  backdrop-filter: blur(6px);
}
.slide-arrow:hover { background: var(--red); border-color: var(--red); }
.slide-prev { left: 24px; }
.slide-next { right: 24px; }
.slide-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 36px; height: 3px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.dot.active { background: var(--red); }

/* ===== HEADLINE TICKER ===== */
.headline-ticker {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.ticker-label {
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  padding-left: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-weight: 500;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== ARTICLES ===== */
.articles-section { background: var(--white); }
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 24px;
}
.section-header-row h2 { margin-bottom: 0; }

/* Featured story */
.featured-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
  align-items: center;
}
.featured-img { height: 100%; min-height: 420px; }
.story-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.story-img-placeholder.feat-img { min-height: 420px; }
.story-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05) 0 48%, rgba(255,255,255,0.12) 48% 50%, transparent 50%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.14), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(0,0,0,0.45), transparent 55%);
}
.story-img-placeholder::after {
  content: '';
  position: absolute;
  left: 28px; right: 28px;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}
.story-img-placeholder.feat-img::after { left: 48px; right: 48px; }

/* Tone variants replace inline gradients */
.tone-red {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 100%);
}
.tone-ink {
  background: linear-gradient(135deg, #000 0%, #2a2a2a 55%, var(--red-dark) 100%);
}

.img-kicker {
  position: relative;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 5px 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  margin-bottom: 16px;
}
.img-headline {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0;
  position: relative;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.story-img-placeholder.feat-img .img-headline { font-size: 2rem; }
.img-issue {
  position: relative;
  margin-top: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.22);
  min-width: 200px;
  text-align: center;
}
.featured-body { padding: 8px 0; }
.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin: 12px 0 18px;
}
.story-excerpt {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.story-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.story-date, .story-read { position: relative; padding-left: 12px; }
.story-date::before, .story-read::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  background: var(--red);
  transform: translateY(-50%) rotate(45deg);
}

/* Category tags */
.cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
}
.cat-spotlight  { background: var(--red); }
.cat-special    { background: var(--ink); }
.cat-transition { background: #2a7a4b; }
.cat-gas        { background: #1a6b8a; }
.cat-mining     { background: #7a5200; }
.cat-upstream   { background: #3d0080; }
.cat-company    { background: #005c7a; }
.cat-downstream { background: #007a54; }
.cat-power      { background: #7a3500; }

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.article-img { height: 200px; overflow: hidden; }
.article-img .story-img-placeholder {
  height: 200px;
  min-height: 200px;
  border-radius: 0;
}
.article-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-body .cat-tag { align-self: flex-start; margin-bottom: 12px; }
.article-body h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}
.article-body p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.article-body .story-meta { margin-bottom: 0; }

/* ===== MAGAZINE VIEWER ===== */
.magazine-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.magazine-section .section-label { text-align: center; }
.magazine-showcase {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.mag-cover-card {
  position: sticky;
  top: 100px;
}
.mag-cover-art {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform var(--transition);
}
.mag-cover-art:hover { transform: rotate(0deg) scale(1.02); }
.cover-mock {
  aspect-ratio: 8.5 / 11;
  background: var(--white);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  position: relative;
  border: 1px solid var(--line);
}
.cover-top-bar {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  margin-bottom: 10px;
}
.cover-top-bar span:first-child {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--red);
  font-size: 1.8rem;
  letter-spacing: -0.01em;
}
.cover-africa-txt {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--ink);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
}
.cover-vol {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  border-top: 2px solid var(--red);
  padding-top: 6px;
  margin-bottom: 14px;
}
.cover-kicker {
  display: inline-block;
  align-self: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 5px 10px;
  border-radius: 2px;
  margin: 10px auto 12px;
}
.cover-headline {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--red-dark);
  margin-bottom: 16px;
  text-align: center;
}
.cover-stories {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--ink-soft);
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cover-stories div::before {
  content: '▸ ';
  color: var(--red);
  font-weight: 900;
}
.cover-price {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 700;
}
.mag-cover-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.mag-preview-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.preview-header {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--red);
}
.preview-header h3 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.preview-header p {
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.toc-list { display: flex; flex-direction: column; }
.toc-list li {
  display: grid;
  grid-template-columns: 46px 140px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: center;
  transition: background var(--transition);
}
.toc-list li:hover { background: var(--paper); padding-left: 8px; }
.toc-num {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--red);
}
.toc-section {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 4px 8px;
  border-radius: 2px;
  text-align: center;
}
.toc-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ===== PAST EDITIONS ARCHIVE ===== */
.archive-section { background: var(--white); }
.archive-header { align-items: flex-end; }
.archive-note {
  color: var(--gray);
  font-size: 0.92rem;
  max-width: 360px;
  margin: 0;
  text-align: right;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.archive-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  transition: all var(--transition);
}
.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--red-dark);
}
.archive-cover { display: flex; align-items: center; }
.arc-mock {
  aspect-ratio: 8.5 / 11;
  width: 100%;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  transform: rotate(-1.5deg);
  transition: transform var(--transition);
}
.archive-card:hover .arc-mock { transform: rotate(0) scale(1.03); }
.arc-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(0,0,0,0.4), transparent 55%);
  pointer-events: none;
}
.arc-top {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  position: relative;
  z-index: 1;
}
.arc-brand {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.arc-brand-ink {
  color: #ffd4d4;
  letter-spacing: 0.02em;
}
.arc-vol {
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 5px;
  margin: 8px 0 10px;
  position: relative;
  z-index: 1;
}
.arc-headline {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.arc-stories {
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.55rem;
  line-height: 1.25;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.arc-stories li::before {
  content: '▸ ';
  color: #ffd4d4;
}

.archive-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.archive-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.archive-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.archive-body p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.archive-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== PDF MODAL ===== */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdf-modal.open { display: flex; }
.pdf-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.8);
  backdrop-filter: blur(6px);
}
.pdf-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid var(--red);
  gap: 20px;
  flex-wrap: wrap;
}
.pdf-modal-header h3 { color: var(--white); margin: 0; font-size: 1.05rem; }
.pdf-modal-header p { color: rgba(255,255,255,0.7); margin: 2px 0 0; font-size: 0.8rem; }
.pdf-modal-actions { display: flex; gap: 12px; align-items: center; }
.pdf-close {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.pdf-close:hover { background: var(--red); border-color: var(--red); }
.pdf-frame-wrap { flex: 1; background: #333; }
.pdf-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== EVENT BANNER ===== */
.event-banner {
  background: linear-gradient(100deg, var(--red-deep) 0%, var(--red-dark) 55%, var(--red) 100%);
  color: var(--white);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.event-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(255,255,255,0.12), transparent 60%);
}
.event-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}
.event-badge {
  background: var(--white);
  color: var(--red-dark);
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}
.event-text { flex: 1; }
.event-text h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  margin-bottom: 4px;
}
.event-text p {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== SUBSCRIBE ===== */
.subscribe-section {
  background: var(--ink);
  color: var(--white);
}
.subscribe-section h2 { color: var(--white); }
.subscribe-section .section-label { color: var(--red); }
.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: center;
}
.subscribe-text p { color: rgba(255,255,255,0.72); font-size: 1.02rem; }
.subscribe-perks {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.subscribe-perks li {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.subscribe-perks li::marker { color: var(--red); }

.subscribe-form-wrap { }
.subscribe-form {
  background: var(--white);
  color: var(--ink);
  padding: 40px 36px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red);
}
.subscribe-form h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  margin-bottom: 24px;
  font-size: 1.3rem;
}
.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--gray);
}
.form-note a { color: var(--red); font-weight: 600; }
.form-note a:hover { text-decoration: underline; }

/* ===== ABOUT ===== */
.about-section { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-card p { color: var(--ink-2); }
.about-card strong { color: var(--ink); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.astat {
  text-align: center;
  padding: 12px 6px;
}
.astat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.astat span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.about-coverage {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 32px 32px;
  border-radius: 4px;
}
.about-coverage h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.coverage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.coverage-cols h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.coverage-cols p {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.distribution-note {
  font-size: 0.82rem;
  padding: 14px 16px;
  background: var(--paper-2);
  border-radius: 4px;
  color: var(--ink-2);
  line-height: 1.5;
}
.distribution-note strong { color: var(--red-dark); }

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-info p { color: var(--ink-2); }
.cdetail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.cdetail:last-of-type { border-bottom: none; }
.cdetail > .cdetail-ico,
.cdetail > span {
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cdetail-ico svg { width: 20px; height: 20px; }
.cdetail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 4px;
}
.cdetail p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; line-height: 1.55; }
.cdetail a { color: var(--ink); font-weight: 500; }
.cdetail a:hover { color: var(--red); text-decoration: underline; }

.contact-form {
  background: var(--paper);
  border-radius: 6px;
  padding: 40px 36px;
  border-top: 4px solid var(--red);
}
.contact-form h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 16px; }
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d11a2a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(209,26,42,0.15);
}
textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 24px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-offshore { color: var(--red); font-size: 1.4rem; }
.footer-brand .logo-africa { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-mag { color: var(--red); }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(209,26,42,0.3);
}
.footer-col li { padding: 5px 0; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
}
.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-bottom {
  padding: 20px 0;
  background: #000;
  margin: 0 -24px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .magazine-showcase { grid-template-columns: 1fr; gap: 48px; }
  .mag-cover-card { position: static; max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .subscribe-inner { grid-template-columns: 1fr; gap: 40px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-note { text-align: left; }
  .featured-story { grid-template-columns: 1fr; gap: 32px; }
  .story-img-placeholder.feat-img { min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .header-cta { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px 20px; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav.open li { border-bottom: 1px solid var(--line); }
  .main-nav.open a { display: block; padding: 14px 0; font-size: 1rem; }
  .hamburger { display: flex; }
  .articles-grid { grid-template-columns: 1fr; }
  .archive-card { grid-template-columns: 130px 1fr; gap: 18px; padding: 18px; }
  .coverage-cols { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; gap: 12px; }
  .astat { display: flex; align-items: center; gap: 14px; text-align: left; }
  .astat strong { font-size: 1.6rem; margin-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .toc-list li { grid-template-columns: 40px 1fr; gap: 10px; }
  .toc-list .toc-section { grid-column: 2; justify-self: start; }
  .toc-list .toc-title { grid-column: 1 / -1; }
  .slide-arrow { width: 40px; height: 40px; font-size: 1.15rem; }
  .slide-prev { left: 10px; }
  .slide-next { right: 10px; }
  .ticker-label { padding: 10px 14px; font-size: 0.72rem; }
}

@media (max-width: 480px) {
  :root { --section-pad: 56px 18px; }
  .header-inner { height: 72px; }
  .logo-offshore, .logo-africa { font-size: 1.25rem; }
  .slides-container { min-height: 520px; }
  .slide-content h1 { font-size: 2rem; }
  .mag-preview-panel { padding: 24px 20px; }
  .subscribe-form, .contact-form { padding: 28px 22px; }
}
