@font-face {
  font-family: "Latin Modern";
  src: url("/journal/assets/latin-modern-roman-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Latin Modern";
  src: url("/journal/assets/latin-modern-roman-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color: #2d221c;
  background: #fbf8f4;
  font-family: "Latin Modern", "Computer Modern", serif;
}

* { box-sizing: border-box; }

body { margin: 0; background: #fbf8f4; }

html, body { max-width: 100%; overflow-x: hidden; }


a { color: inherit; }

.site-header,
.site-footer,
.page-intro,
.editorials {
  width: min(100% - 64px, 1240px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8d1ca;
}

.brand-link img { display: block; width: 162px; height: auto; }

nav { display: flex; align-items: center; gap: 26px; }

nav a {
  color: #3d3028;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:last-child {
  padding: 11px 15px;
  border-radius: 999px;
  color: #fffaf5;
  background: #9b4223;
}

nav a:hover,
nav a:focus-visible,
.read-link:hover,
.read-link:focus-visible,
.all-journal a:hover,
.all-journal a:focus-visible { color: #9b4223; }

nav a:last-child:hover,
nav a:last-child:focus-visible { color: #fffaf5; background: #783117; }

.page-intro {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(300px, .7fr);
  gap: clamp(42px, 10vw, 170px);
  align-items: end;
  padding: clamp(72px, 11vw, 142px) clamp(12px, 4vw, 76px) clamp(66px, 9vw, 120px);
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3 { font-family: "Latin Modern", "Computer Modern", serif; font-weight: 400; }

.eyebrow,
.card-meta {
  color: #9b4223;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow { margin-bottom: 19px; }

h1 {
  font-size: clamp(4rem, 8.3vw, 8rem);
  letter-spacing: -.065em;
  line-height: .84;
}

.page-intro > p:last-child {
  max-width: 420px;
  padding-bottom: 7px;
  color: #665b53;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.75;
}

.editorials { padding-bottom: 118px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 31px;
  border-top: 1px solid #d8d1ca;
  color: #9b4223;
}

.section-heading h2 {
  color: #2d221c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-heading span { font-size: 1.38rem; line-height: 1; }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 47px;
}

.editorial-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.card-image {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #e8dfd5;
}

.card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.card-image img[data-ledger-image-fit="contain"] { object-fit: contain !important; }

.card-image:hover img,
.card-image:focus-visible img { transform: scale(1.025); }

.card-meta { margin-top: 23px; font-size: .68rem; line-height: 1.45; }

.editorial-card h3 { margin: 13px 0 14px; font-size: clamp(1.85rem, 2.8vw, 2.55rem); letter-spacing: -.045em; line-height: .95; }

.editorial-card h3 a { text-decoration: none; }

.editorial-card > p:not(.card-meta) {
  color: #665b53;
  font-size: .99rem;
  line-height: 1.62;
}

.read-link,
.all-journal a {
  color: #9b4223;
  font-size: .96rem;
  font-weight: 700;
  text-decoration: none;
}

.read-link { margin-top: 20px; }

.all-journal { margin-top: 60px; text-align: center; }

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d8d1ca;
  color: #665b53;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer a { text-decoration: none; }
.site-footer p + p { display: flex; gap: 12px; }
.site-footer a:hover, .site-footer a:focus-visible { color: #9b4223; }

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .page-intro,
  .editorials { width: min(100% - 40px, 580px); }

  .site-header { min-height: 82px; }
  .brand-link img { width: 130px; }
  nav { gap: 14px; }
  nav a { font-size: .69rem; letter-spacing: .07em; }
  nav a:last-child { padding: 9px 11px; }

  .page-intro {
    display: block;
    padding: 66px 0 64px;
  }

  h1 { font-size: clamp(4.5rem, 20vw, 6.8rem); }
  .page-intro > p:last-child { margin-top: 34px; font-size: 1rem; }
  .section-heading { padding-top: 24px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 52px; margin-top: 37px; }
  .editorial-card { max-width: 460px; margin: 0 auto; }
  .editorial-card h3 { font-size: 2.25rem; }
  .all-journal { margin-top: 54px; text-align: left; }
  .editorials { padding-bottom: 76px; }
  .site-footer { min-height: 82px; font-size: .62rem; letter-spacing: .08em; }
}

@media (max-width: 360px) {
  nav a:first-child { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (max-width: 470px) {
  .site-header {
    align-items: flex-start;
    min-height: 155px;
    padding-block: 12px;
  }

  .brand-link img { width: 116px; }

  .site-header nav {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
  }

  .site-header nav a {
    justify-content: flex-end;
    min-height: 44px;
    font-size: .66rem;
    letter-spacing: .055em;
    white-space: nowrap;
  }

  .site-header nav a:first-child {
    display: inline-flex;
  }

  .site-header nav a:last-child {
    padding: 0 8px;
  }

  h1 {
    max-width: 100%;
    padding-top: .05em;
    font-size: clamp(3.5rem, 16.5vw, 4.5rem);
    line-height: .9;
    overflow-wrap: anywhere;
  }
}
