/* =============================================================
   TRANSPLANT — screen.css  v5.0
   Art-book / vintage-magazine color-block design:
   cream + deep olive as the primary color blocks, with navy,
   maroon and dusty rose as the three accents used everywhere
   ============================================================= */

/* Fonts loaded via <link> in default.hbs (Fraunces, Open Sans, PT Serif, Pinyon Script, Space Mono) */

/* ─── CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  /* Palette — five colors only, used as flat blocks throughout */
  --cream:  #FAEECE;
  --olive:  #4D4D07;
  --navy:   #00075A;
  --maroon: #3E0212;
  --rose:   #BB8588;

  /* back-compat aliases — every existing selector below keeps working,
     each old token now resolves to one of the five palette colors */
  --paper:       var(--cream);
  --beige:       var(--rose);
  --cobalt:      var(--navy);
  --cobalt-deep: var(--maroon);
  --olive-deep:  var(--olive);
  --sage-deep:   var(--olive);
  --sage:        var(--olive);
  --sky:         var(--rose);
  --pink:        var(--rose);
  --mustard:     var(--rose);
  --blush:       var(--rose);
  --ink:         var(--maroon);
  --slate:       var(--olive);
  --mist:        rgba(77,77,7,0.14);
  --white:       var(--cream);

  /* Typography — Editor's Note (→ Fraunces) for headlines, Open Sans for
     sub-headings/labels/UI, PT Serif for long-form body copy, and Lucia
     (→ Pinyon Script) reserved for the handful of true accent/quote
     moments — never set in all-caps. Space Mono is for real code only. */
  --font-display: 'Fraunces', Georgia, serif;
  --font-subhead: 'Open Sans', Arial, 'Helvetica Neue', sans-serif;
  --font-body:    'PT Serif', Georgia, serif;
  --font-accent:  'Pinyon Script', cursive;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  /* Layout */
  --max-w:  1240px;
  --gap:    clamp(18px, 4vw, 48px);
}

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; padding: 0; }

/* ─── BASE ─────────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── LAYOUT UTILITIES ─────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.section-gap {
  margin-top: clamp(48px, 8vw, 96px);
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.button {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.button--cobalt {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--cobalt);
}
.button--cobalt:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.button--outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.button--outline-cream:hover {
  background: var(--cream);
  color: var(--sage-deep);
}

/* ─── EYEBROW LABELS ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-subhead);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow--small { font-size: 9px; }

/* ─── SITE HEADER ──────────────────────────────────────────── */
.site-header {
  background: var(--olive);
  border-bottom: 1.5px solid rgba(250,238,206,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: opacity 0.15s ease-out;
}

/* Top bar */
.site-header__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 5px var(--gap);
  border-bottom: 1px solid rgba(250,238,206,0.18);
}

.site-header__topbar-date {
  font-family: var(--font-subhead);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(250,238,206,0.65);
}

.site-header__account {
  display: flex;
  gap: 16px;
  align-items: center;
}

.account-link {
  font-family: var(--font-subhead);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.12s;
}
.account-link:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }

.account-link--button {
  background: var(--navy);
  color: var(--cream);
  padding: 5px 14px;
  border-radius: 2px;
}
.account-link--button:hover {
  background: var(--maroon);
  color: var(--cream);
}

/* Masthead */
.site-header__masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 14px var(--gap);
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-subhead);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,238,206,0.65);
  transition: color 0.12s;
}
.search-trigger:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.search-trigger svg { width: 15px; height: 15px; flex-shrink: 0; }

.site-header__brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.site-header__logo {
  display: block;
  height: clamp(50px, 7.8vw, 84px);
  width: auto;
}

