/* ═══════════════════════════════════════════════════════════════
   SAPERE PLUS · Editorial Design System · v2.0
   Concept: Continental Print
   ═══════════════════════════════════════════════════════════════ */

:root {
  --parchment: #f9f7ed;
  --parchment-2: #fee198;
  --border: #c8c2b6;
  --border-light: #d8d4cb;
  --ink: #18140f;
  --graphite: #312c25;
  --slate: #5c5449;
  --stone: #7a7268;
  --sienna: #8c3a1c;
  --sienna-hi: #b04820;
  --sienna-deep: #661e08;
  --void: #0c0a07;
  --void-2: #181410;
  --void-3: #221e18;
  --void-border: #2e2820;
  --ghost: #eceae1;
  --ghost-2: #d4cfc7;
  --fog: #9c9288;
  --amber: #d4895a;
  --amber-hi: #f8d8c2;
  --sage: #7a9e7e;
  --sage-hi: #a8c9ac;
  --sage-lo: #4e7a52;
  --text-hero: clamp(4rem, 12vw, 10rem);
  --gutter: clamp(1.5rem, 4vw, 5rem);
  --col-max: 72rem;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── BASE ─────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--sienna);
  color: var(--ghost);
}

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

::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: var(--parchment);
}
::-webkit-scrollbar-thumb {
  background: var(--sienna);
}

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

/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--sienna);
  z-index: 200;
  width: 0;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}


/* Scrolled — fundal solid */
.site-header.scrolled .header-inner {
  background:var(--parchment);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-light);
}

.site-header.dark-header.scrolled .header-inner {
  background: var(--parchment);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--void-border);
}

/* ── Logo ─────────────────────────────────────────────── */

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-decoration: none;
}

.logo-icon {
  width: 28px;
  height: 26px;
  flex-shrink: 0;
}

.logo-s {
  stroke: var(--ink);
  transition: stroke 0.4s ease;
}

.logo-plus {
  stroke: var(--sienna);
  transition: stroke 0.4s ease;
}

.logo-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.4s ease;
}

.site-header.dark-header .header-inner {
  background-color:var(--parchment);
  border-color: var(--void-border);

}
.site-header.dark-header .nav-admin-label {
  color: var(--ink);

}
/* Nav links — dark header (peste imagine) */
.site-header.dark-header .nav-link {
  color:var(--ink);

}
.site-header.dark-header .nav-link:hover {
  color: var(--amber);
}
.site-header.dark-header .nav-link::after {
  background: var(--amber);
}
.site-header.dark-header .nav-link.active {
  color: var(--amber);
}
.site-header.dark-header .logo-s {
  stroke: var(--ink);
}
.site-header.dark-header .logo-plus {
  stroke: var(--amber);
}
.site-header.dark-header .logo-text {
  color: var(--ink);
}


.site-header.dark-header.scrolled .nav-link:hover {
  color: var(--amber);
}
.site-header.dark-header.scrolled .nav-link::after {
  background: var(--amber);
}
.site-header.dark-header.scrolled .nav-link.active {
  color: var(--amber);
}
.site-header.dark-header.scrolled .logo-plus {
  stroke: var(--amber);
}

/* ── Nav groups ───────────────────────────────────────── */

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

/* ── Nav links ────────────────────────────────────────── */

.nav-link,
.nav-admin-label{
  font-family: "Vollkorn", serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s ease
  position: relative;
  padding: 0.28em 0.55em;
  transition: color 0.3s ease;
}

/* Fond hover */
.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  border: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  pointer-events: none;
}

/* Linie activă / hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0.55em;
  right: 0.55em;
  height: 1px;
  background: var(--sienna);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.nav-link:hover {
  color: var(--ink);
}
.nav-link:hover::before {
  background: rgba(140, 58, 28, 0.07);
  border-color: rgba(140, 58, 28, 0.18);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: var(--sienna);
}
.nav-external {
  opacity: 0.5;
}

/* ── Meniu mobil — burger ─────────────────────────────── */

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}

.site-header.dark-header .menu-btn span {
  background-color: var(--ink)      ;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile nav overlay ───────────────────────────────── */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--parchment);
  z-index: 99;
  padding: 6rem var(--gutter) 3rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 0.85rem;
  color: var(--ink);
  letter-spacing: 0.25em;
  text-shadow: none;
}

.mobile-nav .nav-link:hover {
  color: var(--sienna);
}

/* ── Adaugă în style.css, lângă stilurile .mobile-nav-* ── */

.mobile-nav-section--login {
  margin-top: auto;   /* împinge linkul spre baza panoului */
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.mobile-nav-link--login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.35;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: opacity 0.2s ease;
}

.mobile-nav-link--login:hover {
  opacity: 0.65;
}

/* ── Header spacer (pagini non-fullscreen) ────────────── */

.header-spacer {
  height: 4.5rem;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .brand-logo {
    position: static;
    transform: none;
  }
  .header-inner {
    justify-content: space-between;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════════════════════════ */



/* ── Model 1: Coperta de Revistă (Immersive) ── */

.home-hero--magazine {
  height: 100vh; /* Ocupă tot ecranul */
  width: 100%;
  position: relative;
  display: flex;
  align-items: center; 
  justify-content: center;
  text-align: center;
  color: var(--parchment); /* Textul va fi mereu crem pe fundal întunecat */
  overflow: hidden;
  background-color: #000;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Efect subtil de zoom la încărcare */
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

 .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 58%,
      rgba(12,10,7,0.68) 0%,
      rgba(12,10,7,0.15) 80%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      transparent 35%,
      transparent 50%,
      rgba(0,0,0,0.75) 100%
    );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  padding: 0 1.5rem;
  margin-top: 60px; /* Spațiu pentru header */
}
.hero-meta {
  font-family: "Vollkorn", serif;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  font-weight: 400;

  /* Bandă sienna pentru meta */
  display: inline-block;
  background: var(--sienna);
  color: var(--parchment);
  padding: 0.25em 0.75em;
  text-shadow: none;
}


.hero-sep { margin: 0 6px; opacity: 0.4; }

.hero-title {
  font-family: "Gravitas One", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 2rem;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.95),
    0 8px 24px rgba(0,0,0,0.7),
    0 20px 55px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-family: "Vollkorn", serif;
  font-size: clamp(1.4rem, 3vw, 1.25rem);
  font-weight: 500;
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  opacity: 0.9;
  color:var(--parchment);
}

