@charset "utf-8";

:root {
  --paper: #fffdf8;
  --wash: #f3edda;
  --wash-deep: #ebe2c9;
  --ink: #14120d;
  --ink-soft: #3b372c;
  --muted: #55503f;
  --rule: #ded5bf;
  --gold: #bca11a;
  --gold-ink: #634c06;
  --label: #584405;
  --link: #0a2ab2;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --shell: 1160px;
  --measure: 690px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  font-kerning: normal;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 28px; }

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

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.label {
  margin: 0;
  font: 700 12px/1.35 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--label);
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 12.5px/1.2 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--label);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }

.skip-link {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 60;
  transform: translateY(-220%);
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  font: 700 12px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* masthead */
.masthead {
  position: relative;
  z-index: 30;
  background: var(--paper);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { display: block; width: 168px; height: 42px; object-fit: contain; }

.menu { min-width: 0; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px clamp(12px, 1.5vw, 20px); }
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0;
  font: 700 11px/1.2 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.menu a:hover { border-bottom-color: var(--gold); }
.menu a[aria-current="page"] { border-bottom-color: var(--gold-ink); color: var(--gold-ink); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 700 11px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--ink); }

/* home opening */
.opening { padding: clamp(38px, 5.6vw, 86px) 0 clamp(34px, 5vw, 76px); border-bottom: 1px solid var(--rule); }
.opening__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.opening__copy { min-width: 0; }
.opening h1 {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 1.55rem + 2.5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  font-weight: 700;
  text-wrap: balance;
}
.opening__lede { margin: 0; max-width: 58ch; font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); line-height: 1.58; color: var(--ink-soft); }
.opening__act { margin: 30px 0 0; }

.action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 700 11.5px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.action::after { content: "\2192"; font-size: 14px; font-weight: 400; }
.action:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--paper); }
.action:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.opening__art { display: block; max-width: 420px; margin: 32px auto 0; }
.opening__art svg { display: block; width: 100%; height: auto; }

.opening__picture { margin-top: 40px; }
.opening__picture figure { margin: 0; aspect-ratio: 16 / 9; background: var(--wash); overflow: hidden; }
.opening__picture img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* post list: picture, gold tag, title, excerpt, meta */
.latest { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 56px 0 64px; }
.latest__head { border-bottom: 3px solid var(--ink); padding-bottom: 16px; margin-bottom: 2px; }
.latest__head .label { margin-bottom: 10px; }
.latest__head h2 { margin: 0; font-size: clamp(1.55rem, 1.3rem + .8vw, 2rem); line-height: 1.16; font-weight: 700; letter-spacing: -.01em; }

.entries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 24px 0 26px;
  border-top: 1px solid var(--rule);
}
.entry:first-child { border-top: 0; }
.entry__pic {
  display: block;
  margin: 0 0 16px;
  aspect-ratio: 3 / 2;
  background: var(--wash);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.entry__pic img,
.entry__pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.entry__body { min-width: 0; }

.entry__kicker,
.keep-reading__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 9px 3px;
  background: var(--gold);
  color: var(--ink);
  font: 700 10.5px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.entry__title { margin: 0 0 8px; font-size: 1.42rem; line-height: 1.28; font-weight: 700; letter-spacing: -.005em; }
.entry__title a { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; }
.entry__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.entry__text { margin: 0 0 12px; max-width: 70ch; font-size: 16.5px; line-height: 1.58; color: var(--ink-soft); }
.entry__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font: 400 12.5px/1.5 var(--sans);
  color: var(--muted);
}
.entry__foot a { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.entry__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.entry__foot time { font-variant-numeric: tabular-nums; }
.entry__dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--label); transform: translateY(-2px); }

.listfoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}
.listfoot__note { margin: 0; font: 700 11.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.listfoot__next { margin: 0; }
.listfoot__next a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 700 11.5px/1.3 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-decoration: none;
}
.listfoot__next a::after { content: "\2192"; font-weight: 400; }
.listfoot__next a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* home guide */
.guide { padding: 52px 0 84px; }
.guide__column { max-width: 690px; margin-inline: auto; min-width: 0; }
.guide__label {
  margin: 0 0 14px;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
  font: 700 12px/1.35 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
}
#guide { scroll-margin-top: 14px; }
.kind-home .guide .qeja-chapter { position: relative; padding-block: 34px; border-top: 1px solid var(--rule); }
.kind-home .guide .qeja-chapter:first-of-type { border-top: 0; }
.kind-home .guide .qeja-chapter > h2:first-child { margin-top: 0; }

