/*
Theme Name: Esnold Jure
Theme URI: https://esnoldjure.com
Author: Esnold Jure
Description: Custom personal brand theme for policy analyst Esnold Jure.
Version: 1.0
*/

/* ─────────────────────────────────────────────
   VARIABLES & RESET
───────────────────────────────────────────── */
:root {
  --ink:        #1c2d4a;
  --cream:      #f7f8fc;
  --warm-gray:  #6b7a99;
  --rule:       #d0d8e8;
  --white:      #ffffff;
  --navy:       #2c4a72;
  --navy-dark:  #1c2d4a;
  --navy-mid:   #3a5f8a;
  --gold:       #c9a84c;
  --gold-light: #f0e6c8;
  --light-blue: #4a7abf;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
nav#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 2px solid rgba(201,168,76,0.4);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
}

.nav-logo {
  position: absolute;
  left: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-logo:hover { background: rgba(201,168,76,0.15); }

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links a.active-nav { color: var(--gold); border-bottom-color: var(--gold); }

/* ─────────────────────────────────────────────
   PAGE BANNER (inner pages — Rush Doshi style)
───────────────────────────────────────────── */
.page-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  margin-top: 60px;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,45,74,0.18) 0%, rgba(28,45,74,0.45) 100%);
}

/* ─────────────────────────────────────────────
   HERO (Home page — 50/50 split)
───────────────────────────────────────────── */
.hero {
  padding-top: 60px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-content {
  padding: 80px 64px 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-rule-top  { width: 60px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.hero-rule-bottom { width: 60px; height: 2px; background: var(--gold); margin-bottom: 18px; }

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.hero-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.85);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.hero-summary {
  font-size: 0.96rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.78);
  margin-bottom: 44px;
}

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 13px 30px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover { background: var(--white); }

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 60px);
}

.hero-mural { position: absolute; inset: 0; }
.hero-mural img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,74,114,0.25) 0%, rgba(28,45,74,0.03) 100%);
}

/* ─────────────────────────────────────────────
   AFFILIATIONS TICKER
───────────────────────────────────────────── */
.affiliations-strip {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 16px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.affil-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.affil-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy-dark);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   HOME SECTIONS
───────────────────────────────────────────── */
.section { padding: 80px 60px; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.section-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.section-link:hover { color: var(--navy); }

/* Writing Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card:hover::before { transform: scaleY(1); }

.card-outlet {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 10px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--ink);
}

.card-desc {
  font-size: 0.84rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   MEDIA SECTION (mosaic + sliders)
───────────────────────────────────────────── */
.field-section {
  padding: 80px 60px;
  background: var(--white);
}

.field-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.field-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
}

.mosaic-item-big     { grid-column: 1 / 6;  grid-row: 1 / 3; }
.mosaic-item-sm1     { grid-column: 6 / 9;  grid-row: 1 / 2; }
.mosaic-item-sm2     { grid-column: 6 / 9;  grid-row: 2 / 3; }
.mosaic-item-social1 { grid-column: 9 / 13; grid-row: 1 / 2; }
.mosaic-item-social2 { grid-column: 9 / 13; grid-row: 2 / 3; }

.mosaic-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mosaic-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 48px rgba(28,45,74,0.18);
}

/* Slider wrapper */
.slider-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.slide-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide-item.slide-out {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.mosaic-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.slider-wrap:hover .slide-item.active .mosaic-photo { transform: scale(1.04); }

.mosaic-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,45,74,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
}
.slider-wrap:hover .mosaic-photo-overlay { opacity: 1; }