.hero-btn {
  display: inline-block;
  padding: 1rem 1rem;
  background: var(--amber-hi);
  color: var(--ink) !important;
  text-decoration: none;
  font-family: "Vollkorn", serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-btn:hover {
  background: var(--sienna-deep);
  color: #fff !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Indicator scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.mouse {
  width: 22px;
  height: 38px;
  border: 2px solid var(--parchment);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--parchment);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  border-radius: 50%;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* Adaptare Mobil */
@media (max-width: 768px) {
  .home-hero--magazine { height: 100svh; } /* Folosim svh pentru browsere mobile */
  .hero-title { font-size: 3.5rem; }
  .hero-content { margin-top: 0; }
}

/* Section utility */
.pg-section {
  padding: 5rem var(--gutter);
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sienna);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.section-link:hover {
  gap: 0.875rem;
}

/* Feature card */
.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.feature-card:hover {
  border-color: var(--sienna);
}

@media (max-width: 900px) {
  .feature-card {
    grid-template-columns: 1fr;
  }
}

.feature-image {
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.feature-card:hover .feature-image img {
  transform: scale(1.04);
}

.feature-body {
  background: var(--amber-hi);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
   color: rgba(6, 6, 6, 0.9);
  line-height: 1;
  opacity: 0.35;
  user-select: none;
}

.feature-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.feature-issue-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
    color: rgba(6, 6, 6, 0.9);
}

.feature-cat {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
   color: #fff;
   background-color:var(--sienna-deep);
   padding: 0.2rem 0.2rem;
    align-self: center;

}

.feature-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
   color: rgba(6, 6, 6, 0.9);
  line-height: 1.05;
}

.feature-sub {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.05rem;
   color: rgba(6, 6, 6, 0.9);
  margin-top: 0.375rem;
}

.feature-excerpt {
  font-family: "EB Garamond", serif;
  font-size: 0.95rem;
  line-height: 1.8;
   color: rgba(6, 6, 6, 0.9);
}

.feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--void-border);
}

.feature-author-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(6, 6, 6, 0.9);
}

.read-btn {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(212, 137, 90, 0.3);
  padding: 0.625rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.35s ease;
  background: var(--sienna-deep);
}


/* Issues grid */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

@media (max-width: 900px) {
  .issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .issues-grid {
    grid-template-columns: 1fr;
  }
}

.issue-card {
  background: var(--parchment);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.issue-card:hover {
  background: var(--parchment-2);
}

.issue-card-image {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.issue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.issue-card:hover .issue-card-image img {
  transform: scale(1.05);
}

.issue-card-body {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.issue-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.issue-num-tag {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sienna);
}

.meta-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--border);
}

.issue-date-tag {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.issue-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.issue-card:hover .issue-card-title {
  color: var(--sienna);
}

.issue-card-sub {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.issue-card-excerpt {
  font-family: "EB Garamond", serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Manifesto */
.manifesto {
  background: var(--parchment);
  padding: 7rem var(--gutter);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '"';
  position: absolute;
  top: -4rem;
  left: calc(var(--gutter) - 1rem);
  font-family: "Cormorant Garamond", serif;
  font-size: 22rem;
  color: var(--void-3);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.manifesto-inner {
  max-width: 54rem;
  margin: 0 auto;
  position: relative;
}

.manifesto-eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.manifesto-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--void-border);
}

.manifesto-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.manifesto-title strong {
  font-weight: 700;
  font-style: normal;
  color: var(--amber);
}

.manifesto-text {
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--ink);
}

.manifesto-text + .manifesto-text {
  margin-top: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   ISSUE PAGE — THE MAIN EXPERIENCE
   ═══════════════════════════════════════════════════════════════ */

/* Cover */
.issue-cover {
  height: 100svh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.issue-cover-img {
  position: absolute;
  inset: 0;
}

.issue-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: coverZoom 14s ease-out forwards;
}

@keyframes coverZoom {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

.cover-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(12, 10, 7, 0.97) 0%,
      rgba(12, 10, 7, 0.55) 38%,
      rgba(12, 10, 7, 0.1) 65%
    ),
    linear-gradient(to right, rgba(12, 10, 7, 0.15) 0%, transparent 60%);
}

/* Elegant frame */
.cover-frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(236, 234, 225, 0.07);
  pointer-events: none;
}

.cover-frame::before,
.cover-frame::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
}

.cover-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid rgba(212, 137, 90, 0.3);
  border-left: 2px solid rgba(212, 137, 90, 0.3);
}

.cover-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid rgba(212, 137, 90, 0.3);
  border-right: 2px solid rgba(212, 137, 90, 0.3);
}

/* Cover content */
.cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--gutter);
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
}

.cover-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.cover-pipe {
  width: 1px;
  height: 10px;
  background: rgba(236, 234, 225, 0.18);
}

.cover-issue-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
}

.cover-cat,
.cover-date {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 234, 225, 0.38);
}

.cover-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--ghost);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.cover-subtitle {
  font-family: "EB Garamond", serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: rgba(236, 234, 225, 0.55);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.cover-author-line {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.cover-rule {
  width: 1.75rem;
  height: 1px;
  background: rgba(236, 234, 225, 0.2);
}

.cover-author {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 234, 225, 0.35);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(236, 234, 225, 0.3));
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.scroll-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(236, 234, 225, 0.35);
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ── Article body ──────────────────────────────────────────── */

/* Intro */
.art-intro {
  padding: 5rem var(--gutter) 3.5rem;
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.art-intro-inner {
  max-width: 58ch;
  margin: 0 auto;
  padding-left: 2.5rem;
  border-left: 2px solid var(--sienna);
}

.intro-text {
  font-family: "EB Garamond", serif;
  font-size: 1.25rem;
  line-height: 1.82;
  color: var(--graphite);
  font-style: italic;
}

.intro-text::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 4.75rem;
  font-weight: 700;
  font-style: normal;
  color: var(--sienna);
  float: left;
  line-height: 0.78;
  margin-right: 0.08em;
  margin-top: 0.14em;
}

/* Section divider */
.sec-divider {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 3rem var(--gutter) 2.5rem;
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.sec-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  letter-spacing: -0.04em;
}

.sec-text {
  flex: 1;
}

.sec-sublabel {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sienna);
  display: block;
  margin-bottom: 0.3rem;
}

.sec-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
}

.sec-divider-rule {
  flex: 2;
  height: 1px;
  background: var(--border);
  margin-bottom: 0.6rem;
}

/* Split layout */
.split-section {
  padding: 0 0 4rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  max-width: 100%;
}

.split-grid.img-right {
}
.split-grid.img-left {
  direction: rtl;
}
.split-grid.img-left > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .split-grid,
  .split-grid.img-left {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.split-img {
  overflow: hidden;
  position: relative;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.split-section:hover .split-img img {
  transform: scale(1.03);
}

.split-text {
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--parchment);
}

@media (max-width: 900px) {
  .split-text {
    padding: 2.5rem var(--gutter);
  }
}

.split-body {
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--slate);
}

/* Full image */
.full-img-section {
  padding: 2rem 0;
}

