/* ═══════════════════════════════════════════════════
   PIVOT — Main Stylesheet
   Swiss Editorial / Literary Lifestyle
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ─── Variables ─── */
:root {
  --ink:        #111111;
  --ink-2:      #2c2c2c;
  --ink-3:      #555555;
  --ink-4:      #888888;
  --paper:      #fafaf8;
  --paper-2:    #f2f1ed;
  --paper-3:    #e8e6df;
  --rule:       #dddbd3;
  --blue:       #1a3a5c;
  --blue-mid:   #2a5082;
  --cyan:       #1a7a8a;
  --cyan-light: #e6f5f7;
  --white:      #ffffff;

  --font-serif:  'Libre Baskerville', Georgia, serif;
  --font-sans:   'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:   'IBM Plex Mono', monospace;

  --max-w:      1200px;
  --col-gap:    40px;
  --section-v:  96px;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sharp: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Typography Scale ─── */
.serif { font-family: var(--font-serif); }
h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.5vw, 2.8rem); line-height: 1.2; font-weight: 700; color: var(--ink); }
h3 { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 1.75rem); line-height: 1.3; font-weight: 700; color: var(--ink); }
h4 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }

/* ─── Layout ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-v) 0; }
.section-sm { padding: 64px 0; }

/* ─── Rule Lines (Swiss grid decoration) ─── */
.rule { height: 1px; background: var(--rule); }
.rule-thick { height: 2px; background: var(--ink-2); }
.rule-blue { height: 3px; background: var(--blue); }

/* ─── Label / Eyebrow text ─── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink-4);
}
.label.label-blue { color: var(--cyan); }
.label.label-blue::before { background: var(--cyan); }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--blue); }
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }
.nav-right { display: flex; justify-content: flex-end; }
.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 9px 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue-mid); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 300;
  padding: 24px 40px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--cyan); padding-left: 12px; }
.mobile-close { font-size: 1.5rem; color: var(--ink-3); cursor: pointer; }

/* ═══════════════════════════════════════════════════
   HERO — HOME
   ═══════════════════════════════════════════════════ */
