/* It Works Both Ways — magazine styles */

:root {
  --paper:      #f2efe8;
  --paper-2:    #e8e2d6;
  --card:       #fffdf9;
  --ink:        #17150f;
  --ink-soft:   #4c463c;
  --ink-faint:  #867d70;
  --rule:       #d8cfc0;
  --rule-hard:  #17150f;
  --accent:     #9d3d14;
  --accent-lit: #e0894a;
  --accent-soft:#f3e4d7;

  --chrome:     #221f19;
  --chrome-2:   #171511;
  --on-chrome:  rgba(255,255,255,0.72);

  --cat-premise:    #9d3d14;
  --cat-fortress:   #c0392b;
  --cat-machines:   #1f8a8a;
  --cat-leash:      #6b56a8;
  --cat-heads:      #2c7fc4;

  --page:    74rem;
  --measure: 36rem;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body:    "Newsreader", Georgia, "Times New Roman", serif;
  --f-label:   "Archivo", ui-sans-serif, -apple-system, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #121009;
    --paper-2:    #1b1812;
    --card:       #1c1911;
    --ink:        #f2eee4;
    --ink-soft:   #b9b0a0;
    --ink-faint:  #867c6c;
    --rule:       #38321f;
    --rule-hard:  #6a6050;
    --accent:     #e0894a;
    --accent-lit: #e0894a;
    --accent-soft:#2a2016;
    --chrome:     #0c0b07;
    --chrome-2:   #000000;

    --cat-fortress:   #e06055;
    --cat-machines:   #3bb0b0;
    --cat-leash:      #9b86d8;
    --cat-heads:      #5aa9ea;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-synthesis-weight: none;
}

.page {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------------- top strip ---------------- */

.topbar {
  background: var(--chrome-2);
  color: var(--on-chrome);
}

.topbar__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar .tag { color: var(--accent-lit); margin-right: 0.55rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent-lit); }
.topbar .issueline { opacity: 0.68; }

/* ---------------- site header ---------------- */

.siteheader {
  background: var(--chrome);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

.siteheader__inner {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}

.brand em { font-style: normal; color: var(--accent-lit); }

.brand__mark {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-label);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
}

.mainnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  font-family: var(--f-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mainnav a {
  color: var(--on-chrome);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.mainnav a:hover,
.mainnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent-lit); }

/* category dropdown */

.menu { position: relative; }

.menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--on-chrome);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::marker { content: ""; }

