/*
Theme Name: Jeans & Co. Blog
Theme URI:
Author: Verseo
Description: Kobiecy blog modowy. Estetyka nordycka z akcentami editoralnymi — Cormorant Garamond, pudrowy różowy, złoto na ciepłej bieli. Bez WooCommerce, bez Bootstrap.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeans-co
Tags: blog, fashion, minimalist, custom-colors, custom-logo, custom-menu, featured-images, responsive-layout
*/

/* ===================================================================
   DESIGN TOKENS
   =================================================================== */
:root {
  /* Palette */
  --bg:           #fbfaf8;
  --bg-alt:       #f4eee8;
  --ink:          #1f1a1a;
  --ink-soft:     #5a4f4f;
  --muted:        #9a8e8e;
  --line:         #ece4dc;
  --line-strong:  #ddd1c5;
  --rose:         #e8b4be;
  --rose-soft:    #f3d7dc;
  --rose-deep:    #c98a96;
  --gold:         #b08d57;
  --gold-soft:    #d4b888;

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", -apple-system, system-ui, sans-serif;

  /* Misc */
  --shadow-sm:  0 1px 2px rgba(31,26,26,.04), 0 2px 8px rgba(31,26,26,.04);
  --shadow-md:  0 8px 24px rgba(31,26,26,.08);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================================================================
   RESET & BASE
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ===================================================================
   LAYOUT
   =================================================================== */
.container        { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px;  margin: 0 auto; padding: 0 32px; }
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.1;
}
h1 { font-size: clamp(48px, 6vw, 88px);   font-weight: 400; }
h2 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 400; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--rose { color: var(--rose-deep); }

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ===================================================================
   ACCESSIBILITY
   =================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  font-size: 14px;
  z-index: 9999;
  transition: top .3s;
}
.skip-link:focus { top: 0; }

.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: all .22s var(--ease);
  text-decoration: none;
}
.btn:hover  { background: var(--bg); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--rose  { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.btn--rose:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }

.btn-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: all .2s var(--ease);
  display: inline-block;
  text-decoration: none;
}
.btn-link:hover { color: var(--rose-deep); border-color: var(--rose-deep); }

/* ===================================================================
   TOPBAR
   =================================================================== */
.topbar {
  background: var(--ink);
  color: #f4eee8;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 0;
}
.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-socials { display: flex; gap: 18px; align-items: center; }
.topbar-socials a {
  color: rgba(244,238,232,.75);
  transition: color .2s var(--ease);
  display: flex;
  align-items: center;
}
.topbar-socials a:hover { color: #fff; }

/* ===================================================================
   SITE HEADER
   =================================================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0;
  gap: 24px;
}

/* Brand */
.brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .01em;
  text-align: center;
  color: var(--ink);
  grid-column: 2;
  display: block;
  text-decoration: none;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  font-weight: 600;
}

/* Nav columns */
.header-nav--left  { grid-column: 1; }
.header-right      { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-list li { position: relative; }
.nav-list a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
  display: block;
}
.nav-list a:hover                          { color: var(--ink); }
.nav-list a.is-active,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a       { color: var(--ink); }
.nav-list a.is-active::after,
.nav-list .current-menu-item > a::after,
.nav-list .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Submenu dropdown (desktop) */
.nav-list .menu-item-has-children { position: relative; }
.nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all .2s var(--ease);
  list-style: none;
  z-index: 10;
}
.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}
.nav-list .sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: none;
  white-space: nowrap;
}

/* Nav icon button */
.nav-icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--ink);
  border-radius: 999px;
  padding: 0;
  transition: background .2s var(--ease);
  flex-shrink: 0;
}
.nav-icon-btn:hover { background: var(--bg-alt); }

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: all .3s var(--ease);
  transform-origin: center;
}
.hamburger-btn.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================================
   MOBILE DRAWER
   =================================================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,26,26,.55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg);
  z-index: 200;
  padding: 72px 28px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  border-left: 1px solid var(--line);
}
.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.mobile-drawer-close:hover { background: var(--bg-alt); }

