:root {
  --ink: #292521;
  --ink-soft: #57524c;
  --ink-faint: #7a746c;
  --paper: #f6f3ee;
  --mist: #e9e3d8;
  --line: rgba(83, 72, 56, 0.18);
  --line-soft: rgba(83, 72, 56, 0.1);
  --accent: #7f694c;
  --navy: #10253b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 82% -10%, rgba(255, 255, 255, 0.79), transparent 41%),
    radial-gradient(circle at 14% 80%, rgba(224, 205, 176, 0.14), transparent 54%),
    linear-gradient(160deg, var(--paper) 0%, var(--mist) 100%);
}

.container {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 233, 0.9);
  backdrop-filter: blur(10px);
}

.nav-grid {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  color: #12110f;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: 0.016em;
}

.nav-center,
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav {
  justify-self: end;
}

.nav-center a,
.main-nav a {
  color: #1d3043;
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.68rem;
  border-radius: 8px;
}

.nav-center a:hover,
.main-nav a:hover,
.main-nav a.active {
  background: var(--navy);
  color: #f9f4eb;
}

.eyebrow {
  margin: 0;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

.journal-main {
  padding: 0 0 3.1rem;
}

.journal-hero {
  position: relative;
  min-height: 560px;
  height: calc(100vh - 70px);
  max-height: 860px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(
      178deg,
      rgba(245, 237, 228, 0.34) 0%,
      rgba(244, 235, 226, 0.16) 36%,
      rgba(236, 227, 214, 0.28) 100%
    ),
    url("assets/journal-hero-j.png") center center / cover no-repeat;
}

.journal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 62%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    linear-gradient(to top, rgba(236, 228, 216, 0.42), rgba(236, 228, 216, 0));
  pointer-events: none;
}

.journal-hero-inner {
  width: 100%;
  padding-bottom: clamp(2.7rem, 6vw, 4.6rem);
  position: relative;
  z-index: 1;
  transform: translateY(clamp(-1.8rem, -3.2vw, -3rem));
}

.journal-hero-copy {
  width: min(780px, 100%);
  padding: clamp(1rem, 2.2vw, 1.4rem);
  border-radius: 22px;
  border: 1px solid rgba(126, 106, 80, 0.2);
  background: rgba(246, 242, 236, 0.54);
  backdrop-filter: blur(7px);
  box-shadow: 0 14px 30px rgba(66, 53, 39, 0.11);
}

.journal-content {
  margin-top: 1.28rem;
  display: grid;
  gap: 1.5rem;
}

.journal-hero h1 {
  margin-top: 0.42rem;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 0.94;
  color: #1d1915;
}

.hero-lead {
  margin: 0.95rem 0 0;
  color: #4a443e;
  line-height: 1.6;
  max-width: 62ch;
  font-size: 0.94rem;
}

.hero-subline {
  margin: 0.6rem 0 0;
  color: #3b342d;
  letter-spacing: 0.02em;
  font-weight: 590;
  font-size: 0.84rem;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.taxonomy-card {
  padding: 1.25rem 1.2rem 1.16rem;
  border-radius: 22px;
  border: 1px solid rgba(130, 111, 87, 0.18);
  background:
    radial-gradient(circle at 84% -18%, rgba(236, 225, 210, 0.24), rgba(236, 225, 210, 0)),
    rgba(250, 247, 243, 0.7);
}

.taxonomy-index {
  margin: 0;
  color: var(--accent);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.taxonomy-kicker {
  margin: 0.3rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.58rem;
  color: #8d8478;
  font-weight: 700;
}

.taxonomy-card h2 {
  margin-top: 0.56rem;
  font-size: clamp(1.56rem, 2.4vw, 2.08rem);
  line-height: 0.98;
  color: #2a241e;
}

.taxonomy-intro {
  margin: 0.68rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.88rem;
}

.topic-list {
  margin: 0.76rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.topic-list li {
  position: relative;
  padding-left: 0.86rem;
  color: #4f4a43;
  font-size: 0.84rem;
  line-height: 1.45;
}

.topic-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(93, 74, 53, 0.82);
  font-weight: 600;
}

.season-head {
  margin-top: 0.1rem;
  padding-top: 0.45rem;
}

.season-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.season-pill {
  margin: 0;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 99, 71, 0.26);
  background: rgba(250, 247, 241, 0.84);
  color: #6f583f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.56rem;
  font-weight: 700;
}

.season-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 0.96;
  color: #26221d;
}

.season-head p {
  margin: 0.72rem 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
  max-width: 68ch;
  font-size: 0.92rem;
}

.essay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.essay-card {
  border: 1px solid rgba(130, 111, 87, 0.16);
  border-radius: 20px;
  padding: 1.12rem 1.08rem 1.04rem;
  background: rgba(250, 247, 243, 0.64);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.essay-card:hover,
.essay-card:focus-within {
  border-color: rgba(122, 97, 68, 0.34);
  box-shadow: 0 14px 28px rgba(50, 40, 30, 0.08);
  transform: translateY(-2px);
}

.essay-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 87% -26%, rgba(237, 226, 212, 0.26), rgba(237, 226, 212, 0)),
    rgba(250, 247, 243, 0.74);
}

