/* ═══════════════════════════════════════════════════
   ORBITA THEME — MAIN STYLESHEET
   ═══════════════════════════════════════════════════ */

:root {
  --ink:        #0f0f0f;
  --ink-soft:   #1a1a1a;
  --charcoal:   #2a2a2a;
  --graphite:   #4a4a4a;
  --stone:      #7a7a7a;
  --silver:     #b0b0b0;
  --fog:        #d8d8d8;
  --off-white:  #f5f3ef;
  --paper:      #faf9f7;
  --white:      #ffffff;
  --accent:     #c8a96e;
  --accent-dim: #9e7e48;
}

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

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 200;
  background: rgba(250,249,247,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fog);
}

.nav-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }

/* Primary nav */
.primary-nav { display: flex; align-items: center; }
.primary-nav ul { display: flex; gap: 2rem; list-style: none; }
.primary-nav ul a {
  font-family: 'Syne', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color 0.25s;
}
.primary-nav ul a:hover,
.primary-nav ul .current-menu-item > a { color: var(--ink); }

.nav-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: background 0.25s;
}
.nav-cta:hover { background: var(--charcoal); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── TICKER ── */
.ticker {
  background: var(--ink);
  padding: 0.55rem 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 64px;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
.ticker-inner span {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 3rem;
}
.ticker-inner span.dot { color: var(--accent); margin: 0 1rem; }

/* ── BUTTONS ── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--ink);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-dark:hover { background: var(--accent); color: var(--white); }

.btn-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid var(--fog);
  padding-bottom: 2px;
  transition: all 0.25s;
}
.btn-link:hover { color: var(--ink); border-color: var(--ink); }

/* ── SECTION BASE ── */
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--ink);
}

.section-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}
.section-title em { font-style: italic; font-weight: 400; }

.see-all {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
  white-space: nowrap;
}
.see-all:hover { color: var(--accent); }

/* ── HERO ── */
.site-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 0;
  align-items: stretch;
  min-height: 88vh;
}

.hero-left {
  padding-right: 4rem;
  border-right: 1px solid var(--fog);
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}
.eyebrow-line { width: 36px; height: 2px; background: var(--accent); }
.eyebrow-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-meta {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.hero-title em { font-style: italic; font-weight: 400; }

.hero-excerpt {
  font-size: 1.05rem;
  color: var(--graphite);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-cta-row { display: flex; align-items: center; gap: 1.5rem; }

.hero-right {
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 1s ease 0.3s both;
}

.hero-side-card {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--fog);
  color: inherit;
  transition: all 0.25s;
}
.hero-side-card:first-child { border-top: 1px solid var(--fog); }
.hero-side-card:hover { padding-left: 0.5rem; }

.side-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 28px;
  padding-top: 4px;
}

.side-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.side-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* ── ARTICLES SECTION ── */
.articles-section { padding: 5rem 2rem; background: var(--paper); }

.articles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
}

.card-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.card-meta {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Big card */
.card-big { display: block; color: inherit; }

.card-big-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  margin-bottom: 1.4rem;
  overflow: hidden;
  position: relative;
}
.card-big-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card-big-img .no-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0f0f0f 0%, #2a2a2a 50%, #4a3a2a 100%);
  transition: transform 0.6s ease;
}
.card-big:hover .card-big-img img,
.card-big:hover .card-big-img .no-thumb { transform: scale(1.04); }

.card-img-label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: var(--accent);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}

.card-big-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.8rem;
  transition: color 0.25s;
}
.card-big:hover .card-big-title { color: var(--accent-dim); }

.card-excerpt {
  font-size: 0.92rem;
  color: var(--graphite);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Small cards stack */
.cards-stack { display: flex; flex-direction: column; }

.card-small {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--fog);
  color: inherit;
  transition: all 0.25s;
}
.card-small:first-child { border-top: 1px solid var(--fog); }
.card-small:hover { padding-left: 0.4rem; }