/* inner title band */
.titleband { background: var(--wash); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 22px 0 38px; }
.titleband__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; }
.titleband__body { min-width: 0; max-width: 880px; }
.titleband h1 {
  margin: 14px 0 18px;
  font-size: clamp(1.95rem, 1.4rem + 1.9vw, 2.95rem);
  line-height: 1.12;
  letter-spacing: -0.014em;
  font-weight: 700;
}
.titleband__lede { margin: 0; max-width: 68ch; font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft); }
.titleband__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; font: 400 13.5px/1.5 var(--sans); color: var(--muted); }
.titleband__by { color: var(--ink); }
.titleband__by strong { font-weight: 700; }
.titleband__meta time { font-variant-numeric: tabular-nums; }
.titleband__stamp { flex: 0 0 auto; display: block; width: 56px; padding-top: 22px; }
.titleband__stamp svg { display: block; width: 56px; height: 56px; }

/* breadcrumbs: one quiet line of short labels */
.qeja-trail { margin: 0; min-width: 0; }
.qeja-trail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 8px;
  min-width: 0;
  overflow: hidden;
  font: 400 12px/1.5 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.qeja-trail li { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; }
.qeja-trail li + li::before { content: "/"; flex: 0 0 auto; color: var(--gold-ink); font-weight: 400; }
.qeja-trail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-ink); text-decoration: none; white-space: nowrap; }
.qeja-trail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qeja-trail li:last-child { flex: 0 1 auto; overflow: hidden; }
.qeja-trail [aria-current="page"] {
  display: block;
  max-width: 100%;
  min-width: 0;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: .01em;
  font-weight: 400;
  font-size: 12.5px;
}

/* article / page layout */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 84px; }
.article-main { min-width: 0; max-width: var(--measure); }
.article-grid:not(.article-grid--aside) .article-main { margin-inline: auto; }
.is-not-found .article-main,
.is-not-found .article-grid:not(.article-grid--aside) .article-main,
.is-not-found .article-grid--aside .article-main { max-width: 820px; margin-inline: 0; }
.is-not-found .article-grid,
.is-not-found .article-grid--aside { grid-template-columns: minmax(0, 1fr); }
.is-not-found .margin { display: none; }

.keyplate { margin: 0 0 38px; width: 100%; max-width: 100%; }
.keyplate svg { display: block; width: 100%; height: auto; }
.keyplate figcaption { margin-top: 10px; max-width: 100%; font: 400 13.5px/1.5 var(--sans); color: var(--muted); }

.margin { min-width: 0; }
.margin .label { margin-bottom: 12px; }

