@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   SITE WRAPPER — left sidebar + main content
   ============================================================ */
.site-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* ============================================================
   SIDE NAVIGATION
   ============================================================ */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: #000;
  border-right: 1px solid #222;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidenav__brand {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid #222;
}

.sidenav__logo {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.3;
  display: block;
}

.sidenav__details {
  flex: 1;
  padding: 1rem 0;
}

.sidenav__summary {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #555;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.sidenav__summary::-webkit-details-marker { display: none; }

.sidenav__menu {
  padding: 0.5rem 0;
}

.sidenav__menu li a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.02em;
  line-height: 1.4;
  transition: color 0.2s, background 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.sidenav__menu li a:hover,
.sidenav__menu li a[aria-current="page"] {
  color: #fff;
  background: #111;
}

/* ============================================================
   PAGE CONTENT AREA
   ============================================================ */
.page-content {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #222;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 3.5rem;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.hero__h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: #fff;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 40px;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}

.hero__cta:hover {
  background: #e0e0e0;
}

.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media--blank {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg-text {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 20vw;
  font-weight: 700;
  color: #111;
  line-height: 1;
  user-select: none;
}

.hero__bg-number {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #333;
  z-index: 3;
}

/* ============================================================
   HOME MAIN
   ============================================================ */
.home-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  flex: 1;
}

.home-article {
  border-right: 1px solid #111;
  padding: 3rem 3.5rem;
}

.home-aside {
  padding: 3rem 2rem;
}

/* ============================================================
   CATEGORY LAYOUT
   ============================================================ */
.cat-hero {
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 3.5rem;
  border-bottom: 1px solid #222;
  position: relative;
  overflow: hidden;
  background: #000;
}

.cat-hero__eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.cat-hero__h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 640px;
}

.cat-hero__desc {
  font-size: 0.9rem;
  color: #888;
  max-width: 560px;
  line-height: 1.7;
}

.cat-hero__bg-text {
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 12rem;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.cat-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  flex: 1;
}

.cat-article {
  border-right: 1px solid #111;
  padding: 3rem 3.5rem;
}

.cat-aside {
  padding: 3rem 2rem;
}

/* ============================================================
   ARTICLE LAYOUT
   ============================================================ */
.article-hero {
  position: relative;
  height: 45vh;
  overflow: hidden;
}

.article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 40%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 3.5rem;
}

.article-hero__h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.article-title {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding: 3rem 3.5rem 0;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 3.5rem;
  flex-wrap: wrap;
}

.article-meta__date,
.article-meta__modified {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #555;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 3.5rem 1.5rem;
  font-size: 0.72rem;
  color: #555;
  flex-wrap: wrap;
}

.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #fff; }

.article-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  flex: 1;
}

.article-body {
  border-right: 1px solid #111;
  padding: 0 3.5rem 3rem;
}

.article-aside {
  padding: 3rem 2rem;
}

/* ============================================================
   TAG LAYOUT
   ============================================================ */
.tag-hero {
  padding: 3rem 3.5rem;
  border-bottom: 1px solid #222;
}

.tag-hero__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.tag-hero__h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.tag-hero__desc {
  color: #888;
  font-size: 0.9rem;
}

.tag-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  flex: 1;
}

.tag-article {
  border-right: 1px solid #111;
  padding: 3rem 3.5rem;
}

.tag-aside {
  padding: 3rem 2rem;
}

/* ============================================================
   ABOUT LAYOUT
   ============================================================ */
.about-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40vh;
  border-bottom: 1px solid #222;
  overflow: hidden;
}

.about-header__text {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-header__eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.about-header__h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.about-header__desc {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
}

.about-header__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-header__decor {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
  overflow: hidden;
}

.about-header__bg-text {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 12rem;
  font-weight: 700;
  color: #111;
  user-select: none;
}

.about-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  flex: 1;
}

.about-article {
  border-right: 1px solid #111;
  padding: 3rem 3.5rem;
}

.about-aside {
  padding: 3rem 2rem;
}

/* ============================================================
   PRIVACY LAYOUT
   ============================================================ */
.privacy-header {
  padding: 3rem 3.5rem;
  border-bottom: 1px solid #222;
}

.privacy-header__eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.privacy-header__h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.privacy-header__date {
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.06em;
}

.privacy-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  flex: 1;
}

.privacy-article {
  border-right: 1px solid #111;
  padding: 3rem 3.5rem;
}

.privacy-aside {
  padding: 3rem 2rem;
}

/* ============================================================
   PROSE (rich content)
   ============================================================ */
.prose {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
}

.prose h2 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 0.5rem;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  margin: 2rem 0 0.5rem;
}

.prose h2 + hr,
.prose h3 + hr {
  border: none;
  border-top: 1px solid #222;
  margin: 0.5rem 0 1.5rem;
}

