/*
Theme Name: My Custom Theme
Author: You
Version: 1.0
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f8f7f4;
  --ink: #111111;
  --ink-2: #5f5f5f;
  --line: rgba(17, 17, 17, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-card-bg: rgba(255, 255, 255, 0.5);
  --glass-card-border: rgba(255, 255, 255, 0.7);
  --ambient-1: rgba(125, 26, 74, 0.10);
  --ambient-2: rgba(44, 76, 52, 0.08);
  --grain-opacity: 0.07;
  --grain-blend: multiply;
  --video-grain-opacity: 0.18;
  --vignette-strength: 0.35;
  --vignette-top: 0.45;
  --vignette-bottom: 0.55;
  --idle-scale: 1.07;
  --idle-duration: 18s;
  --video-tint: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-zoom: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ============================================================
     MOOD VARIANTS — Daylight / Twilight / Midnight
     ============================================================ */
body[data-mood="twilight"] {
  --bg: #efe5d6;
  --ink: #1f1815;
  --ink-2: #6e5b4e;
  --line: rgba(31, 24, 21, 0.10);
  --glass-bg: rgba(255, 248, 238, 0.65);
  --glass-border: rgba(255, 248, 238, 0.75);
  --glass-card-bg: rgba(255, 248, 238, 0.5);
  --glass-card-border: rgba(255, 248, 238, 0.7);
  --ambient-1: rgba(217, 119, 87, 0.16);
  --ambient-2: rgba(166, 62, 45, 0.12);
  --video-tint: sepia(0.12) saturate(1.08) hue-rotate(-8deg);
}

body[data-mood="midnight"] {
  --bg: #0d0c0a;
  --ink: #f0eee8;
  --ink-2: #8a8884;
  --line: rgba(240, 238, 232, 0.08);
  --glass-bg: rgba(28, 26, 22, 0.65);
  --glass-border: rgba(240, 238, 232, 0.10);
  --glass-card-bg: rgba(22, 20, 18, 0.55);
  --glass-card-border: rgba(240, 238, 232, 0.08);
  --ambient-1: rgba(125, 26, 74, 0.28);
  --ambient-2: rgba(20, 80, 90, 0.22);
  --grain-opacity: 0.10;
  --grain-blend: screen;
  --video-tint: brightness(0.92) contrast(1.05);
}

body[data-mood="midnight"] .brand__logo--dark {
  display: none;
}

body[data-mood="midnight"] .brand__logo--light {
  display: block;
}

body[data-mood="midnight"] .menu-toggle {
  border-color: rgba(240, 238, 232, 0.15);
}

body[data-mood="midnight"] .menu-toggle svg path {
  stroke: #f0eee8;
}

body[data-mood="midnight"] .site-header__cta {
  background: #f0eee8;
  color: #0d0c0a;
}

body[data-mood="midnight"] .site-header {
  background: rgba(13, 12, 10, 0.72);
}

body[data-mood="midnight"] .journal-label {
  background: rgba(28, 26, 22, 0.6);
  border-color: rgba(240, 238, 232, 0.1);
}