.full-img-section figure {
  position: relative;
}

.full-img-section img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .full-img-section img {
    aspect-ratio: 16/9;
  }
}

.img-caption-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(12, 10, 7, 0.82);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  max-width: 44ch;
}

.img-caption-text {
  font-family: "EB Garamond", serif;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(236, 234, 225, 0.65);
  line-height: 1.5;
}

/* Pullquote */
.pullquote-section {
  background: var(--void);
  padding: 5.5rem var(--gutter);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.pullquote-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--sienna),
    transparent
  );
}

.pullquote-inner {
  max-width: 54rem;
  margin: 0 auto;
}

.pq-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  color: var(--sienna);
  line-height: 0.65;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.45;
}

.pq-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ghost);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.pq-attr {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.pq-attr::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--sienna);
}

/* Two images */
.two-img-section {
  padding: 1.5rem var(--gutter) 3rem;
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.two-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .two-img-grid {
    grid-template-columns: 1fr;
  }
}

.two-img-grid figure {
}

.two-img-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.two-img-grid figcaption {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.625rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

/* Conclusion */
.conclusion-section {
  background: var(--void);
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.conclusion-grid {
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 5.5rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .conclusion-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .conclusion-vert {
    writing-mode: horizontal-tb !important;
    transform: none !important;
  }
}

.conclusion-vert {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sienna);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.conclusion-body {
  font-family: "EB Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--fog);
  font-style: italic;
}

.conclusion-end-mark {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--void-border);
}

/* Author card */
.author-card {
  padding: 2.5rem var(--gutter);
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.author-mono {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--parchment-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--graphite);
  flex-shrink: 0;
}

.author-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.author-role {
  font-family: "EB Garamond", serif;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--stone);
  margin-top: 0.15rem;
}

/* Issue nav */
.issue-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.nav-item {
  padding: 2.25rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: background 0.3s ease;
}

.nav-item:hover {
  background: var(--parchment-2);
}

.nav-item-right {
  border-left: 1px solid var(--border);
  align-items: flex-end;
  text-align: right;
}

.nav-dir {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav-issue-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  transition: color 0.3s ease;
}

.nav-item:hover .nav-issue-title {
  color: var(--sienna);
}

.nav-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
}

.back-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  border-top: 1px solid var(--border);
}

.back-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition:
    color 0.3s ease,
    gap 0.3s ease;
}

.back-link:hover {
  color: var(--sienna);
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   ISSUES ARCHIVE PAGE
   ═══════════════════════════════════════════════════════════════ */

.archive-header {
  padding: 8rem var(--gutter) 3.5rem;
  border-bottom: 1px solid var(--border);
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.archive-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.archive-sub {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--slate);
  margin-top: 1.25rem;
  max-width: 52ch;
}


/* ── Newsletter Section (Continental Print Style) ── */
.newsletter-section {
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.newsletter-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  padding: 4rem 2rem;
  max-width: 700px;
  width: 100%;
  text-align: center;
  position: relative;
}

/* Elemente decorative de colț (opțional, pentru aerul retro) */
.newsletter-card::before,
.newsletter-card::after {
  content: "✦";
  position: absolute;
  color: var(--border-light);
  font-size: 1.2rem;
}
.newsletter-card::before { top: 10px; left: 10px; }
.newsletter-card::after { bottom: 10px; right: 10px; }

.newsletter-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--sienna);
  margin-bottom: 1rem;
}

.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.newsletter-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--slate);
  max-width: 450px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* Formularul de input */
.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  border-bottom: 2px solid var(--ink); /* Subliniere stilizată */
  padding-bottom: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.5rem 0;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--fog);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.newsletter-btn {
  background: transparent;
  border: none;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--sienna);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.newsletter-btn:hover {
  color: var(--ink);
}

.newsletter-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--fog);
  margin-top: 1.5rem;
}

/* Dark Mode Support */
[data-theme="dark"] .newsletter-card {
  background: var(--surface);
  border-color: var(--void-border);
}
[data-theme="dark"] .newsletter-input-group {
  border-bottom-color: var(--border);
}
[data-theme="dark"] .newsletter-input {
  color: var(--ink);
}
[data-theme="dark"] .newsletter-btn {
  color: var(--amber);
}
[data-theme="dark"] .newsletter-btn:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--parchment);
  padding: 5rem var(--gutter) 2.5rem;
  margin-top: 0;
}

.footer-inner {
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--void-border);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-wordmark .plus {
  color: var(--amber);
  font-style: italic;
  letter-spacing: 0;
}

.footer-desc {
  font-family: "EB Garamond", serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
  margin-top: 0.875rem;
  max-width: 38ch;
  font-style: italic;
  font-weight: 500;
}

.footer-col-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: "EB Garamond", serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--sienna);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink);
}

.footer-copy {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.4;
}

.footer-credit {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.footer-credit:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 404 */
.not-found {
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gutter);
}

.not-found-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  user-select: none;
}