.hero {
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-top {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}
.hero-label { margin-bottom: 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  align-items: end;
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.hero-headline em { font-style: italic; color: var(--ink-3); }
.hero-side { padding-bottom: 8px; }
.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-3);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.hero-stat .unit {
  font-size: 0.72rem;
  color: var(--ink-4);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-divider { width: 1px; height: 40px; background: var(--rule); }
.hero-image-strip {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  height: 540px;
}
.hero-image-strip > div {
  overflow: hidden;
  position: relative;
}
.hero-image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hero-image-strip > div:hover img { transform: scale(1.03); }
.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════
   FEATURED ARTICLES TICKER
   ═══════════════════════════════════════════════════ */
.ticker-bar {
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ticker-sep { color: var(--cyan); font-size: 1rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   FEATURED POSTS SECTION
   ═══════════════════════════════════════════════════ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 48px;
}
.see-all {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.see-all:hover { gap: 12px; }
.see-all::after { content: '→'; }

/* Feature lead card */
.featured-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}
.featured-lead:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.featured-lead-img {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.featured-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.featured-lead:hover .featured-lead-img img { transform: scale(1.04); }
.featured-lead-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}
.featured-lead-body .article-category { margin-bottom: 24px; }
.featured-lead-body h2 { margin-bottom: 20px; }
.featured-lead-body .excerpt {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 0;
  flex-grow: 1;
  padding-top: 12px;
}
.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.article-meta-sm {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.read-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.read-link:hover { color: var(--cyan); gap: 10px; }
.read-link::after { content: '→'; }

/* Grid cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.article-card:hover { box-shadow: 0 6px 30px rgba(0,0,0,0.09); transform: translateY(-2px); }
.article-card-img {
  height: 200px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.article-card-body h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 14px; }
.article-card-body .excerpt { font-size: 0.88rem; color: var(--ink-3); line-height: 1.65; flex-grow: 1; margin-bottom: 20px; }
.article-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════
   MANIFESTO BAND
   ═══════════════════════════════════════════════════ */
.manifesto-band {
  background: var(--blue);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.manifesto-band::before {
  content: 'PIVOT';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto-label { color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.manifesto-label::before { background: rgba(255,255,255,0.3); }
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--white);
}
.manifesto-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
  transition: gap 0.2s, border-color 0.2s;
}
.manifesto-cta:hover { gap: 14px; border-color: var(--white); }
.manifesto-cta::after { content: '→'; }

/* ═══════════════════════════════════════════════════
   CATEGORIES BAND
   ═══════════════════════════════════════════════════ */
.categories-band {
  background: var(--paper-2);
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.categories-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
}
.categories-label { white-space: nowrap; }
.categories-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.cat-pill {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  border-left: none;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.cat-pill:first-child { border-left: 1px solid var(--rule); }
.cat-pill:hover { background: var(--white); color: var(--ink); }
.cat-pill.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ═══════════════════════════════════════════════════
   GALLERY / WORK PHOTOS — like HomeJab
   ═══════════════════════════════════════════════════ */
.gallery-section { padding: 80px 0; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.large { grid-column: span 2; }

/* ═══════════════════════════════════════════════════
   NEWSLETTER BAND
   ═══════════════════════════════════════════════════ */
.newsletter-band {
  background: var(--paper-3);
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.newsletter-form { display: flex; gap: 0; }
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--ink);
  border-right: none;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: var(--ink-4); }
.newsletter-input:focus { border-color: var(--cyan); }
.newsletter-btn {
  padding: 14px 28px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 2px solid var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, border-color 0.2s;
}
.newsletter-btn:hover { background: var(--blue); border-color: var(--blue); }
.newsletter-note { font-size: 0.75rem; color: var(--ink-4); margin-top: 12px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════ */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .label { margin-bottom: 20px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-4); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { color: var(--rule); }

/* ═══════════════════════════════════════════════════
   BLOG LISTING PAGE
   ═══════════════════════════════════════════════════ */
.blog-filters {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--rule);
  background: var(--white);
  overflow-x: auto;
}
.blog-filter-btn {
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-right: 1px solid var(--rule);
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  border-top: none;
  border-bottom: none;
  border-left: none;
}
.blog-filter-btn:last-child { border-right: none; }
.blog-filter-btn:hover { background: var(--paper-2); color: var(--ink); }
.blog-filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-list-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-top: none;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}
.blog-list-item:first-child { border-top: 1px solid var(--rule); }
.blog-list-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); z-index: 1; position: relative; }
.blog-list-img {
  height: 180px;
  overflow: hidden;
}
.blog-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.blog-list-item:hover .blog-list-img img { transform: scale(1.05); }
.blog-list-body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--rule);
}
.blog-list-body h3 { font-size: 1.2rem; line-height: 1.3; margin: 10px 0 12px; }
.blog-list-body .excerpt { font-size: 0.88rem; color: var(--ink-3); line-height: 1.65; }
.blog-list-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ═══════════════════════════════════════════════════
   BLOG POST / ARTICLE PAGE
   ═══════════════════════════════════════════════════ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.post-header { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.post-header .article-category { margin-bottom: 16px; }
.post-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 24px; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.post-meta-sep { color: var(--rule); }
.post-featured-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 48px;
}
.post-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-2);
}
.post-body p { margin-bottom: 1.6em; }
.post-body h2 {
  font-size: 1.6rem;
  margin: 2.5em 0 0.8em;
  padding-top: 2.5em;
  border-top: 1px solid var(--rule);
}
.post-body h3 { font-size: 1.25rem; margin: 2em 0 0.6em; }
.post-body blockquote {
  margin: 2.5em 0;
  padding: 28px 36px;
  border-left: 4px solid var(--cyan);
  background: var(--cyan-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
}
.post-body ul {
  list-style: none;
  margin: 1.5em 0;
}
.post-body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 0.6em;
}
.post-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.post-body strong { font-weight: 600; color: var(--ink); }
.post-body em { font-style: italic; color: var(--ink); }
.post-lead {
  font-family: var(--font-serif);
  font-size: 1.25rem !important;
  font-style: italic;
  color: var(--ink) !important;
  line-height: 1.7 !important;
  margin-bottom: 2em !important;
  padding-bottom: 2em !important;
  border-bottom: 1px solid var(--rule) !important;
}
/* Sidebar */
.post-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  border: 1px solid var(--rule);
  padding: 28px;
  margin-bottom: 24px;
  background: var(--white);
}
.sidebar-widget h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-weight: 500;
}
.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  transition: opacity 0.2s;
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { opacity: 0.7; }
.sidebar-post img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-post-title { font-size: 0.82rem; line-height: 1.4; color: var(--ink); font-family: var(--font-serif); }
.sidebar-post-cat { font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyan); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  transition: all 0.2s;
  cursor: pointer;
}
.tag:hover { border-color: var(--cyan); color: var(--cyan); }