body[data-mood="midnight"] .author-avatar {
  background: linear-gradient(135deg, #f0eee8, #c8c5bd);
  color: #0d0c0a;
  border-color: rgba(240, 238, 232, 0.2);
}

body[data-mood="midnight"] .author-name {
  color: #f0eee8;
}

body[data-mood="midnight"] .must-read {
  background: #f0eee8;
  color: #0d0c0a;
}

body[data-mood="midnight"] .view-all {
  background: #f0eee8;
  color: #0d0c0a;
}

body[data-mood="midnight"] .view-all:hover {
  background: #fff;
}

body[data-mood="midnight"] .featured-content::before {
  background: linear-gradient(135deg, rgba(240, 238, 232, 0.06) 0%, rgba(240, 238, 232, 0) 60%);
}

body[data-mood="midnight"] .featured-desc {
  color: #b8b5af;
}

body[data-mood="midnight"] .grid-counter {
  color: #8a8884;
}

body[data-mood="midnight"] .nav a {
  color: #f0eee8;
}

body[data-mood="midnight"] .nav a.is-active::after {
  background: #f0eee8;
}

body[data-mood="midnight"] .ambient::before,
body[data-mood="midnight"] .ambient::after {
  opacity: 0.85;
}

body[data-mood] {
  background: var(--bg);
  color: var(--ink);
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

/* ============================================================
     CINEMA VARIANTS — Documentary / Editorial / A24
     ============================================================ */
body[data-cinema="documentary"] {
  --grain-opacity: 0.025;
  --video-grain-opacity: 0.05;
  --vignette-strength: 0.12;
  --vignette-top: 0.18;
  --vignette-bottom: 0.22;
  --idle-scale: 1.025;
  --idle-duration: 28s;
}

body[data-cinema="a24"] {
  --grain-opacity: 0.13;
  --video-grain-opacity: 0.32;
  --vignette-strength: 0.55;
  --vignette-top: 0.62;
  --vignette-bottom: 0.7;
  --idle-scale: 1.12;
  --idle-duration: 22s;
}

body[data-cinema="a24"] .featured {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 80px 100px -40px rgba(17, 17, 17, 0.55),
    0 30px 60px -20px rgba(17, 17, 17, 0.32);
}

body[data-cinema="a24"] .post-card:hover {
  box-shadow:
    0 60px 80px -28px rgba(17, 17, 17, 0.45),
    0 0 0 1px rgba(17, 17, 17, 0.08);
}

body[data-cinema="documentary"] .featured {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 20px 40px -28px rgba(17, 17, 17, 0.18);
}

body[data-cinema="documentary"] .vid-meta {
  display: none;
}

body[data-cinema="documentary"] .bracket {
  opacity: 0.5;
}

/* ============================================================
     RHYTHM VARIANTS — Aligned / Staggered / Cascade
     ============================================================ */
body[data-rhythm="aligned"] .post-card-wrap:nth-child(1),
body[data-rhythm="aligned"] .post-card-wrap:nth-child(2),
body[data-rhythm="aligned"] .post-card-wrap:nth-child(3) {
  transform: translateY(0);
}

body[data-rhythm="cascade"] .post-card-wrap:nth-child(1) {
  transform: translateY(0);
}

body[data-rhythm="cascade"] .post-card-wrap:nth-child(2) {
  transform: translateY(56px);
}

body[data-rhythm="cascade"] .post-card-wrap:nth-child(3) {
  transform: translateY(112px);
}

body[data-rhythm="cascade"] .page-wrap {
  padding-bottom: 180px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ============================================================
     GLOBAL GRAIN + AMBIENT GRADIENTS
     ============================================================ */
.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 90;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  transition: opacity 0.6s var(--ease);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grainShift 7s steps(8) infinite;
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-4%, 3%);
  }

  40% {
    transform: translate(2%, -5%);
  }

  60% {
    transform: translate(-3%, -2%);
  }

  80% {
    transform: translate(4%, 1%);
  }

  100% {
    transform: translate(0, 0);
  }
}

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.ambient::before {
  width: 620px;
  height: 620px;
  left: -200px;
  top: -100px;
  background: radial-gradient(circle, var(--ambient-1), transparent 70%);
  transition: background 0.6s var(--ease), opacity 0.6s var(--ease);
}

.ambient::after {
  width: 720px;
  height: 720px;
  right: -260px;
  top: 260px;
  background: radial-gradient(circle, var(--ambient-2), transparent 70%);
  transition: background 0.6s var(--ease), opacity 0.6s var(--ease);
}

/* ============================================================
     SITE HEADER
     ============================================================ */
/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LOGO ── */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

.custom-logo-link img,.b-logo{
  width: 128px;
  height: auto;
}

/* ── DESKTOP NAV ── */
header ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