.card-small-img {
  width: 90px; height: 90px;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
}
.card-small-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card-small-img .no-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
}
.card-small:hover .card-small-img img { transform: scale(1.08); }

.card-small-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

/* ── CATEGORIES ── */
.categories-section { background: var(--ink); padding: 4rem 2rem; }
.categories-section .section-eyebrow { color: var(--accent); }
.categories-section .section-title { color: var(--white); }
.categories-section .section-header { border-bottom-color: rgba(255,255,255,0.12); }
.categories-section .see-all { color: var(--silver); }
.categories-section .see-all:hover { color: var(--accent); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.cat-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 2rem 1.4rem;
  color: inherit;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: block;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.cat-card:hover::before { opacity: 0.07; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.cat-icon { font-size: 1.6rem; margin-bottom: 1rem; display: block; position: relative; }

.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
  position: relative;
}

.cat-count {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  position: relative;
}

/* ── MOSAIC ── */
.mosaic-section { background: var(--off-white); padding: 5rem 2rem; }

.mosaic { columns: 3; column-gap: 1.5rem; }

.mosaic-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: block;
  color: inherit;
  transition: all 0.35s;
}
.mosaic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.mosaic-img { width: 100%; overflow: hidden; }
.mosaic-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
  object-fit: cover;
}
.mosaic-img .no-thumb {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}
.mosaic-card:hover .mosaic-img img,
.mosaic-card:hover .mosaic-img .no-thumb { transform: scale(1.04); }

.mosaic-body { padding: 1.2rem 1.4rem 1.5rem; }

.mosaic-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.mosaic-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.mosaic-excerpt {
  font-size: 0.82rem;
  color: var(--graphite);
  line-height: 1.65;
}

/* ── QUOTE ── */
.quote-break {
  background: var(--paper);
  padding: 5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  display: block;
  margin-bottom: 1.5rem;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto 1.2rem;
  line-height: 1.45;
}

.quote-author {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── ABOUT ── */
.about-section { padding: 5rem 2rem; background: var(--paper); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
}

.about-frame-geo {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 30px,
    rgba(200,169,110,0.08) 30px, rgba(200,169,110,0.08) 31px);
}

.about-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.about-frame-text {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.about-badge-float {
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(200,169,110,0.35);
}

.about-visual { position: relative; }

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.about-text h2 em { font-style: italic; font-weight: 400; }

.about-text p {
  font-size: 0.95rem;
  color: var(--graphite);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.skill-chip {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  border: 1px solid var(--fog);
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  transition: all 0.25s;
  cursor: default;
}
.skill-chip:hover { border-color: var(--accent); color: var(--accent-dim); }

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--ink); padding: 5rem 2rem; }

.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.newsletter-inner h2 em { font-style: italic; font-weight: 400; }

.newsletter-inner p {
  font-size: 0.92rem;
  color: var(--silver);
  margin-bottom: 2.5rem;
}

.nl-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}

.nl-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Lora', serif;
  font-size: 0.88rem;
}
.nl-form input::placeholder { color: var(--stone); }

.nl-form button {
  padding: 1rem 1.8rem;
  background: var(--accent);
  border: none;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
  white-space: nowrap;
}
.nl-form button:hover { background: var(--accent-dim); }

.nl-note {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--graphite);
  margin-top: 1rem;
}

/* ── SINGLE POST ── */
.single-post-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.post-header { max-width: 820px; }

.post-header .card-tag { font-size: 0.72rem; margin-bottom: 1rem; }

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.post-byline {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.post-byline span { display: flex; align-items: center; gap: 0.4rem; }

.post-featured-img {
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.post-featured-img img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: 8px;
}

.post-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--graphite);
}

.post-content h2, .post-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}

.post-content h2 { font-size: 1.8rem; }
.post-content h3 { font-size: 1.4rem; }

.post-content p { margin-bottom: 1.4rem; }