.mobile-nav-list { padding: 0; margin: 0; }
.mobile-nav-list > li { border-bottom: 1px solid var(--line); }
.mobile-nav-list > li:first-child { border-top: 1px solid var(--line); }
.mobile-nav-list a {
  display: block;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.mobile-nav-list a:hover,
.mobile-nav-list .current-menu-item > a { color: var(--rose-deep); }

.mobile-nav-list .sub-menu { padding: 0 0 8px 16px; display: none; }
.mobile-nav-list .sub-menu.is-open { display: block; }
.mobile-nav-list .sub-menu a {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: none;
  padding: 8px 0;
}

.mobile-submenu-toggle {
  position: absolute;
  right: 0;
  top: 8px;
  background: none;
  border: none;
  color: var(--muted);
  padding: 8px;
  cursor: pointer;
}
.mobile-drawer-search { margin-top: 28px; }
.mobile-drawer-search .search-form { display: flex; gap: 8px; }
.mobile-drawer-search .search-field {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.mobile-drawer-search .search-submit {
  background: none;
  border: none;
  color: var(--muted);
  padding: 8px 4px;
  display: flex;
  align-items: center;
}

/* ===================================================================
   SEARCH OVERLAY
   =================================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,26,26,.95);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay .search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 600px;
  padding: 0 32px;
}
.search-overlay .search-field {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding: 16px 0;
  color: #fff;
  font-size: 24px;
  font-family: var(--font-display);
  font-weight: 300;
  outline: none;
}
.search-overlay .search-field::placeholder { color: rgba(255,255,255,.35); }
.search-overlay .search-submit {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  display: flex;
}
.search-overlay-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  padding: 8px;
  display: flex;
  transition: color .2s var(--ease);
}
.search-overlay-close:hover { color: #fff; }

/* ===================================================================
   SECTIONS
   =================================================================== */
.section     { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-header h2      { max-width: 600px; }
.section-header .eyebrow { display: block; margin-bottom: 12px; }

/* ===================================================================
   HERO (front page)
   =================================================================== */
.hero { padding: 64px 0 96px; overflow: hidden; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero:hover .hero-image img { transform: scale(1.03); }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--rose);
  transform: translate(20px, 20px);
  pointer-events: none;
}
.hero-content { padding-right: 24px; }
.hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: .98;
}
.hero h1 .accent { font-style: italic; color: var(--rose-deep); font-weight: 300; }
.hero .lead { margin-bottom: 0; }
.hero-cta-row { display: flex; gap: 20px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ===================================================================
   CATEGORY CARDS
   =================================================================== */
.cat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  background: var(--bg-alt);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,26,26,0) 50%, rgba(31,26,26,.6) 100%);
  z-index: 1;
}
.cat-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
  color: #fff;
}
.cat-card-label .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 6px; display: block; }
.cat-card-label h3 { color: #fff; font-size: 24px; }

/* ===================================================================
   POST CARDS
   =================================================================== */
.post-grid      { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px 32px; }
.post-grid--two { grid-template-columns: repeat(2,1fr); gap: 64px 48px; }

.post-card { cursor: pointer; display: block; }
.post-card-img-link { display: block; }
.post-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-alt);
}
.post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-no-img { width: 100%; height: 100%; background: var(--bg-alt); }

.post-card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
  transition: color .2s var(--ease);
}
.post-card-cat:hover { color: var(--rose-deep); }
.post-card h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color .2s var(--ease);
  color: var(--ink);
}
.post-card h3 a { color: inherit; }
.post-card:hover h3 { color: var(--rose-deep); }
.post-card-excerpt { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.post-card-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-card-meta .sep { width: 16px; height: 1px; background: var(--line-strong); flex-shrink: 0; display: inline-block; }

/* Featured card */
.post-card--featured .post-card-img { aspect-ratio: 5/6; }
.post-card--featured h3 { font-size: 36px; line-height: 1.08; }

/* Mini card */
.post-card--mini { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.post-card--mini .post-card-img { aspect-ratio: 1/1; margin-bottom: 0; }
.post-card--mini h3 { font-size: 20px; margin-bottom: 8px; }
.post-card--mini .post-card-excerpt { display: none; }

/* Latest mini list container */
.latest-mini-list { display: flex; flex-direction: column; gap: 40px; }

/* ===================================================================
   EDITORIAL SPLIT
   =================================================================== */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.editorial-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.editorial-img img { width: 100%; height: 100%; object-fit: cover; }
.editorial-img--decor::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.5);
  z-index: 2;
  pointer-events: none;
}
.editorial-text h2 { margin-bottom: 24px; }
.editorial-text p  { color: var(--ink-soft); font-size: 17px; margin: 0 0 18px; }