.mosaic-photo-caption {
  position: absolute;
  bottom: 16px; left: 18px; right: 18px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.slider-wrap:hover .mosaic-photo-caption { opacity: 1; transform: translateY(0); }

/* Social post cards */
.mosaic-social {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  transition: border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
}
.slide-item.active .mosaic-social:hover { border-color: var(--gold); }

.social-post-header { display: flex; align-items: center; gap: 10px; }

.social-post-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.social-post-meta { flex: 1; min-width: 0; }
.social-post-name { font-size: 0.78rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-post-platform { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); }
.social-post-icon { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.5; }

.social-post-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #3a4a5e;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.social-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.social-post-date { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--warm-gray); letter-spacing: 0.08em; }
.social-post-link { font-size: 0.68rem; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─────────────────────────────────────────────
   LET'S CONNECT SECTION
───────────────────────────────────────────── */
.social-section {
  background: var(--navy-dark);
  padding: 60px;
  text-align: center;
}

.social-cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.social-cta-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

.social-icons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(255,255,255,0.72);
  padding: 12px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.social-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: #0f1e30;
  color: rgba(255,255,255,0.45);
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-top: 2px solid var(--gold);
}

.site-footer a { color: rgba(255,255,255,0.45); text-decoration: none; margin-left: 20px; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 60px 60px 80px;
}

.about-sidebar { position: sticky; top: 80px; align-self: start; }

.sidebar-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-portrait { width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 24px; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.sidebar-affiliations { list-style: none; font-size: 0.78rem; color: var(--warm-gray); }
.sidebar-affiliations li { padding: 8px 0; border-bottom: 1px solid var(--rule); }

.download-resume {
  display: inline-block;
  border: 1px solid var(--navy);
  padding: 12px 28px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  margin-top: 20px;
  border-radius: 6px;
  transition: all 0.2s;
}
.download-resume:hover { background: var(--navy); color: var(--cream); }

.about-name { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; margin-bottom: 8px; line-height: 1.1; }

.about-section { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--rule); }
.about-section:last-child { border-bottom: none; }

.about-section-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.about-section p { font-size: 1rem; line-height: 1.8; color: #3a4a5e; margin-bottom: 16px; }

/* ─────────────────────────────────────────────
   RESEARCH & PUBLICATIONS PAGE
───────────────────────────────────────────── */
.work-layout { padding: 60px 60px 80px; }

.work-page-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; }

.work-intro {
  font-size: 1rem;
  color: var(--warm-gray);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.work-subsection { margin-bottom: 60px; }

.work-subsection-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.work-entry {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.work-entry:hover .work-entry-title { color: var(--gold); }

.work-entry-outlet { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light-blue); margin-bottom: 6px; }
.work-entry-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; transition: color 0.2s; }
.work-entry-desc { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.6; }
.work-entry-year { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--warm-gray); text-align: right; padding-top: 4px; }

.long-form-hidden { display: none; }

/* ─────────────────────────────────────────────
   INITIATIVES PAGE
───────────────────────────────────────────── */
.initiatives-layout { padding: 60px 60px 80px; }

.initiatives-page-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; }

.initiatives-intro {
  font-size: 1rem;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.initiative-block {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.initiative-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.initiative-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.15; }
.initiative-body { font-size: 0.95rem; line-height: 1.8; color: #3a4a5e; margin-bottom: 20px; }

.listen-links {
  display: flex;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  flex-wrap: wrap;
  margin-top: 24px;
  gap: 0;
}
.listen-label { margin-right: 10px; }
.listen-links a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
.listen-links a:hover { color: var(--navy); }
.listen-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--navy-dark); margin: 0 10px; vertical-align: middle; }

.initiative-visual { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.initiative-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.initiative-visual-contain { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--cream); display: flex; align-items: center; justify-content: center; padding: 20px; }
.initiative-visual-contain img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ─────────────────────────────────────────────
   SUBSTACK PAGE
───────────────────────────────────────────── */
.substack-layout { padding: 60px 60px 80px; }

.substack-top {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: start;
  margin-bottom: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}

.substack-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; }

.substack-intro { font-size: 1rem; color: var(--warm-gray); line-height: 1.8; margin-bottom: 36px; }

.substack-subscribe-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 13px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s;
}
.substack-subscribe-btn:hover { background: var(--navy); color: var(--white); }

.substack-profile-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }

.substack-cover { width: 100%; height: 140px; object-fit: cover; display: block; }

.substack-profile-body { padding: 0 24px 28px; }

.substack-avatar-wrap { margin-top: -34px; margin-bottom: 16px; }

.substack-avatar { width: 68px; height: 68px; border-radius: 50%; border: 3px solid var(--white); object-fit: cover; display: block; }

.substack-profile-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }

.substack-profile-handle { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: var(--warm-gray); letter-spacing: 0.1em; margin-bottom: 16px; }

.substack-profile-bio { font-size: 0.9rem; line-height: 1.7; color: #3a4a5e; margin-bottom: 18px; }

.substack-pubs { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--rule); }

.substack-pub-item { font-size: 0.78rem; color: var(--warm-gray); display: flex; align-items: center; gap: 8px; }

.substack-pub-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.substack-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.substack-post-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 28px 24px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.substack-post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s;
}

.substack-post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.substack-post-card:hover::before { transform: scaleY(1); }
.substack-post-card:hover .substack-post-title { color: var(--gold); }

.substack-post-pub { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-blue); margin-bottom: 10px; }
.substack-post-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; transition: color 0.2s; color: var(--ink); }
.substack-post-desc { font-size: 0.83rem; color: var(--warm-gray); line-height: 1.65; margin-bottom: 16px; }

.substack-post-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--rule); }
.substack-post-date { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: var(--warm-gray); }
.substack-post-read { font-size: 0.68rem; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─────────────────────────────────────────────
   CV PAGE
───────────────────────────────────────────── */
.cv-layout { padding: 60px 60px 80px; max-width: 860px; margin: 0 auto; }

.cv-page-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; }

.cv-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.cv-intro { font-size: 0.95rem; color: var(--warm-gray); line-height: 1.7; max-width: 440px; }

.cv-download-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 13px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cv-download-btn:hover { background: var(--navy); color: var(--white); }

.cv-section { margin-bottom: 56px; }

.cv-section-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }

