:root {
  --paper: #f3efe5;
  --ink: #11110f;
  --muted: #69675f;
  --line: #c8c2b7;
  --accent: #c7ff3e;
  --wrap: 1240px;
  --reading: 740px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

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

a:hover {
  opacity: 0.72;
}

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

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin: 0 auto;
}

/* Reading progress */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 100;
}

/* Masthead */

.masthead {
  border-bottom: 1px solid var(--ink);
  background: rgba(243, 239, 229, 0.96);
}

.masthead__inner {
  padding: 22px 0 14px;
  text-align: center;
  position: relative;
}

.masthead__brand {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(38px, 5.3vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.masthead__tagline {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--muted);
}

/* Navigation */

.primary-nav {
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 13px;
}

.primary-nav a,
.text-link {
  position: relative;
}

.primary-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 4px;
  background: var(--accent);
  z-index: -1;
  transition: width 0.18s ease;
}

.primary-nav a:hover::after,
.text-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

.eyebrow,
.meta-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;

  color: var(--muted);

  margin-bottom: 14px;
}

/* Homepage */

.home-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  padding-top: 70px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--ink);
}

.begin-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.home-hero h1,
.section-intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.89;
  letter-spacing: -0.058em;
  margin: 14px 0 25px;
}

.home-hero p,
.section-intro p {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.2;
  max-width: 760px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
}

.hero-poster {
  width: min(100%, 390px);
  aspect-ratio: 2 / 3;
  border: 1px solid var(--ink);
  justify-self: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 27% 24%, #181816 0 10%, transparent 10.4%),
    linear-gradient(180deg, #ddd6c9, #aaa296);
}

.hero-poster__line {
  position: absolute;
  width: 140%;
  height: 14%;
  background: var(--accent);
  left: -25%;
  top: 58%;
  transform: rotate(-28deg);
}

/* Sections */

.home-section {
  padding: 90px 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,

.archive-section .section-heading h2 {
    font-size: 34px;
}

.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

/* Story cards */

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  border-top: 1px solid var(--ink);
  padding-top: 13px;
}

.story-card h3 {
  font-family: var(--serif);
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 10px 0 12px;
}

.story-card p {
  color: #37362f;
  line-height: 1.55;
}

.story-date {
  font-size: 12px;
  color: var(--muted);
}

/* Collections */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.collection-card {
  min-height: 260px;
  border: 1px solid var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.18s ease, background 0.18s ease;
}

.collection-card:hover {
  transform: translateY(-3px);
  background: var(--accent);
  opacity: 1;
}

.collection-card strong {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  margin: 7px 0;
}

/* Shelf */

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.shelf-item {
  min-height: 190px;
  padding: 18px;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shelf-item:last-child {
  border-right: 0;
}

.shelf-item strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.shelf-item span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.shelf-grid--page .shelf-item {
  min-height: 300px;
}

.shelf-item p {
  margin-top: auto;
  line-height: 1.5;
}

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

/* Section intro */

.section-intro {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--ink);
}

.section-intro h1 {
  max-width: 1040px;
}

/* Article header */

.article-header {
  padding-top: 86px;
  padding-bottom: 48px;
  max-width: 1060px;
}

.article-header h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 7.5vw, 102px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 16px 0 30px;
}