/* ===================================================================
   PULL QUOTE
   =================================================================== */
.pullquote {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px;
  position: relative;
}
.pullquote::before {
  content: "";
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 28px;
}

/* ===================================================================
   NEWSLETTER
   =================================================================== */
.newsletter {
  background: var(--bg-alt);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before,
.newsletter::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  opacity: .5;
}
.newsletter::before { top: -120px; left: -120px; }
.newsletter::after  { bottom: -120px; right: -120px; }
.newsletter h2 { font-size: clamp(36px, 4.6vw, 60px); max-width: 780px; margin: 16px auto; }
.newsletter p  { max-width: 520px; margin: 0 auto 32px; color: var(--ink-soft); }
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}
.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s var(--ease);
}
.newsletter-form button:hover { color: var(--rose-deep); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(244,238,232,.78);
  padding: 80px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3,1fr);
  gap: 64px;
  margin-bottom: 64px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.footer-grid ul  { list-style: none; padding: 0; margin: 0; }
.footer-grid li  { margin-bottom: 10px; font-size: 14px; }
.footer-grid li a { color: rgba(244,238,232,.7); transition: color .2s var(--ease); }
.footer-grid li a:hover { color: var(--rose); }
.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: #fff;
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
}
.footer-about { font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: rgba(244,238,232,.6); transition: color .2s var(--ease); display: flex; align-items: center; }
.footer-socials a:hover { color: var(--rose); }
.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  margin-bottom: 12px;
}
.footer-newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(244,238,232,.4); }
.footer-newsletter-form button {
  background: none;
  border: none;
  color: rgba(244,238,232,.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s var(--ease);
  padding: 0;
}
.footer-newsletter-form button:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(244,238,232,.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================================
   SINGLE POST
   =================================================================== */
.post-hero { padding: 56px 0 48px; text-align: center; }
.post-hero .eyebrow { display: block; margin-bottom: 20px; }
.post-hero h1 { max-width: 920px; margin: 0 auto 24px; font-size: clamp(40px, 5vw, 72px); }
.post-hero-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  flex-wrap: wrap;
}
.post-hero-meta .sep { width: 24px; height: 1px; background: var(--line-strong); flex-shrink: 0; display: inline-block; }

.post-cover { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 64px; background: var(--bg-alt); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.post-body {
  max-width: 720px;
  margin: 0 auto 64px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-soft);
  padding: 0 32px;
}
.post-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 76px;
  float: left;
  line-height: .85;
  margin: 8px 12px 0 0;
  color: var(--rose-deep);
  font-weight: 400;
}
.post-body p { margin: 0 0 28px; }
.post-body h2 { font-size: 34px; margin: 56px 0 20px; color: var(--ink); }
.post-body h3 { font-size: 22px; margin: 40px 0 14px; color: var(--ink); font-family: var(--font-sans); font-weight: 600; }
.post-body h4 { font-size: 18px; margin: 32px 0 12px; color: var(--ink); font-family: var(--font-sans); font-weight: 600; }
.post-body blockquote {
  border-left: 2px solid var(--rose);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
}
.post-body figure { margin: 40px -80px; }
.post-body figure img { width: 100%; }
.post-body figcaption {
  text-align: center;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.post-body a { color: var(--rose-deep); border-bottom: 1px solid var(--rose); transition: all .2s var(--ease); }
.post-body a:hover { color: var(--ink); border-color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 28px; margin-bottom: 28px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 8px; }
.post-body img { border-radius: 2px; margin: 32px auto; max-width: 100%; }
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 28px; overflow-x: auto; display: block; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 15px; }
.post-body th { background: var(--bg-alt); font-weight: 600; }
.post-body pre { background: var(--ink); color: var(--bg); padding: 20px; overflow-x: auto; font-size: 14px; margin-bottom: 28px; }
.post-body code { background: var(--bg-alt); padding: .2em .4em; font-size: .875em; }
.post-body pre code { background: none; padding: 0; }
.post-body hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

