:root {
  --ink: #21191b;
  --paper: #fff9ef;
  --red: #a11d37;
  --line: #c8b9ac;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.55 Arial,sans-serif;
}
h1,h2,h3,.brand,.strip {
  font-family: Georgia,serif;
}
a {
  color: inherit;
  text-underline-offset: .2em;
}
button {
  cursor: pointer;
  color: inherit;
  font: inherit;
}
a:hover, button:hover,summary:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #3276bd;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -100vw;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  z-index: 9;
}
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #191519;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 4%;
  border-bottom: 1px solid #67434a;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1.2;
}
.brand img {
  flex: none;
  width: 2rem;
}
nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
nav a {
  font-size: .9rem;
  text-decoration: none;
}
nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: #f199a6;
}
#menu {
  display: none;
}
.hero {
  background: #231319;
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.intro {
  padding: clamp(2rem,5vw,6rem) 10%;
}
.kicker {
  font: bold .8rem/1.4 Arial,sans-serif;
  letter-spacing: .16em;
  color: var(--red);
}
.intro .kicker {
  color: #ecc3b9;
}
h1 {
  font-weight: normal;
  font-size: clamp(4.2rem,8vw,9rem);
  line-height: .85;
  margin: .35em 0 .28em;
  letter-spacing: -.065em;
}
h1 em {
  color: #f3bcaf;
}
.lede {
  max-width: 38ch;
  color: #f1ded6;
}
.cta {
  display: inline-block;
  margin-top: .65rem;
  background: var(--paper);
  color: var(--ink);
  padding: .7rem 1.15rem;
  text-decoration: none;
  font-weight: bold;
}
.art {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.strip {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
  background: #85182b;
  color: white;
  padding: .8rem 5%;
}
.paper {
  max-width: 74rem;
  margin: auto;
  padding: 0 5%;
}
.paper section {
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: clamp(2rem,4vw,3.5rem);
  font-weight: normal;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: .2em 0;
}
.directory,.entries {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: .7rem;
}
.directory button {
  text-align: left;
  background: #f7edde;
  padding: 1rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}
.directory span {
  display: block;
  font: 1.3rem Georgia,serif;
}
.directory small {
  color: var(--red);
  text-decoration: underline;
}
.status {
  font-size: .9rem;
  color: #654b46;
}
.entries {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
}
details {
  background: #fbf1e4;
  border-bottom: 1px solid var(--line);
}
summary {
  padding: .85rem 1rem;
  cursor: pointer;
  font-weight: bold;
}
.entry {
  padding: 0 1rem;
}
.topic-page .entry :is(p, li, blockquote, figcaption) {
  text-align: justify;
}
.entry img {
  max-width: 100%;
  height: auto;
}
.suit {
  color: var(--red);
  font-size: 2rem;
}
.expand,#reset,#menu {
  padding: .45rem .8rem;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.expand {
  margin-bottom: 1rem;
}
#selection {
  padding: 1rem;
  background: #f4e6d8;
}
#chosen {
  margin-right: 1rem;
}
footer {
  background: #21191b;
  color: var(--paper);
  padding: 2rem 5%;
  font-size: .95rem;
}
[hidden] {
  display: none!important;
}
@media(max-width:72rem){
 #menu {
  display: block;
}
 nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #21191b;
  padding: 1rem 5%;
  max-height: 70vh;
  overflow: auto;
}
 nav.open {
  display: grid;
}
}
@media(max-width:42rem){
 .hero {
  grid-template-columns: 1fr;
}
 .intro {
  padding: 2.5rem 6%;
}
 .art {
  max-height: 17rem;
  aspect-ratio: 2/1;
}
 .directory {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
 .entries {
  grid-template-columns: 1fr;
}
 .paper section {
  padding: 2.2rem 0;
}
 .strip {
  font-size: .9rem;
}
}

/* Cover: framed artwork and a pair of reading paths. */
.hero {
  background: radial-gradient(ellipse at 0 100%, #451d29, #1c171c 65%);
  grid-template-columns: .92fr 1.08fr;
  padding: clamp(1.4rem, 4vw, 4.5rem) 5%;
  gap: clamp(1rem, 4vw, 4.5rem);
  align-items: center;
}
.intro {
  padding: 1.2rem 0;
}
.intro .kicker {
  text-transform: uppercase;
}
.cover {
  border: 1px solid #a77b64;
  padding: .48rem;
  box-shadow: 0 1.2rem 2.5rem #10091066;
}
.art {
  display: block;
  aspect-ratio: 1.4;
  height: auto;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.cta {
  margin: 0;
  background: #f5e5cd;
}
.secondary {
  color: #f3d3c5;
}
.strip {
  background: #6c1428;
  border-bottom: 3px double #b38470;
}
.paper {
  max-width: 84rem;
}
#directory {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
}
#directory h2 {
  grid-column: 1;
}
#directory h2 + p {
  grid-column: 1;
  margin: 0 0 1.4rem;
}
.status {
  grid-area: 1 / 2;
  font-style: italic;
}
.directory {
  grid-column: 1 / -1;
  gap: .9rem;
}
.directory button {
  position: relative;
  padding: 1.1rem;
  background: linear-gradient(130deg, #fffdf7 55%, #f1e4d1);
  border: 1px solid #c9baa8;
  border-radius: .4rem;
  box-shadow: 0 3px 0 #e4d7c6;
  transition: transform .15s, border-color .15s;
}
.directory button::before {
  content: "♦";
  display: block;
  font: 1.35rem Georgia, serif;
  color: var(--red);
  margin-bottom: .6rem;
}
.directory button:nth-child(even)::before {
  content: "♠";
  color: var(--ink);
}
.directory button:hover {
  transform: translateY(-2px);
  border-color: var(--red);
}
.directory small {
  display: inline-block;
  margin-top: .35rem;
  font-size: .9rem;
}
.chapter {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.chapter-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
}
.chapter-heading p {
  max-width: 36ch;
}
.suit {
  display: block;
  line-height: 1;
}
.entries {
  gap: .5rem;
}
details {
  background: #fffdf8;
  border: 1px solid #d2c5b7;
  border-radius: .22rem;
}
details[open] {
  border-color: #a96f78;
}
summary::marker {
  color: var(--red);
}
.entry {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#ethics p {
  max-width: 105ch;
}
@media (max-width: 54rem) {
  .chapter {
  grid-template-columns: 1fr;
  gap: .5rem;
}
  .chapter-heading p {
  max-width: 58ch;
}
}
@media (max-width: 42rem) {
  .hero {
  grid-template-columns: 1fr;
  padding: 1.5rem 5% 1.8rem;
}
  .art {
  aspect-ratio: 1.95;
}
  #directory {
  display: block;
}
  .status {
  margin-top: -.5rem;
}
  .directory {
  gap: .65rem;
}
}
@media (prefers-reduced-motion: reduce) {
  .directory button {
  transition: none;
}
}

