:root {
  --paper: #f7f1e6;
  --paper-light: #fffaf1;
  --ink: #17313e;
  --ink-deep: #071116;
  --ochre: #eca63d;
  --rust: #be5849;
  --blue: #627c9e;
  --edition-blue: #24435d; /* Dark enough for the small amber issue label (4.96:1). */
  --sage: #9eaa7b;
  --rule: rgba(23, 49, 62, .2);
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { max-width: 100%; }
a { color: inherit; }

@keyframes spring-down {
  0% { opacity: 0; transform: translateY(-28px) scale(.97); }
  62% { opacity: 1; transform: translateY(5px) scale(1.01); }
  82% { transform: translateY(-2px) scale(1); }
  100% { opacity: 1; transform: none; }
}
@keyframes spring-up {
  0% { opacity: 0; transform: translateY(42px) scale(.95); }
  58% { opacity: 1; transform: translateY(-8px) scale(1.015); }
  78% { transform: translateY(3px) scale(.995); }
  100% { opacity: 1; transform: none; }
}
@keyframes spring-photo {
  0% { opacity: 0; transform: translate(70px, 34px) rotate(8deg) scale(.82); }
  58% { opacity: 1; transform: translate(-8px, -5px) rotate(-1.5deg) scale(1.025); }
  78% { transform: translate(3px, 2px) rotate(2.4deg) scale(.995); }
  100% { opacity: 1; transform: rotate(1.5deg); }
}
@keyframes strip-pop {
  0% { opacity: 0; transform: scaleY(.35); transform-origin: top; }
  70% { opacity: 1; transform: scaleY(1.08); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
@keyframes strip-sheen {
  0% { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(330%) skewX(-18deg); }
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  background: var(--ink-deep);
  color: white;
  font: 800 .82rem/1 Arial, sans-serif;
}
.skip-link:focus { transform: translateY(0); }

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: 0 max(4vw, 1rem);
  border-bottom: 1px solid var(--rule);
  /* Keep the blurred backdrop off the header itself. Backdrop filters make
     fixed descendants (the dropdown and scrim) relative to the header. */
  background: transparent;
}
.mast::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(247, 241, 230, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mast-inner {
  width: min(1240px, 100%);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  text-decoration: none;
}
.mast > .brand {
  padding: 1rem 0;
  font: 900 1.45rem/1 Arial, sans-serif;
  letter-spacing: .08em;
}
.brand-mark {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-light);
  font: 700 1.15rem/1 Georgia, serif;
}
.brand-mark::after {
  content: '';
  position: absolute;
  right: -2px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ochre);
}
.brand-name { display: grid; line-height: 1; }
.brand-name strong {
  font: 900 .78rem/1.2 Arial, sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.brand-name em {
  color: var(--rust);
  font: italic 1.25rem/1 Georgia, serif;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  border: 0;
  border-radius: 999px;
  padding: .8rem 1rem .8rem 1.15rem;
  background: var(--ink);
  color: var(--paper-light);
  font: 900 .72rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 9px 22px rgba(23, 49, 62, .15);
  cursor: pointer;
  transition: transform .28s cubic-bezier(.18, .89, .32, 1.35), background .2s ease;
}
.menu-toggle:hover { transform: translateY(-2px) scale(1.025); background: var(--rust); }
.menu-toggle:focus-visible,
.site-menu a:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.menu-toggle i { width: 20px; display: grid; gap: 4px; }
.menu-toggle i b {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] i b:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i b:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i b:last-child { transform: translateY(-6px) rotate(-45deg); }
.menu-scrim {
  position: fixed;
  z-index: 1;
  inset: 76px 0 0;
  background: rgba(7, 17, 22, .58);
  opacity: 0;
  transition: opacity .25s ease;
}
.site-menu {
  position: fixed;
  z-index: 2;
  top: 76px;
  right: 0;
  left: 0;
  max-height: calc(100dvh - 76px);
  overflow: auto;
  border-top: 1px solid rgba(255, 250, 241, .12);
  background:
    radial-gradient(circle at 78% 4%, rgba(98, 124, 158, .42), transparent 31%),
    radial-gradient(circle at 3% 96%, rgba(190, 88, 73, .3), transparent 29%),
    var(--ink-deep);
  color: var(--paper-light);
  opacity: 0;
  transform: translateY(-24px) scaleY(.96);
  transform-origin: top;
  pointer-events: none;
  box-shadow: 0 28px 60px rgba(7, 17, 22, .35);
  transition: opacity .22s ease, transform .42s cubic-bezier(.18, .89, .32, 1.15);
}
.menu-open { overflow: hidden; }
.menu-open .menu-scrim { opacity: 1; }
.menu-open .site-menu { opacity: 1; transform: none; pointer-events: auto; }
.site-menu-inner {
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: stretch;
}
.menu-feature,
.menu-archive {
  position: relative;
  display: flex;
  min-height: 245px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .4s cubic-bezier(.18, .89, .32, 1.35), box-shadow .25s ease;
}
.menu-feature:hover,
.menu-archive:hover { transform: translateY(-7px) rotate(-.35deg); box-shadow: 0 22px 44px rgba(0, 0, 0, .3); }
.menu-feature {
  grid-column: span 4;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  flex-direction: column;
  justify-content: space-between;
  background: var(--ochre);
  color: var(--ink-deep);
}
.menu-feature::after {
  content: '';
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 155px;
  height: 155px;
  border: 30px solid rgba(255, 250, 241, .28);
  border-radius: 50%;
}
.menu-feature small,
.menu-archive small {
  font: 900 .67rem/1.2 Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.menu-feature strong,
.menu-archive strong { position: relative; z-index: 1; display: block; font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 500; line-height: .94; }
.menu-feature span { position: relative; z-index: 1; font: 900 .75rem/1 Arial, sans-serif; text-transform: uppercase; }
.menu-feature span b { display: inline-block; margin-left: .45rem; transition: transform .2s ease; }
.menu-feature:hover span b { transform: translateX(5px); }
.menu-categories { grid-column: span 5; margin: 0; }
.menu-categories > #menu-categories-heading {
  margin: 0 0 .7rem;
  color: var(--ochre);
  font: 900 .68rem/1 Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.menu-categories > .menu-categories-note { margin: 0 0 1.1rem; color: rgba(255, 250, 241, .78); font: 400 .86rem/1.5 Arial, sans-serif; letter-spacing: normal; text-transform: none; max-width: 42ch; }
.menu-categories > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 250, 241, .2); }
.menu-categories a {
  padding: .85rem .25rem;
  border-bottom: 1px solid rgba(255, 250, 241, .2);
  color: rgba(255, 250, 241, .9);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  text-decoration: none;
  transition: color .2s ease, padding-left .25s ease;
}
.menu-categories a:nth-child(odd) { margin-right: 1rem; }
.menu-categories a:hover { padding-left: .55rem; color: var(--ochre); }
.menu-categories span { display: block; padding: 1rem 0; color: rgba(255, 250, 241, .6); }
.menu-archive {
  grid-column: span 3;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--rust);
  color: var(--paper-light);
}
.menu-archive span { display: grid; gap: .4rem; }
.menu-archive b { color: var(--ochre); font: 400 3.2rem/1 Georgia, serif; }
.menu-author {
  grid-column: 1 / -1;
  justify-self: end;
  color: rgba(255, 250, 241, .64);
  font: 800 .68rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-underline-offset: .3em;
  text-transform: uppercase;
}
.menu-empty { grid-column: span 4; margin: 0; color: rgba(255, 250, 241, .65); }
/* Keep the previous generated header tidy during the short build between source merge and generated-site publication. */
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); font: 800 .78rem/1 Arial, sans-serif; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.author-link):hover { text-decoration: underline; text-underline-offset: .3em; }
.author-link {
  border-radius: 999px;
  padding: .85rem 1.15rem;
  background: var(--ink);
  color: var(--paper-light);
  font: 800 .74rem/1 Arial, sans-serif;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 9px 22px rgba(23, 49, 62, .15);
}
/* Animating the whole mast-inner creates another fixed-position containing
   block. Animate only the brand, never an ancestor of the menu overlay. */