.toc { border: 1px solid var(--rule); border-top: 3px solid var(--gold); background: var(--paper); }
.toc__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 16px; cursor: pointer; list-style: none; }
.toc__summary::-webkit-details-marker { display: none; }
.toc__mark { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.toc__mark::before, .toc__mark::after { content: ""; position: absolute; background: var(--gold-ink); }
.toc__mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.toc__mark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.toc[open] .toc__mark::after { display: none; }
.toc__nav { padding: 0 16px 6px; }
.toc__list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.42; }
.toc__list li { border-top: 1px solid var(--rule); }
.toc__list a { display: block; padding: 10px 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.toc__list a:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* the guide's own contents: one summary line, two columns when open on desktop */
.guide__toc { margin: 0 0 32px; border: 0; border-bottom: 1px solid var(--rule); background: transparent; }
.guide__toc .toc__summary { padding: 10px 0 12px; border-top: 1px solid var(--rule); }
.guide__toc .toc__nav { padding: 2px 0 12px; }
.guide__toc .toc__list { columns: 2; column-gap: 40px; }
.guide__toc .toc__list li { break-inside: avoid; }
.guide__toc .toc__list a { padding: 9px 0; }
.guide__toccount { font: 700 12px/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }

.facts { border-top: 3px solid var(--gold); background: var(--wash); padding: 20px 18px 22px; }
.facts__list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.5; }
.facts__list li { padding: 7px 0; border-top: 1px solid #ded2b6; }
.facts__list li:first-child { border-top: 0; padding-top: 0; }
.facts__key { display: block; font: 700 10.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts__list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* reading */
.reading { font-size: 18px; line-height: 1.72; overflow-wrap: break-word; min-width: 0; }
.reading p { margin: 0 0 1.15em; max-width: 70ch; }
.reading a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reading a:hover { color: var(--gold-ink); text-decoration-color: var(--gold); }
.reading strong { font-weight: 700; color: var(--ink); }

.reading h2 {
  margin: 2.2em 0 .62em;
  font-size: clamp(1.42rem, 1.2rem + .65vw, 1.68rem);
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: -0.005em;
  scroll-margin-top: 20px;
}
.reading h2::before { content: ""; display: block; width: 42px; height: 2px; margin-bottom: 15px; background: var(--gold); }
.reading h3 { margin: 1.9em 0 .5em; font-size: 1.18rem; line-height: 1.4; font-weight: 700; scroll-margin-top: 20px; }

.reading ul, .reading ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.reading li { margin: 0 0 .45em; padding-left: .15em; max-width: 70ch; }
.reading li::marker { color: var(--gold-ink); }
.reading li > p { margin: .4em 0; }

.reading blockquote {
  margin: 1.9em 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.reading blockquote p:last-child { margin-bottom: 0; }
.reading hr { border: 0; border-top: 1px solid var(--rule); margin: 2.6em 0; }

/* tables */
.tablewrap {
  width: 100%;
  margin: 1.9em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.reading table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; color: var(--ink); }
.reading thead th {
  text-align: left;
  vertical-align: bottom;
  padding: 10px 12px;
  font: 700 10.5px/1.35 var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--wash);
  border-bottom: 1px solid #d3c8ad;
}
.reading tbody td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; min-width: 96px; }
.reading tbody td:first-child { min-width: 130px; }
.reading tbody tr:last-child td { border-bottom: 0; }
.reading tbody th { text-align: left; padding: 10px 12px; font-weight: 700; border-bottom: 1px solid var(--rule); vertical-align: top; }

/* figures */
.reading figure { margin: 38px 0; max-width: 100%; }
.reading figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--wash);
}
.reading figcaption { margin-top: 10px; max-width: 100%; font: 400 13.5px/1.5 var(--sans); color: var(--muted); }

/* FAQ / details */
.reading details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.reading details summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: 6px 0; }
.reading details summary:hover { color: var(--gold-ink); }