.not-found-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.not-found-body {
  font-family: "EB Garamond", serif;
  font-style: italic;
  color: var(--slate);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 36ch;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-p {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  background: var(--sienna);
  padding: 0.875rem 2rem;
  border: 1px solid var(--sienna);
  transition: all 0.3s ease;
}

.btn-p:hover {
  background: transparent;
  color: var(--sienna);
}

.btn-g {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  padding: 0.875rem 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.btn-g:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   LOGO MARK — brand-logo
   ═══════════════════════════════════════════════════════════════ */

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.brand-logo:hover {
  opacity: 0.75;
}

/* The SVG mark */
.logo-icon {
  width: 26px;
  height: 25px;
  flex-shrink: 0;
  overflow: visible;
}

.logo-icon--lg {
  width: 36px;
  height: 34px;
}

/* S stroke — inherits from header context */
.logo-s {
  stroke: var(--ink);
  transition: stroke 0.4s ease;
}

/* + mark — always sienna on light, amber on dark */
.logo-plus {
  stroke: var(--amber);
  transition: stroke 0.4s ease;
}

/* Wordmark text beside the mark */
.logo-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.4s ease;
  line-height: 1;
}

.logo-text--lg {
  font-size: 1.25rem;
  letter-spacing: 0.22em;
}

/* Dark header state */
.dark-header .logo-s {
  stroke: var(--parchment);
}
.dark-header .logo-plus {
  stroke: var(--amber);
}
.dark-header .logo-text {
  color: var(--parchment);
}

/* Scrolled dark header — stays dark */
.dark-header.scrolled .logo-s {
  stroke: var(--ink);
}
.dark-header.scrolled .logo-plus {
  stroke: var(--amber);
}
.dark-header.scrolled .logo-text {
  color: var(--ink);
}

/* Footer variant */
.brand-logo--footer {
  position: static;
  transform: none;
  margin-bottom: 1rem;
}

.brand-logo--footer .logo-s {
  stroke: var(--ink);
}
.brand-logo--footer .logo-plus {
  stroke: var(--sienna);
}
.brand-logo--footer .logo-text {
  color: var(--ink);
}
.brand-logo--footer:hover {
  opacity: 0.75;
}

/* Mobile: logo not absolutely positioned */
@media (max-width: 768px) {
  .brand-logo {
    position: static;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE / ISSUES PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Page header — split two-column */
.archive-hd {
  border-bottom: 1px solid var(--border);
}

.archive-hd-inner {
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 7rem var(--gutter) 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

@media (max-width: 768px) {
  .archive-hd-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 5rem;
  }
}

.archive-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
}

.archive-sub {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 42ch;
  margin-bottom: 2rem;
}

.archive-count {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.archive-count-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
}

.archive-count-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── Archive list ── */

.archive-list {
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

/* Each row */
.archive-row {
  display: grid;
  grid-template-columns: 6rem 14rem 1fr;
  grid-template-rows: auto;
  gap: 0 3rem;
  align-items: center;
  padding: 3.5rem var(--gutter);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.35s ease;
}

.archive-row:hover {
  background: var(--amber);
}

/* Featured (first) row — taller, more prominent */
.archive-row--featured {
  grid-template-columns: 6rem 18rem 1fr;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--amber-hi);
}

.archive-row--featured .archive-row-cover-inner {
  aspect-ratio: 3/4;
}

.archive-row--featured .archive-row-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

@media (max-width: 900px) {
  .archive-row {
    grid-template-columns: 4rem 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
  }

  .archive-row--featured {
    grid-template-columns: 4rem 1fr;
  }

  .archive-row-meta {
    grid-row: 1;
    grid-column: 1;
  }
  .archive-row-cover {
    grid-row: 1 / 3;
    grid-column: 2;
  }
  .archive-row-body {
    grid-row: 2;
    grid-column: 1 / 3;
  }
  .archive-row-bg-num {
    display: none;
  }
}

@media (max-width: 600px) {
  .archive-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .archive-row-cover {
    grid-row: 1;
    grid-column: 1;
  }
  .archive-row-meta {
    grid-row: 2;
    grid-column: 1;
    flex-direction: row;
    gap: 1rem;
  }
  .archive-row-body {
    grid-row: 3;
    grid-column: 1;
  }
}

/* Background number — decorative */
.archive-row-bg-num {
  position: absolute;
  right: calc(var(--gutter) - 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  transition: opacity 0.35s ease;
}

.archive-row:hover .archive-row-bg-num {
  opacity: 0.55;
}

/* Meta column (left) */
.archive-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: start;
  padding-top: 0.25rem;
}

.arm-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.arm-date {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.arm-cat {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.25rem;
  /* vertical writing for a magazine index feel */
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-end;
  margin-top: auto;
}

@media (max-width: 600px) {
  .arm-cat {
    writing-mode: horizontal-tb;
    transform: none;
    align-self: auto;
  }
}

/* Cover image column */
.archive-row-cover {
  /* contains the image */
}

.archive-row-cover-inner {
  overflow: hidden;
  aspect-ratio: 2/3;
  position: relative;
}

.archive-row-cover-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}

.archive-row:hover .archive-row-cover-inner img {
  transform: scale(1.04);
}

/* Text content column */
.archive-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 6rem; /* make room for bg-num */
}

.archive-row-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.archive-row:hover .archive-row-title {
  color: var(--sienna);
}

.archive-row-sub {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

.archive-row-excerpt {
  font-family: "EB Garamond", serif;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-row-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.archive-row:hover .archive-row-cta {
  opacity: 1;
  transform: translateX(0);
}

.arc-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.arc-arrow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.875rem;
  color: var(--ink);
  transition: transform 0.3s ease;
}

.archive-row:hover .arc-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   ISSUE COVER (ic) — v2
   ═══════════════════════════════════════════════════════════════ */

.ic {
  height: 100svh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ic-img {
  position: absolute;
  inset: 0;
}

.ic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: icZoom 14s ease-out forwards;
}

@keyframes icZoom {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

.ic-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(12, 10, 7, 0.97) 0%,
      rgba(12, 10, 7, 0.52) 36%,
      rgba(12, 10, 7, 0.08) 65%
    ),
    linear-gradient(to right, rgba(12, 10, 7, 0.12) 0%, transparent 55%);
}

.ic-frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(236, 234, 225, 0.07);
  pointer-events: none;
}

.ic-frame::before,
.ic-frame::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
}

.ic-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid rgba(212, 137, 90, 0.28);
  border-left: 2px solid rgba(212, 137, 90, 0.28);
}

.ic-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid rgba(212, 137, 90, 0.28);
  border-right: 2px solid rgba(212, 137, 90, 0.28);
}

.ic-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--gutter);
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
}

.ic-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.ic-pipe {
  width: 1px;
  height: 10px;
  background: rgba(236, 234, 225, 0.18);
}

.ic-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
}

.ic-cat,
.ic-date {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 234, 225, 0.38);
}

.ic-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--ghost);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.ic-sub {
  font-family: "EB Garamond", serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: rgba(236, 234, 225, 0.55);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.ic-byline {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.ic-rule {
  width: 1.75rem;
  height: 1px;
  background: rgba(236, 234, 225, 0.2);
}

.ic-author {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 234, 225, 0.35);
}

.ic-scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.ic-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(236, 234, 225, 0.3));
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.ic-scroll-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(236, 234, 225, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE (ia) — photo book layout
   ═══════════════════════════════════════════════════════════════ */

.ia {
  /* full width — no padding, no max-width */
}

/* ── Intro ────────────────────────────────────────────────────── */

.ia-intro {
  padding: 5.5rem 0 4.5rem;
  background: var(--parchment);
  border-bottom: 1px solid var(--border-light);
}

.ia-intro-inner {
  max-width: 54ch;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* vertical sienna accent */
.ia-intro-inner::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sienna);
  opacity: 0.35;
}

.ia-intro-text {
  font-family: "EB Garamond", serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--graphite);
  padding-left: 1.75rem;
}

.ia-intro-text::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 5.25rem;
  font-weight: 700;
  font-style: normal;
  color: var(--sienna);
  float: left;
  line-height: 0.74;
  margin-right: 0.07em;
  margin-top: 0.13em;
}

/* ── Chapter ──────────────────────────────────────────────────── */

.ia-chapter {
  /* natural stacking — full width */
}