/* Tag row */
.tag-row {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tag-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all .2s var(--ease);
  display: inline-block;
  text-decoration: none;
}
.tag:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }

/* Author card */
.author-card {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 36px;
  background: var(--bg-alt);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: center;
}
.author-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--rose-soft); flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-role { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; display: block; }
.author-info h4 { margin-bottom: 8px; font-family: var(--font-display); font-size: 24px; }
.author-info p  { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* Post navigation */
.post-nav {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 32px 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
}
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }
.post-nav-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.post-nav-title { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--ink); line-height: 1.2; transition: color .2s var(--ease); display: block; }
.post-nav-title:hover { color: var(--rose-deep); }

/* ===================================================================
   ARCHIVE / CATEGORY
   =================================================================== */
.archive-hero {
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.archive-hero .eyebrow { display: block; margin-bottom: 16px; }
.archive-hero h1 { font-size: clamp(44px, 5.5vw, 80px); margin-bottom: 16px; }
.archive-hero p  { max-width: 540px; margin: 0 auto; color: var(--ink-soft); }

.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.filter-pill {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s var(--ease);
  text-decoration: none;
  display: inline-block;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Pagination */
.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.pagination-nav a,
.pagination-nav span {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
  text-decoration: none;
}
.pagination-nav a:hover { border-color: var(--ink); color: var(--ink); }
.pagination-nav .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===================================================================
   SEARCH
   =================================================================== */
.search-results-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.search-results-header h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 8px; }
.search-term { color: var(--rose-deep); font-style: italic; }
.search-results-header p { color: var(--ink-soft); margin-top: 8px; }

/* ===================================================================
   404
   =================================================================== */
.error-404-wrap { padding: 120px 0; text-align: center; }
.error-404-num {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 200px);
  font-weight: 300;
  color: var(--rose-soft);
  line-height: 1;
  display: block;
  font-style: italic;
}
.error-404-wrap h2 { font-size: clamp(24px, 3vw, 40px); margin-bottom: 16px; }
.error-404-wrap p  { color: var(--ink-soft); max-width: 480px; margin: 0 auto 32px; }

/* ===================================================================
   COMMENTS
   =================================================================== */
.comments-section {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 0 32px;
}
.comments-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.comment-list  { list-style: none; margin: 0; padding: 0; }
.comment       { margin-bottom: 32px; }
.comment-body  { padding: 28px; background: var(--bg-alt); }
.comment .children { list-style: none; padding-left: 28px; margin-top: 20px; }
.comment-author-info { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.comment-author-info img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; flex-shrink: 0; }
.comment-author-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.comment-date        { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }
.comment-text        { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.comment-text p { margin: 0 0 12px; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-reply-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
  display: inline-block;
  transition: color .2s var(--ease);
}
.comment-reply-link:hover { color: var(--rose-deep); }

.comment-respond {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.comment-reply-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: var(--ink);
}
.comment-reply-title a { color: var(--rose-deep); font-size: 12px; margin-left: 12px; letter-spacing: .12em; }
.comment-form { display: flex; flex-direction: column; gap: 20px; }
.comment-form label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 12px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease);
  display: block;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--rose-deep); }
.comment-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comment-form .form-submit { margin-top: 8px; }

/* ===================================================================
   WIDGETS
   =================================================================== */
.widget-area { display: flex; flex-direction: column; gap: 40px; }
.widget { padding: 24px; border: 1px solid var(--line); }
.widget-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-soft);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--ink-soft); transition: color .2s var(--ease); }
.widget li a:hover { color: var(--rose-deep); }
.widget p { font-size: 14px; color: var(--ink-soft); }