.post-content a { color: var(--accent-dim); border-bottom: 1px solid var(--fog); transition: border-color 0.25s; }
.post-content a:hover { border-color: var(--accent-dim); }

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--off-white);
  border-radius: 0 4px 4px 0;
}

.post-content blockquote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}

.post-sidebar { position: sticky; top: 90px; }

.sidebar-widget {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--fog);
}

.sidebar-widget-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}

.related-post {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--fog);
  color: inherit;
}
.related-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.related-post-img {
  width: 70px; height: 70px;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
}
.related-post-img img { width: 100%; height: 100%; object-fit: cover; }
.related-post-img .no-thumb { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a1a, #3a3a3a); }

.related-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.25s;
}
.related-post:hover .related-post-title { color: var(--accent-dim); }

/* ── ARCHIVE / BLOG ── */
.archive-section { padding: 3rem 2rem 5rem; }

.archive-inner { max-width: 1280px; margin: 0 auto; }

.archive-header { margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--ink); }

.archive-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--ink);
}
.archive-title em { font-style: italic; font-weight: 400; }

.archive-description {
  font-size: 1rem;
  color: var(--graphite);
  margin-top: 0.8rem;
  max-width: 600px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.archive-card {
  display: block;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.archive-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.archive-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.archive-card-img .no-thumb { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a1a, #3a3a3a); }
.archive-card:hover .archive-card-img img { transform: scale(1.05); }

.archive-card-body { padding: 1.4rem; }

.archive-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0.4rem 0 0.6rem;
  transition: color 0.25s;
}
.archive-card:hover .archive-card-title { color: var(--accent-dim); }

.archive-card-excerpt {
  font-size: 0.85rem;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a, .pagination span {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem;
  border: 1px solid var(--fog);
  border-radius: 4px;
  color: var(--graphite);
  transition: all 0.25s;
}

.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ── FOOTER ── */
.site-footer { background: #080808; color: var(--stone); padding: 4rem 2rem 2rem; }

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--accent); }

.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }

.social-row { display: flex; gap: 0.7rem; margin-top: 1.5rem; }

.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 0.8rem;
  transition: all 0.25s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-widget-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul, .footer-col .widget ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--stone);
  transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--graphite);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── COMMENTS ── */
.comments-area {
  max-width: 820px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.comments-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}

.comment-list { list-style: none; }

.comment { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--fog); }

.comment-author b { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--ink); }

.comment-metadata {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  color: var(--stone);
  margin-bottom: 0.8rem;
}

.comment-content p { font-size: 0.92rem; color: var(--graphite); }

.comment-form label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 0.4rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--fog);
  border-radius: 4px;
  background: var(--white);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); }

.comment-form textarea { resize: vertical; min-height: 140px; }

.comment-form input[type="submit"],
.submit {
  padding: 0.85rem 2rem;
  background: var(--ink);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s;
}
.comment-form input[type="submit"]:hover { background: var(--accent); }

/* ── SEARCH FORM ── */
.search-form { display: flex; gap: 0; }
.search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--fog);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  outline: none;
}
.search-submit {
  padding: 0.75rem 1.2rem;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.25s;
}
.search-submit:hover { background: var(--accent); }

/* ── 404 ── */
.not-found-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.not-found-num {
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--fog);
  margin-bottom: 1rem;
}

.not-found-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.not-found-section p { font-size: 0.95rem; color: var(--graphite); margin-bottom: 2rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 2rem; }
  .hero-left { border-right: none; padding-right: 0; border-bottom: 1px solid var(--fog); padding-bottom: 3rem; margin-bottom: 3rem; }
  .hero-right { padding-left: 0; }
  .articles-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .mosaic { columns: 2; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .primary-nav ul { display: none; }
  .menu-toggle { display: flex; }
  .primary-nav ul.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--fog); padding: 1.5rem 2rem; gap: 1rem; z-index: 100; }
}

@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .archive-grid { grid-template-columns: 1fr; }
}