/* Chapter header: roman | rule | labels */
.ia-ch-hd {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 4rem var(--gutter) 2.75rem;
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.ia-ch-roman {
  font-family: "Cormorant Garamond", serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
  user-select: none;
}

.ia-ch-rule {
  height: 1px;
  flex: 1;
  background: var(--border);
}

.ia-ch-labels {
  flex-shrink: 0;
  text-align: right;
}

.ia-ch-sub {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 0.35rem;
}

.ia-ch-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
}

/* Full-width chapter image */
.ia-ch-img {
  overflow: hidden;
  aspect-ratio: 3/2;
  position: relative;
}

@media (max-width: 768px) {
  .ia-ch-img {
    aspect-ratio: 4/3;
  }
}

.ia-ch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}

.ia-chapter:hover .ia-ch-img img {
  transform: scale(1.025);
}

/* Narrow centered body text */
.ia-ch-body {
  padding: 4rem var(--gutter) 5rem;
  display: flex;
  justify-content: center;
  /* subtle parchment-2 bg to differentiate from image */
  background: var(--parchment);
}

.ia-body-p {
  font-family: "EB Garamond", serif;
  font-size: 1.125rem;
  line-height: 1.92;
  color: var(--slate);
  max-width: 60ch;
}

/* ── Spread (standalone full image) ───────────────────────────── */

.ia-spread {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.ia-spread-img {
  overflow: hidden;
}

.ia-spread-img img {
  width: 100%;
  aspect-ratio: 2.4/1;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}

.ia-spread:hover .ia-spread-img img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .ia-spread-img img {
    aspect-ratio: 16/9;
  }
}

.ia-spread-cap {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(12, 10, 7, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.875rem 1.375rem;
  max-width: 42ch;
  font-family: "EB Garamond", serif;
  font-size: 0.825rem;
  font-style: italic;
  color: rgba(236, 234, 225, 0.68);
  line-height: 1.55;
}

/* ── Pullquote ──────────────────────────────────────────────────── */

.ia-quote {
  background: var(--void);
  padding: 6.5rem var(--gutter);
}

.ia-quote-inner {
  max-width: 54rem;
  margin: 0 auto;
  border-top: 1px solid var(--void-border);
  border-bottom: 1px solid var(--void-border);
  padding: 3.5rem 0;
}

.ia-quote-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ghost);
  line-height: 1.28;
  text-align: center;
  margin-bottom: 2rem;
}

.ia-quote-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  font-style: normal;
}

.ia-quote-attr::before,
.ia-quote-attr::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--sienna);
}

/* ── Diptych ────────────────────────────────────────────────────── */

.ia-diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--void);
}

@media (max-width: 640px) {
  .ia-diptych {
    grid-template-columns: 1fr;
  }
}

.ia-diptych-fig {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ia-diptych-img {
  overflow: hidden;
  flex: 1;
}

.ia-diptych-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.ia-diptych-fig:hover .ia-diptych-img img {
  transform: scale(1.04);
}

.ia-diptych-cap {
  padding: 0.75rem 1.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  background: var(--parchment);
  border-top: 1px solid var(--border-light);
}

/* ── Conclusion ────────────────────────────────────────────────── */

.ia-close {
  background: var(--void);
  padding: 6rem var(--gutter) 5.5rem;
}

.ia-close-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.ia-close-rule {
  width: 3rem;
  height: 1px;
  background: var(--sienna);
  margin: 0 auto 3rem;
  opacity: 0.6;
}

.ia-close-text {
  font-family: "EB Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.92;
  color: var(--fog);
  font-style: italic;
  margin-bottom: 3rem;
}

.ia-close-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ia-close-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  color: var(--sienna);
  opacity: 0.45;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
}

.ia-close-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fog);
  opacity: 0.35;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE FOOTER (ia-footer)
   ═══════════════════════════════════════════════════════════════ */

.ia-footer {
  border-top: 1px solid var(--border);
}

/* Colophon strip */
.ia-colophon {
  background: var(--parchment-2);
  border-bottom: 1px solid var(--border-light);
}

.ia-colophon-inner {
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ia-colophon-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.iac-mono {
  width: 3rem;
  height: 3rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--graphite);
  flex-shrink: 0;
}

.iac-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.iac-role {
  font-family: "EB Garamond", serif;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--stone);
  margin-top: 0.15rem;
}

.ia-colophon-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.iac-issue-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna);
}

.iac-cat,
.iac-date {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Issue nav */
.ia-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: calc(var(--col-max) + var(--gutter) * 2);
  margin: 0 auto;
}

.ia-nav-item {
  padding: 2.25rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.ia-nav-item:hover {
  background: var(--parchment-2);
}

.ia-nav-next {
  border-left: 1px solid var(--border);
  align-items: flex-end;
  text-align: right;
}

.ia-nav-dir {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.ia-nav-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  transition: color 0.3s ease;
}

.ia-nav-item:hover .ia-nav-title {
  color: var(--sienna);
}

.ia-nav-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
}

/* Back bar */
.ia-back {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  border-top: 1px solid var(--border);
}

.ia-back-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition:
    color 0.3s ease,
    gap 0.3s ease;
}

.ia-back-link:hover {
  color: var(--sienna);
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   JOURNAL LAYOUT — Typography & Reading Experience
   ═══════════════════════════════════════════════════════════════ */

.journal-layout {
  background: var(--parchment);
  color: var(--ink);
  font-family: "EB Garamond", serif;
  padding: clamp(4rem, 6vw, 7rem) clamp(1rem, 4vw, 2rem);
}

/* ── Header ───────────────────────────────────────────────── */

.journal-header {
  max-width: 680px;
  margin: 0 auto 5rem;
  text-align: center;
}

.journal-tag {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sienna);
  margin-bottom: 1.75rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.journal-title {
  font-family: "Gravitas One", serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.journal-subtitle {
  font-family: "EB Garamond", serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  max-width: 52ch;
  margin: 0 auto;
}

/* ── Divider Editorial (Issue) ── */
.issue-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem auto; 
  color: var(--sienna); 
  width: 100%;
  max-width: 200px; 
  opacity: 0.8;
}

.issue-ornament-divider span {
  font-size: 1rem;
  line-height: 1;
  margin: 0 1rem;
}

.issue-ornament-divider::before,
.issue-ornament-divider::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: currentColor; 
  opacity: 0.3;
}

/* Adaptare automată la dark mode */
[data-theme="dark"] .issue-ornament-divider {
  color: var(--amber); 
}

.journal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink);
  font-style: normal;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* ── Body ─────────────────────────────────────────────────── */

.journal-body {
  max-width: 960px;
  margin: 0 auto;
}

/* Textul principal — coloană de lectură */
.journal-text {
  max-width: 68ch;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  line-height: 1.9;
  text-align: justify;
  hyphens: auto;
  color: var(--graphite);
}