header ul a {
  text-decoration: none;
      font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--nav-link-color);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}

header ul a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--nav-link-hover);
  transition: width 0.25s ease;
}

header ul a:hover {
  color: var(--nav-link-hover);
}

header ul a:hover::after {
  width: 100%;
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── OFFCANVAS OVERLAY ── */
.offcanvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offcanvas-overlay.is-visible {
  display: block;
}

.offcanvas-overlay.is-active {
  opacity: 1;
}

/* ── OFFCANVAS DRAWER ── */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--offcanvas-width);
  height: 100%;
  background: var(--bg);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.offcanvas.is-open {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  height: var(--header-height);
}

.offcanvas-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.offcanvas-logo .logo-text {
  font-size: 16px;
}

.offcanvas-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.offcanvas-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.offcanvas-close svg {
  width: 18px;
  height: 18px;
}

.offcanvas-nav ul {
  list-style: none;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offcanvas-nav ul li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.offcanvas.is-open .offcanvas-nav ul li {
  opacity: 1;
  transform: translateX(0);
}

.offcanvas.is-open .offcanvas-nav ul li:nth-child(1) {
  transition-delay: 0.08s;
}

.offcanvas.is-open .offcanvas-nav ul li:nth-child(2) {
  transition-delay: 0.13s;
}

.offcanvas.is-open .offcanvas-nav ul li:nth-child(3) {
  transition-delay: 0.18s;
}

.offcanvas.is-open .offcanvas-nav ul li:nth-child(4) {
  transition-delay: 0.23s;
}

.offcanvas.is-open .offcanvas-nav ul li:nth-child(5) {
  transition-delay: 0.28s;
}

.offcanvas-nav ul a {
  display: block;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--nav-link-color);
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas-nav ul a:hover {
  color: var(--nav-link-hover);
  padding-left: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .desktop-nav {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --offcanvas-width: 100vw;
  }

  .header-inner {
    padding: 0 16px;
  }
}

/* ============================================================
     page-wrap WRAPPER
     ============================================================ */
.page-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 28px 120px;
  z-index: 1;
}

.page-wrap__inner {
  position: relative;
  z-index: 2;
}

/* ============================================================
     EDITORIAL HEADER
     ============================================================ */
.journal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px -12px rgba(17, 17, 17, 0.18);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.journal-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d1a4a;
  box-shadow: 0 0 0 4px rgba(125, 26, 74, 0.15);
  animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(125, 26, 74, 0.15);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(125, 26, 74, 0.05);
  }
}

.heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -4px;
  line-height: 0.95;
  margin: 24px 0 0;
  color: var(--ink);
}

.heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}

.heading-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
  padding-top: 8px;
}

.heading-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.subtitle {
  max-width: 520px;
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.55;
  margin: 32px 0 0;
}

.meta-line {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.65;
}

.meta-line .rule {
  width: 28px;
  height: 1px;
  background: var(--ink-2);
  opacity: 0.5;
}

.view-all {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 0 24px;
  height: 46px;
  border-radius: 999px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s var(--ease);
  will-change: transform;
}

.view-all:hover {
  transform: translate(var(--mx, 0), calc(var(--my, 0) - 2px)) scale(1.03);
  box-shadow: 0 20px 40px -16px rgba(17, 17, 17, 0.55), 0 0 0 6px rgba(17, 17, 17, 0.04);
  background: #000;
}

.view-all svg {
  transition: transform 0.5s var(--ease);
}

.view-all:hover svg {
  transform: translateX(4px);
}

/* ============================================================
     FEATURED HERO POST
     ============================================================ */
/* ============================================================
     FEATURED HERO POST — full-bleed cinematic cover
     ============================================================ */
.featured {
  position: relative;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  min-height: 640px;
  height: 70vh;
  max-height: 760px;
  margin-bottom: 96px;
  background: #0a0a0a;
  box-shadow:
    0 60px 100px -40px rgba(17, 17, 17, 0.45),
    0 30px 60px -20px rgba(17, 17, 17, 0.25);
  isolation: isolate;
}