.cv-section p { font-size: 0.95rem; line-height: 1.75; color: #3a4a5e; }

.cv-skills-list { display: flex; flex-wrap: wrap; gap: 10px; }

.cv-skill-tag { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--rule); padding: 6px 14px; background: var(--white); }

.cv-job { margin-bottom: 36px; }
.cv-job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cv-job-org { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light-blue); margin-bottom: 4px; }
.cv-job-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cv-job-date { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: var(--warm-gray); white-space: nowrap; }
.cv-job-desc { font-size: 0.88rem; color: #3a4a5e; line-height: 1.7; }

.cv-edu-item { margin-bottom: 28px; }
.cv-edu-school { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.cv-edu-degree { font-size: 0.88rem; color: var(--warm-gray); }

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-layout { padding: 60px 60px 140px; max-width: 680px; margin: 0 auto; }

.contact-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 32px; }

.contact-body { font-size: 1rem; line-height: 1.8; color: #3a4a5e; margin-bottom: 52px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }

.contact-item { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); }

.contact-item-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); width: 80px; flex-shrink: 0; }

.contact-item-value { font-size: 0.98rem; color: var(--ink); text-decoration: none; }
.contact-item-value:hover { color: var(--gold); }

.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
}
.contact-icon-btn:hover { background: var(--gold); color: var(--navy-dark); }
.contact-icon-btn svg { width: 16px; height: 16px; fill: currentColor; }

.contact-note { margin-top: 40px; font-size: 0.82rem; color: var(--warm-gray); font-style: italic; }

/* ─────────────────────────────────────────────
   MOBILE RESPONSIVE (max-width: 768px)
───────────────────────────────────────────── */

/* HAMBURGER BUTTON — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle-active span:nth-child(2) { opacity: 0; }
.nav-toggle-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 768px) {

  /* NAV */
  nav#site-nav {
    height: 56px;
    padding: 0 20px;
    justify-content: flex-start;
    position: fixed;
  }
  .nav-logo { position: static; margin-right: auto; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 2px solid rgba(201,168,76,0.4);
    z-index: 99;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    border-bottom: none;
  }

  /* HERO */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    padding-top: 56px !important;
  }
  .hero-image {
    width: 100% !important;
    min-height: 320px !important;
    order: -1 !important;
    position: relative !important;
  }
  .hero-content {
    width: 100% !important;
    padding: 40px 24px 48px !important;
    order: 1 !important;
  }
  .hero-name { font-size: 2.4rem !important; white-space: normal !important; }
  .cta-btn { align-self: stretch !important; text-align: center !important; }

  /* SECTIONS */
  .section { padding: 48px 20px !important; }
  .field-section { padding: 48px 20px !important; }
  .social-section { padding: 40px 20px !important; }

  /* WRITING CARDS */
  .cards-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* MEDIA MOSAIC */
  .mosaic {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .mosaic-item-big { height: 260px !important; }
  .mosaic-item-sm1,
  .mosaic-item-sm2 { height: 200px !important; }
  .mosaic-item-social1,
  .mosaic-item-social2 { height: auto !important; min-height: 200px !important; }

  /* ABOUT */
  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 32px 20px 60px !important;
  }
  .about-sidebar { position: static !important; }
  .about-portrait { aspect-ratio: 4/3 !important; max-height: 280px !important; }
  .about-name { font-size: 1.8rem !important; }

  /* RESEARCH */
  .work-layout { padding: 32px 20px 60px !important; }
  .work-page-title { font-size: 2rem !important; }
  .work-entry { grid-template-columns: 1fr !important; gap: 4px !important; }
  .work-entry-year { text-align: left !important; }

  /* INITIATIVES */
  .initiatives-layout { padding: 32px 20px 60px !important; }
  .initiatives-page-title { font-size: 2rem !important; }
  .initiative-block { grid-template-columns: 1fr !important; gap: 28px !important; }
  .initiative-visual,
  .initiative-visual-contain { max-width: 260px !important; margin: 0 auto !important; }

  /* SUBSTACK */
  .substack-layout { padding: 32px 20px 60px !important; }
  .substack-title { font-size: 2rem !important; }
  .substack-top { grid-template-columns: 1fr !important; gap: 32px !important; }
  .substack-posts-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* CV */
  .cv-layout { padding: 32px 20px 60px !important; }
  .cv-page-title { font-size: 2rem !important; }
  .cv-download-row { flex-direction: column !important; align-items: flex-start !important; gap: 20px !important; }

  /* CONTACT */
  .contact-layout { padding: 32px 20px 80px !important; }
  .contact-title { font-size: 2rem !important; }
  .contact-item { flex-wrap: wrap !important; gap: 10px !important; }

  /* PAGE BANNER */
  .page-banner { height: 180px !important; margin-top: 56px !important; }

  /* FOOTER */
  .site-footer {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 20px !important;
  }
  .site-footer a { margin-left: 8px !important; }

}