/* Search widget */
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease);
}
.search-form .search-field:focus { border-color: var(--rose-deep); }
.search-form .search-submit {
  background: none;
  border: none;
  color: var(--muted);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.search-form .search-submit:hover { color: var(--rose-deep); }

/* ===================================================================
   PAGE CONTENT
   =================================================================== */
.page-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 16px; }
.page-content { max-width: 720px; margin: 64px auto; padding: 0 32px; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.page-content h2, .page-content h3, .page-content h4 { color: var(--ink); margin: 40px 0 16px; }
.page-content p { margin-bottom: 24px; }
.page-content a { color: var(--rose-deep); border-bottom: 1px solid var(--rose); transition: all .2s var(--ease); }
.page-content a:hover { color: var(--ink); border-color: var(--ink); }
.page-content ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.page-content ol { list-style: decimal; padding-left: 24px; margin-bottom: 24px; }
.page-content li { margin-bottom: 8px; }
.page-content blockquote { border-left: 2px solid var(--rose); padding: 8px 0 8px 24px; margin: 32px 0; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--ink); }
.page-content img { border-radius: 2px; margin: 32px auto; }
.page-content figure { margin: 32px 0; }
.page-content figcaption { text-align: center; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 10px; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ===================================================================
   WORDPRESS CORE CLASSES
   =================================================================== */
.alignleft  { float: left; margin: 4px 24px 16px 0; max-width: 50%; }
.alignright { float: right; margin: 4px 0 16px 24px; max-width: 50%; }
.aligncenter { margin: 0 auto 24px; display: block; }
.alignwide  { margin-left: -40px; margin-right: -40px; }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-caption { margin-bottom: 24px; }
.wp-caption-text { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; letter-spacing: .1em; }
.gallery { display: grid; gap: 8px; margin-bottom: 24px; }
.gallery-columns-2 { grid-template-columns: repeat(2,1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3,1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4,1fr); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.sticky {}

/* ===================================================================
   RESPONSIVE — TABLET 1024px
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { padding-right: 0; }
  .hero-image { max-width: 480px; margin: 0 auto; }

  .editorial { grid-template-columns: 1fr; gap: 40px; }
  .editorial-img { max-width: 480px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .post-grid { grid-template-columns: repeat(2,1fr); gap: 40px 24px; }

  .container, .container-narrow { padding: 0 24px; }
}

/* ===================================================================
   RESPONSIVE — MOBILE 768px
   =================================================================== */
@media (max-width: 768px) {
  /* Header */
  .header-nav--left          { display: none; }
  .header-right .nav-list    { display: none; }
  .hamburger-btn             { display: flex; }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .header-nav--left { display: none; } /* already hidden */
  .brand { grid-column: 1; text-align: left; font-size: 26px; }
  .header-right { grid-column: 2; }

  /* Topbar */
  .topbar { display: none; }

  /* Sections */
  .section { padding: 64px 0; }

  /* Hero */
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: clamp(40px, 9vw, 60px); }
  .hero-image { max-width: 100%; }
  .hero-image::after { transform: translate(10px, 10px); }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Categories */
  .cat-row { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Post grid */
  .post-grid     { grid-template-columns: 1fr; gap: 32px; }
  .post-grid--two { grid-template-columns: 1fr; gap: 32px; }
  .post-card--featured h3 { font-size: 28px; }
  .post-card--mini { grid-template-columns: 100px 1fr; gap: 16px; }
  .post-card--mini h3 { font-size: 17px; }

  /* Single */
  .post-body { font-size: 16px; padding: 0 20px; }
  .post-body figure { margin: 32px 0; }
  .post-body > p:first-of-type::first-letter { font-size: 56px; }
  .tag-row { padding: 20px; }
  .author-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .author-avatar { width: 72px; height: 72px; }
  .post-nav { padding: 24px 20px 0; grid-template-columns: 1fr; gap: 24px; }
  .comments-section { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Archive */
  .filter-bar { padding: 24px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { font-size: 28px; }

  /* Newsletter */
  .newsletter { padding: 64px 0; }

  /* Page content */
  .page-content { padding: 0 20px; }
  .post-hero h1 { font-size: clamp(32px, 7vw, 48px); }

  /* Section header */
  .section-header { margin-bottom: 40px; }

  /* Container */
  .container, .container-narrow { padding: 0 16px; }
}

/* ===================================================================
   RESPONSIVE — SMALL MOBILE 480px
   =================================================================== */
@media (max-width: 480px) {
  .cat-row { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .post-card--mini { grid-template-columns: 80px 1fr; gap: 12px; }
  .post-card--mini h3 { font-size: 15px; }
  .error-404-num { font-size: clamp(80px, 18vw, 140px); }
}

/* ===================================================================
   POST CARD — BEM CLASSES (used in template-parts/post/card.php)
   =================================================================== */
.post-card__thumb {
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-alt);
}
.post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__body { display: flex; flex-direction: column; }

.post-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
  transition: color .2s var(--ease);
}
.post-card__cat:hover { color: var(--rose-deep); }

.post-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color .2s var(--ease);
  color: var(--ink);
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card:hover .post-card__title { color: var(--rose-deep); }
.post-card__title--lg { font-size: 36px; line-height: 1.08; }

.post-card__excerpt { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; line-height: 1.6; }

.post-card__meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.post-card__sep { width: 16px; height: 1px; background: var(--line-strong); flex-shrink: 0; display: inline-block; }

.post-card--featured .post-card__thumb { aspect-ratio: 5/6; }
.post-card--mini .post-card__thumb { aspect-ratio: 1/1; margin-bottom: 0; }
.post-card--mini .post-card__title { font-size: 20px; margin-bottom: 8px; }

/* ===================================================================
   HERO — FRONT-PAGE LAYOUT
   =================================================================== */
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { padding-right: 24px; }

.hero-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
  transition: color .2s var(--ease);
}
.hero-cat:hover { color: var(--rose-deep); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-title a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.hero-title a:hover { color: var(--rose-deep); }

.hero-excerpt {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btn { margin-top: 8px; display: inline-flex; }

.hero-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-meta__sep { color: var(--gold); }

/* ===================================================================
   CATEGORY SECTION & GRID
   =================================================================== */
.cat-section { padding: 0 0 80px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease);
}
.cat-card:hover .cat-card__bg { transform: scale(1.05); }
.cat-card__bg--empty { background: var(--bg-alt); }

.cat-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
  color: #fff;
}
.cat-card__label span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  display: block;
}

/* ===================================================================
   POSTS GRID (latest articles)
   =================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.posts-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }

/* First child spans full width on desktop when featured */
.posts-grid > .post-card--featured:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.posts-grid > .post-card--featured:first-child .post-card__thumb {
  aspect-ratio: 5/6;
  margin-bottom: 0;
}

/* ===================================================================
   LATEST SECTION
   =================================================================== */
.latest-section { padding: 72px 0 80px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.section-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.section-link:hover { color: var(--rose-deep); }

/* ===================================================================
   EDITORIAL GRID (mini cards 4-col)
   =================================================================== */
.editorial-section { padding: 0 0 80px; }
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ===================================================================
   PULL QUOTE ALIAS
   =================================================================== */
.pull-quote {
  text-align: center;
  max-width: 880px;
  margin: 80px auto;
  padding: 64px 24px;
  position: relative;
}
.pull-quote::before {
  content: "";
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.pull-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 28px;
}

/* ===================================================================
   NEWSLETTER SECTION — 2-COLUMN LAYOUT
   =================================================================== */
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: left;
}
.newsletter-copy {}
.newsletter-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.newsletter-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}
.newsletter-lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.newsletter-form-wrap { display: flex; align-items: center; }
.newsletter-row {
  display: flex;
  border-bottom: 1px solid var(--ink);
  width: 100%;
  gap: 0;
}
.newsletter-row input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.newsletter-row input::placeholder { color: var(--muted); }
.newsletter-row .btn {
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 16px;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.newsletter-row .btn:hover { color: var(--rose-deep); }
.newsletter-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: .04em;
}