.site-header__tagline {
  display: block;
  font-family: var(--font-subhead);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,238,206,0.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Primary nav */
.site-nav {
  border-top: 1px solid rgba(250,238,206,0.18);
}

.site-nav__list {
  display: flex;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.site-nav__item {
  flex: 1;
  text-align: center;
}

.site-nav__item a {
  display: block;
  padding: 9px 6px;
  font-family: var(--font-subhead);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  transition: background 0.12s, color 0.12s;
  border-right: 1px solid rgba(250,238,206,0.18);
}
.site-nav__item:first-child a { border-left: 1px solid rgba(250,238,206,0.18); }

.site-nav__item a:hover,
.site-nav__item.active a {
  background: var(--cobalt);
  color: var(--paper);
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: clamp(480px, 78vh, 820px);
  overflow: hidden;
  background: var(--ink);
}

.hero__link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  transition: transform 0.7s ease;
}
.hero:hover .hero__image { transform: scale(1.025); }

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(62,2,18,0.9) 0%,
    rgba(62,2,18,0.35) 50%,
    transparent 100%
  );
}

.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: clamp(28px, 5vw, 60px);
}

.hero__section-tag {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 7.5vw, 96px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 18px;
}

.hero__deck {
  font-family: var(--font-subhead);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
  color: rgba(250,238,206,0.82);
  max-width: 52ch;
  margin-bottom: 14px;
}

.hero__byline {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,238,206,0.55);
}

/* ─── SECTION HEADS ────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1.5px solid var(--cobalt);
  border-bottom: 1px solid rgba(62,2,18,0.18);
  padding-block: 10px;
  margin-bottom: 24px;
}

.section-head__title {
  font-family: var(--font-subhead);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-head__link {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  color: var(--cobalt);
  transition: color 0.12s;
}
.section-head__link:hover { color: var(--ink); }

/* ─── LATEST GRID (homepage) ───────────────────────────────── */
.latest {
  padding-block: clamp(40px, 6vw, 76px);
}

.latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mist);
  outline: 1px solid var(--mist);
}

.story-card { background: var(--cream); }
.story-card a { display: block; }
.story-card:hover { background: var(--paper); }

.story-card__media {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--mist);
}
.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.story-card:hover .story-card__media img { transform: scale(1.05); }

.story-card__media--placeholder {
  width: 100%;
  height: 100%;
  background: var(--mist);
}
.story-card:nth-child(3n+1) .story-card__media--placeholder { background: var(--navy); }
.story-card:nth-child(3n+2) .story-card__media--placeholder { background: var(--maroon); }
.story-card:nth-child(3n+3) .story-card__media--placeholder { background: var(--rose); }

.story-card__body { padding: 16px 18px 20px; }

.story-card__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--ink);
  margin: 7px 0 9px;
}

.story-card__meta {
  font-family: var(--font-subhead);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ─── NEWS LIST ────────────────────────────────────────────── */
.section-masthead {
  padding-block: clamp(36px, 5vw, 72px);
  border-bottom: 1.5px solid var(--ink);
}

.section-masthead__kicker {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}

.section-masthead__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 128px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-masthead__desc {
  font-family: var(--font-subhead);
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 52ch;
}

.news-list {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  padding-block: 22px;
  border-bottom: 1px solid rgba(62,2,18,0.15);
  transition: background 0.12s;
}
.news-item:first-child { border-top: 1px solid rgba(62,2,18,0.15); }
.news-item:hover { background: rgba(0,7,90,0.07); }

.news-item__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mist);
}
.news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item__media--placeholder {
  width: 100%;
  height: 100%;
  background: var(--mist);
}
.news-item:nth-child(3n+1) .news-item__media--placeholder { background: var(--navy); }
.news-item:nth-child(3n+2) .news-item__media--placeholder { background: var(--maroon); }
.news-item:nth-child(3n+3) .news-item__media--placeholder { background: var(--rose); }

.news-item__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--ink);
  margin: 6px 0 9px;
}

.news-item__deck {
  font-family: var(--font-subhead);
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 8px;
}

.news-item__meta {
  font-family: var(--font-subhead);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ─── ISSUES SHELF (homepage) ──────────────────────────────── */
.issues {
  padding-block: clamp(40px, 6vw, 76px);
}

.issues__shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mist);
  outline: 1px solid var(--mist);
}