.featured .video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
}

/* Strong cinematic gradient so overlaid text reads */
.featured .video-wrap::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 28%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 55%);
}

/* Editorial overlay frame */
.featured-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 44px 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #fff;
  pointer-events: none;
}

.featured-overlay>* {
  pointer-events: auto;
}

.featured-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.featured-tag .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 10px #ff5a5a;
  animation: blink 1.4s var(--ease) infinite;
}

.featured-chapter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.featured-chapter .num {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.featured-chapter .rule {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

/* Edge-of-frame N° marker */
.featured-mark {
  position: absolute;
  top: 50%;
  left: -22px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  z-index: 5;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.featured-middle {
  align-self: end;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.featured-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -3.2px;
  line-height: 0.94;
  margin: 0;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.featured-title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.featured-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
}

.featured-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.featured-bottom .author-block {
  color: #fff;
}

.featured-bottom .author-avatar {
  width: 64px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 10px;
}

.featured-bottom .author-avatar img {
  width: 100%;
  height: 100%;
}

.featured-bottom .author-name {
  color: #fff;
  font-size: 14px;
}

.featured-bottom .author-sub {
  color: rgba(255, 255, 255, 0.6);
}

.featured-meta-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

.featured-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.featured-meta-strip .pip {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: -0.1px;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
}

.featured-cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: #fff;
  box-shadow: 0 28px 56px -18px rgba(0, 0, 0, 0.55);
}

.featured-cta svg {
  transition: transform 0.5s var(--ease);
}

.featured-cta:hover svg {
  transform: translateX(4px);
}

.featured-cta .cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cat, #7d1a4a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.featured-cta .cat-pill::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar img {
  width: 65%;
  height: auto;
  display: block;
  object-fit: contain;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #4a4a4a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 14px -6px rgba(17, 17, 17, 0.4);
}

.author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.author-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.author-sub {
  font-size: 11.5px;
  color: var(--ink-2);
  opacity: 0.75;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

/* ============================================================
     CATEGORY BADGE
     ============================================================ */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 22px -10px rgba(0, 0, 0, 0.55);
}

.cat-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

/* ============================================================
     SECONDARY GRID
     ============================================================ */
.grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.grid-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.4px;
  margin: 0;
}

.grid-counter {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card-wrap:nth-child(1) {
  transform: translateY(0);
}

.post-card-wrap:nth-child(2) {
  transform: translateY(36px);
}

.post-card-wrap:nth-child(3) {
  transform: translateY(12px);
}

/* ============================================================
     POST CARD
     ============================================================ */
.post-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 28px;
  padding: 14px;
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  will-change: transform;
  box-shadow: 0 20px 40px -28px rgba(17, 17, 17, 0.18);
}

.post-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 40px 60px -28px rgba(17, 17, 17, 0.28),
    0 0 0 1px rgba(17, 17, 17, 0.06);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6px 8px;
  gap: 12px;
}

.post-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  flex: 1;
  letter-spacing: -0.4px;
  /* text-wrap: balance; */
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.3px;
}

.post-footer .author-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.post-footer .author-mini .dot-mini {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.35;
}

/* ============================================================
     VIDEO CONTAINER + CINEMATIC TREATMENT
     ============================================================ */
.video-wrap {
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-wrap--featured {
  border-radius: 0;
}

.video-wrap--card {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  height: auto;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s var(--ease-zoom), filter 0.6s var(--ease);
  will-change: transform;
  filter: var(--video-tint);
}

.video-wrap:hover video {
  transform: scale(1.08);
  transition: transform 0.9s var(--ease-zoom);
}

/* idle slow zoom */
.video-wrap:not(:hover) video {
  animation: idleZoom var(--idle-duration) var(--ease) infinite alternate;
}

@keyframes idleZoom {
  from {
    transform: scale(1.02) translate(0, 0);
  }

  to {
    transform: scale(var(--idle-scale)) translate(-1.5%, 1%);
  }
}

/* Cinematic gradient overlay (always on) */
.video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, var(--vignette-top)) 0%, transparent 30%, transparent 65%, rgba(0, 0, 0, var(--vignette-bottom)) 100%),
    radial-gradient(circle at 50% 50%, transparent 50%, rgba(0, 0, 0, var(--vignette-strength)) 100%);
  pointer-events: none;
  z-index: 2;
  transition: background 0.6s var(--ease);
}