/* ===================================================================
   SINGLE POST — BEM ALIASES & EXTENSIONS
   =================================================================== */
.single-post {}

.post-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.post-hero--page .post-hero-inner { text-align: left; }

.post-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 20px;
  transition: color .2s var(--ease);
}
.post-cat:hover { color: var(--rose-deep); }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 auto 28px;
  max-width: 820px;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  flex-wrap: wrap;
}
.post-meta__sep { width: 20px; height: 1px; background: var(--line-strong); flex-shrink: 0; display: inline-block; }

.post-cover { overflow: hidden; margin-bottom: 64px; background: var(--bg-alt); }
.post-cover .container { position: relative; }
.post-cover__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-cover__caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 10px;
  padding-bottom: 8px;
}

.post-body-wrap { padding-bottom: 64px; }
.post-body--page { padding: 64px 32px; }

.tag-pill {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all .2s var(--ease);
  display: inline-block;
  text-decoration: none;
}
.tag-pill:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }

.author-card__avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-card__img { width: 100%; height: 100%; object-fit: cover; }
.author-card__info {}
.author-card__name { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.author-card__bio { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

.post-nav__prev { text-align: left; }
.post-nav__next { text-align: right; }
.post-nav__prev a,
.post-nav__next a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease);
  line-height: 1.3;
}
.post-nav__next a { justify-content: flex-end; }
.post-nav__prev a:hover,
.post-nav__next a:hover { color: var(--rose-deep); }