/* galleries */
.qeja-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 2em 0 1em; width: 100%; }
.qeja-grid img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--wash-deep); }
.qeja-grid a { display: block; aspect-ratio: 3 / 2; background: var(--wash-deep); }
.qeja-grid img.qeja-fit { object-fit: contain; padding: 8%; background: var(--wash); }
@media (min-width: 640px) { .qeja-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 960px) { .qeja-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.reading p.qeja-legend { margin: -0.2em 0 1.8em; max-width: none; font: 400 13.5px/1.55 var(--sans); color: var(--muted); }
.more-strip { display: block; width: 100%; }
.gallery-more {
  margin: 0 0 1.8em;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 700 11.5px/1.2 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
.gallery-more:hover { background: var(--ink); color: var(--paper); }

/* zoom overlay */
.qeja-zoom { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 18, 13, .95); }
.qeja-zoom img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; background: var(--paper); }
.qeja-zoom__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, .6);
  background: rgba(0, 0, 0, .35);
  color: var(--paper);
  font: 400 22px/1 var(--sans);
  cursor: pointer;
}
.qeja-zoom__close:hover { background: var(--paper); color: var(--ink); }
.qeja-zoom :focus-visible { outline-color: #f4d977; }
body.zoom-open { overflow: hidden; }

/* hub */
.hub { padding: 40px 0 44px; border-bottom: 1px solid var(--rule); }
.hub__head { border-bottom: 3px solid var(--ink); padding-bottom: 18px; }
.hub__head .label { margin-bottom: 12px; }
.hub__note { margin: 0; max-width: 70ch; font-size: 1.04rem; line-height: 1.6; color: var(--ink-soft); }
.hub .entries { margin-top: 2px; }
.hubindex { padding-top: 40px; }
.hubindex .label { margin-bottom: 14px; }
.hubindex .tablewrap { margin: 0; }

.index-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; color: var(--ink); }
.index-table thead th {
  text-align: left;
  padding: 10px 12px;
  font: 700 10.5px/1.35 var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--wash);
  border-bottom: 1px solid #d3c8ad;
}
.index-table tbody th, .index-table tbody td { text-align: left; padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.index-table tbody tr:last-child th, .index-table tbody tr:last-child td { border-bottom: 0; }
.index-table tbody th { font-weight: 700; }
.index-table tbody th a { color: var(--ink); text-decoration: none; }
.index-table tbody th a:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.index-table tbody td { white-space: nowrap; font: 400 13px/1.55 var(--sans); color: var(--muted); }

/* keep reading */
.keep-reading { background: var(--wash); border-top: 1px solid var(--rule); padding: 42px 0 50px; }
.keep-reading > .shell > .label { padding-top: 14px; border-top: 3px solid var(--ink); margin-bottom: 20px; }
.keep-reading__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.keep-reading__list li { border-top: 1px solid var(--rule); }
.keep-reading__list li:first-child { border-top: 0; }
.keep-reading__list a { display: block; padding: 16px 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.keep-reading__name { display: block; font-size: 1.1rem; line-height: 1.35; font-weight: 700; }
.keep-reading__list a:hover .keep-reading__name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.keep-reading__date { display: block; margin-top: 7px; font: 400 12px/1.4 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }

/* footer */
.foot { background: var(--paper); border-top: 3px solid var(--ink); padding: 30px 0 40px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 22px 44px; }
.foot__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.foot__name { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; font-weight: 700; letter-spacing: -.012em; text-decoration: none; }
.foot__name:hover .foot__word { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot__mark { display: inline-block; width: 27px; height: 27px; flex: 0 0 auto; }
.foot__mark svg { display: block; width: 27px; height: 27px; }
.foot__dot { color: var(--gold-ink); }
.foot__copy { margin: 0; font: 400 12.5px/1.4 var(--sans); color: var(--muted); }
.foot__menu { flex: 0 1 460px; min-width: 0; }
.foot__menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.foot__menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font: 400 13px/1.35 var(--sans);
  letter-spacing: .01em;
  color: var(--ink-soft);
  text-decoration: none;
}
.foot__menu a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* 404 */
.is-not-found .reading > p { max-width: 66ch; }
.is-not-found .reading > p a[href="/"] {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 700 11.5px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.is-not-found .reading > p a[href="/"]::after { content: "\2192"; font-size: 14px; font-weight: 400; }
.is-not-found .reading > p a[href="/"]:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--paper); }

.reading .sitelist { list-style: none; margin: 0; padding: 0; max-width: none; border-top: 2px solid var(--ink); }
.reading .sitelist li { margin: 0; padding: 0; max-width: none; border-bottom: 1px solid var(--rule); }
.reading .sitelist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #cabf9f;
  text-underline-offset: 4px;
}
.reading .sitelist a::after { content: "\2192"; flex: 0 0 auto; color: var(--gold-ink); font-family: var(--sans); font-size: 16px; }
.reading .sitelist a:hover { color: var(--gold-ink); text-decoration-color: var(--gold); }

/* breakpoints */
@media (min-width: 760px) {
  .keep-reading__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .keep-reading__list li { border-top: 0; }
  .keep-reading__list a { padding: 0; }

  .kind-home .guide .guide__column { padding-inline: 24px; }
  .kind-home .guide .qeja-chapter:nth-of-type(even) { background: var(--wash); padding-inline: 24px; margin-inline: -24px; }
}

@media (min-width: 900px) {
  .opening__inner { grid-template-columns: minmax(0, 1.24fr) minmax(280px, .76fr); gap: 56px; }
  .opening__art { max-width: none; margin: 0; }
}

@media (min-width: 960px) {
  .entries .entry { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding: 28px 0; }
  .entry__pic { margin: 0; }
  .entry__title { font-size: 1.52rem; }
}

@media (min-width: 1080px) {
  .article-grid--aside {
    grid-template-columns: minmax(0, var(--measure)) 264px;
    column-gap: clamp(40px, 6vw, 120px);
    justify-content: space-between;
    align-items: start;
  }
  .article-grid--aside .article-main { max-width: none; margin-inline: 0; }
  .margin { position: sticky; top: 24px; }
  .toc__nav { max-height: calc(100vh - 132px); overflow: auto; }
}

@media (min-width: 1100px) and (max-width: 1260px) {
  .brand img { width: 158px; height: 40px; }
  .menu ul { gap: 2px 12px; }
  .menu a { font-size: 10.5px; letter-spacing: .04em; }
}

@media (max-width: 1079px) {
  .margin { order: -1; width: 100%; max-width: var(--measure); margin-inline: auto; }
  .article-grid { gap: 30px; padding-top: 32px; }
  .article-grid--aside .article-main { margin-inline: auto; }
  .toc__nav { max-height: 60vh; overflow: auto; }
  .facts { border: 1px solid var(--rule); border-top: 3px solid var(--gold); }
  .guide__toc .toc__nav { max-height: none; }
}