.issue-card {
  background: var(--cream);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 rgba(62,2,18,0);
  transition: background 0.15s, transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease, z-index 0.3s;
}
.issue-card:hover {
  background: var(--blush);
  transform: translateY(-8px) scale(1.015);
  z-index: 2;
}
.issue-card:nth-child(4n+1):hover { box-shadow: 0 26px 40px -16px rgba(0,7,90,0.45); }
.issue-card:nth-child(4n+2):hover { box-shadow: 0 26px 40px -16px rgba(62,2,18,0.45); }
.issue-card:nth-child(4n+3):hover { box-shadow: 0 26px 40px -16px rgba(187,133,136,0.55); }
.issue-card:nth-child(4n+4):hover { box-shadow: 0 26px 40px -16px rgba(77,77,7,0.45); }

.issue-card__cover {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--mist);
}
.issue-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.issue-card:hover .issue-card__cover img { transform: scale(1.04); }

.issue-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-deep);
}
.issue-card__placeholder span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--sky);
}

.issue-card__label {
  font-family: var(--font-subhead);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cobalt);
}

.issue-card__cta {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-top: auto;
  transition: color 0.12s;
}
.issue-card:nth-child(4n+1):hover .issue-card__cta { color: var(--cobalt); }
.issue-card:nth-child(4n+2):hover .issue-card__cta { color: var(--maroon); }
.issue-card:nth-child(4n+3):hover .issue-card__cta { color: var(--cream); }
.issue-card:nth-child(4n+4):hover .issue-card__cta { color: var(--olive); }

/* ─── EVENTS HOME (index) ───────────────────────────────────── */
.events-home {
  padding-block: clamp(40px, 6vw, 76px);
  /* background block using a sibling trick via outline */
  position: relative;
}
.events-home::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--sage-deep);
  z-index: 0;
}
.events-home > * { position: relative; z-index: 1; }

.events-home .section-head {
  border-top-color: rgba(250,238,206,0.25);
  border-bottom-color: rgba(250,238,206,0.15);
}
.events-home .section-head__title { color: var(--cream); }
.events-home .section-head__link { color: var(--sky); }
.events-home .section-head__link:hover { color: var(--white); }

.events-home__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  background: rgba(250,238,206,0.12);
  outline: 2px solid rgba(250,238,206,0.12);
}

.event-block {
  background: var(--sage-deep);
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), background 0.3s ease, box-shadow 0.3s ease;
}
.event-block--lead { background: var(--sky); }

.event-block:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 2;
}
.event-block--lead:hover {
  background: var(--rose);
  box-shadow: 0 28px 42px -16px rgba(62,2,18,0.55);
}
.event-block:nth-child(2):hover {
  background: var(--maroon);
  box-shadow: 0 28px 42px -16px rgba(187,133,136,0.5);
}
.event-block:nth-child(3):hover {
  background: var(--cobalt);
  box-shadow: 0 28px 42px -16px rgba(0,7,90,0.5);
}

.event-block__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: normal;
  color: var(--white);
  margin-bottom: 14px;
}

.event-block .eyebrow {
  color: rgba(250,238,206,0.55);
  margin-bottom: 14px;
  display: block;
}

/* ─── COLLECTION PAGES (People / Places / Things) ──────────── */
.collection-hero {
  background: var(--ink);
  padding-block: clamp(52px, 9vw, 108px);
  border-bottom: 1.5px solid var(--ink);
}

.collection-hero__label {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.collection-hero__title {
  font-family: var(--font-display);
  font-size: clamp(68px, 13vw, 148px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--cream);
  margin-bottom: 22px;
}

.collection-hero__desc {
  font-family: var(--font-subhead);
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.55;
  color: rgba(250,238,206,0.7);
  max-width: 52ch;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mist);
  outline: 1px solid var(--mist);
  padding-block: clamp(24px, 4vw, 48px);
}

.collection-card {
  background: var(--cream);
  padding: 0;
  transition: background 0.15s;
}
.collection-card:hover { background: var(--white); }
.collection-card a { display: block; padding: 0 0 20px; }