@media (max-width: 768px) {
  .journal-text {
    font-size: 1.08rem;
    line-height: 1.78;
    text-align: left;
    padding: 0 0.25rem;
  }
}

.journal-text p {
  margin-bottom: 0;
  text-indent: 2em;
}

.journal-text p:first-of-type {
  text-indent: 0;
}

.journal-text p + p {
  margin-top: 0;
}

/* Heading de secțiune — Cormorant cu regulă */
.journal-text h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink);
  text-align: center;
  margin: 4.5rem 0 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.journal-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 1px;
  background: var(--sienna);
}

/* ── Planșe fotografice ───────────────────────────────────── */

.journal-plate {
  margin: 5rem auto;
  max-width: 700px;
  text-align: center;
}

.journal-plate-large {
  max-width: 900px;
}

.journal-frame {
  background-color: var(--ink);
  padding: 0.875rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.journal-frame img {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.journal-frame img:hover {
  opacity: 0.9;
}

.journal-plate figcaption {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Citate ───────────────────────────────────────────────── */

.journal-quote {
  max-width: 58ch;
  margin: 6rem auto;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.journal-quote::before {
  content: "\201C";
  font-family: "Cormorant Garamond", serif;
  font-size: 6rem;
  color: var(--sienna);
  opacity: 0.2;
  line-height: 0;
  position: absolute;
  top: 1.5rem;
  left: 0;
}

.journal-quote blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.journal-quote cite {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna);
}

.journal-quote cite::before {
  content: "— ";
}

/* ── Diptic ───────────────────────────────────────────────── */

.journal-diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 5rem auto;
  max-width: 900px;
}

.journal-diptych .journal-plate {
  margin: 0;
}

@media (max-width: 640px) {
  .journal-diptych {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* ── Drop cap ─────────────────────────────────────────────── */

.journal-text p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 0.8;
  float: left;
  margin-right: 0.08em;
  margin-top: 0.1em;
  color: var(--sienna);
}

/* ── Concluzie ────────────────────────────────────────────── */

.journal-conclusion {
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: 2rem;
}

.journal-finis {
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.35em;
  margin-top: 4rem;
  padding-top: 2rem;
  font-size: 0.7rem;
  color: var(--ink);
  border-top: 1px solid var(--border-light);
}
/* Video Vimeo embed */
.journal-video-plate {
  max-width: 800px;
}

.journal-video-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--parchment);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.journal-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}



/* ----------------------------------------------------------
   Butoane PDF din header (Apri + Scarica)
   ---------------------------------------------------------- */

.journal-pdf-header-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.pdf-open-btn,
.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  cursor: pointer;
}

/* Buton primar — deschide PDF */
.pdf-open-btn {
  background: var(--sienna, #8c3a1c);
  color: #fff;
  border: 1px solid var(--sienna, #8c3a1c);
}


/* Buton secundar — descarcă */
.pdf-download-btn {
  background: transparent;
  color: var(--ink, #1a1a18);
  border: 1px solid var(--ink, #1a1a18);
}
.pdf-download-btn:hover {
  background: var(--ink, #1a1a18);
  color: var(--parchment);
}

/* ----------------------------------------------------------
   Bloc PDF embedded (tip secțiune "pdf")
   ---------------------------------------------------------- */

.journal-pdf-block {
  margin: 3rem 0;
}

.journal-pdf-label {
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna, #8c3a1c);
  margin-bottom: 0.75rem;
  padding-left: 2px;
}

/* Containerul iframe — aspect ratio 4:3, adaptabil */
.journal-pdf-viewer {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border, #d4c9b8);
  border-radius: 2px;
  overflow: hidden;
  background: #f5f0e8;
}

.journal-pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Acțiuni sub viewer */
.journal-pdf-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.875rem;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   Responsive — mobil
   ---------------------------------------------------------- */

@media (max-width: 640px) {
  .journal-pdf-viewer {
    aspect-ratio: 3 / 4; /* portrait pe telefon */
  }

  .journal-pdf-header-btn,
  .journal-pdf-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-open-btn,
  .pdf-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   1. DROP CAP — primul paragraf din intro
   ───────────────────────────────────────────────────────────── */

.journal-text p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 0.78;
  float: left;
  margin-right: 0.1em;
  margin-top: 0.08em;
  color: var(--sienna);
  /* fără text-indent pe rândul cu drop cap */
  text-indent: 0;
}

/* ─────────────────────────────────────────────────────────────
   2. LIGHTBOX — overlay fullscreen pe imagini
   ───────────────────────────────────────────────────────────── */

/* Cursor pointer pe imagini din journal */
.journal-frame img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.journal-frame img:hover {
  opacity: 0.92;
}

/* Overlay */
.sp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 7, 0.96);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.sp-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.sp-lightbox-img {
  max-width: min(90vw, 1200px);
  max-height: 90svh;
  object-fit: contain;
  display: block;
}
.sp-lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(236, 234, 225, 0.6);
  text-align: center;
  max-width: 60ch;
}
.sp-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: var(--ghost);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0.5rem;
}
.sp-lightbox-close:hover {
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   3. TIMP DE CITIRE — span în header
   ───────────────────────────────────────────────────────────── */

.journal-read-time {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.journal-read-time::before {
  content: "◷ ";
  font-size: 0.8em;
  opacity: 0.7;
}

/* ─────────────────────────────────────────────────────────────
   5. COPY PULLQUOTE — feedback vizual
   ───────────────────────────────────────────────────────────── */

.journal-quote {
  cursor: pointer;
  position: relative;
}
.journal-quote::after {
  content: "Copiato ✓";
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.journal-quote.copied::after {
  opacity: 1;
}

    .login-wrap {
    min-height: 100vh;
    display: flex;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
  }
  
  /* ── Secțiunea Vizuală (Stânga) ── */
  .login-visual {
    flex: 1; /* Echilibrat exact 50/50 */
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
    border-right: 1px solid var(--border);
    position: relative;
  }
  .visual-inner {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  .back-link {
    position: absolute;
    top: 2.5rem;
    left: 3rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
    font-family: var(--font);
  }
  .back-link:hover {
    color: var(--text);
  }
  
  /* ── Stiluri preluate din Manifesto ── */
  .manifesto-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sienna);
    margin-bottom: 1.5rem;
    font-family: var(--font);
  }
  .manifesto-title {
    font-size: 2.1rem;
    line-height: 1.25;
    font-weight: normal;
    margin-bottom: 1.5rem;
    color: var(--text);
  }
  .manifesto-title strong {
    font-weight: bold;
  }
  .manifesto-text {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  /* ── Secțiunea Formularului (Dreapta) ── */
  .login-form-area {
    flex: 1; /* Echilibrat exact 50/50 */
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .form-inner {
    max-width: 380px; /* Mai restrâns pentru a arăta elegant */
    margin: 0 auto;
    width: 100%;
  }
  .login-title {
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: var(--text);
  }
  .login-sub {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 3rem;
  }
  
  /* ── Formular ── */
  .field { 
    margin-bottom: 1.5rem; 
  }
  .field label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
  }
  .field input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
  }
  .field input:focus { 
    border-color: var(--sienna); 
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(140, 58, 28, 0.15);
  }
  .btn-primary {
    width: 100%;
    padding: 0.95rem;
    background: var(--sienna);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
  }
  .btn-primary:hover { 
    background: var(--sienna-l); 
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 58, 28, 0.3);
  }
  .error-msg {
    background: rgba(125, 35, 35, 0.1);
    border: 1px solid var(--red);
    color: #eb8b8b;
    padding: 0.85rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }

  /* ── Responsive ── */
  @media (max-width: 960px) {
    .login-wrap { flex-direction: column; }
    .login-visual { 
      padding: 4rem 2rem; 
      border-right: none; 
      border-bottom: 1px solid var(--border); 
      flex: none;
    }
    .visual-inner, .form-inner { max-width: 100%; }
    .back-link { top: 1.5rem; left: 2rem; }
    .login-form-area { 
      padding: 4rem 2rem; 
    }
  }

.dash-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.15s;
}
.btn-primary {
  background: var(--sienna);
  color: #fff;
}
.btn-primary:hover {
  background: var(--sienna-l);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}
.btn-danger {
  background: transparent;
  color: #eb8b8b;
  border: 1px solid var(--red);
}
.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.issues-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.issues-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.issues-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.issues-table tr:hover td {
  background: var(--surface);
}

.issue-num {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
}
.issue-slug {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 0.15rem;
}
.issue-cat {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--border);
  border-radius: 3px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.row-actions {
  display: flex;
  gap: 0.5rem;
}
.empty-state {
  text-align: center;
  padding: 4rem;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full {
  grid-column: 1 / -1;
}

.field {
  margin-bottom: 0;
}
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sienna);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.field select option {
  background: var(--surface);
}

.form-section {
  margin-bottom: 2rem;
}
.form-section-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.15s;
}
.btn-primary {
  background: var(--sienna);
  color: #fff;
}
.btn-primary:hover {
  background: var(--sienna-l);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
}
.btn-sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}
.btn-danger-sm {
  background: transparent;
  color: #eb8b8b;
  border: 1px solid var(--red);
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-danger-sm:hover {
  background: var(--red);
  color: #fff;
}

/* Sections builder */
#sections-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sec-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.sec-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}
.sec-type-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
}
.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.sec-grid .full {
  grid-column: 1 / -1;
}
.sec-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.sec-field input,
.sec-field textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
}
.sec-field input:focus,
.sec-field textarea:focus {
  border-color: var(--sienna);
}
.sec-field textarea {
  resize: vertical;
  min-height: 70px;
}

