:root {
  --journal-width: min(1180px, calc(100% - 40px));
  --reading-width: 720px;
}

.journal-page {
  background: #070507;
  color: #fff8ec;
}

.journal-page .site-header {
  position: sticky;
  top: 0;
  gap: 16px;
  padding-inline: clamp(16px, 2.5vw, 40px);
}

.journal-page .nav-links {
  gap: clamp(12px, 2vw, 26px);
}

.journal-page .header-cta {
  padding-inline: 18px;
  min-width: max-content;
}

.journal-home {
  display: none;
  color: #f4d892;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.journal-hero {
  min-height: 62vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 182, 111, 0.2);
}

.journal-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 5, 7, 0.96), rgba(7, 5, 7, 0.7) 58%, rgba(7, 5, 7, 0.3));
}

.journal-hero__content {
  position: relative;
  z-index: 1;
  width: var(--journal-width);
  margin: 0 auto;
  padding: 116px 0 76px;
}

.journal-hero h1 {
  max-width: 880px;
  margin: 14px 0 22px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1;
  font-weight: 600;
}

.journal-hero__content > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 248, 236, 0.8);
  font-size: 1.12rem;
  line-height: 1.75;
}

.journal-shell {
  width: var(--journal-width);
  margin: 0 auto;
  padding: 88px 0 108px;
}

.journal-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
  margin-bottom: 70px;
}

.journal-intro h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
}

.journal-intro p:last-child {
  margin: 0;
  color: rgba(255, 248, 236, 0.72);
  font-size: 1.08rem;
  line-height: 1.85;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.journal-preview {
  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

.journal-preview__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: end;
}

.journal-preview__heading h2 {
  max-width: 800px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.06;
}

.journal-preview__heading > p {
  margin: 0;
  color: rgba(255, 248, 236, 0.68);
  line-height: 1.75;
}

.journal-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.journal-preview__story {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  transition: transform 260ms ease, border-color 220ms ease, background 220ms ease;
}

.journal-preview__story:hover,
.journal-preview__story:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244, 216, 146, 0.48);
  background: rgba(255, 255, 255, 0.045);
}

.journal-preview__story span {
  color: #d9b66f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-preview__story h3 {
  margin: auto 0 16px;
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.28;
}

.journal-preview__story p {
  margin: 0;
  color: rgba(255, 248, 236, 0.64);
  line-height: 1.65;
}

.journal-preview__all {
  margin-top: 28px;
}

.journal-card {
  grid-column: span 6;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  transition: border-color 220ms ease, transform 280ms ease, background 220ms ease;
}

.journal-card:first-child {
  grid-column: span 12;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-template-rows: none;
}

.journal-card:hover,
.journal-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244, 216, 146, 0.52);
  background: rgba(255, 255, 255, 0.045);
}

.journal-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.journal-card:first-child .journal-card__media {
  aspect-ratio: 1.36;
}

.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.journal-card:hover img {
  transform: scale(1.025);
}

.journal-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 42px);
}

.journal-card__meta,
.article-meta {
  color: #d9b66f;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.journal-card h2 {
  margin: 16px 0 16px;
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.journal-card p {
  margin: 0;
  color: rgba(255, 248, 236, 0.69);
  line-height: 1.75;
}

.journal-card__link {
  margin-top: auto;
  padding-top: 30px;
  color: #f4d892;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-hero {
  min-height: 58vh;
}

.article-hero h1 {
  max-width: 960px;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
}

.article-hero .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: rgba(255, 248, 236, 0.66);
}

.article-layout {
  width: var(--journal-width);
  margin: 0 auto;
  padding: 82px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, var(--reading-width)) minmax(230px, 1fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.article-body {
  color: rgba(255, 248, 236, 0.78);
  font-size: 1.06rem;
  line-height: 1.9;
}

.article-body .article-lede {
  margin-top: 0;
  color: #fff8ec;
  font-family: "Cinzel", serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.55;
}

.article-body h2 {
  margin: 68px 0 20px;
  color: #fff8ec;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.15;
}

.article-body h3 {
  margin: 38px 0 12px;
  color: #f4d892;
  font-size: 1.24rem;
  line-height: 1.35;
}

.article-body a {
  color: #f4d892;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.article-body li::marker {
  color: #d9b66f;
}

.article-callout {
  margin: 42px 0;
  padding: 28px 30px;
  border-left: 2px solid #d9b66f;
  background: rgba(244, 216, 146, 0.07);
  color: #fff8ec;
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  color: #f4d892;
  font-family: "Cinzel", serif;
}

.article-aside {
  position: sticky;
  top: 106px;
  padding-top: 4px;
}

.article-aside > div {
  padding: 26px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.article-aside h2 {
  margin: 10px 0 14px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.article-aside p {
  color: rgba(255, 248, 236, 0.66);
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-aside nav {
  display: grid;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 248, 236, 0.12);
}

.article-aside nav a {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 248, 236, 0.12);
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.88rem;
  text-decoration: none;
}

.article-aside .button {
  width: 100%;
  margin-top: 22px;
}

.article-end {
  margin-top: 72px;
  padding: 36px;
  border: 1px solid rgba(217, 182, 111, 0.34);
  border-radius: 6px;
  background: rgba(71, 38, 56, 0.35);
}

.article-end h2 {
  margin-top: 8px;
}

.article-end .service-actions {
  margin-top: 26px;
}

@media (max-width: 900px) {
  .journal-home { display: inline-flex; }
  .journal-intro,
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .journal-card:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .journal-preview__heading { grid-template-columns: 1fr; }
  .journal-preview__grid { grid-template-columns: 1fr; }
  .journal-preview__story { min-height: 230px; }
}

@media (max-width: 680px) {
  :root { --journal-width: min(100% - 28px, 1180px); }
  .journal-hero { min-height: 58vh; }
  .journal-hero::after { background: linear-gradient(0deg, rgba(7, 5, 7, 0.97), rgba(7, 5, 7, 0.48)); }
  .journal-hero__content { padding: 92px 0 54px; }
  .journal-hero h1 { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .journal-shell,
  .article-layout { padding: 62px 0 80px; }
  .journal-card,
  .journal-card:first-child { grid-column: span 12; }
  .journal-card__copy { padding: 24px; }
  .article-body { font-size: 1rem; line-height: 1.8; }
  .article-body h2 { margin-top: 52px; }
  .article-callout,
  .article-end { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .journal-card,
  .journal-card img { transition: none; }
}