.collection-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mist);
  margin-bottom: 14px;
}
.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.collection-card:hover .collection-card__media img { transform: scale(1.05); }

.collection-card__media--placeholder {
  width: 100%;
  height: 100%;
  background: var(--mist);
}
.collection-card:nth-child(3n+1) .collection-card__media--placeholder { background: var(--navy); }
.collection-card:nth-child(3n+2) .collection-card__media--placeholder { background: var(--maroon); }
.collection-card:nth-child(3n+3) .collection-card__media--placeholder { background: var(--rose); }

.collection-card .eyebrow { padding: 0 16px; }

.collection-card__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--ink);
  margin: 6px 0 8px;
  padding: 0 16px;
}

.collection-card__meta {
  font-family: var(--font-subhead);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0 16px;
}

/* ─── ARCHIVE (tag.hbs, author.hbs) ────────────────────────── */
.archive-header {
  padding-block: clamp(40px, 6vw, 76px);
  border-bottom: 1.5px solid var(--ink);
}

.archive-header .eyebrow { margin-bottom: 10px; }

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 108px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 14px;
}

.archive-description {
  font-family: var(--font-subhead);
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 52ch;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mist);
  outline: 1px solid var(--mist);
  padding-block: clamp(24px, 4vw, 48px);
}

/* ─── PRINT SHELF ──────────────────────────────────────────── */
.print-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
  padding-block: clamp(20px, 3vw, 36px) clamp(12px, 2vw, 20px);
  margin-bottom: clamp(48px, 8vw, 96px);
}

.print-item {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(62,2,18,0.12);
  box-shadow: 0 8px 18px -14px rgba(62,2,18,0.3);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.print-item::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--olive);
  transition: height 0.22s ease;
}
.print-item:nth-child(4n+1)::before { background: var(--cobalt); }
.print-item:nth-child(4n+2)::before { background: var(--maroon); }
.print-item:nth-child(4n+3)::before { background: var(--rose); }
.print-item:nth-child(4n+4)::before { background: var(--sky); }

.print-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: transparent;
}
.print-item:hover::before { height: 9px; }
.print-item:nth-child(4n+1):hover { box-shadow: 0 28px 42px -16px rgba(0,7,90,0.5); }
.print-item:nth-child(4n+2):hover { box-shadow: 0 28px 42px -16px rgba(62,2,18,0.5); }
.print-item:nth-child(4n+3):hover { box-shadow: 0 28px 42px -16px rgba(187,133,136,0.6); }
.print-item:nth-child(4n+4):hover { box-shadow: 0 28px 42px -16px rgba(77,77,7,0.5); }

.print-item__cover {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--mist);
}
.print-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.print-item:hover .print-item__cover img { transform: scale(1.04); }

.print-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive-deep);
}
.print-item__placeholder span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--cream);
}

.print-item__info {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.print-item__label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--maroon);
}

.print-item__cta {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-top: auto;
  transition: color 0.12s;
}
.print-item:hover .print-item__cta { color: var(--blush); }
.print-item:nth-child(4n+1):hover .print-item__cta { color: var(--cobalt); }
.print-item:nth-child(4n+2):hover .print-item__cta { color: var(--maroon); }
.print-item:nth-child(4n+3):hover .print-item__cta { color: var(--rose); }
.print-item:nth-child(4n+4):hover .print-item__cta { color: var(--olive); }