.article-dek {
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.18;
  max-width: 900px;
  margin-bottom: 30px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.trail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trail-list span {
  background: var(--accent);
  padding: 4px 8px;
  font-size: 11px;
}

/* Read button */

.reading-mode-toggle {
  margin-left: auto;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

/* Article body */

.article-body {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
  padding-bottom: 24px;
}

.article-body p,
.article-body li {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.82;
}

.article-body p {
  margin: 0 0 1.55em;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  font-size: 74px;
  line-height: 0.82;
  padding: 9px 8px 0 0;
}

.article-body h2 {

    font-family: var(--serif);

    font-size: 42px;

    font-weight: 400;

    letter-spacing: -.035em;

    margin-top: 5rem;

    margin-bottom: 1.5rem;

    padding-top: 2rem;

    border-top: 1px solid var(--line);

}

/* Pull quotes */

.article-body blockquote {
  margin: 72px -80px;
  padding: 0;
  border: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.article-body blockquote p {
  margin: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
}

.article-body blockquote p::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
}

/* Where Next */

.where-next {
  border-top: 1px solid var(--ink);
  margin-top: 84px;
  padding-top: 26px;
}

.where-next__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.where-next__item {
  position: relative;
  min-height: 190px;
  border-top: 1px solid var(--line);
  padding: 20px 44px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.where-next__item:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.where-next__item strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.where-next__credit {
  color: var(--muted);
  font-size: 13px;
}

.where-next__why {
  margin: 12px 0 0 !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #45433d;
}

.where-next__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 21px;
  transition: transform 0.18s ease;
}

.where-next__item:hover .where-next__arrow {
  transform: translateX(4px);
}

/* Reading Mode */


body {
  transition: background-color 0.15s ease;
}

body.reading-mode {
  background: #f7f3e9;
}

body.reading-mode .masthead,
body.reading-mode .site-footer {
  display: none;
}

body.reading-mode .article-header {
  padding-top: 100px;
  animation: reading-mode-in 0.15s ease both;
}

body.reading-mode .article-body {
  width: min(calc(100% - 40px), 780px);
  animation: reading-mode-in 0.15s ease both;
}

body.reading-mode .article-body p,
body.reading-mode .article-body li {
  line-height: 1.9;
}

/* In reading mode, the writing gets priority */
body.reading-mode .article-meta > span,
body.reading-mode .trail-list {
  display: none;
}

body.reading-mode .article-meta {
  border-top: 0;
  padding-top: 0;
  min-height: 24px;
}

body.reading-mode .reading-mode-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 50;
  margin: 0;
  background: #f7f3e9;
}

@keyframes reading-mode-in {
  from {
    opacity: 0.65;
    transform: translateY(3px);
  }

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

/* About */

.about-section {
  padding: 58px 0 80px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.contributor-card {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
}

.contributor-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #222, #bbb4a8);
  border: 1px solid var(--ink);
}

.contributor-card h3 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  margin: 8px 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 35px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 30px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Notes */

.article-notes {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-notes ol {
  margin: 24px 0 0;
  padding-left: 22px;
}

.article-notes li {
  margin-bottom: 14px;
  padding-left: 8px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Article ending */

.article-thanks {
  margin: 72px 0 0;
  text-align: center;
  font-family: var(--serif);
}

.article-thanks span {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
}

.article-thanks p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-style: italic;
}

/* Only visible when printing */

.print-header {
  display: none;
}

/* Homepage polish */

/* Hero */

.home-hero--editorial {
  min-height: auto;
  display: block;
  padding-top: 110px;
  padding-bottom: 110px;
  border-bottom: 0;
}

.home-hero--editorial .home-hero__copy {
  max-width: 900px;
}

.home-hero--editorial h1 {
  max-width: 760px;
  margin-bottom: 30px;
}

.home-hero--editorial > .home-hero__copy > p {
  max-width: 640px;
  margin-bottom: 64px;
}

.home-hero__feature {
  max-width: 720px;
  margin-top: 72px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.home-hero__feature h2 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.home-hero__feature p {
  max-width: 620px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

/* Begin Here */

.home-section--begin {
  padding-top: 70px;
}

.section-heading--stacked {
  align-items: flex-end;
}

.begin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 44px;
}

.begin-card {
  min-height: 300px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}

.begin-card h3 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.begin-card p {
  max-width: 92%;
  line-height: 1.55;
  color: #37362f;
}

.begin-card .text-link {
  margin-top: auto;
}

/* Latest */

#latest {
  padding-top: 100px;
}

#latest .story-grid {
  margin-top: 40px;
}

/* Paths */

.home-section--paths {
  padding-top: 105px;
  padding-bottom: 105px;
}

.path-list {
  margin-top: 42px;
  border-top: 1px solid var(--ink);
}

.path-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.path-row:hover {
  opacity: 1;
}

.path-row > span:first-child {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.025em;
}

.path-row > span:nth-child(2) {
  color: var(--muted);
  line-height: 1.5;
}

.path-row > span:last-child {
  font-size: 20px;
  transition: transform 0.18s ease;
}

.path-row:hover > span:last-child {
  transform: translateX(5px);
}

/* Shelf */

.home-section--shelf {
  padding-top: 105px;
}

/* About preview */

.home-section--about {
  padding-top: 120px;
  padding-bottom: 130px;
}

.about-preview {
  max-width: 900px;
}

.about-preview h2 {
  max-width: 820px;
  margin: 14px 0 28px;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 80px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.about-preview p {
  max-width: 700px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
}

/* Keep just one strong ending rule */

.home-section--about {
  border-bottom: 1px solid var(--ink);
}

/* Print */

@media print {
  .masthead,
  .site-footer,
  .reading-progress,
  .reading-mode-toggle,
  .where-next {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .article-header,
  .article-body {
    width: 100%;
    max-width: 100%;
  }

  .article-header h1 {
    font-size: 44pt;
  }

  .article-body p,
  .article-body li {
    font-size: 12pt;
    line-height: 1.6;
  }

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

/* Mobile */

@media (max-width: 820px) {
  shelf-tile-grid {
  grid-template-columns: 1fr;
}

.shelf-tile {
  min-height: 300px;
}
  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .masthead__inner {
    text-align: left;
  }

  .masthead__brand {
    font-size: 36px;
  }

  .masthead__tagline {
    font-size: 14px;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 28px;
    border: 0;
    background: none;
    font: inherit;
  }

  .primary-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 42px;
    gap: 32px;
  }

  .hero-poster {
    justify-self: start;
    width: 72%;
  }

  .story-grid,
  .collection-grid,
  .shelf-grid,
  .about-section {
    grid-template-columns: 1fr;
  }

  .shelf-item {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .article-header {
    padding-top: 48px;
  }

  .article-body {
    width: min(calc(100% - 24px), var(--reading));
  }

  .article-body blockquote {
    margin: 48px 0;
    font-size: 32px;
  }

  .where-next__grid {
    grid-template-columns: 1fr;
  }

  .where-next__item {
    min-height: 160px;
    padding-left: 0;
  }

  .where-next__item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .reading-mode-toggle {
    margin-left: 0;
  }

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

  .contributor-card {
    grid-template-columns: 120px 1fr;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* =========================================
   V1 HOMEPAGE POLISH
========================================= */

/* Hero */

.home-hero--editorial .home-hero__copy{
    max-width:1150px;
}

.home-hero--editorial h1{
    max-width:none;
    font-size:clamp(72px,9vw,140px);
    line-height:.88;
    margin-bottom:34px;
}

.home-hero--editorial > .home-hero__copy > p{
    max-width:680px;
    font-size:clamp(24px,2vw,34px);
    line-height:1.25;
}

.home-hero__feature{
    max-width:700px;
    margin-top:84px;
}

.home-hero__feature h2{
    font-size:clamp(42px,4vw,54px);
    line-height:.95;
}

/* Sections */

.home-section{
    padding:110px 0;
}

.section-heading{
    margin-bottom:42px;
}

/* Begin Here */

.section-heading--stacked{
    display:block;
}

.section-heading--stacked p{
    margin-top:18px;
    max-width:520px;
}

.begin-grid--two{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:54px;
    max-width:900px;
}

.begin-card{
    min-height:340px;
}

.begin-card h3{
    font-size:clamp(38px,3vw,52px);
}

/* Latest */

.story-grid{
    gap:42px;
}

/* Paths */

.path-row{
    padding:34px 0;
}

.path-row > span:first-child{
    font-size:38px;
}

.path-row:hover{
    background:rgba(199,255,62,.08);
}

/* Shelf */

.home-section--shelf{
    padding-top:120px;
}

/* About */

.about-preview h2{
    font-size:clamp(58px,7vw,96px);
    max-width:900px;
}

/* Footer */

.site-footer{
    padding:60px 0;
}

/* =========================================
   SHELF V2
========================================= */

.shelf-updated {
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}

.shelf-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.shelf-tile {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.shelf-tile:hover {
  transform: translateY(-3px);
  background: rgba(199, 255, 62, 0.12);
}

.shelf-tile h3 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.shelf-tile__credit {
  color: var(--muted);
  font-size: 13px;
}

.shelf-tile p {
  max-width: 500px;
  margin: auto 0 22px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
}

.shelf-tile .text-link {
  align-self: flex-start;
}

.shelf-archive__list {
  border-top: 1px solid var(--ink);
}

.shelf-archive__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.shelf-archive__row span:first-child {
  font-family: var(--serif);
  font-size: 30px;
}

.shelf-archive__row span:last-child {
  font-size: 20px;
  transition: transform 0.18s ease;
}

.shelf-archive__row:hover {
  opacity: 1;
}

.shelf-archive__row:hover span:last-child {
  transform: translateX(5px);
}

/* Shelf mobile */

@media (max-width: 820px) {
  .shelf-tile-grid {
    grid-template-columns: 1fr;
  }

  .shelf-tile {
    min-height: 300px;
  }
}

/* About */

.contributor-photo{
    width:180px;
    aspect-ratio:1;
    object-fit:cover;
    border:1px solid var(--ink);
    border-radius:50%;
}

.about-copy{
    max-width:760px;
}

.about-copy h2{
    margin-top:70px;
    margin-bottom:20px;
}

.about-copy p{
    font-family:var(--serif);
    font-size:21px;
    line-height:1.75;
    margin-bottom:28px;
}

.about-copy a{
    border-bottom:1px solid currentColor;
}

.published-from{
    margin-top:70px;
    color:var(--muted);
    font-size:15px !important;
    font-family:var(--sans) !important;
}

/* =========================================
   ABOUT V2
========================================= */

.about-main {
  padding: 90px 0 110px;
}

.about-main .about-copy {
  max-width: 760px;
}

.about-main .about-copy h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.about-main .about-copy p {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.75;
  margin: 0 0 28px;
}


/* Contributors */

.contributors-section {
  padding: 90px 0 110px;
  border-top: 1px solid var(--ink);
}

.contributors-header {
  margin-bottom: 50px;
}

.contributors-header h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.contributor-profile {
  max-width: 680px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contributor-profile__photo {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 28px;
}

.contributor-profile h3 {
  margin: 10px 0 28px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.contributor-profile__bio p {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
}

.contributor-profile__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  font-size: 13px;
}

.contributor-profile__links a {
  border-bottom: 1px solid currentColor;
}

.about-location {
  padding: 0 0 100px;
}

.about-location p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}


/* About mobile */

@media (max-width: 820px) {
  .about-main,
  .contributors-section {
    padding-top: 65px;
    padding-bottom: 75px;
  }

  .contributor-profile__photo {
    width: 130px;
    height: 130px;
  }
}

.article-body figure {

    margin: 3rem 0;

}

.article-body figure img {

    display: block;

    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    aspect-ratio: 3 / 2;
    object-fit: cover;

    border: 1px solid var(--line);

}

.article-body figcaption {

    max-width: 720px;

    margin: .9rem auto 0;

    color: var(--muted);

    font-size: .9rem;

    line-height: 1.5;

    font-style: italic;

}

.section-divider {

    margin: 5rem 0;

    border: 0;

    border-top: 1px solid var(--line);

}

.edition-meta {

    margin-top: 5rem;

    padding-top: 2rem;

    border-top: 1px solid var(--line);

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2.5rem;

}

.edition-meta h3 {

    margin: 0 0 .6rem;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .14em;

    font-weight: 500;

}

.edition-meta p {

    margin: 0;

    color: var(--muted);

    line-height: 1.6;

}

.edition-meta a {

    text-decoration: underline;

}

@media (max-width: 820px) {

    .edition-meta {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

}

.archive-section {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.archive-list {

    max-width: 520px;

}

.archive-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;

    border-top: 1px solid var(--line);
}

.archive-row:hover {

    opacity: 1;

    padding-left: .5rem;

    transition: padding-left .18s ease;

}

/* =========================================
   SHELF EDITION GRID
========================================= */

.shelf-entry-grid {
  width: min(calc(100% - 40px), 980px);
  margin: 0px auto 40px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px 48px;
}

.shelf-entry-card {
  min-width: 0;
}

.shelf-entry-card .meta-label {
  display: block;
  margin-bottom: 14px;
}

.shelf-entry-card figure {
  margin: 0 0 22px;
}

.shelf-entry-card figure {

    margin: 0 0 22px;

}

.shelf-entry-card figure img {

    width: 280px;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border: 1px solid var(--line);

}

@media (max-width: 820px) {

    .shelf-entry-card figure img {

        width: 100%;

    }

}

.shelf-entry-card figcaption {
  margin-top: 8px;

  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}


.shelf-entry-card h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;

  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.shelf-entry-card p {
  margin: 0;

  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

/* Shelf mobile */

@media (max-width: 820px) {
  .shelf-entry-grid {
    width: min(calc(100% - 24px), 620px);

    grid-template-columns: 1fr;
    gap: 58px;
  }

  .shelf-entry-card h2 {
    font-size: 34px;
  }
}

.shelf-entry-card__creator {
  margin: -2px 0 18px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: var(--muted);
}

.shelf-intro {
    max-width: 760px;
    margin: 20px auto 72px;
    text-align: center;
}

.shelf-kicker {
    margin: 0 0 12px;

    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.shelf-intro h1 {
    margin: 0 0 18px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 400;
    line-height: .95;
}

.shelf-description {
    margin: 0 auto;

    max-width: 540px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.45;

    color: #333;
}

.shelf-edition .article-body {
    padding-bottom: 16px;
}

.archive-section {
    margin-top: .5rem;
    margin-bottom: 8px;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
}

.archive-list {
    margin-bottom: 0;
}

.archive-row:last-child {
    margin-bottom: 0;
}

/* Final Shelf archive spacing */

.archive-section .section-heading {
  margin-bottom: 8px;
}

.archive-section .section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.archive-section .archive-list {
  margin-top: 0;
  margin-bottom: 0;
}

.archive-section .archive-row {
  padding: 8px 0;
  margin: 0;
}

/* =========================================
   HOMEPAGE SHELF
========================================= */

.home-shelf-intro {
  max-width: 560px;
  margin: -16px 0 36px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.home-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.home-shelf-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-shelf-card:hover {
  opacity: 1;
}

.home-shelf-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.home-shelf-card strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 400;
}

.home-shelf-card > span:last-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

@media (max-width: 820px) {
  .home-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .home-shelf-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   HOMEPAGE SHELF
========================================= */

.home-shelf-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 42px;
}

.home-shelf-heading h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.home-shelf-heading p {
  max-width: 520px;
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}

.home-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.home-shelf-card {
  display: block;
}

.home-shelf-card:hover {
  opacity: 1;
}

.home-shelf-card .meta-label {
  display: block;
  margin-bottom: 12px;
}

.home-shelf-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.home-shelf-card h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.home-shelf-year {
  white-space: nowrap;
}

.home-shelf-creator {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-shelf-footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {

  .home-shelf-heading {
    display: block;
  }

  .home-shelf-heading .text-link {
    margin-top: 20px;
  }

  .home-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }

}

@media (max-width: 520px) {

  .home-shelf-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================
   HOMEPAGE SHELF COMPACT
========================================= */

.shelf-grid--homepage {
  grid-template-columns: repeat(4, 1fr);
}

.shelf-item--homepage {
  min-height: 210px;
  padding: 20px;
}

.shelf-item--homepage strong {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.05;
}

.shelf-item--homepage > span:last-child {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .shelf-grid--homepage {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .shelf-grid--homepage {
    grid-template-columns: 1fr;
  }
}

/* ---------- Homepage Shelf ---------- */

.home-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.home-shelf-card {
  display: block;
}

.home-shelf-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.home-shelf-card h3 {
  margin: 8px 0 6px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
}

.home-shelf-card__creator {
  display: block;

  margin-top: 6px;

  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;

  color: var(--muted);
}

@media (max-width: 820px) {
  .home-shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .home-shelf-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ARTICLE ENHANCEMENTS
   Cannes / long-form tables
   ========================= */

/* Hero image */

.article-hero {
  margin: 2rem 0 2.5rem;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.article-hero figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.65;
}


/* Article section headings */

article h2 {
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}


/* Large editorial tables */

.article-table {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 3rem;
  -webkit-overflow-scrolling: touch;
}

.article-table table {
  width: 100%;
  min-width: 1150px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.45;
}

.article-table th,
.article-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.article-table th {
  font-weight: 600;
  white-space: nowrap;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}


/* Give important columns more room */

.article-table td:first-child {
  min-width: 180px;
}

.article-table td:nth-child(2) {
  min-width: 150px;
}

.article-table td:nth-child(3) {
  min-width: 150px;
}

.article-table td:nth-child(4) {
  min-width: 190px;
}

.article-table td:nth-child(5) {
  min-width: 140px;
}

.article-table td:nth-child(6) {
  min-width: 110px;
}

.article-table td:last-child {
  min-width: 280px;
}


/* Make film titles stand out slightly */

.article-table td:first-child em {
  font-weight: 500;
}


/* Mobile */

@media (max-width: 700px) {
  .article-hero {
    margin: 1.5rem 0 2rem;
  }

  article h2 {
    margin-top: 3rem;
  }

  .article-table {
    margin: 1.25rem 0 2.5rem;
  }

  .article-table table {
    font-size: 0.85rem;
    min-width: 1050px;
  }

  .article-table th,
  .article-table td {
    padding: 0.75rem;
  }
}

/* =========================================
   FINAL HOMEPAGE ARTICLE LAYOUT
   ========================================= */

/* Lead article spans the full content width */

.home-feature {
  width: 100%;
  margin-bottom: 72px;
}

.home-feature > a:first-child {
  display: block;
  width: 100%;
}

.home-feature__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin-bottom: 12px;
}


/* Recent writing: exactly two equal columns */

.home-writing-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 36px !important;
  align-items: start;
  width: 100%;
  margin-bottom: 90px;
}

.home-writing-card {
  display: block;
  width: 100%;
  min-width: 0;
}

.home-writing-card > a:first-child {
  display: block;
  width: 100%;
}

.home-writing-card__image {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
}

.home-writing-card h3 {
  margin: 8px 0 8px;
}


/* Mobile */

@media (max-width: 700px) {

  .home-feature__image {
    aspect-ratio: 4 / 3;
  }

  .home-writing-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

}

/* Newsletter form spacing */

.newsletter form {
  margin-top: 24px;
  margin-bottom: 50px;
}

/* Accessible label — hidden visually */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;

  
  .newsletter-form {
  margin-top: 28px;
  margin-bottom: 48px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
}

.newsletter {
  padding-bottom: 40px;
}

.home-latest-label {
  padding-top: 20px;
}

/* =========================================
   FILM INDEX
   ========================================= */

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 36px;
  padding-bottom: 100px;
}

.film-card {
  min-width: 0;
}

.film-card__image-link {
  display: block;
  width: 100%;
  margin-bottom: 14px;
}

.film-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.film-card h2 {
  margin: 10px 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.film-card p {
  margin: 0;
  max-width: 560px;
  line-height: 1.5;
}

.film-card .text-link {
  margin-top: 14px;
}

@media (max-width: 700px) {
  .film-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.article-rating {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0.6rem 0 1rem;
}

.article-rating--small {
  font-size: 1.15rem;
  margin: 0.5rem 0 0.8rem;
}

.article-rating__out-of {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
}

.article-rating__out-of {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
  vertical-align: middle;
  opacity: 0.55;
}

.home-writing-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-writing-card--compact h3 {
  font-size: 1.25rem;
}

.home-writing-card--compact p {
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .home-writing-grid--three {
    grid-template-columns: 1fr;
  }
}

.home-writing-grid.home-writing-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-writing-card--compact .home-writing-card__image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-writing-card--compact h3 {
  font-size: 1.2rem;
}

.home-writing-card--compact p {
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .home-writing-grid.home-writing-grid--three {
    grid-template-columns: 1fr;
  }
}

.home-writing-grid.home-writing-grid--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.home-writing-grid--three .home-writing-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-writing-grid--three .home-writing-card h3 {
  font-size: 1.15rem;
}

.home-writing-grid--three .home-writing-card p {
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .home-writing-grid.home-writing-grid--three {
    grid-template-columns: 1fr;
  }
}