.essay-meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  color: #84735e;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.essay-meta span:first-child {
  color: var(--accent);
}

.essay-state {
  margin-left: auto;
  padding: 0.2rem 0.44rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 106, 79, 0.24);
  background: rgba(248, 244, 237, 0.92);
  color: #6d563b;
  letter-spacing: 0.08em;
  font-size: 0.53rem;
  font-weight: 700;
}

.essay-card h3 {
  margin-top: 0.52rem;
  font-size: clamp(1.55rem, 2.3vw, 2.18rem);
  line-height: 0.97;
  color: #28231d;
}

.essay-subtitle {
  margin: 0.6rem 0 0;
  color: #4e4942;
  font-size: 0.9rem;
  line-height: 1.56;
}

.essay-note {
  margin: 0.64rem 0 0;
  color: #5d574f;
  font-size: 0.8rem;
  line-height: 1.45;
}

.essay-note.muted {
  color: #8a8379;
}

.essay-link {
  margin-top: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  color: #7a6144;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.66rem;
  font-weight: 680;
  transition: color 160ms ease, transform 160ms ease;
}

.essay-link::after {
  content: "→";
  font-size: 0.8rem;
  line-height: 1;
}

.essay-link:hover {
  color: #5f472e;
  transform: translateX(1px);
}

.journal-close {
  margin-top: 0.12rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
}

.journal-close p {
  margin: 0.3rem 0 0;
  color: #3b342c;
  font-size: 0.84rem;
  letter-spacing: 0.015em;
}

.article-main {
  padding: 2rem 0 3.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  color: #6f5b44;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.62rem;
  font-weight: 700;
}

.back-link::before {
  content: "←";
  font-size: 0.74rem;
  line-height: 1;
}

.article-hero {
  margin-top: 0.94rem;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border-radius: 24px;
  border: 1px solid rgba(127, 106, 79, 0.16);
  background:
    radial-gradient(circle at 88% -26%, rgba(236, 224, 208, 0.28), rgba(236, 224, 208, 0)),
    rgba(249, 247, 243, 0.74);
}

.article-hero h1 {
  margin-top: 0.48rem;
  font-size: clamp(2.16rem, 3.8vw, 3.42rem);
  line-height: 0.94;
  color: #25211d;
  max-width: 17ch;
}

.article-subtitle {
  margin: 0.7rem 0 0;
  color: #4f4942;
  line-height: 1.55;
  font-size: 0.92rem;
}

.article-paper {
  margin-top: 1.05rem;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border-radius: 24px;
  border: 1px solid rgba(127, 106, 79, 0.14);
  background: rgba(250, 247, 243, 0.72);
}

.article-paper h2 {
  margin-top: 1.28rem;
  font-size: clamp(1.56rem, 2.2vw, 2.08rem);
  line-height: 1;
  color: #2a251f;
}

.article-paper p {
  margin: 0.68rem 0 0;
  max-width: 74ch;
  color: var(--ink-soft);
  line-height: 1.74;
  font-size: 0.92rem;
}

.article-paper ul {
  margin: 0.66rem 0 0;
  padding-left: 1rem;
  color: #4f4a44;
  line-height: 1.7;
  font-size: 0.91rem;
}

.article-paper li + li {
  margin-top: 0.2rem;
}

.article-compliance {
  margin-top: 0.94rem;
  border: 1px solid rgba(127, 106, 79, 0.2);
  border-radius: 14px;
  padding: 0.78rem 0.86rem;
  background: rgba(248, 244, 239, 0.54);
}

.article-compliance p {
  margin: 0;
  color: #6f695f;
  line-height: 1.56;
  font-size: 0.75rem;
}

@media (max-width: 980px) {
  .taxonomy-grid,
  .essay-grid {
    grid-template-columns: 1fr;
  }

  .essay-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1240px, calc(100% - 1rem));
  }

  .nav-center {
    display: none;
  }

  .nav-grid {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .main-nav a {
    padding: 0.34rem 0.5rem;
    font-size: 0.69rem;
  }

  .logo {
    font-size: 1.34rem;
  }

  .journal-main {
    padding-top: 0;
  }

  .journal-content {
    margin-top: 0.9rem;
  }

  .journal-hero {
    min-height: calc(100vh - 62px);
    max-height: none;
    align-items: end;
  }

  .journal-hero-inner {
    padding-bottom: clamp(1.9rem, 8.8vw, 3.1rem);
    transform: translateY(clamp(-0.9rem, -4.6vw, -1.6rem));
  }

  .journal-hero-copy {
    border-radius: 16px;
    backdrop-filter: blur(5px);
  }

  .season-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