/* Dark hover overlay */
.video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: 3;
}

.video-wrap:hover::after {
  opacity: 1;
}

/* Grain overlay on video */
.video-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: var(--video-grain-opacity);
  transition: opacity 0.6s var(--ease);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grainShift 5s steps(8) infinite;
}

/* Cursor-follow glow on video */
.video-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 5;
  mix-blend-mode: screen;
  filter: blur(20px);
}

.video-wrap:hover .video-glow {
  opacity: 1;
}

/* Cinematic cursor (custom) */
.video-cursor {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.video-wrap:hover .video-cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-cursor svg {
  display: block;
}

/* Corner frame guides */
.bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 6;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.bracket--tl {
  top: 18px;
  left: 18px;
  border-top: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
}

.bracket--tr {
  top: 18px;
  right: 18px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}

.bracket--bl {
  bottom: 18px;
  left: 18px;
  border-bottom: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
}

.bracket--br {
  bottom: 18px;
  right: 18px;
  border-bottom: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}

.video-wrap:hover .bracket--tl {
  transform: translate(-3px, -3px);
}

.video-wrap:hover .bracket--tr {
  transform: translate(3px, -3px);
}

.video-wrap:hover .bracket--bl {
  transform: translate(-3px, 3px);
}

.video-wrap:hover .bracket--br {
  transform: translate(3px, 3px);
}

/* Timecode / metadata strip */
.vid-meta {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 7;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vid-meta .rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vid-meta .rec::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff5a5a;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff5a5a;
  animation: blink 1.4s var(--ease) infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ============================================================
     SCROLL REVEAL
     ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease),
    filter 1.1s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal[data-delay="1"].is-in {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"].is-in {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"].is-in {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"].is-in {
  transition-delay: 0.32s;
}

.reveal[data-delay="5"].is-in {
  transition-delay: 0.40s;
}

/* ============================================================
     ARCHIVE LIST — editorial table of older posts
     ============================================================ */
.archive-section {
  margin-top: 120px;
  position: relative;
}

.archive-section .grid-header {
  margin-bottom: 8px;
}

.archive-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr auto auto 40px;
  align-items: center;
  gap: 28px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
  overflow: hidden;
}

.archive-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0) 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

body[data-mood="midnight"] .archive-row::before {
  background: linear-gradient(90deg, rgba(240, 238, 232, 0.04), rgba(240, 238, 232, 0) 60%);
}

.archive-row:hover {
  padding-left: 24px;
}

.archive-row:hover::before {
  opacity: 1;
}

.archive-num {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--ink-2);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.5s var(--ease), color 0.5s var(--ease);
}

.archive-row:hover .archive-num {
  opacity: 1;
  color: var(--ink);
}

.archive-title-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.archive-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.archive-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}

.archive-excerpt {
  font-size: 13.5px;
  color: var(--ink-2);
  opacity: 0.8;
  margin: 0;
  line-height: 1.45;
  max-width: 540px;
}

.archive-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cat, var(--ink));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.archive-cat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--ink));
}

.archive-meta {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0.75;
}

.archive-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.archive-arrow svg {
  transition: transform 0.5s var(--ease);
}

.archive-row:hover .archive-arrow {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.archive-row:hover .archive-arrow svg {
  transform: translateX(2px);
}

.archive-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  gap: 24px;
}

.archive-note {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.4px;
  opacity: 0.7;
}

.archive-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.5s var(--ease);
}