.menu > summary::after {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  margin-top: -0.22rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.menu[open] > summary::after { margin-top: 0.1rem; transform: rotate(-135deg); }

.menu > summary:hover,
.menu[open] > summary,
.menu.is-current > summary { color: #fff; border-bottom-color: var(--accent-lit); }

.menu__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 60;
  width: 17rem;
  padding: 0.45rem;
  max-width: calc(100vw - 2rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  box-shadow: 0 14px 34px rgba(0,0,0,0.3);
}

/* never let the panel run past the right edge on a narrow screen */
@media (max-width: 30rem) {
  .menu { position: static; }
  .menu__panel { left: 1rem; right: auto; }
}

.menu__item {
  display: block;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.menu__item + .menu__item { border-top: 1px solid var(--rule); }

.menu__item:hover,
.menu__item:focus-visible {
  background: var(--paper-2);
  border-left-color: var(--cat, var(--accent));
}

.menu__name {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.menu__n {
  font-family: var(--f-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cat, var(--ink-faint));
  margin-left: 0.4rem;
}

.menu__desc {
  display: block;
  font-family: var(--f-label);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

/* anchored category sections clear the sticky header (taller when the nav wraps) */
.module[id] { scroll-margin-top: 7.5rem; }

@media (min-width: 46rem) {
  .module[id] { scroll-margin-top: 5.75rem; }
}

/* ---------------- hero feature ---------------- */

.hero-feature {
  position: relative;
  margin: 1.5rem 0 0;
  background: var(--chrome-2);
}

.hero-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

@media (max-width: 42rem) {
  .hero-feature img { aspect-ratio: 4 / 3; }
}

.hero-feature__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 4rem 1.4rem 1.3rem;
  background: linear-gradient(to top, rgba(8,7,5,0.9) 0%, rgba(8,7,5,0.62) 48%, rgba(8,7,5,0) 100%);
  color: #fff;
}

@media (min-width: 48rem) {
  .hero-feature__body { padding: 6rem 2rem 1.75rem; }
}

.hero-feature h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 4.4vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0.7rem 0 0.5rem;
  max-width: 24ch;
  text-wrap: balance;
}

.hero-feature h2 a { color: #fff; text-decoration: none; }
.hero-feature h2 a:hover { color: var(--accent-lit); }

.hero-feature .deck-sm {
  margin: 0 0 0.75rem;
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 42rem) { .hero-feature .deck-sm { display: none; } }

.hero-feature .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  margin: 0;
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

/* category pill */
.cat {
  display: inline-block;
  padding: 0.32rem 0.62rem;
  background: var(--cat, var(--accent));
  color: #fff;
  font-family: var(--f-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---------------- magazine grid ---------------- */

.mag {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem 0 0;
}

@media (min-width: 64rem) {
  .mag {
    grid-template-columns: minmax(0, 1fr) 19.5rem;
    gap: 2rem;
    align-items: start;
  }
}

/* ---------------- archive page ---------------- */

.archive-head { padding: 2.5rem 0 2rem; }
.archive-head .premise-title { margin-bottom: 0.9rem; }
.archive-head .standfirst { margin-bottom: 0; }

.cat-intro {
  margin: 0 0 1.6rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-label);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

/* ---------------- content module ---------------- */

.module {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--cat, var(--accent));
  margin-bottom: 1.75rem;
}

.module__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  padding: 0.85rem 1.35rem;
  border-bottom: 1px solid var(--rule);
}

.module__head h2 {
  margin: 0;
  font-family: var(--f-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cat, var(--accent));
}

.module__head .sub {
  margin: 0;
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.module__body { padding: 1.5rem 1.35rem; }

@media (min-width: 48rem) {
  .module__body { padding: 1.75rem; }
}

/* ---------------- premise columns ---------------- */

.kicker {
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.premise-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.6vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.standfirst {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 44ch;
  text-wrap: pretty;
}

.byline-rule {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule-hard);
  border-bottom: 1px solid var(--rule-hard);
  margin: 0 0 1.75rem;
  color: var(--ink-faint);
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.byline-rule .by { color: var(--ink); }

.cols { margin: 0; }

@media (min-width: 48rem) {
  .cols { column-count: 2; column-gap: 2.25rem; column-rule: 1px solid var(--rule); }
}

.cols > p { margin: 0 0 1.05rem; }
.cols > p:last-child { margin-bottom: 0; }

.cols > p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 0.78;
  float: left;
  padding: 0.08em 0.07em 0 0;
  color: var(--accent);
}

.cols .beat,
.prose .turn {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cols .beat {
  column-span: all;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--rule-hard);
  border-bottom: 1px solid var(--rule-hard);
  text-align: center;
}

.signoff {
  column-span: all;
  margin: 1.75rem 0 0;
  padding: 1rem 1.2rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  font-family: var(--f-label);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------------- lead story card ---------------- */

.lead { display: grid; gap: 1.25rem; }

@media (min-width: 40rem) {
  .lead { grid-template-columns: 17rem minmax(0, 1fr); gap: 1.6rem; align-items: start; }
}

.lead__art { margin: 0; }

.lead__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.lead + .lead {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.85rem;
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.6rem;
}

.card-meta .num { color: var(--accent); }

.lead h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}

.lead h3 a { color: var(--ink); text-decoration: none; }
.lead h3 a:hover { color: var(--accent); }

.lead p { margin: 0 0 0.9rem; color: var(--ink-soft); }

.readmore {
  font-family: var(--f-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.more-link {
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.upnext {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem;
  border: 1px dashed var(--rule);
}

.upnext h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.35rem 0 0.4rem;
  color: var(--ink-faint);
}

.upnext p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------------- sidebar widgets ---------------- */

.sidebar { min-width: 0; }

@media (min-width: 64rem) {
  .sidebar { position: sticky; top: 4.75rem; }
}

.widget {
  background: var(--card);
  border: 1px solid var(--rule);
  margin-bottom: 1.25rem;
}

.widget__head {
  background: var(--chrome);
  color: #fff;
  padding: 0.7rem 1rem;
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.widget__body {
  padding: 1.1rem 1rem;
  font-size: 0.98rem;
  line-height: 1.58;
}

.widget__body p { margin: 0 0 0.75rem; }
.widget__body p:last-child { margin-bottom: 0; }
.widget__body a { color: var(--accent); }

/* post list with thumbnails */

.plist { list-style: none; margin: 0; padding: 0; }

.plist li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}

.plist li.nothumb { grid-template-columns: minmax(0, 1fr); }
.plist li:first-child { padding-top: 0; }
.plist li:last-child { border-bottom: 0; padding-bottom: 0; }

.plist img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.plist h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.22;
  margin: 0 0 0.25rem;
}

.plist h4 a { color: var(--ink); text-decoration: none; }
.plist h4 a:hover { color: var(--accent); }

.plist .meta {
  display: block;
  font-family: var(--f-label);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* topics list */

.topics { list-style: none; margin: 0; padding: 0; }

.topics li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-label);
  font-size: 0.8125rem;
}

.topics li:last-child { border-bottom: 0; }

.topics a { color: var(--ink); text-decoration: none; }
.topics a:hover { color: var(--cat, var(--accent)); }

.topics .dot {
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--cat, var(--accent));
}

.topics .n {
  margin-left: auto;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* pull quote widget */

.widget--quote .widget__body {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.26;
  letter-spacing: -0.015em;
}

.widget--quote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------- article ---------------- */

.article { padding: 2rem 0 0; }

.article__head { margin-bottom: 2.25rem; }

.article__head h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0.8rem 0 1rem;
  max-width: 20ch;
  text-wrap: balance;
}

.article__head .deck {
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  line-height: 1.42;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
  max-width: 40ch;
  text-wrap: pretty;
}

.prose {
  max-width: var(--measure);
  margin: 0 auto;
  font-size: 1.1875rem;
  line-height: 1.68;
}

.prose > p { margin: 0 0 1.25rem; }

.prose > p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.7rem;
  line-height: 0.78;
  float: left;
  padding: 0.08em 0.07em 0 0;
  color: var(--accent);
}

.prose h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 3rem 0 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-hard);
  text-wrap: balance;
}

.prose h2 .n {
  display: block;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.prose h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 2.1rem 0 0.7rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent);
  text-wrap: balance;
}