.home-page .mast-inner > .brand { animation: spring-down .72s cubic-bezier(.18, .89, .32, 1.35) both; }

.edition-strip {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(23, 49, 62, .14);
  background: var(--ochre);
}
.home-page .edition-strip { animation: strip-pop .58s .08s cubic-bezier(.18, .89, .32, 1.35) both; }
.home-page .edition-strip::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 241, .42), transparent);
  animation: strip-sheen 1.25s .55s ease-out both;
}
.edition-strip > div {
  width: min(1240px, 92vw);
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  font: 800 .69rem/1.1 Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.edition-strip > div::-webkit-scrollbar { display: none; }
.edition-strip a { font-weight: 900; text-underline-offset: .2em; }
.strip-label { padding: .35rem .55rem; background: var(--ink); color: var(--paper-light); }

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--rust);
  font: 900 .71rem/1.2 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }

.home-lead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 13%, rgba(98, 124, 158, .58), transparent 32%),
    radial-gradient(circle at 7% 92%, rgba(190, 88, 73, .34), transparent 30%),
    var(--ink);
  color: var(--paper-light);
}
.home-lead::before {
  content: '';
  position: absolute;
  top: 12%;
  right: -8%;
  width: clamp(260px, 36vw, 560px);
  aspect-ratio: 1;
  border: clamp(28px, 5vw, 72px) solid rgba(236, 166, 61, .11);
  border-radius: 50%;
}
.home-lead-inner {
  width: min(1240px, 92vw);
  min-height: clamp(530px, 70vw, 690px);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.home-lead-copy { position: relative; z-index: 2; }
.home-lead-copy > * { animation: spring-up .78s cubic-bezier(.18, .89, .32, 1.28) both; }
.home-lead-copy > :nth-child(1) { animation-delay: .13s; }
.home-lead-copy > :nth-child(2) { animation-delay: .2s; }
.home-lead-copy > :nth-child(3) { animation-delay: .27s; }
.home-lead-copy > :nth-child(4) { animation-delay: .34s; }
.home-lead-copy > :nth-child(5) { animation-delay: .41s; }
.home-lead .eyebrow { color: var(--ochre); }
.home-lead h1 {
  max-width: 720px;
  margin: .25em 0 .28em;
  font-size: clamp(3.5rem, 7.25vw, 6.9rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.055em;
}
.home-lead h1 a { text-decoration: none; }
.home-lead h1 a:hover { color: var(--ochre); }
.standfirst {
  max-height: 6.25em;
  overflow: hidden;
  max-width: 610px;
  margin: 0 0 1.3rem;
  color: rgba(255, 250, 241, .82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.lead-meta, .card-date, .issue-dates {
  font: 700 .73rem/1.45 Arial, sans-serif;
  letter-spacing: .035em;
}
.lead-meta { color: rgba(255, 250, 241, .65); }
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: .65rem;
  border-radius: 999px;
  padding: .95rem 1.25rem;
  background: var(--ochre);
  color: var(--ink-deep);
  font: 900 .77rem/1 Arial, sans-serif;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.18, .89, .32, 1.45), box-shadow .25s ease;
}
.story-link:hover { transform: translateY(-4px) scale(1.035); box-shadow: 0 14px 30px rgba(7, 17, 22, .32); }
.story-link span { transition: transform .2s ease; }
.story-link:hover span { transform: translateX(4px); }
.home-lead-image {
  position: relative;
  display: block;
  transform: rotate(1.5deg);
  padding: .75rem .75rem 2.2rem;
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 22px 28px 0 rgba(236, 166, 61, .22);
  animation: spring-photo 1s .18s cubic-bezier(.18, .89, .32, 1.28) both;
  transition: box-shadow .35s ease;
}
.home-lead-image:hover { box-shadow: 30px 36px 0 rgba(236, 166, 61, .34); }
.home-lead-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.home-lead-image > span {
  position: absolute;
  z-index: 2;
  top: -16px;
  left: 22px;
  transform: rotate(-3deg);
  padding: .6rem .85rem;
  background: var(--ochre);
  font: 900 .69rem/1 Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-stories { width: min(1240px, 92vw); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.section-heading { margin-bottom: 2.5rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.35rem; }
.section-heading h2 {
  margin: .2em 0 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.04em;
}
.home-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 2.5vw, 2.3rem); }
.home-card {
  --card-bg: var(--paper-light);
  --card-fg: var(--ink);
  --card-accent: var(--rust);
  grid-column: span 4;
  min-width: 0;
  border-top: 5px solid var(--blue);
  color: var(--card-fg);
}
.home-card--feature { --card-bg: var(--rust); --card-fg: var(--paper-light); --card-accent: var(--ochre); grid-column: span 7; border-color: var(--ochre); }
.home-card:nth-child(2) { grid-column: span 5; border-color: var(--sage); }
.home-card:nth-child(5) { --card-bg: var(--blue); --card-fg: var(--paper-light); --card-accent: var(--ochre); border-color: var(--ochre); }
.home-card:nth-child(8) { --card-bg: var(--ochre); --card-fg: var(--ink); --card-accent: var(--rust); border-color: var(--rust); }
.home-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(23, 49, 62, 0);
  transition: transform .46s cubic-bezier(.18, .89, .32, 1.35), box-shadow .3s ease;
}
.home-card > a:hover { transform: translateY(-9px) rotate(-.35deg) scale(1.012); box-shadow: 0 22px 40px rgba(23, 49, 62, .2); }
.home-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.home-card--feature img { aspect-ratio: 16 / 8.6; }
.home-card > a > div { flex: 1; display: flex; flex-direction: column; padding: clamp(1rem, 2.5vw, 1.6rem); }
.home-card h2 { margin: .3em 0 .45em; font-size: clamp(1.55rem, 2.5vw, 2.35rem); font-weight: 500; line-height: 1; letter-spacing: -.025em; }
.home-card--feature h2 { font-size: clamp(2.2rem, 4.3vw, 4rem); }
.home-card h2, .home-card img { transition: transform .22s ease, color .22s ease; }
.home-card a:hover h2 { color: var(--card-accent); }
.home-card a:hover img { transform: scale(1.012); }
.card-excerpt {
  max-height: 4.6em;
  overflow: hidden;
  margin: 0 0 1.1rem;
  color: inherit;
  line-height: 1.52;
  opacity: .82;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}
.home-card--feature .card-excerpt { max-height: 6.1em; }
.card-date { margin-top: auto; color: inherit; opacity: .66; }
.card-read { margin-top: .7rem; font: 900 .73rem/1 Arial, sans-serif; letter-spacing: .045em; text-transform: uppercase; }

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(48px) scale(.955);
}
.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity .55s ease var(--reveal-delay, 0ms),
    transform .9s cubic-bezier(.16, 1.32, .34, 1) var(--reveal-delay, 0ms);
}