.archive-cta:hover {
  gap: 18px;
}

/* ============================================================
     RESPONSIVE
     ============================================================ */
@media (max-width: 1024px) {
  .page-wrap {
    padding: 72px 24px 96px;
  }

  .heading-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .heading-meta {
    align-items: flex-start;
    text-align: left;
  }

  .featured {
    min-height: 540px;
    height: auto;
  }

  .featured-overlay {
    padding: 32px 36px;
  }

  .featured-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-meta-strip {
    justify-content: flex-start;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-card-wrap {
    transform: none !important;
  }

  .archive-row {
    grid-template-columns: 60px 1fr auto 36px;
    gap: 18px;
    padding: 22px 6px;
  }

  .archive-meta {
    display: none;
  }

  .archive-num {
    font-size: 32px;
  }

  .archive-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-wrap {
    padding: 56px 20px 80px;
  }

  .heading {
    letter-spacing: -2.4px;
  }

  .subtitle {
    font-size: 16px;
  }

  .featured {
    min-height: 480px;
  }

  .featured-overlay {
    padding: 24px 24px;
  }

  .featured-title {
    letter-spacing: -1.6px;
  }

  .featured-mark {
    display: none;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .archive-section {
    margin-top: 72px;
  }

  .archive-row {
    grid-template-columns: 48px 1fr 32px;
    padding: 18px 4px;
    gap: 14px;
  }

  .archive-cat {
    display: none;
  }

  .archive-excerpt {
    display: none;
  }

  .archive-row:hover {
    padding-left: 12px;
  }

  .archive-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header__cta {
    display: none;
  }

  .video-wrap {
    cursor: pointer;
  }

  .video-cursor {
    display: none;
  }
}

/* ============================================================
     SITE FOOTER (kept from prior version, lightly tuned)
     ============================================================ */
.site-footer {
  position: relative;
  background: #0e0e0e;
  color: #d6d6d6;
  margin-top: 40px;
  z-index: 1;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 28px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid #1f1f1f;
}

.footer-lede h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0 0 20px;
  color: #fff;
}

.footer-lede em {
  font-style: italic;
  font-weight: 400;
  color: #8c8c8c;
}

.footer-lede p {
  color: #8c8c8c;
  font-size: 16px;
  line-height: 1.55;
  max-width: 420px;
  margin: 0;
}

.newsletter {
  background: #161616;
  border: 1px solid #1f1f1f;
  border-radius: 20px;
  padding: 28px;
  align-self: end;
}

.newsletter__label {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 14px;
}

.newsletter__form {
  display: flex;
  gap: 8px;
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  border-radius: 40px;
  padding: 6px 6px 6px 18px;
}

.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 8px 0;
}

.newsletter__form input::placeholder {
  color: #555;
}

.newsletter__form button {
  background: #fff;
  color: #0e0e0e;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 40px;
  cursor: pointer;
}

.newsletter__note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #666;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
}

.footer-brand .brand__logo {
  height: 28px;
}

.footer-brand p {
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 280px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6d6d6;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  background: #fff;
  color: #0e0e0e;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #fff;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: #8c8c8c;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #1f1f1f;
  color: #666;
  font-size: 13px;
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-lede h3 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer-lede h3 {
    font-size: 36px;
  }
}

/* Card link reset */
a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.card-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 30px;
}

/* Initial body fade-in */
body {
  animation: bodyFade 1.4s var(--ease) both;
}

@keyframes bodyFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}





/* blog  */
img,
video {
  display: block;
  max-width: 100%;
}