/* ─── EVENTS LIST (events.hbs) ─────────────────────────────── */
.events-list {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.event-item {
  padding: 28px var(--gap);
  margin-inline: calc(var(--gap) * -1);
  border-radius: 6px;
  border-bottom: 1px solid rgba(62,2,18,0.15);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease, background 0.3s ease;
}
.event-item:first-child { border-top: 1px solid rgba(62,2,18,0.15); }

.event-item:hover {
  transform: translateX(8px) translateY(-3px);
}
.event-item:nth-child(3n+1):hover {
  background: rgba(0,7,90,0.06);
  box-shadow: 0 22px 36px -20px rgba(0,7,90,0.4);
}
.event-item:nth-child(3n+2):hover {
  background: rgba(62,2,18,0.06);
  box-shadow: 0 22px 36px -20px rgba(62,2,18,0.4);
}
.event-item:nth-child(3n+3):hover {
  background: rgba(187,133,136,0.14);
  box-shadow: 0 22px 36px -20px rgba(187,133,136,0.5);
}

.event-item__date {
  font-family: var(--font-subhead);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.event-item:nth-child(3n+1):hover .event-item__date { color: var(--cobalt); }
.event-item:nth-child(3n+2):hover .event-item__date { color: var(--rose); }
.event-item:nth-child(3n+3):hover .event-item__date { color: var(--maroon); }

.event-item__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: normal;
  color: var(--cobalt);
  margin-bottom: 12px;
}

/* ─── POST (single article) ─────────────────────────────────── */
.post-header {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--gap);
  padding-block: clamp(36px, 5.5vw, 72px);
  border-bottom: 1px solid rgba(62,2,18,0.15);
}

.post-header__tag {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 18px;
  transition: color 0.12s;
}
.post-header__tag:hover { color: var(--ink); }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 18px;
}

.post-deck {
  font-family: var(--font-subhead);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 22px;
  font-weight: 400;
}

.post-byline {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.post-feature-image {
  max-height: 580px;
  overflow: hidden;
}
.post-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gap);
  padding-block: clamp(36px, 5.5vw, 72px);
}

/* ─── GH-CONTENT (Ghost body styles) ─────────────────────── */
.gh-content > * + * { margin-top: 1.4em; }

.gh-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: normal;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.gh-content h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}

.gh-content h4 {
  font-family: var(--font-subhead);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 1.6em;
}

.gh-content p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.gh-content a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.gh-content a:hover { color: var(--ink); }

.gh-content strong { font-weight: 700; color: var(--ink); }
.gh-content em { font-style: italic; }

.gh-content blockquote {
  border-left: 3px solid var(--blush);
  padding: 8px 0 8px 24px;
  margin: 2.5em 0;
  font-family: var(--font-accent);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}
.gh-content blockquote p { font-size: inherit; line-height: inherit; margin: 0; }

.gh-content ul { padding-left: 1.5em; list-style: disc; }
.gh-content ol { padding-left: 1.5em; list-style: decimal; }
.gh-content li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0.4em;
}

.gh-content img {
  width: 100%;
  height: auto;
}

.gh-content figure { margin: 2.5em 0; }
.gh-content figcaption {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
  margin-top: 10px;
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--mist);
  margin: 3em 0;
}

.gh-content pre {
  background: var(--ink);
  color: var(--cream);
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.gh-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(62,2,18,0.08);
  padding: 2px 5px;
}
.gh-content pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* ─── GHOST CARD WIDTH BREAKOUTS ───────────────────────────── */
/* .post-content is max-width 720px; wide/full cards break out */
.post-content { overflow-x: visible; }

.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1100px;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ─── GHOST CARD COMPONENTS ─────────────────────────────────── */

/* Image card */
.kg-image-card { margin: 2.5em 0; }
.kg-image-card img { width: 100%; height: auto; }