.prose .turn { margin: 1.9rem 0; }


/* anchored headings clear the sticky header */
.prose h2[id] { scroll-margin-top: 7.5rem; }

@media (min-width: 46rem) {
  .prose h2[id] { scroll-margin-top: 5.75rem; }
}

.prose ul { margin: 1.6rem 0; padding: 0; list-style: none; }

.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: 1.1rem; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 2px;
  background: var(--accent);
}

.prose blockquote {
  margin: 2.5rem 0;
  padding: 1.4rem 0;
  border-top: 2px solid var(--rule-hard);
  border-bottom: 2px solid var(--rule-hard);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

@media (min-width: 70rem) {
  .prose blockquote { width: 124%; margin-left: -12%; }
}

.prose blockquote p { margin: 0; }

.endmark {
  margin: 2.5rem 0 0;
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
}

.article__foot {
  max-width: var(--measure);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-hard);
  font-family: var(--f-label);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.article__foot a { color: var(--accent); }

/* ---------------- photography ---------------- */

figure.art { margin: 0 0 2.5rem; }

figure.art img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper-2);
  filter: saturate(0.88) contrast(1.04);
}

@media (prefers-color-scheme: dark) {
  figure.art img,
  .lead__art img,
  .plist img,
  .hero-feature img { filter: saturate(0.82) contrast(1.02) brightness(0.88); }
}

figure.art figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-label);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

figure.art figcaption .credit { opacity: 0.8; }

figure.art figcaption .credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

figure.art figcaption .credit a:hover { color: var(--accent); }

.hero-art img { aspect-ratio: 16 / 7; object-fit: cover; }

@media (max-width: 40rem) {
  .hero-art img { aspect-ratio: 3 / 2; }
}

.prose figure.art { margin: 2.75rem 0; }
.prose figure.art img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (min-width: 70rem) {
  .prose figure.art { width: 124%; margin-left: -12%; }
  .prose figure.art img { aspect-ratio: 16 / 8; }
}

/* ---------------- photographer note ---------------- */

.photo-note {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

.photo-note__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.35rem 1rem 1.5rem;
}

.photo-note h2 {
  margin: 0 0 0.5rem;
  font-family: var(--f-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.photo-note p {
  margin: 0 0 0.4rem;
  max-width: none;
  font-family: var(--f-label);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

.photo-note p:last-child { margin-bottom: 0; }

.photo-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.photo-note a:hover { color: var(--accent); }

/* the note already provides the gap above the footer */
.photo-note + .foot { margin-top: 0; }

/* ---------------- footer ---------------- */

.foot {
  margin-top: 4rem;
  border-top: 3px solid var(--accent);
  background: var(--chrome);
  color: rgba(255,255,255,0.58);
}

.foot__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 2.75rem 1rem 2rem;
  display: grid;
  gap: 2rem;
  font-family: var(--f-label);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 40rem) {
  .foot__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
}

@media (min-width: 64rem) {
  .foot__inner { grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 2.5rem; }
}

.foot h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.9rem;
}

.foot p { margin: 0 0 0.6rem; }

.foot a { color: rgba(255,255,255,0.74); text-decoration: none; }
.foot a:hover { color: var(--accent-lit); text-decoration: underline; text-underline-offset: 3px; }

.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.5rem; }
.foot li:last-child { margin-bottom: 0; }

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
}

.foot__brand:hover { color: #fff; text-decoration: none; }
.foot__brand em { font-style: normal; color: var(--accent-lit); }

.foot__brand .m {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-label);
  font-size: 0.85rem;
  font-weight: 600;
}

.foot__tag { max-width: 30ch; }

.foot__cat { display: flex; align-items: center; gap: 0.55rem; }

.foot__cat .dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--cat, var(--accent));
}

.foot__cat .n {
  margin-left: auto;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.38);
}

.foot__base { border-top: 1px solid rgba(255,255,255,0.12); }

.foot__base-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.1rem 1rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-family: var(--f-label);
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.42);
}


a:focus-visible { outline: 2px solid var(--accent-lit); outline-offset: 3px; }