.issue-shelf { padding: 0 0 clamp(4rem, 8vw, 8rem); }
.issue-shelf > a {
  width: min(1240px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--blue);
  color: var(--paper-light);
  text-decoration: none;
  box-shadow: 16px 18px 0 var(--ochre);
  transition: transform .45s cubic-bezier(.18, .89, .32, 1.35), box-shadow .3s ease;
}
.issue-shelf > a:hover { transform: translate(-6px, -7px) rotate(-.25deg); box-shadow: 24px 28px 0 var(--ochre); }
.issue-shelf span { display: grid; gap: .25rem; }
.issue-shelf small, .issue-shelf em { font: 800 .7rem/1.3 Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.issue-shelf em { color: rgba(255, 250, 241, .68); font-style: normal; }
.issue-shelf strong { font-size: clamp(2rem, 4.5vw, 4.4rem); font-weight: 500; line-height: 1; }
.issue-shelf b { color: var(--ochre); font: 400 clamp(2.5rem, 6vw, 6rem)/1 Georgia, serif; }

.wrap, .story { width: min(980px, 90vw); margin: 0 auto; }
.issue-intro { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.issue-intro > h1 { margin: .2em 0 .15em; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 500; line-height: .9; letter-spacing: -.045em; }
.issue-dates { margin-bottom: 2.2rem; color: rgba(23, 49, 62, .65); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; padding: 1rem 0 0; }
.card { --card-bg: var(--paper-light); display: block; overflow: hidden; border-top: 5px solid var(--blue); background: var(--card-bg); color: inherit; text-decoration: none; transition: transform .4s cubic-bezier(.18, .89, .32, 1.3), box-shadow .3s ease; }
.card:hover { transform: translateY(-7px) rotate(-.25deg); box-shadow: 0 18px 36px rgba(23, 49, 62, .18); }
.card:nth-child(3n + 2) { border-color: var(--rust); }
.card:nth-child(3n) { border-color: var(--ochre); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card > div { padding: 1.2rem; }
.card h2 { margin: .28em 0 .5em; font-size: 1.75rem; font-weight: 500; line-height: 1.05; }
.card-date { color: rgba(23, 49, 62, .62); }

/* On section and issue grids, fallback artwork is a small editorial accent.
   Only actual article photographs keep the full-width card image. */
.card--illustrated .illustration-copy { min-width: 0; }
.card--illustrated .eyebrow,
.card--illustrated h2 { overflow-wrap: anywhere; }
.card--illustrated .card-excerpt { max-height: 6em; }
.card--illustrated img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.card--badge .illustration-topline { display: grid; grid-template-columns: minmax(0, 1fr) 78px; align-items: start; gap: .8rem; }
.card--badge .illustration-badge { display: block; width: 76px; height: 76px; padding: 5px; justify-self: end; background: var(--paper); border: 1px solid rgba(23,49,62,.19); box-shadow: 4px 4px 0 rgba(236,166,61,.22); transform: rotate(3deg); }
.card--badge h2 { margin-top: .7rem; }
.card--side { display: grid; grid-template-columns: minmax(80px,112px) minmax(0,1fr); align-content: start; }
.card--side .illustration-chip { display: block; width: calc(100% - 1rem); max-width: 96px; aspect-ratio: 1; align-self: start; margin: 1.2rem 0 0 1rem; padding: 5px; background: var(--paper); border: 1px solid rgba(23,49,62,.17); box-shadow: 3px 4px 0 rgba(23,49,62,.12); }
.card--side > .illustration-copy { padding-left: .5rem; }
.card--side h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

.story { max-width: 780px; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.article-page .story > .eyebrow,
.article-page .story > h1,
.article-page .story > .meta,
.article-page .story > .hero { animation: spring-up .78s cubic-bezier(.18, .89, .32, 1.28) both; }
.article-page .story > h1 { animation-delay: .07s; }
.article-page .story > .meta { animation-delay: .14s; }
.article-page .story > .hero { animation-delay: .21s; }
.story > .eyebrow { margin-bottom: .8rem; }
.story h1 { margin: .12em 0 .22em; font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 500; line-height: .88; letter-spacing: -.05em; }
.meta { color: rgba(23, 49, 62, .62); font: 700 .76rem/1.55 Arial, sans-serif; }
.meta a { text-underline-offset: .2em; }
.hero { width: 100%; max-height: 70vh; margin: 2rem 0 2.5rem; display: block; object-fit: cover; }
.body { font-size: clamp(1.08rem, 2vw, 1.2rem); line-height: 1.68; }
.body p { margin: 0 0 1.3em; }
.body h1, .body h2, .body h3, .body h4, .body h5, .body h6 { line-height: 1.15; margin: 1.35em 0 .55em; }
.body h1 { font-size: 2.2rem; }
.body h2 { font-size: 1.8rem; }
.body h3 { font-size: 1.45rem; }
.body ul, .body ol { margin: 0 0 1.3em; padding-left: 1.6em; }
.body li { margin: .3em 0; }
.body blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.25em; border-left: 5px solid var(--ochre); color: rgba(23, 49, 62, .78); font-size: 1.2em; }
.body blockquote p { margin: .35em 0; }
.body a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.body code { border-radius: 3px; padding: .08em .24em; background: #ece4d5; font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.body pre { overflow: auto; margin: 0 0 1.3em; border: 1px solid var(--rule); padding: 1rem; background: #ece4d5; }
.body pre code { padding: 0; background: transparent; }
.body hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }

.archive-intro { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.archive-intro > h1 { margin: .18em 0 .12em; font-size: clamp(4rem, 9vw, 8rem); font-weight: 500; line-height: .86; letter-spacing: -.055em; }
.archive-lede { max-width: 560px; margin: 0 0 2.5rem; color: rgba(23, 49, 62, .7); font-size: 1.12rem; line-height: 1.55; }
.archive-list { display: grid; gap: 1.1rem; }
.archive-issue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 145px;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  border-left: 7px solid var(--ochre);
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 rgba(23, 49, 62, 0);
  transition: transform .4s cubic-bezier(.18, .89, .32, 1.3), box-shadow .25s ease, background .2s ease;
}
.archive-issue:nth-child(3n + 2) { border-color: var(--rust); }
.archive-issue:nth-child(3n) { border-color: var(--blue); }
.archive-issue:hover { transform: translateX(8px); background: white; box-shadow: -12px 14px 0 rgba(236, 166, 61, .24); }
.archive-issue > span { display: grid; gap: .25rem; }
.archive-issue small,
.archive-issue em { font: 800 .68rem/1.3 Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.archive-issue small { color: var(--rust); }
.archive-issue em { color: rgba(23, 49, 62, .58); font-style: normal; }
.archive-issue strong { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 500; line-height: 1; }
.archive-issue > b { color: var(--rust); font: 400 clamp(2.4rem, 5vw, 4.2rem)/1 Georgia, serif; }
.archive-empty { padding: 2rem; border: 1px solid var(--rule); background: var(--paper-light); }

.empty-home { width: min(1240px, 92vw); margin: 0 auto; padding: 5rem 0; font-size: 1.4rem; }
.site-footer { background: var(--ink-deep); color: rgba(255, 250, 241, .78); }
.site-footer > div { width: min(1240px, 92vw); min-height: 150px; margin: 0 auto; padding: 2.5rem 0; display: flex; align-items: center; gap: 2rem; }
.footer-brand { color: var(--paper-light); font-size: 1.25rem; text-decoration: none; }
.footer-brand em { color: var(--ochre); }
.site-footer nav { display: flex; gap: 1.4rem; margin-left: auto; font: 800 .72rem/1 Arial, sans-serif; }
.site-footer nav a { text-decoration: none; }
.site-footer small { font: .68rem/1.3 Arial, sans-serif; }

@media (max-width: 900px) {
  .site-menu-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-feature, .menu-categories, .menu-archive { grid-column: span 1; }
  .menu-categories { grid-row: span 2; }
  .menu-author { grid-column: 1 / -1; }
  .home-lead-inner { grid-template-columns: 1fr; }
  .home-lead-image { grid-row: 1; width: min(680px, 96%); margin: 0 auto; }
  .home-lead h1 { font-size: clamp(3.6rem, 12vw, 6rem); }
  .home-card, .home-card:nth-child(2) { grid-column: span 6; }
  .home-card--feature { grid-column: span 12; }
  .site-footer > div { flex-wrap: wrap; }
  .site-footer small { width: 100%; }
}

@media (max-width: 650px) {
  .mast { min-height: 66px; }
  .mast-inner { min-height: 66px; gap: .7rem; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-name strong { font-size: .62rem; }
  .brand-name em { font-size: 1rem; }
  .menu-toggle { padding: .72rem .8rem .72rem 1rem; }
  .menu-toggle span { font-size: .65rem; }
  .menu-scrim { inset: 66px 0 0; }
  .site-menu { top: 66px; max-height: calc(100dvh - 66px); }
  .site-menu-inner { width: 88vw; grid-template-columns: 1fr; padding: 1.5rem 0 2.5rem; }
  .menu-feature, .menu-categories, .menu-archive, .menu-author { grid-column: 1; }
  .menu-feature, .menu-archive { min-height: 175px; }
  .menu-categories { grid-row: auto; }
  .menu-categories > div { grid-template-columns: 1fr; }
  .menu-categories a:nth-child(odd) { margin-right: 0; }
  .menu-author { justify-self: start; }
  .site-nav { gap: .7rem; }
  .site-nav > a:not(.author-link) { display: none; }
  .author-link { padding: .75rem .9rem; font-size: .65rem; }
  .edition-strip > div { width: 92vw; }
  .home-lead-inner { width: 88vw; min-height: auto; padding: 4.5rem 0 4rem; gap: 3rem; }
  .home-lead-image { width: 94%; padding: .5rem .5rem 1.5rem; box-shadow: 14px 16px 0 rgba(236, 166, 61, .22); }
  .home-lead h1 { font-size: clamp(3rem, 16vw, 4.8rem); line-height: .88; }
  .standfirst { font-size: 1.05rem; }
  .home-grid { grid-template-columns: 1fr; }
  .home-card, .home-card:nth-child(2), .home-card--feature { grid-column: 1; }
  .home-card--feature h2 { font-size: 2.25rem; }
  .issue-shelf > a { align-items: flex-end; }
  .issue-shelf b { font-size: 3.5rem; }
  .site-footer > div { display: grid; gap: 1.4rem; }
  .site-footer nav { margin-left: 0; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* Document archive */
.document-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.25rem 0 2rem}.document-button{display:inline-flex;align-items:center;gap:.45rem;padding:.75rem 1rem;border-radius:999px;background:var(--ink,#17313e);color:#fff;text-decoration:none;font-weight:750}.document-button.secondary{background:transparent;color:inherit;border:1px solid currentColor}.archive-year{margin-top:2.25rem}.archive-year>h2{font-size:1.05rem;letter-spacing:.08em;text-transform:uppercase}.archive-issue{display:flex;justify-content:space-between;gap:1rem;align-items:center}.archive-actions{display:flex;gap:.65rem;flex-wrap:wrap;justify-content:flex-end}.archive-actions a{font-weight:750;text-decoration:none}.archive-review{display:block;margin-top:.3rem}.archive-collections{margin-top:3.5rem}.collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.collection-card{display:flex;justify-content:space-between;gap:1rem;padding:1.15rem;border:1px solid rgba(23,49,62,.18);border-radius:18px;text-decoration:none;color:inherit;background:rgba(255,255,255,.55)}.collection-card span{display:grid;gap:.25rem}.collection-card small{opacity:.68}.document-note{max-width:70ch}.document-page .collection-grid{margin-top:2rem}@media(max-width:650px){.archive-issue{align-items:flex-start;flex-direction:column}.archive-actions{justify-content:flex-start}}


/* Subscription navigation */
.menu-utility{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1rem}.menu-subscribe{display:inline-flex;align-items:center;border:1px solid rgba(236,166,61,.65);border-radius:999px;padding:.75rem 1rem;background:rgba(236,166,61,.12);color:var(--ochre);font:900 .72rem/1 Arial,sans-serif;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}.menu-subscribe:hover{background:var(--ochre);color:var(--ink-deep)}.menu-utility .menu-author{grid-column:auto;justify-self:auto}@media(max-width:650px){.menu-utility{align-items:flex-start;flex-direction:column}.menu-subscribe{width:max-content}}


/* CalendarWiz events */
.menu-utility{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;gap:1.1rem;flex-wrap:wrap;padding-bottom:.85rem;border-bottom:1px solid rgba(255,250,241,.2)}.menu-events,.menu-subscribe{color:var(--paper-light);font:900 .72rem/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;text-underline-offset:.3em}.events-intro{padding:clamp(3.5rem,8vw,7rem) 0}.events-intro>h1,.calendar-diary-intro>h1{margin:.18em 0 .16em;font-size:clamp(4rem,9vw,8rem);font-weight:500;line-height:.86;letter-spacing:-.055em}.events-lede{max-width:720px;margin-bottom:2.5rem}.events-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:clamp(1.25rem,3vw,2.5rem);align-items:start}.calendar-panel{min-width:0;padding:clamp(1.1rem,3vw,2rem);background:var(--paper-light);border-top:7px solid var(--ochre)}.calendar-heading h2,.calendar-diary-card h2,.event-contact h2{margin:.2em 0 .55em;font-size:clamp(2rem,4vw,3.6rem);font-weight:500;line-height:.95}.calendar-embed{min-height:260px;overflow:auto}.calendar-diary-card{position:sticky;top:100px;padding:clamp(1.3rem,3vw,2rem);background:var(--ink);color:var(--paper-light);box-shadow:14px 16px 0 rgba(236,166,61,.22)}.calendar-diary-card .eyebrow{color:var(--ochre)}.calendar-diary-card p:not(.eyebrow){line-height:1.55;color:rgba(255,250,241,.8)}.calendar-diary-card .story-link{margin-top:1rem}.event-contact{margin-top:clamp(3rem,6vw,5rem);padding-top:2rem;border-top:1px solid var(--rule)}.event-contact p:last-child{font-size:1.08rem;line-height:1.6}.calendar-diary-page{padding:clamp(3.5rem,8vw,7rem) 0}.calendar-diary-intro{margin-bottom:2rem}.calendar-diary-intro>p{max-width:720px;line-height:1.55}.calendar-full{width:min(1400px,96vw);min-height:900px;margin:0 auto;padding:clamp(.5rem,2vw,1.5rem);background:var(--paper-light);overflow:auto;border-top:7px solid var(--blue)}@media(max-width:800px){.events-layout{grid-template-columns:1fr}.calendar-diary-card{position:static}.calendar-full{width:96vw;min-height:760px;padding:.35rem}.menu-utility{justify-content:flex-start}.events-intro>h1,.calendar-diary-intro>h1{font-size:clamp(3.6rem,15vw,5.8rem)}}


/* About and independently maintained regular events */
.info-page{margin:0 auto;padding:clamp(3rem,7vw,6rem) clamp(1rem,4vw,2rem)}
.info-page .body{max-width:760px}
.regular-events-page{padding:clamp(3rem,7vw,6rem) 0}
.regular-events-page>h1{font-size:clamp(3.5rem,9vw,7rem);font-weight:500;letter-spacing:-.055em;line-height:.95;margin:.2em 0}
.regular-lede{max-width:760px;margin-bottom:2rem;font-size:1.13rem;line-height:1.6}
.regular-calendar-link{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:clamp(1.2rem,3vw,2rem);margin:2.25rem 0 3rem;background:var(--ink);color:var(--paper-light)}
.regular-calendar-link h2{font-size:clamp(1.7rem,3vw,2.6rem);font-weight:500;margin:.15em 0}
.regular-calendar-link p{margin:.4rem 0;line-height:1.5}
.regular-calendar-link .eyebrow{color:var(--ochre)}
.regular-calendar-link .document-button{background:var(--ochre);color:var(--ink-deep);white-space:nowrap}
.regular-group{margin:3rem 0}
.regular-group-header{margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:2px solid var(--rule)}
.regular-group-header h2{font-size:clamp(2.3rem,5vw,3.7rem);line-height:1;margin:.15em 0;font-weight:500}
.regular-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:1rem}
.regular-card{background:var(--paper-light);padding:1.35rem 1.5rem;border-top:5px solid var(--sage);min-width:0}
.regular-card:nth-child(4n+2){border-color:var(--ochre)}
.regular-card:nth-child(4n+3){border-color:var(--blue)}
.regular-card:nth-child(4n+4){border-color:var(--rust)}
.regular-card h3{font-size:1.35rem;line-height:1.18;font-weight:600;margin:.1em 0 .8em}
.regular-details p{margin:0;font-size:1rem;line-height:1.5}
@media(max-width:650px){.regular-calendar-link{flex-direction:column;align-items:flex-start}.regular-calendar-link .document-button{white-space:normal}.regular-grid{grid-template-columns:1fr}}


/* Compact editorial illustrations: normal flow ensures long headlines never overlap artwork. */
.home-card--illustrated > a { overflow: hidden; }
.home-card--illustrated > a > .illustration-copy { flex:1; display:flex; flex-direction:column; min-width:0; padding:clamp(1.1rem,2.5vw,1.6rem); }
.home-card--illustrated .eyebrow { min-width:0; overflow-wrap:anywhere; }
.home-card--illustrated .eyebrow::before { flex:0 0 22px; }
.home-card--illustrated h2 { overflow-wrap:anywhere; }
/* On magazine tiles, use the space above the date/read footer for the excerpt.
   Fade the final lines at that lower edge, not halfway through a fixed-height snippet. */
.home-card .card-excerpt {
  flex: 1 1 4.6em;
  min-height: 4.6em;
  max-height: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.6em), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 1.6em), transparent 100%);
}
.home-card--illustrated img { width:100%; height:100%; aspect-ratio:1; object-fit:cover; }
/* A: badge lives in its own header row; the heading follows underneath. */
.home-card--badge .illustration-topline { display:grid; grid-template-columns:minmax(0,1fr) 78px; align-items:start; gap:.9rem; min-height:82px; }
.home-card--badge .illustration-badge { display:block; width:76px; height:76px; padding:5px; justify-self:end; background:var(--paper); border:1px solid rgba(23,49,62,.19); box-shadow:4px 4px 0 rgba(236,166,61,.22); transform:rotate(3deg); }
.home-card--badge h2 { margin-top:.75rem; }
/* B: image is a small side chip alongside the editorial copy. */
.home-card--side > a { display:grid; grid-template-columns:clamp(86px,25%,122px) minmax(0,1fr); }
.home-card--side .illustration-chip { display:block; width:calc(100% - 1rem); max-width:100px; aspect-ratio:1; align-self:start; margin:clamp(1rem,2.5vw,1.6rem) 0 0 clamp(.6rem,1.5vw,1rem); padding:5px; background:var(--paper); border:1px solid rgba(23,49,62,.17); box-shadow:3px 4px 0 rgba(23,49,62,.12); }
.home-card--side > a > .illustration-copy { padding-left:clamp(.65rem,1.5vw,1.15rem); }
.home-card--side h2 { font-size:clamp(1.45rem,2.3vw,2.05rem); }
.home-card--illustrated.home-card--feature h2 { font-size:clamp(2.1rem,3.7vw,3.45rem); }
/* Illustrated lead: text remains dominant; actual photo leads are unaffected. */
.home-lead[data-illustrated] .home-lead-inner { min-height:440px; padding:clamp(3.5rem,6vw,5rem) 0; grid-template-columns:minmax(0,1fr) minmax(150px,250px); }
.home-lead[data-illustrated] h1 { font-size:clamp(3rem,6vw,5.6rem); }
.home-lead[data-illustrated] .home-lead-image { width:min(230px,100%); margin-inline:auto; }
.home-lead[data-illustrated] .home-lead-image img { aspect-ratio:1; }
@media (max-width:900px) {
  .home-lead[data-illustrated] .home-lead-inner { grid-template-columns:minmax(0,1fr) 180px; }
  .home-lead[data-illustrated] .home-lead-image { grid-row:auto; width:175px; }
}
@media (max-width:650px) {
  .home-lead[data-illustrated] .home-lead-inner { grid-template-columns:minmax(0,1fr); padding:3.25rem 0 3rem; gap:2rem; }
  .home-lead[data-illustrated] .home-lead-image { grid-row:2; justify-self:start; width:min(165px,55%); margin-left:10px; }
  .home-card--illustrated.home-card--feature h2 { font-size:clamp(1.95rem,8vw,2.6rem); }
  .home-card--badge .illustration-topline { grid-template-columns:minmax(0,1fr) 72px; }
  .home-card--badge .illustration-badge { width:70px; height:70px; }
  .home-card--side > a { grid-template-columns:92px minmax(0,1fr); }
  .home-card--side h2 { font-size:clamp(1.5rem,6.6vw,2rem); }
}
@media (max-width:360px) {
  .home-card--side > a { grid-template-columns:75px minmax(0,1fr); }
  .home-card--side .illustration-chip { width:64px; margin-left:8px; }
  .home-card--side .illustration-copy { padding-left:.65rem; }
  .home-card--side h2 { font-size:1.45rem; }
}


/* Published web-article search: first in the menu, before issue and PDF navigation. */
.menu-search {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  border-bottom: 1px solid rgba(255, 250, 241, .2);
}
.menu-search > label {
  display: block;
  margin-bottom: .65rem;
  color: var(--ochre);
  font: 900 .73rem/1.2 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.menu-search-field { position: relative; }
.menu-search-field > span {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-53%);
  color: var(--ochre);
  pointer-events: none;
  font: 400 2rem/1 Georgia, serif;
}
.menu-search-field input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: .85rem 1rem .85rem 3rem;
  border: 1px solid rgba(255, 250, 241, .45);
  border-radius: 12px;
  background: rgba(255, 250, 241, .09);
  color: var(--paper-light);
  font: 400 1.05rem/1.35 Arial, sans-serif;
  appearance: auto;
}
.menu-search-field input::placeholder { color: rgba(255, 250, 241, .63); opacity: 1; }
.menu-search-field input:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  background: rgba(255, 250, 241, .15);
}
.menu-search-help {
  margin: .6rem 0 0;
  color: rgba(255, 250, 241, .66);
  font: 400 .76rem/1.4 Arial, sans-serif;
}
.menu-search-status {
  margin: 1rem 0 .65rem;
  color: var(--ochre);
  font: 800 .82rem/1.4 Arial, sans-serif;
}
.menu-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .8rem;
}
.menu-search-results[hidden], .menu-search-status[hidden] { display: none; }
.menu-search-result {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: .4rem;
  padding: .95rem 1rem;
  border-left: 3px solid var(--ochre);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 250, 241, .09);
  color: var(--paper-light);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.menu-search-result:hover, .menu-search-result:focus-visible {
  background: rgba(255, 250, 241, .18);
}
.menu-search-result-meta {
  color: var(--ochre);
  font: 800 .67rem/1.35 Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.menu-search-result strong {
  font: 600 1.16rem/1.2 Georgia, serif;
}
.menu-search-result-excerpt {
  color: rgba(255, 250, 241, .75);
  font: 400 .82rem/1.45 Arial, sans-serif;
}
.site-menu-inner.is-searching > :not(.menu-search) { display: none; }
@media (max-width: 650px) {
  .menu-search-results { grid-template-columns: minmax(0, 1fr); }
  .menu-search-result { padding: .9rem; }
  .menu-search-field input { font-size: 16px; }
}


/* Unified search: typed results and compact category filters. */
.menu-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.menu-search-filters[hidden] { display: none; }
.menu-search-filters button {
  border: 1px solid rgba(255,250,241,.35);
  border-radius: 999px;
  padding: .52rem .85rem;
  background: rgba(255,250,241,.06);
  color: var(--paper-light);
  font: 800 .72rem/1.2 Arial, sans-serif;
  cursor: pointer;
}
.menu-search-filters button:hover { border-color: var(--ochre); }
.menu-search-filters button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.menu-search-filters button.is-active {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink-deep);
}
.menu-search-result--upcoming { border-left-color: var(--ochre); }
.menu-search-result--regular { border-left-color: var(--sage); }
.menu-search-result--article { border-left-color: var(--blue); }
.regular-card[id] { scroll-margin-top: 95px; }
.regular-card:target { outline: 3px solid var(--ochre); outline-offset: 3px; }