.prose hr {
  border: none;
  border-top: 1px solid #222;
  margin: 2rem 0;
}

.prose p {
  margin-bottom: 1.4rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: #fff;
  border-bottom: 1px solid #444;
  transition: border-color 0.2s;
}

.prose a:hover {
  border-color: #fff;
}

.prose blockquote {
  border-left: 3px solid #fff;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #0a0a0a;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #eee;
  line-height: 1.6;
}

.prose strong { color: #fff; font-weight: 600; }
.prose em { font-style: italic; color: #ddd; }

.prose figure {
  margin: 2rem 0;
}

.prose figcaption {
  font-size: 0.75rem;
  color: #555;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* Drop cap */
.drop-cap .prose p:first-of-type::first-letter,
.drop-cap > p:first-of-type::first-letter {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.1em 0 0;
  color: #fff;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-heading + hr {
  border: none;
  border-top: 1px solid #222;
  margin: 0 0 1.5rem;
}

hr {
  border: none;
  border-top: 1px solid #222;
  margin: 1.5rem 0;
}

/* ============================================================
   CARDS GRID (home featured)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card-item {
  border-radius: 28px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card__media {
  overflow: hidden;
  height: 180px;
}

.card__media .card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-item:hover .card__img {
  transform: scale(1.04);
}

.card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.card__title {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  flex: 1;
}

.card__desc {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.card__date {
  font-size: 0.65rem;
  color: #444;
  letter-spacing: 0.06em;
}

/* ============================================================
   CATEGORY LIST
   ============================================================ */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid #1a1a1a;
  transition: color 0.2s;
  min-height: 40px;
}

.cat-link:hover { color: #ccc; }

.cat-link__title {
  font-size: 0.9rem;
  font-weight: 500;
}

.cat-link__arrow {
  font-size: 0.8rem;
  color: #444;
  transition: transform 0.2s;
}

.cat-link:hover .cat-link__arrow {
  transform: translateX(4px);
}

/* ============================================================
   CHILD LIST (category page)
   ============================================================ */
.child-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
  counter-reset: child-counter;
}

.child-item {
  border-bottom: 1px solid #111;
}

.child-link {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  align-items: start;
  min-height: 40px;
  transition: background 0.2s;
}

.child-link:hover {
  background: #080808;
}

.child-num {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.child-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.child-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e0e0e0;
  line-height: 1.4;
}

.child-desc {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.5;
}

.child-date {
  font-size: 0.65rem;
  color: #444;
  letter-spacing: 0.04em;
}

/* ============================================================
   RELATED CARDS (div)
   ============================================================ */
.rcards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rcard {
  border-radius: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.25s;
}

.rcard:hover { transform: translateY(-3px); }

.rcard__link {
  display: flex;
  flex-direction: column;
}

.rcard__media { height: 130px; overflow: hidden; }

.rcard__media .rcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rcard__body {
  padding: 0.9rem 1rem;
}

.rcard__title {
  font-size: 0.82rem;
  font-weight: 500;
  color: #ddd;
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.rcard__date {
  font-size: 0.65rem;
  color: #444;
}

/* ============================================================
   SIBLINGS LIST
   ============================================================ */
.siblings-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.siblings-list li {
  border-bottom: 1px solid #111;
}

.siblings-list li a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: #888;
  transition: color 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.siblings-list li a:hover { color: #fff; }

/* ============================================================
   TAGGED LIST (tag page)
   ============================================================ */
.tagged-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tagged-item {
  border-bottom: 1px solid #111;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tagged-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 40px;
  justify-content: center;
}

.tagged-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e0e0e0;
  transition: color 0.2s;
}

.tagged-link:hover .tagged-title { color: #fff; }

.tagged-desc {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.5;
}

.tagged-date {
  font-size: 0.65rem;
  color: #444;
  letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT NAV LIST
   ============================================================ */
.about-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.about-nav-item {
  border-bottom: 1px solid #111;
}

.about-nav-item a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  min-height: 40px;
  align-items: start;
  transition: background 0.2s;
}

.about-nav-item a:hover {
  background: #080808;
}

.about-nav-num {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

.about-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ddd;
  display: block;
  line-height: 1.4;
}

.about-nav-desc {
  font-size: 0.75rem;
  color: #555;
  display: block;
  line-height: 1.5;
  margin-top: 0.2rem;
}

/* ============================================================
   ASIDE BLOCKS
   ============================================================ */
.aside-block {
  margin-bottom: 2.5rem;
}

.aside-heading {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.aside-heading + hr {
  border: none;
  border-top: 1px solid #1a1a1a;
  margin: 0 0 1rem;
}

.aside-text {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.aside-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.aside-link:hover { color: #fff; }

.aside-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aside-nav-list li {
  border-bottom: 1px solid #0e0e0e;
}

.aside-nav-list li a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  color: #777;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.aside-nav-list li a:hover,
.aside-nav-list li a.active {
  color: #fff;
}

.aside-parent-link {
  font-size: 0.82rem;
  color: #888;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.aside-parent-link:hover { color: #fff; }

.aside-block--notice {
  background: #080808;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 1.25rem;
}

/* ============================================================
   TAG CLOUD
   ============================================================ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid #222;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #888;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
  min-height: 28px;
}

.tag-pill:hover,
.tag-pill--active {
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #1a1a1a;
  background: #000;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 3.5rem;
  border-bottom: 1px solid #0e0e0e;
}

.footer-col__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #444;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.6;
}

.footer-col--links nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col--links nav ul li {
  border-bottom: 1px solid #0a0a0a;
}

.footer-col--links nav ul li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.76rem;
  color: #666;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-col--links nav ul li a:hover { color: #fff; }

.footer-form__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.footer-form__row {
  display: flex;
  gap: 0;
}

.footer-form__input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  background: #0a0a0a;
  border: 1px solid #222;
  border-right: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  outline: none;
  min-height: 40px;
}

.footer-form__input::placeholder { color: #444; }
.footer-form__input:focus { border-color: #555; }

.footer-form__btn {
  padding: 0.65rem 1.2rem;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  min-height: 40px;
  transition: background 0.2s, color 0.2s;
}

.footer-form__btn:hover {
  background: #e0e0e0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom nav a {
  font-size: 0.72rem;
  color: #444;
  transition: color 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-bottom nav a:hover { color: #fff; }

.footer-copy {
  font-size: 0.7rem;
  color: #333;
  letter-spacing: 0.04em;
}

/* ============================================================
   STAGGER ANIMATION
   ============================================================ */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease calc(var(--i, 0) * 0.08s),
              transform 0.5s ease calc(var(--i, 0) * 0.08s);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax image */
.parallax-img {
  will-change: transform;
}

/* ============================================================
   SECTION SPACING
   ============================================================ */
.home-categories-section,
.home-featured-section,
.home-content-section,
.cat-content-section,
.cat-children-section,
.article-section,
.article-siblings-section,
.article-related-section,
.tag-content-section,
.tag-list-section,
.about-content-section,
.about-nav-section,
.privacy-content-section,
.privacy-links-section {
  margin-bottom: 3rem;
}

/* ============================================================
   MOBILE — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {
  .site-wrapper {
    grid-template-columns: 1fr;
  }

  .sidenav {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #222;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
  }

  .sidenav__brand {
    padding: 1rem 1.25rem;
    border-bottom: none;
    border-right: 1px solid #222;
    flex: 0 0 auto;
  }

  .sidenav__details {
    flex: 1;
    padding: 0;
  }

  .sidenav__summary {
    padding: 1rem 1.25rem;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .sidenav__menu {
    padding: 0.5rem 0;
    background: #050505;
    border-top: 1px solid #1a1a1a;
  }

  .page-content {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    height: 40vw;
    min-height: 200px;
  }

  .hero__text {
    padding: 2.5rem 1.5rem;
  }

  .hero__bg-number { display: none; }

  .home-main,
  .cat-main,
  .article-main,
  .tag-main,
  .about-main,
  .privacy-main {
    grid-template-columns: 1fr;
  }

  .home-article,
  .cat-article,
  .article-body,
  .tag-article,
  .about-article,
  .privacy-article {
    border-right: none;
    padding: 2rem 1.5rem;
  }

  .home-aside,
  .cat-aside,
  .article-aside,
  .tag-aside,
  .about-aside,
  .privacy-aside {
    padding: 2rem 1.5rem;
    border-top: 1px solid #111;
  }

  .article-title {
    padding: 2rem 1.5rem 0;
  }

  .article-meta,
  .breadcrumb {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .cat-hero {
    padding: 2rem 1.5rem;
  }

  .cat-hero__bg-text {
    font-size: 6rem;
  }

  .about-header {
    grid-template-columns: 1fr;
  }

  .about-header__text {
    padding: 2rem 1.5rem;
  }

  .about-header__decor,
  .about-header__media {
    height: 180px;
  }

  .tag-hero,
  .privacy-header {
    padding: 2rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .footer-bottom {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .rcards-list {
    grid-template-columns: 1fr 1fr;
  }

  .article-hero__overlay {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .rcards-list {
    grid-template-columns: 1fr;
  }

  .hero__h1 { font-size: 1.8rem; }

  .drop-cap .prose p:first-of-type::first-letter,
  .drop-cap > p:first-of-type::first-letter {
    font-size: 3rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .parallax-img {
    will-change: auto;
  }

  .card-item,
  .rcard {
    transition: none;
  }
}