/* Gallery */
.kg-gallery-container { margin: 2.5em 0; }
.kg-gallery-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.kg-gallery-image { flex: 1; overflow: hidden; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Video */
.kg-video-card { margin: 2.5em 0; }
.kg-video-card video { width: 100%; }

/* Embed */
.kg-embed-card {
  margin: 2.5em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kg-embed-card iframe { width: 100%; border: none; }

/* Bookmark */
.kg-bookmark-card { margin: 2.5em 0; }
.kg-bookmark-container {
  display: flex;
  border: 1.5px solid var(--ink); border-radius: 2px;
  min-height: 120px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.14s;
}
.kg-bookmark-container:hover { background: rgba(0,7,90,0.07); }
.kg-bookmark-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kg-bookmark-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.kg-bookmark-description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.kg-bookmark-icon { width: 16px; height: 16px; object-fit: contain; }
.kg-bookmark-publisher {
  font-family: var(--font-subhead);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.kg-bookmark-thumbnail { width: 200px; flex-shrink: 0; overflow: hidden; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Toggle */
.kg-toggle-card { margin: 2em 0; border: 1px solid rgba(62,2,18,0.15); padding: 16px 20px; }
.kg-toggle-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.kg-toggle-heading-text { font-weight: 700; font-size: 16px; color: var(--ink); }
.kg-toggle-content { margin-top: 12px; }
.kg-toggle-content p { font-size: 16px; line-height: 1.7; color: var(--slate); }

/* Button */
.kg-button-card { margin: 2em 0; text-align: center; }
.kg-button-card a {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1.5px solid var(--ink); border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
}
.kg-button-card a:hover { background: var(--ink); color: var(--cream); }

/* Callout */
.kg-callout-card {
  margin: 2em 0;
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(62,2,18,0.05);
  border-left: 4px solid var(--ink);
}
.kg-callout-emoji { font-size: 20px; flex-shrink: 0; line-height: 1.6; }
.kg-callout-text { font-size: 16px; line-height: 1.7; color: var(--ink); }
.kg-callout-text p { margin: 0; font-size: inherit; line-height: inherit; }

/* Header card */
.kg-header-card {
  margin: 2em 0;
  padding: clamp(48px, 8vw, 96px) var(--gap);
  text-align: center;
  background: var(--sage-deep);
  color: var(--cream);
}
.kg-header-card h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--cream);
  margin: 0 0 16px;
}
.kg-header-card p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(250,238,206,0.75);
  max-width: 52ch;
  margin: 0 auto 24px;
}

/* Product card */
.kg-product-card { margin: 2em 0; border: 1.5px solid var(--ink); border-radius: 2px; padding: 24px; }
.kg-product-card-image { margin-bottom: 16px; }
.kg-product-card-image img { width: 100%; height: auto; }
.kg-product-card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 8px;
}
.kg-product-card-description { font-size: 15px; line-height: 1.65; color: var(--slate); margin-bottom: 16px; }
.kg-product-card-button {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  transition: background 0.14s;
}
.kg-product-card-button:hover { background: var(--cobalt); }

/* Audio card */
.kg-audio-card { margin: 2em 0; border: 1.5px solid var(--ink); border-radius: 2px; padding: 20px; }

/* File card */
.kg-file-card { margin: 2em 0; border: 1.5px solid var(--ink); border-radius: 2px; }
.kg-file-card-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.14s;
}
.kg-file-card-container:hover { background: rgba(0,7,90,0.07); }
.kg-file-card-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.kg-file-card-filename {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-top: 4px;
}
.kg-file-card-filesize { font-family: var(--font-mono); font-size: 10px; color: var(--slate); white-space: nowrap; }

/* ─── POST FOOTER ───────────────────────────────────────────── */
.post-footer {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gap);
  padding-block: clamp(36px, 5.5vw, 72px);
  text-align: center;
}

.post-footer__line {
  font-family: var(--font-accent);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  color: var(--ink);
  margin-bottom: 24px;
}

/* ─── PAGE (static pages) ───────────────────────────────────── */
.page-header {
  padding-block: clamp(40px, 6vw, 76px);
  border-bottom: 1.5px solid var(--ink);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 108px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
}

/* ─── ROOT DIVIDER PARTIAL ──────────────────────────────────── */
.root-rule {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 40px 0;
}
.root-rule--inverted { border-color: rgba(250,238,206,0.2); }