.add-section-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.add-section-bar button {
  padding: 0.3rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.add-section-bar button:hover {
  color: var(--text);
  border-color: var(--muted);
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
/* ── Admin token scope ────────────────────────────────────────
   Toate variabilele admin sunt scoped pe body[data-layout="admin"].
   Nu interferează cu :root și nu strică paginile publice.
   Pentru a schimba bg-ul admin: modifică doar --admin-bg aici.
   ────────────────────────────────────────────────────────────── */
body[data-layout="admin"] {
  /* Fundal și suprafețe */
  --admin-bg:      #0f0f0f;
  --surface:       #1a1a1a;

  /* Text */
  --text:          #e8e0d5;
  --muted:         #888888;

  /* Borduri (suprascrie --border doar în context admin) */
  --border:        #2e2e2e;
  --border-light:  #3a3a3a;

  /* Accente */
  --sienna:        #8c3a1c;
  --sienna-l:      #b04a25;
  --green:         #2d6a4f;
  --red:           #7d2323;

  /* Utilitare */
  --radius:        6px;

  /* Aplică fundalul */
  background: var(--admin-bg);
  color: var(--text);
}


/* ── Sidebar ── */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-brand {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna);
}
.admin-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-top: 0.2rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  transition:
    background 0.15s,
    color 0.15s;
}
.admin-nav a:hover,
.admin-nav a.active {
  background: var(--border);
  color: var(--text);
}

.admin-nav-logout {
  margin-top: auto;
}
.admin-nav-logout a {
  color: var(--red) !important;
}

/* ── Main area ── */
.admin-main {
  flex: 1;
  padding: 2.5rem 3rem;
  max-width: 960px;
}

.admin-page-title {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ── Notifiche ── */
.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.flash-success {
  background: #1a3d2b;
  border: 1px solid var(--green);
  color: #6fcf97;
}
.flash-error {
  background: #3d1a1a;
  border: 1px solid var(--red);
  color: #eb8b8b;
}

.nav-admin-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   SAPERE PLUS · nav-additions.css
   Append this block to the bottom of style.css
   ═══════════════════════════════════════════════════════════════ */


/* ── Hamburger button (bars) ─────────────────────────────────── */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  transition: opacity .2s;
}
.menu-btn:hover { opacity: .7; }

.menu-btn-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .28s cubic-bezier(.4,0,.2,1),
              opacity   .2s,
              width     .2s;
}

/* Animate bars → X when open */
.menu-btn[aria-expanded="true"] .menu-btn-bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn-bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

@media (max-width: 768px) { .menu-btn { display: flex; } }


/* ── Admin Dropdown ──────────────────────────────────────────── */
.nav-admin-dropdown {
  position: relative;
}

.nav-admin-trigger {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .6rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  color: inherit;
  font: inherit;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.nav-admin-trigger:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.05);
}

/* In dark-header context */
.dark-header .nav-admin-trigger {
  border-color: rgba(255,255,255,.2);
  color: var(--ink);
}
.dark-header .nav-admin-trigger:hover {
  border-color: rgba(255,255,255,.4);
  background:var(--parchment);
}

.nav-chevron {
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}
.nav-admin-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-admin-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.55),
              0 2px 8px  rgba(0,0,0,.3);
  padding: .35rem 0;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s cubic-bezier(.4,0,.2,1);
  z-index: 900;
}
.nav-admin-dropdown.open .nav-admin-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Small header inside panel */
.nav-admin-menu-header {
  padding: .45rem 1rem .3rem;
  border-bottom: 1px solid #2e2e2e;
  margin-bottom: .25rem;
}
.nav-admin-menu-label {
  font-size: .625rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color:var(--sienna);
}

/* Menu items */
.nav-admin-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  font-size: .8rem;
  color: #c8bfb4;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-admin-item:hover {
  background: rgba(140,58,28,.12);
  color: #e8e0d5;
}
.nav-admin-item svg {
  opacity: .55;
  flex-shrink: 0;
  transition: opacity .15s;
}
.nav-admin-item:hover svg { opacity: .9; }