.post-image img{
  height: auto !important;
  border-radius: 10px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

a {
  color: inherit;
}

/* ---------- Site header (shared) ---------- */
/* .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid #f0f0f0;
  }
  .site-header__inner {
    max-width: 1200px; margin: 0 auto; padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
  }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #111; }
  .brand__mark {
    width: 32px; height: 32px; border-radius: 8px;
    background: #111; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -0.5px;
  }
  .brand__name { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -0.5px; }
  .brand__name span { color: #999; font-weight: 500; }
  .nav { display: flex; gap: 36px; }
  .nav a { color: #111; text-decoration: none; font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
  .nav a:hover { color: #555; }
  .nav a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:0; height:1.5px; background:#111; }
  .site-header__cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #111; color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 40px;
    transition: transform 0.25s ease;
  }
  .site-header__cta:hover { transform: scale(1.02); }
  .menu-toggle { display: none; background: none; border: 1px solid #eee; padding: 8px; border-radius: 10px; } */

/* ---------- Reading-progress bar ---------- */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 0%;
  background: #111;
  z-index: 60;
  transition: width 0.1s linear;
}

/* ---------- Article ---------- */
.article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.article-body::first-letter{
  font-size: 70px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #999;
  font-size: 13px;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #111;
}

.breadcrumb svg {
  opacity: 0.5;
}

.article-head {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto 40px;
  text-align: left;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cat-badge {
  display: inline-block;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  background: #363432;
}

.meta-dot {
  width: 3px;
  height: 3px;
  background: #ccc;
  border-radius: 50%;
}

.meta-text {
  color: #666;
  font-size: 13px;
  font-weight: 500;
}

.article-title {
  font-family: 'Outfit', sans-serif;
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -2.8px;
  line-height: 1.02;
  margin: 0 0 28px;
  color: #111;
}

.article-dek {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #555;
  max-width: 720px;
  margin: 0;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  margin-top: 36px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a37a, #5b3a1f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 0;
  letter-spacing: -0.1px;
}

.author-bio {
  font-size: 13px;
  color: #777;
  margin: 2px 0 0;
}

.share-row {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f7f7f7;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  background: #111;
  color: #fff;
}

/* ---------- Hero video ---------- */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  margin: 0 0 16px;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 3;
  pointer-events: none;
}

.hero-media .bracket--tl {
  top: 20px;
  left: 20px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.hero-media .bracket--tr {
  top: 20px;
  right: 20px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.hero-media .bracket--bl {
  bottom: 20px;
  left: 20px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

.hero-media .bracket--br {
  bottom: 20px;
  right: 20px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

.hero-caption {
  font-size: 13px;
  color: #999;
  max-width: 880px;
  margin: 0 auto 60px;
  padding-top: 4px;
  font-style: italic;
}

/* ---------- Article body ---------- */
.article-body {
  max-width: 720px;
  margin: 50px auto;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  color: #1a1a1a;
}

.article-body>p {
  margin: 0 0 28px;
}

.article-body>p:first-of-type::first-letter {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  float: left;
  font-size: 76px;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: #111;
}

.article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 56px 0 20px;
  color: #111;
  line-height: 1.15;
}

.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 36px 0 12px;
  color: #111;
}

.article-body a {
  color: #111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body strong {
  color: #111;
  font-weight: 600;
}

.article-body ul {
  padding-left: 22px;
  margin: 0 0 28px;
}

.article-body ul li {
  margin-bottom: 10px;
}

.pull-quote {
  margin: 56px -40px;
  padding: 0 40px;
  border-left: 2px solid #111;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.25;
  color: #111;
}

.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #999;
}

/* ---------- Inline image grid ---------- */
.inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 48px 0;
}

.inline-grid .ph {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #f4f4f4 0 12px, #ececec 12px 24px);
  position: relative;
}

.inline-grid .ph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #888;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
}

/* ---------- Stats / compare box ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 48px 0;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.compare__col {
  padding: 32px;
  background: #fcfcfc;
}

.compare__col+.compare__col {
  border-left: 1px solid #f0f0f0;
}

.compare__label {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 8px;
}

.compare__title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
  color: #111;
}

.compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #444;
}

.compare__list li {
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.compare__list li:first-child {
  border-top: none;
}

.compare__list b {
  font-weight: 600;
  color: #111;
}

/* ---------- End / author card ---------- */
.end-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 56px;
  color: #999;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
}