/* ─── PAGINATION ────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: clamp(24px, 4vw, 52px) var(--gap);
  border-top: 1px solid rgba(62,2,18,0.15);
  max-width: var(--max-w);
  margin-inline: auto;
}

.pagination .older-posts,
.pagination .newer-posts {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1.5px solid var(--ink); border-radius: 2px;
  transition: background 0.12s, color 0.12s;
}
.pagination .older-posts:hover,
.pagination .newer-posts:hover {
  background: var(--ink);
  color: var(--cream);
}
.pagination .page-number {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ─── SITE FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--sage-deep);
  color: var(--cream);
  border-top: 1.5px solid var(--ink);
  margin-top: clamp(52px, 9vw, 104px);
}

.site-footer__manifesto {
  padding-block: clamp(64px, 10vw, 128px);
  border-bottom: 1px solid rgba(250,238,206,0.12);
}

.site-footer__kicker {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 18px;
}

.site-footer__line {
  font-family: var(--font-accent);
  font-size: clamp(45px, 6.5vw, 65px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--cream);
  margin-bottom: 36px;
  max-width: 18ch;
}

.site-footer__cta-sub {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,238,206,0.45);
  margin-top: 13px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-footer__nav li a {
  font-family: var(--font-subhead);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,238,206,0.6);
  padding: 4px 14px;
  transition: color 0.12s;
}
.site-footer__nav li:first-child a { padding-left: 0; }
.site-footer__nav li a:hover { color: var(--cream); }

.site-footer__copyright {
  font-family: var(--font-subhead);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  color: rgba(250,238,206,0.35);
}

/* ─── FOCUS STYLES (accessibility) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

/* ─── RESPONSIVE — TABLET ───────────────────────────────────── */
@media (max-width: 920px) {
  .latest__grid,
  .issues__shelf,
  .archive-grid,
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .print-shelf { grid-template-columns: repeat(2, 1fr); }
  .events-home__grid {
    grid-template-columns: 1fr 1fr;
  }
  .events-home__grid .event-block:last-child { grid-column: 1 / -1; }
  .news-item { grid-template-columns: 100px 1fr; gap: 16px; }
}

/* ─── RESPONSIVE — MOBILE ───────────────────────────────────── */
@media (max-width: 620px) {
  .site-header__masthead { grid-template-columns: auto 1fr auto; }
  .search-trigger__label { display: none; }

  .site-nav { display: none; }
  .site-nav.is-open {
    display: block;
    border-bottom: 1px solid rgba(62,2,18,0.18);
  }
  .site-nav__list {
    flex-direction: column;
    padding-inline: 0;
  }
  .site-nav__item a {
    border-right: none;
    border-left: none !important;
    border-bottom: 1px solid rgba(62,2,18,0.12);
    text-align: left;
    padding: 12px var(--gap);
  }

  .nav-toggle { display: flex; }

  .latest__grid,
  .issues__shelf,
  .print-shelf,
  .archive-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .events-home__grid { grid-template-columns: 1fr; }
  .events-home__grid .event-block:last-child { grid-column: auto; }

  .news-item { grid-template-columns: 80px 1fr; gap: 12px; }

  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__nav li a { padding-left: 0; padding-right: 10px; }

  .hero { height: clamp(420px, 68vh, 720px); }
}

/* ─── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---- Custom starburst cursor ----------------------------------------- */
/* Uses the Transplant starburst mark (assets/images/cursor-icon.png),
   a 40x40 cobalt PNG with a transparent ground. Hotspot centered at 20 20. */
*, html, body, a, button, [role="button"], label, input, select, textarea {
  cursor: url("../images/cursor-icon.png") 20 20, auto;
}

/* ==========================================================================
   Koenig editor content widths — required by Ghost theme validator
   ========================================================================== */

/* These classes MUST exist for Ghost GScan to pass */
.kg-width-wide {
  grid-column: wide-start / wide-end;
}
.kg-width-full {
  grid-column: full-start / full-end;
}

/* Actual breakout implementation inside post content */
.gh-content .kg-width-wide,
.gh-content .kg-width-full {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.gh-content .kg-width-wide {
  width: min(1000px, 100vw);
}
.gh-content .kg-width-full {
  width: 100vw;
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
  width: 100%;
  display: block;
}

/* Card base styles Ghost also checks for */
.kg-card { margin: 2em 0; }
.kg-image-card img { width: 100%; }
.kg-gallery-card + .kg-gallery-card { margin-top: 0.75em; }
.kg-gallery-image { flex: 1 1 auto; }
.kg-gallery-row { display: flex; gap: 0.75em; }