/* Group cover and individual member cards use the same eight portraits. */
.portrait-cover {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2px, .35vw, 6px);
  border: 1px solid #a77b64;
  padding: clamp(4px, .55vw, 9px);
  background: #36232a;
}
.portrait-cover img,
.directory img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 12%;
}
.portrait-cover img {
  aspect-ratio: 4 / 5;
}
.directory button {
  padding: 0 0 .9rem;
  overflow: hidden;
}
.directory button::before,
.directory button:nth-child(even)::before {
  content: none;
}
.directory img {
  aspect-ratio: 1 / 1;
  border-bottom: 2px solid var(--red);
}
.directory span,
.directory small {
  margin-left: .85rem;
  margin-right: .85rem;
}
.directory span {
  margin-top: .7rem;
}

.home-cover {background:#21191b;color:var(--paper)}
.home-intro {
  max-width:76rem; margin:auto; padding:1.8rem 5% 2.3rem;
  display:grid; grid-template-columns:1fr 1fr; gap:2rem; align-items:center;
}
.home-intro h1 {font-size:clamp(3rem,6vw,6rem);margin:.15em 0}
.home-intro .kicker {color:#edc0b9}
.home-intro p {max-width:52ch}
.directory > a {
  display:block; overflow:hidden; padding-bottom:1rem; border:1px solid var(--line);
  border-radius:.35rem; background:#fffdf8; text-decoration:none;
}
.directory > a:hover {border-color:var(--red); box-shadow:0 3px 10px #33182620}
.topic-page {padding-top:clamp(1.5rem,5vw,4rem);padding-bottom:4rem;min-height:65vh}
.topic-page h1 {font-size:clamp(2.6rem,5vw,5rem);line-height:1.03;letter-spacing:-.045em;margin:.3em 0}
.topic-page section {padding-top:1.2rem}
.profile-intro {display:flex;gap:1.5rem;align-items:center;margin:1.5rem 0}
.profile-intro img {width:clamp(5rem,12vw,9rem);aspect-ratio:1;object-fit:cover;object-position:center 12%;border:1px solid var(--line)}
@media(max-width:42rem){.home-intro{grid-template-columns:1fr;gap:0}.topic-page .chapter-heading h1{overflow-wrap:break-word}}