.end-mark::before,
.end-mark::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}

.author-card {
  max-width: 720px;
  margin: 0 auto 80px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-card .avatar {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.author-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.author-card .role {
  font-size: 13px;
  color: #888;
  margin: 0 0 12px;
}

.author-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.55;
  margin: 0 0 16px;
}

.author-card .follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #111;
  border-radius: 40px;
  transition: background 0.2s ease, color 0.2s ease;
}

.author-card .follow:hover {
  background: #111;
  color: #fff;
}

/* ---------- Related posts ---------- */
.related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  border-top: 1px solid #f0f0f0;
}

.related h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.4px;
  margin: 0 0 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.video-wrap {
  position: relative !important;
  overflow: hidden !important;
  background: #111;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  height: unset;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.video-wrap:hover video {
  transform: scale(1.08);
}

.video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.video-wrap:hover::after {
  opacity: 1;
}

.plus-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 3;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.video-wrap:hover .plus-circle {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.bracket {
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 3;
  pointer-events: none;
}

.bracket--tl {
  top: 12px;
  left: 12px;
  border-top: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
}

.bracket--tr {
  top: 12px;
  right: 12px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}

.bracket--bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
}

.bracket--br {
  bottom: 12px;
  right: 12px;
  border-bottom: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}

.post-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.post-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  flex: 1;
  letter-spacing: -0.2px;
  color: #111;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.cta-strip__inner {
  background: #111;
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-strip h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 8px;
  max-width: 520px;
}

.cta-strip p {
  color: #999;
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
}

.cta-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 40px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cta-strip a:hover {
  transform: scale(1.02);
}

/* ---------- Site footer (shared) ---------- */
.site-footer {
  background: #0e0e0e;
  color: #d6d6d6;
}

/* .footer-inner { max-width: 1200px; margin: 0 auto; padding: 80px 20px 40px; } */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid #1f1f1f;
}

.footer-lede h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0 0 20px;
  color: #fff;
}

.footer-lede p {
  color: #8c8c8c;
  font-size: 16px;
  line-height: 1.55;
  max-width: 420px;
  margin: 0;
}

.newsletter {
  background: #161616;
  border: 1px solid #1f1f1f;
  border-radius: 20px;
  padding: 28px;
  align-self: end;
}

.newsletter__label {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 14px;
}

.newsletter__form {
  display: flex;
  gap: 8px;
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  border-radius: 40px;
  padding: 6px 6px 6px 18px;
}

.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 8px 0;
}

.newsletter__form input::placeholder {
  color: #555;
}

.newsletter__form button {
  background: #fff;
  color: #0e0e0e;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 40px;
}

.newsletter__note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #666;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
}

.footer-brand .brand__mark {
  background: #fff;
  color: #0e0e0e;
}

.footer-brand .brand__name {
  color: #fff;
}

.footer-brand p {
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 280px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6d6d6;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  background: #fff;
  color: #0e0e0e;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #fff;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: #8c8c8c;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #1f1f1f;
  color: #666;
  font-size: 13px;
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .article-title {
    font-size: 56px;
    letter-spacing: -2px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-lede h3 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }

  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }

  .cta-strip h4 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* .site-header__cta { display: none; } */
  .article {
    padding: 32px 20px;
  }

  .article-title {
    font-size: 40px;
    letter-spacing: -1.4px;
  }

  .article-dek {
    font-size: 18px;
  }

  .article-body {
    font-size: 18px;
  }

  .article-body h2 {
    font-size: 26px;
  }

  .pull-quote {
    font-size: 22px;
    margin: 40px 0;
    padding-left: 20px;
  }

  .inline-grid {
    grid-template-columns: 1fr;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare__col+.compare__col {
    border-left: none;
    border-top: 1px solid #f0f0f0;
  }

  .author-card {
    flex-direction: column;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related h3 {
    font-size: 30px;
  }
}