@media (max-width: 900px) {
  .article-grid,
  .article-grid--aside,
  .shell.article-grid,
  .shell.article-grid--aside { display: grid; grid-template-columns: minmax(0, 1fr); }
  .article-grid > * { min-width: 0; }
  .article-main,
  .article-grid--aside .article-main,
  .margin { width: auto; max-width: 100%; margin-inline: 0; justify-self: stretch; }
  .shell.article-grid .article-main,
  .shell.article-grid .article-main .reading,
  .shell.article-grid .article-main .reading > *,
  .shell.article-grid .article-main .reading p,
  .shell.article-grid .article-main .reading li,
  .shell.article-grid .article-main .reading figure { width: auto; max-width: 100%; }
  .reading img,
  .reading svg,
  .reading figure img,
  .keyplate,
  .keyplate svg { max-width: 100%; height: auto; }
  .keyplate,
  .keyplate svg { width: 100%; }
}

@media (max-width: 759px) {
  body { font-size: 17px; }
  .shell { padding-inline: 18px; }
  .masthead__inner { min-height: 64px; gap: 14px; }
  .brand img { width: 150px; height: 38px; }
  .titleband { padding: 18px 0 28px; }
  .titleband__inner { position: relative; gap: 16px; }
  .titleband__body { padding-right: 44px; }
  .titleband__stamp { position: absolute; top: 0; right: 0; width: 38px; padding-top: 0; }
  .titleband__stamp svg { width: 38px; height: 38px; }
  .titleband h1 { margin-top: 8px; }
  .titleband__lede { font-size: 1rem; }
  .qeja-trail ol { font-size: 11.5px; letter-spacing: .06em; }
  .qeja-trail [aria-current="page"] { font-size: 12px; }
  .opening { padding: 32px 0 30px; }
  .opening h1 { margin-bottom: 18px; }
  .opening__art { max-width: 420px; margin: 32px auto 0; }
  .opening__act { margin-top: 24px; }
  .latest { padding: 38px 0 46px; }
  .latest__head h2 { font-size: 1.6rem; }
  .entry__title { font-size: 1.32rem; }
  .guide { padding: 38px 0 58px; }
  .guide__column { max-width: 100%; }
  .guide__toc .toc__list { columns: 1; }
  .kind-home .guide .qeja-chapter:nth-of-type(even) { padding-inline: 18px; margin-inline: -18px; }
  .article-grid { padding-block: 26px 58px; gap: 28px; }
  .reading { font-size: 17px; line-height: 1.7; }
  .reading table { font-size: 14px; }
  .reading thead th, .reading tbody td, .reading tbody th { padding: 9px 10px; }
  .tablewrap table { min-width: 540px; }
  .reading .sitelist a { font-size: 17px; }
  .hub { padding: 32px 0 36px; }
  .hubindex { padding-top: 30px; }
  .index-table thead th, .index-table tbody th, .index-table tbody td { padding: 10px 8px; }
  .index-table tbody th { font-size: 15px; }
  .index-table tbody td { white-space: normal; }
  .keep-reading { padding: 30px 0 36px; }
  .foot { padding: 26px 0 34px; }
  .foot__inner { flex-direction: column; gap: 12px; }
  .foot__menu { flex: none; width: 100%; }
  .foot__menu a { font-size: 13px; }
}

@media (max-width: 1099px) {
  html.js .menu-toggle { display: inline-flex; }
  html.js .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 26px -22px rgba(20, 18, 13, .5);
    padding: 6px 18px 14px;
  }
  html.js .menu.is-open { display: block; }
  html.js .menu ul { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  html.js .menu li { border-top: 1px solid var(--rule); }
  html.js .menu li:first-child { border-top: 0; }
  html.js .menu a { min-height: 50px; font-size: 12.5px; letter-spacing: .08em; border-bottom: 0; }
  html.js .menu a[aria-current="page"] { color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

  html:not(.js) .masthead__inner { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .menu { flex: 1 1 100%; min-width: 0; }
  html:not(.js) .menu ul { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
}

@media (max-width: 400px) {
  .brand img { width: 138px; height: 35px; }
  .menu-toggle { padding: 8px 10px; gap: 8px; }
  .foot__menu ul { column-gap: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .menu-toggle, .gallery-more, .qeja-zoom__close { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
  .skip-link { transition: transform .15s ease; }
}