/* WOBL magazine-style homepage */
.front-hero{position:relative;overflow:hidden;background:var(--ink);color:var(--paper-light)}
.front-hero::before{content:"";position:absolute;top:-220px;right:-140px;width:440px;height:440px;border:45px solid rgba(236,166,61,.09);border-radius:50%;pointer-events:none}
.front-hero-inner{position:relative;width:min(1180px,90vw);margin:auto;padding:clamp(3rem,6vw,5.5rem) 0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:center;gap:clamp(2rem,6vw,5rem)}
.front-hero .eyebrow,.front-edition .eyebrow,.front-useful .eyebrow{color:var(--ochre)}
.front-intro h1{font-size:clamp(2.55rem,5vw,4.8rem);font-weight:500;line-height:1;letter-spacing:-.045em;margin:.27em 0 .32em}
.front-lede{max-width:540px;color:rgba(255,250,241,.82);font-size:clamp(1.05rem,1.8vw,1.27rem);line-height:1.55}
.front-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.7rem}
.front-action{display:inline-flex;gap:1rem;align-items:center;padding:.78rem 1.1rem;border:1px solid rgba(255,250,241,.55);border-radius:999px;color:var(--paper-light);text-decoration:none;font:400 .8rem/1.4 Arial,sans-serif;transition:transform .2s}
.front-action--primary{background:var(--ochre);border-color:var(--ochre);color:var(--ink)}
.front-action:hover{transform:translateY(-3px)}
.front-photo{display:block;min-width:0;background:var(--paper-light);color:var(--ink);text-decoration:none;border:9px solid var(--paper-light);box-shadow:15px 20px 0 rgba(236,166,61,.22);transform:rotate(1.5deg)}
.front-photo img{width:100%;aspect-ratio:5/4;object-fit:cover;display:block}
.front-photo>span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .8rem;align-items:center;padding:1rem .6rem .5rem}
.front-photo small{grid-column:1/-1;color:var(--rust);font:900 .62rem/1 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.front-photo strong{font-size:clamp(1.07rem,1.8vw,1.45rem);font-weight:500;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.front-photo b{font-size:1.6rem}
.front-photo--empty{display:grid;min-height:300px;place-items:center;color:var(--rust)}
.front-photo--empty span{font-size:9rem}
.front-edition{width:min(1180px,90vw);margin:clamp(2rem,5vw,4rem) auto clamp(4rem,7vw,6rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);box-shadow:12px 14px 0 var(--ochre);background:var(--paper-light);scroll-margin-top:85px}
.front-edition-main{padding:clamp(1.8rem,4vw,3rem);background:var(--edition-blue);color:var(--paper-light)}
.front-edition h2{font-size:clamp(2.8rem,5vw,5rem);font-weight:500;letter-spacing:-.045em;line-height:.95;margin:.27em 0 .35em}
.front-edition-main>p:not(.eyebrow){max-width:420px;font-size:1.05rem;line-height:1.55}
.front-edition-actions{display:flex;align-items:center;gap:1rem 1.5rem;flex-wrap:wrap;margin-top:1.8rem}
.front-edition-actions a{color:var(--paper-light);font:400 .8rem/1.4 Arial,sans-serif;text-underline-offset:.3em}
.front-edition-actions a:first-child{display:inline-flex;align-items:center;border-radius:999px;padding:.78rem 1.1rem;background:var(--paper-light);color:var(--ink-deep);text-decoration:none}
.front-edition-actions a:first-child:hover{background:white}
.front-edition-actions a:not(:first-child){text-decoration-thickness:1px}
.front-edition-actions a:focus-visible{outline:3px solid var(--paper-light);outline-offset:4px}
.front-edition-inside{padding:clamp(1.5rem,3vw,2.5rem);min-width:0}
.front-edition-inside>p{margin:0 0 .9rem;color:var(--rust);font:900 .73rem/1.2 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.front-edition-inside ul{list-style:none;padding:0;margin:0}
.front-edition-inside li{border-top:1px solid var(--rule)}
.front-edition-inside li a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem 1rem;padding:.8rem 0;text-decoration:none;color:var(--ink)}
.front-edition-inside li small{grid-column:1/-1;color:var(--rust);font:900 .62rem/1.2 Arial,sans-serif;text-transform:uppercase}
.front-edition-inside li strong{font-size:1.22rem;font-weight:500;line-height:1.2}
.front-edition-inside li a:hover strong{color:var(--rust)}
.front-edition-inside li b{align-self:center}
.front-edition-more{display:inline-block;margin-top:1rem;color:var(--ink);font:900 .73rem/1.3 Arial,sans-serif;text-underline-offset:.25em}
.front-edition--empty{display:block;padding:2rem}
.front-categories{width:min(1180px,90vw);margin:auto;padding-bottom:clamp(4rem,7vw,6rem);scroll-margin-top:85px}
.front-heading{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;border-bottom:1px solid var(--rule);margin-bottom:1.6rem;padding-bottom:1.4rem}
.front-heading h2,.front-useful h2{font-size:clamp(2.5rem,4.5vw,4.4rem);font-weight:500;letter-spacing:-.045em;line-height:1;margin:.2em 0 0}
.front-heading>p{margin:0;max-width:345px;font-size:1rem;line-height:1.5}
.front-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.65rem,1.35vw,1rem)}
.front-category{position:relative;display:flex;flex-direction:column;gap:.8rem;min-height:180px;padding:1.35rem;border:1px solid var(--rule);border-radius:8px;background:var(--paper-light);color:var(--ink);text-decoration:none;transition:background .2s,border-color .2s}
.front-category::before{content:"";display:block;width:1.65rem;height:3px;flex:none;background:var(--rust)}
.front-category:hover{background:#f4e4cb;border-color:rgba(190,88,73,.55)}
.front-category:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
.front-category>strong{margin-top:auto;font-size:clamp(1.4rem,2vw,2rem);line-height:1.07;font-weight:500;overflow-wrap:anywhere}
.front-category>span{font:700 .69rem/1.4 Arial,sans-serif;color:rgba(23,49,62,.7);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.front-category>b{position:absolute;top:1rem;right:1.1rem;font-size:1.35rem}
.front-useful{background:var(--ink);color:var(--paper-light)}
.front-useful-inner{width:min(1180px,90vw);margin:auto;padding:clamp(3.5rem,6vw,5rem) 0}
.front-useful-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2rem;margin-top:1.5rem}
.front-useful-grid a{min-height:120px;border-top:1px solid rgba(255,250,241,.24);display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:.4rem;color:var(--paper-light);text-decoration:none}
.front-useful-grid a>small{grid-column:1/-1;color:var(--ochre);font:800 .61rem/1 Arial,sans-serif}
.front-useful-grid a>strong{font-size:1.55rem;line-height:1.1;font-weight:500}
.front-useful-grid a:hover strong{color:var(--ochre)}
.front-useful-grid a>span{grid-column:1;font:700 .74rem/1.4 Arial,sans-serif;color:rgba(255,250,241,.7)}
.front-useful-grid a>b{grid-column:2;grid-row:2/4;align-self:center;font-size:1.4rem}
.front-recent{padding:clamp(4rem,7vw,6rem) 0}
.front-recent .home-card,.front-recent .home-card:nth-child(2){grid-column:span 4}
.front-recent .home-card h3{font-size:clamp(1.5rem,2.2vw,2rem);font-weight:500;letter-spacing:-.025em;line-height:1.05;margin:.3em 0 .5em;overflow-wrap:anywhere}
.front-recent .home-card a:hover h3{color:var(--card-accent)}
.front-recent .home-card--side h3{font-size:clamp(1.35rem,2vw,1.85rem)}
@media(max-width:950px){.front-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.front-useful-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.front-recent .home-card,.front-recent .home-card:nth-child(2){grid-column:span 6}}
@media(max-width:700px){.front-hero-inner{grid-template-columns:1fr;padding:3rem 0 3.5rem}.front-intro h1{font-size:clamp(2.4rem,10vw,4.3rem)}.front-edition{grid-template-columns:1fr}.front-heading{display:block}.front-heading>p{margin:.8rem 0 0}.front-useful-grid{grid-template-columns:1fr}.front-recent .home-card,.front-recent .home-card:nth-child(2){grid-column:1}.front-photo{max-width:480px;width:calc(100% - 14px)}}
@media(max-width:420px){.front-action{width:100%;justify-content:space-between}.front-intro h1{font-size:clamp(2.25rem,10vw,3.6rem)}.front-category{min-height:150px;padding:1rem}.front-category>strong{font-size:1.35rem}.front-category>b{top:.7rem;right:.8rem}.front-category>span{font-size:.64rem}}


/* Home: prominent, live CalendarWiz preview directly after the latest edition. */
.front-events{width:min(1180px,90vw);margin:0 auto clamp(4rem,7vw,6rem);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border-top:7px solid var(--rust);background:var(--paper-light);box-shadow:0 12px 32px rgba(23,49,62,.1)}
.front-events-intro{min-width:0;padding:clamp(1.65rem,3.6vw,3.2rem);background:var(--sage);color:var(--ink);display:flex;flex-direction:column;align-items:flex-start}
.front-events-intro .eyebrow{color:var(--ink)}
.front-events-intro h2{font-size:clamp(2.8rem,5vw,4.75rem);font-weight:500;line-height:.95;letter-spacing:-.05em;margin:.3em 0 .35em}
.front-events-intro>p:not(.eyebrow){font-size:1.09rem;line-height:1.5;margin:0 0 1.5rem;max-width:45ch}
.front-events-actions{display:flex;flex-wrap:wrap;gap:.85rem 1.1rem;align-items:center;margin-top:auto}
.front-events-primary{display:inline-flex;gap:.85rem;align-items:center;border-radius:999px;padding:.9rem 1.15rem;background:var(--ink);color:var(--paper-light);text-decoration:none;font:900 .75rem/1.2 Arial,sans-serif}
.front-events-primary:hover{background:var(--rust)}
.front-events-secondary{display:inline-flex;gap:.35rem;color:var(--ink);text-decoration-thickness:1px;text-underline-offset:.28em;font:800 .73rem/1.3 Arial,sans-serif}
.front-events-secondary:hover{color:var(--rust)}
.front-events-listing{min-width:0;padding:clamp(1.65rem,3vw,2.6rem);display:flex;flex-direction:column}
.front-events-listing-head{border-bottom:1px solid var(--rule);padding-bottom:1rem}
.front-events-listing-head .eyebrow{color:var(--rust)}
.front-events-listing h3{font-size:clamp(1.8rem,2.65vw,2.8rem);font-weight:500;letter-spacing:-.035em;margin:.2em 0 0}
.front-events-status{font:700 .86rem/1.5 Arial,sans-serif;color:rgba(23,49,62,.7);margin:1rem 0}
.front-events-status[hidden],.front-events-items[hidden]{display:none}
.front-events-items{list-style:none;padding:0;margin:0}
.front-events-items li{border-bottom:1px solid var(--rule)}
.front-events-items a{display:grid;grid-template-columns:92px minmax(0,1fr) 16px;align-items:center;gap:.8rem;padding:.95rem 0;color:var(--ink);text-decoration:none}
.front-events-items a:hover .front-event-title{color:var(--rust)}
.front-event-date{font:900 .72rem/1.35 Arial,sans-serif;color:var(--rust)}
.front-event-body{min-width:0;display:grid;gap:.25rem}
.front-event-category{color:rgba(23,49,62,.68);font:800 .62rem/1.2 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.front-event-title{font-size:1.18rem;line-height:1.22;font-weight:500;overflow-wrap:anywhere}
.front-event-arrow{font:1.35rem/1 Georgia,serif;align-self:center}
.front-events-all{margin-top:auto;align-self:flex-start;padding-top:1.3rem;color:var(--ink);text-underline-offset:.3em;font:900 .74rem/1.2 Arial,sans-serif}
.front-events-all span{display:inline-block;margin-left:.5rem}
@media(max-width:800px){.front-events{grid-template-columns:1fr}.front-events-intro h2{font-size:3.3rem}.front-events-actions{margin-top:0}.front-events-listing{min-height:220px}}
@media(max-width:440px){.front-events-items a{grid-template-columns:70px minmax(0,1fr) 14px;gap:.55rem}.front-event-date{font-size:.67rem}.front-events-intro h2{font-size:2.9rem}}


/* Non-blocking feedback during navigation to large PDFs. */
.pdf-opening-notice{position:fixed;right:1.1rem;bottom:1.1rem;z-index:110;display:flex;align-items:center;gap:.85rem;max-width:min(370px,calc(100vw - 2rem));padding:1rem 1.15rem;border:1px solid var(--rule);border-left:4px solid var(--rust);border-radius:10px;background:var(--paper-light);box-shadow:0 12px 32px rgba(7,17,22,.2);color:var(--ink);font-family:Arial,sans-serif}
.pdf-opening-notice[hidden]{display:none}
.pdf-opening-notice strong{display:block;font-size:.87rem;line-height:1.3}
.pdf-opening-notice small{display:block;margin-top:.28rem;font-size:.73rem;line-height:1.4;color:rgba(23,49,62,.74)}
.pdf-opening-spinner{width:23px;height:23px;flex:none;border:3px solid rgba(23,49,62,.15);border-top-color:var(--rust);border-radius:50%;animation:pdf-opening-spin .8s linear infinite}
@keyframes pdf-opening-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.pdf-opening-notice{left:1rem;right:1rem;bottom:1rem;max-width:none}}
@media(prefers-reduced-motion:reduce){.pdf-opening-spinner{animation:none}}


/* A useful event list is rendered by the Worker before CalendarWiz JavaScript. */
.server-events-items{list-style:none;margin:0;padding:0}
.server-events-items li{border-bottom:1px solid var(--rule)}
.server-events-items a{display:grid;grid-template-columns:minmax(95px,auto) minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem .1rem;text-decoration:none;color:var(--ink)}
.server-events-items a:hover strong{text-decoration:underline;text-underline-offset:.2em}
.server-events-items time{font:800 .78rem/1.35 Arial,sans-serif;color:var(--rust)}
.server-events-items a span:nth-child(2){min-width:0;display:grid;gap:.3rem}
.server-events-items strong{font-size:1.12rem;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.server-events-items small{font:700 .74rem/1.4 Arial,sans-serif;color:rgba(23,49,62,.75)}
.server-events-list>p{font:400 1rem/1.5 Arial,sans-serif}
.calendar-interactive{margin-top:1.3rem;border-top:1px solid var(--rule);padding-top:1rem}
.calendar-interactive>summary{cursor:pointer;display:list-item;list-style:disclosure-closed;font:800 .85rem/1.4 Arial,sans-serif;color:var(--ink);text-decoration:underline;text-underline-offset:.25em}
.calendar-interactive[open]>summary{list-style:disclosure-open;margin-bottom:1rem}
.letters-archive-link{margin-top:3rem;padding:1.6rem;border-top:5px solid var(--ochre);background:var(--paper-light)}
.letters-archive-link h2{margin:0;font-size:clamp(1.5rem,3vw,2.2rem);font-weight:500}
.letters-archive-link p{line-height:1.5}
.letters-archive-link a{font-weight:800;text-underline-offset:.25em}
.calendar-full,.calendar-embed{max-width:100%;min-width:0;box-sizing:border-box}
.calendar-full iframe,.calendar-embed iframe{display:block;max-width:100%;box-sizing:border-box}
@media(max-width:650px){
  .server-events-items a{grid-template-columns:1fr auto;gap:.35rem .6rem}
  .server-events-items time{grid-column:1/-1}
  .calendar-full{width:100%;margin:0 auto;overflow-x:auto}
  .calendar-diary-page,.calendar-diary-intro{max-width:100%;min-width:0}
}

/* Separate the long chronological event feed into clear calendar months. */
.server-events-month + .server-events-month{margin-top:1.9rem}
.server-events-month>h3{margin:0;padding:.7rem 1rem;border-left:5px solid var(--blue);background:#e7edf2;color:var(--ink);font:800 clamp(1rem,2.3vw,1.18rem)/1.35 Arial,sans-serif;letter-spacing:.01em}
.server-events-month .server-events-items{margin-top:.3rem}