/* Share */
.post-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}
.share-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-4); letter-spacing: 0.06em; text-transform: uppercase; }
.share-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ink-3);
  transition: all 0.2s;
  cursor: pointer;
}
.share-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-img-block { position: relative; }
.about-img-main { width: 100%; height: 500px; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  height: 240px;
  object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.about-number-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  margin: 80px 0;
}
.about-stat {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.about-stat:last-child { border-right: none; }
.about-stat .big-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.about-values { margin-top: 48px; }
.value-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.value-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
}
.value-item h4 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; font-family: var(--font-sans); }
.value-item p { font-size: 0.9rem; color: var(--ink-3); line-height: 1.7; margin: 0; }

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 4px; }
.contact-info-value { font-size: 0.92rem; color: var(--ink); }
.contact-form { }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--rule);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 0;
  appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(26,122,138,0.08); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.form-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--cyan); flex-shrink: 0; }
.form-consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.form-btn { width: 100%; }

/* ═══════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════ */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.3rem; margin: 3em 0 0.8em; padding-top: 3em; border-top: 1px solid var(--rule); }
.legal-content h3 { font-size: 1.05rem; margin: 2em 0 0.6em; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.02em; }
.legal-content ul { margin: 1em 0 1.5em 1.5em; }
.legal-content ul li { list-style: disc; margin-bottom: 0.5em; font-size: 0.92rem; color: var(--ink-2); }
.legal-content p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.8; }
.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  background: var(--paper-2);
  padding: 10px 16px;
  border: 1px solid var(--rule);
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════
   POPUP MODAL
   ═══════════════════════════════════════════════════ */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.75);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.popup-backdrop.open { display: flex; }
.popup-modal {
  background: var(--paper);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: popup-in 0.35s var(--ease) forwards;
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-header {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.popup-plan {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.popup-header h3 { font-size: 1.4rem; margin-bottom: 6px; }
.popup-header p { font-size: 0.85rem; color: var(--ink-3); margin: 0; }
.popup-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.2s;
}
.popup-close:hover { border-color: var(--ink); color: var(--ink); }
.popup-body { padding: 28px 36px 36px; }
.popup-success {
  text-align: center;
  padding: 48px 24px;
}
.popup-success-icon { font-size: 2.5rem; margin-bottom: 16px; }
.popup-success h3 { margin-bottom: 8px; }
.popup-success p { font-size: 0.9rem; color: var(--ink-3); }

/* ═══════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--white);
  z-index: 500;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  border-top: 3px solid var(--cyan);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 40px;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.83rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.cookie-text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
  padding: 10px 24px;
  background: var(--cyan);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
}
.cookie-accept:hover { background: #156979; }
.cookie-reject {
  padding: 10px 24px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.cookie-reject:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--cyan); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.65; }
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ─── Reading Progress Bar ─── */
.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--cyan);
  z-index: 300;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-v: 72px; }
  .post-layout { grid-template-columns: 1fr; gap: 48px; }
  .post-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --section-v: 56px; }
  .container { padding: 0 24px; }
  .container-narrow { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-strip { height: 220px; }
  .featured-lead { grid-template-columns: 1fr; }
  .featured-lead-img { height: 280px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; border-right: 2px solid var(--ink); }
  .pricing-card { border-right: none; border-bottom: 2px solid var(--ink); }
  .pricing-card:last-child { border-bottom: none; }
  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-img { height: 220px; }
  .blog-list-body { border-left: none; border-top: 1px solid var(--rule); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .about-number-band { grid-template-columns: 1fr; }
  .about-stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .categories-inner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-bar-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .articles-grid { grid-template-columns: 1fr; }
  .hero-image-strip { grid-template-columns: 1fr; height: auto; }
  .hero-image-strip > div:not(:first-child) { display: none; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 10px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-divider { display: none; }
}