.related-posts { padding: 72px 0; background: var(--bg-alt); }

/* ===================================================================
   ARCHIVE — ALIASES & EXTENSIONS
   =================================================================== */
.archive-wrap { padding-top: 40px; padding-bottom: 80px; }

.archive-hero {
  padding: 56px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.archive-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
  z-index: 0;
}
.archive-hero > * { position: relative; z-index: 1; }

.archive-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.archive-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.05;
}
.archive-description {
  max-width: 540px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.archive-count {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: .06em;
}

/* No results */
.no-results {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-soft);
}
.no-results p { margin-bottom: 32px; font-size: 17px; }

/* Search inline form */
.search-form-inline {
  max-width: 520px;
  margin: 0 auto 64px;
}

/* ===================================================================
   404 — BEM CLASSES
   =================================================================== */
.error-404 {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 0;
  text-align: center;
}
.error-404__code {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 200px);
  font-weight: 300;
  color: var(--rose-soft);
  line-height: 1;
  display: block;
  font-style: italic;
}
.error-404__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 400;
}
.error-404__lead {
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.7;
}
.error-404__search { max-width: 400px; margin: 0 auto 40px; }
.error-404__links { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.error-404__cats { text-align: center; }
.error-404__cats > p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.error-404-wrap { padding: 0; }

/* ===================================================================
   RESPONSIVE — NEW CLASSES (tablet)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-right: 0; }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .posts-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .newsletter-form-wrap { justify-content: center; }
  .newsletter-row { max-width: 480px; }

  .posts-grid > .post-card--featured:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .posts-grid > .post-card--featured:first-child .post-card__thumb {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(36px, 8vw, 52px); }
  .hero-excerpt { font-size: 15px; }
  .posts-grid { grid-template-columns: 1fr; gap: 32px; }
  .posts-grid--3 { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; gap: 24px; }
  .archive-title { font-size: clamp(32px, 7vw, 52px); }
  .post-title { font-size: clamp(32px, 7vw, 48px); }
  .post-meta { gap: 8px; }
  .post-body-wrap { padding-bottom: 40px; }
  .author-card { grid-template-columns: 72px 1fr; }
  .post-nav__prev a,
  .post-nav__next a { font-size: 16px; }
  .related-posts { padding: 48px 0; }
  .newsletter-inner { gap: 32px; }
  .error-404 { padding: 64px 0; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .post-card--mini .post-card__thumb { aspect-ratio: 1/1; }
  .error-404__code { font-size: clamp(80px, 18vw, 140px); }
}

/* ===================================================================
   PRINT
   =================================================================== */
@media print {
  .topbar, .site-header, .site-footer,
  .comments-section, .newsletter,
  .related-posts, .post-nav,
  .mobile-overlay, .mobile-drawer,
  .search-overlay { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .post-body { font-size: 11pt; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