.nav-admin-sep {
  height: 1px;
  background: #2e2e2e;
  margin: .3rem 0;
}

.nav-admin-item--logout {
  color: #888;
}
.nav-admin-item--logout:hover {
  background: rgba(125,35,35,.12);
  color: #eb8b8b;
}
.nav-admin-item--logout:hover svg { opacity: .9; stroke: #eb8b8b; }


/* ── Mobile nav overlay ──────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 198;
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-nav-overlay.active {
  opacity: 1;
}
@media (max-width: 768px) {
  .mobile-nav-overlay { display: block; pointer-events: none; }
  .mobile-nav-overlay.active { pointer-events: all; }
}


/* ── Mobile nav panel ────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background:var(--parchment);
  border-left: 1px solid #232323;
  z-index: 199;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* Header row inside panel */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: .04em;
}
.mobile-nav-brand .logo-icon { width: 22px; height: 22px;color: var(--ink); }
.mobile-nav-brand .logo-s,
.mobile-nav-brand .logo-plus { stroke: var(--amber); }

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.mobile-nav-close:hover {
  border-color: #555;
  color: #e8e0d5;
}

/* Body: sections */
.mobile-nav-body {
  flex: 1;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-nav-section {
  padding: .75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.mobile-nav-section + .mobile-nav-section {
  border-top: 1px solid #1e1e1e;
}

/* Section label */
.mobile-nav-label {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:var(--ink);
  padding-bottom: .5rem;
  display: block;
}

/* Nav links */
.mobile-nav-link {
  display: block;
  padding: .65rem 0;
  font-size: 1.05rem;
  font-family: "Vollkorn", serif;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s, padding-left .18s;
  letter-spacing: .01em;
}
.mobile-nav-link:hover {
  color: var(--ink);
  padding-left: .25rem;
}
.mobile-nav-link.active {
  color: var(--amber);
}

.mobile-nav-external {
  font-style: italic;
}
.mobile-nav-arrow {
  font-style: normal;
  font-size: .85em;
  opacity: .6;
}

/* Admin section accent */
.mobile-nav-section--admin .mobile-nav-label {
  color: rgba(140,58,28,.7);
}
.mobile-nav-section--admin .mobile-nav-link:hover {
  color: #c0725a;
}

.mobile-nav-logout {
  margin-top: .25rem;
  color: #5a4040;
}
.mobile-nav-logout:hover { color: #eb8b8b !important; }

/* Footer */
.mobile-nav-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #1e1e1e;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #333;
  flex-shrink: 0;
}

/* Hide old-style mobile-nav-text if it existed */
.menu-btn-text { display: none; }

/* ── PATCH: reset conflict mobile-nav original vs panel nou ── */
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  /* Resetează inset:0 din stilurile originale */
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(320px, 88vw) !important;
  height: 100dvh !important;
  /* Ascunde prin transform, nu prin display */
  transform: translateX(100%) !important;
  visibility: hidden;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s .32s;
  /* Resetează padding-ul original */
  padding: 0 !important;
  gap: 0 !important;
}

.mobile-nav.open {
  display: flex !important;
  transform: translateX(0) !important;
  visibility: visible;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s 0s;
}

/* Pe desktop — hamburger ascuns, panel inaccesibil */
@media (min-width: 769px) {
  .mobile-nav {
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .menu-btn { display: none !important; }
}

/* Section items */
  .sb-empty {
    color: var(--muted);
    font-size: .85rem;
    padding: 1.5rem 0;
    font-style: italic;
  }
  .sb-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: .75rem;
    background: rgba(255,255,255,.02);
    overflow: hidden;
  }
  .sb-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1rem;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid var(--border);
  }
  .sb-item-type {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sienna);
    font-weight: 600;
  }
  .sb-item-actions {
    display: flex;
    gap: .3rem;
  }
  .sb-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--muted);
    cursor: pointer;
    font-size: .75rem;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s, color .15s;
  }
  .sb-btn:hover:not(:disabled) {
    border-color: #555;
    color: var(--text);
  }
  .sb-btn:disabled { opacity: .3; cursor: default; }
  .sb-delete:hover:not(:disabled) {
    border-color: var(--red) !important;
    color: #eb8b8b !important;
  }

  /* Item body */
  .sb-item-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
  }
  .sb-diptic {
    flex-direction: row;
    gap: 1rem;
  }
  .sb-diptic-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .65rem;
  }
  .sb-diptic-label {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .15rem;
  }

  /* Fields */
  .sb-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
  }
  .sb-label {
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .sb-input,
  .sb-textarea {
    background: rgba(0,0,0,.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: .875rem;
    outline: none;
    transition: border-color .15s;
    width: 100%;
  }
  .sb-input {
    padding: .5rem .75rem;
    height: 36px;
  }
  .sb-textarea {
    padding: .6rem .75rem;
    min-height: 100px;
    resize: vertical;
  }
  .sb-input:focus,
  .sb-textarea:focus {
    border-color: var(--sienna);
  }

  @media (max-width: 600px) {
    .sb-diptic { flex-direction: column; }
  }

  /* ─────────────────────────────────────────────────────────────────────────────
   Adaugă în style.css, în secțiunea unde sunt stilurile .journal-*
   ───────────────────────────────────────────────────────────────────────── */


/* ── Link Card extern ──────────────────────────────────────────────────────── */

.journal-link-card {
  margin: 2.5rem 0;
}

.journal-link-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-left: 3px solid var(--accent, #8C3A1C);
  background: color-mix(in srgb, var(--accent, #8C3A1C) 4%, transparent);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.journal-link-card__inner:hover {
  background: color-mix(in srgb, var(--accent, #8C3A1C) 9%, transparent);
  border-left-color: color-mix(in srgb, var(--accent, #8C3A1C) 80%, black);
}

.journal-link-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.journal-link-card__domain {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #8C3A1C);
  opacity: 0.85;
}

.journal-link-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
}

.journal-link-card__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.7;
  margin-top: 0.15rem;
}

.journal-link-card__url {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  opacity: 0.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40ch;
  margin-top: 0.3rem;
}

.journal-link-card__arrow {
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.journal-link-card__inner:hover .journal-link-card__arrow {
  opacity: 0.9;
  transform: translate(2px, -2px);
}


/* ── Notă editorială ───────────────────────────────────────────────────────── */

.journal-note {
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  border-left: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
  border-radius: 0 2px 2px 0;
}

.journal-note__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.65rem;
}

.journal-note__text {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  opacity: 0.85;
}

.journal-note__text p {
  margin: 0 0 0.5em;
}

.journal-note__text p:last-child {
  margin-bottom: 0;
}