/* Damascus Lodge No. 290 -- modelled on mason-wong.com: near-black and bone,
   muted gold, huge condensed caps, script accents, bracketed mono labels and a
   vertical gold label in corner brackets. */

:root {
  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --bone: #e7e5df;
  --bone-2: #dcd9d1;
  --gold: #ccbb87;
  --gold-hi: #e3d3a1;
  --gold-deep: #8a7432;
  --gold-text: #6e5d28;      /* gold for small text on bone: 5:1 */
  --muted: #9c9a94;          /* on ink: 7:1 */
  --muted-bone: #57554f;     /* on bone: 6.4:1 */
  --line: rgba(231, 229, 223, .16);
  --line-bone: rgba(11, 11, 11, .14);

  --f-display: "Koulen", "Bebas Neue", Impact, sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --f-mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-roman: "Cinzel", "Trajan Pro", Georgia, serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 1rem/1.6 var(--f-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px;
  background: var(--gold); color: var(--ink); font: 500 .8rem var(--f-mono); text-decoration: none;
}
.skip:focus { top: 12px; }

/* film grain over everything, as on the reference */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type primitives ---------- */
.mono { font: 400 .72rem/1.5 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.bracket::before { content: "["; margin-right: .35em; }
.bracket::after { content: "]"; margin-left: .35em; }
.display {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  line-height: .86; letter-spacing: .01em; margin: 0;
}
.script { font-family: var(--f-script); text-transform: none; color: var(--gold); letter-spacing: 0; font-size: 1.05em; }
.tiny-bracket {
  font: 400 .5em/1 var(--f-mono); vertical-align: super; letter-spacing: .04em;
  color: var(--muted); margin: 0 .2em;
}

/* the vertical gold label in corner brackets (the reference's 「黃愷熹」) */
.vlabel {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  padding: .55em .5em; color: var(--gold);
  font: 600 clamp(1.4rem, 3.4vw, 3rem)/1.05 var(--f-roman); letter-spacing: 0;
  text-transform: uppercase;
}
.vlabel::before, .vlabel::after {
  content: ""; position: absolute; width: .7em; height: .7em; border: 2px solid currentColor;
}
.vlabel::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.vlabel::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.vlabel span { display: block; }
.on-bone .vlabel { color: var(--gold-deep); }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: 22px var(--gutter); color: var(--bone);
}
.site-header.solid { position: relative; background: var(--ink); }
.wordmark {
  font: 400 1.45rem/1 var(--f-display); letter-spacing: .02em; text-decoration: none;
  justify-self: start; padding: 4px 0;
}
.wordmark small { font-family: var(--f-mono); font-size: .55rem; vertical-align: top; color: var(--muted); margin-left: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-block; padding: 3px 0 3px 14px; position: relative;
  font: 400 .72rem/1.35 var(--f-mono); text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; color: var(--bone); transition: color .2s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px;
  margin-top: -3px; background: currentColor;
}
.header-right { justify-self: end; display: flex; gap: 14px; align-items: center; }
.sound {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer; font: 400 .72rem var(--f-mono);
  text-transform: uppercase; letter-spacing: .05em; color: var(--bone);
}
.sound:hover { color: var(--gold); }
.sound svg { width: 18px; height: 18px; }
.sound .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound .bars i { width: 2px; height: 3px; background: currentColor; display: block; }
.sound[aria-pressed="true"] .bars i { animation: eq 1s ease-in-out infinite; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.menu-btn { display: none; }

/* ---------- home hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  background: #050505; isolation: isolate;
}
.hero-media, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media > * { object-fit: cover; opacity: 0; transition: opacity 1.2s linear; }
.hero-media > .on { opacity: 1; }
.hero-media img.on { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0,0,0,.05), rgba(0,0,0,.55) 70%),
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.15) 30%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.85));
}
.emblem-stage {
  position: absolute; z-index: 2; left: 50%; top: 44%;
  width: min(46vh, 62vw); aspect-ratio: 1; transform: translate(-50%, -50%);
}
.emblem-stage canvas, .emblem-stage img { width: 100%; height: 100%; }
.emblem-stage img { object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.emblem-stage.live img { display: none; }
.hero-name {
  --name-size: clamp(5.2rem, 19.5vw, 24rem);
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(16px - 0.18em);
  display: flex; justify-content: space-between; color: var(--bone);
  font: 400 var(--name-size)/1 var(--f-display); text-transform: uppercase;
  margin: 0; pointer-events: none; user-select: none;
}
.hero-name span { display: block; }
.hero-meta {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter);
  bottom: calc(clamp(5.2rem, 19.5vw, 24rem) * .71 + 36px);
  display: flex; justify-content: space-between; gap: 12px; color: var(--bone);
}
.hero-meta .gold { color: var(--gold); }

/* ---------- statement (second screen) ---------- */
.statement {
  position: relative; min-height: 100svh; padding: 18vh var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  isolation: isolate;
}
.statement .bg {
  position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center;
  filter: blur(14px) brightness(.38) saturate(.8); transform: scale(1.05);
}
.statement h2 {
  font: 400 clamp(2.6rem, 6.6vw, 7rem)/.92 var(--f-display); text-transform: uppercase; margin: 0;
}
.statement h2 .r { display: block; text-align: right; }
.statement .lede {
  align-self: center; max-width: 34ch; margin: 7vh 0 9vh 18%; color: var(--bone);
}
.statement .lede p { font: 400 .82rem/1.65 var(--f-mono); margin: .9em 0 0; }
.statement .lede .k { color: var(--gold); text-transform: uppercase; }
.bracket-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }

/* ---------- bone sections ---------- */
.on-bone { background: var(--bone); color: var(--ink); color-scheme: light; }
.on-bone .muted { color: var(--muted-bone); }
.split-title {
  display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 32px);
  font: 400 clamp(3.4rem, 11vw, 12rem)/.85 var(--f-display); text-transform: uppercase;
  margin: 0; padding: 0 var(--gutter);
}
.split-title > .part { flex: 1; }
.split-title > .part:first-child { text-align: right; }
.on-bone .split-title { color: #75736d; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.wrap { padding: 0 var(--gutter); max-width: 1680px; margin: 0 auto; }

.feature-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 120px);
  margin-top: clamp(-60px, -5vw, -20px); padding: 0 var(--gutter);
}
.feature-cards .card:nth-child(2) { margin-top: clamp(40px, 9vw, 160px); }
.card { text-decoration: none; display: block; }
.card figure { margin: 0; overflow: hidden; background: #cfccc4; aspect-ratio: 4 / 3; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card .cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.card .cap h3 { margin: 0; font: 500 .78rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.card .cap span { font: 400 .72rem var(--f-mono); color: var(--muted-bone); text-transform: uppercase; white-space: nowrap; }
.center-copy { max-width: 46ch; margin: clamp(60px, 9vw, 120px) auto 0; text-align: center; }
.center-copy p { font: 400 .8rem/1.7 var(--f-mono); margin: 0 0 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px;
  padding: 0 18px; background: var(--ink); color: var(--bone); border: 1px solid var(--ink);
  font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.light:hover { background: transparent; color: var(--bone); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: transparent; color: var(--gold); }

/* ---------- about (black & white photo) ---------- */
.about-photo { position: relative; min-height: 170vh; isolation: isolate; overflow: hidden; }
.about-photo .bg { position: absolute; inset: 0; z-index: -1; }
.about-photo .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-photo .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bone) 0, rgba(231,229,223,0) 14%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.82) 82%, var(--ink));
}
.about-photo .split-title { color: var(--bone); padding-top: 16vh; mix-blend-mode: normal; }
.about-photo .split-title .part { text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.about-photo .claim {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12vh; text-align: center;
  font: 400 clamp(1.9rem, 4.6vw, 5rem)/1 var(--f-display); text-transform: uppercase; margin: 0;
}
.about-photo .claim .script { font-size: 1.15em; line-height: .6; }
.about-photo .claim + .more { position: absolute; left: 0; right: 0; bottom: 5vh; text-align: center; }
.link-arrow {
  font: 500 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px; display: inline-block;
}
.link-arrow:hover { color: var(--gold); }

/* ---------- what we do ---------- */
.dolist { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dolist li {
  display: grid; grid-template-columns: 70px 1fr minmax(0, 36ch); gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.dolist .n { font: 400 .72rem var(--f-mono); color: var(--gold); }
.dolist h3 { margin: 0; font: 400 clamp(1.9rem, 4.4vw, 4.4rem)/.95 var(--f-display); text-transform: uppercase; }
.dolist p { margin: 0; font: 400 .8rem/1.6 var(--f-mono); color: var(--muted); }

/* ---------- upcoming ---------- */
.dates { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dates li { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dates time { font: 400 1.5rem/1 var(--f-display); color: var(--gold); text-transform: uppercase; }
.dates h3 { margin: 0; font: 500 1rem/1.3 var(--f-body); }
.dates p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.dates .who { font: 400 .68rem var(--f-mono); text-transform: uppercase; color: var(--muted); }

/* ---------- trestle board teaser ---------- */
.tb-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.cover-btn { all: unset; cursor: pointer; display: block; position: relative; }
.cover-btn img {
  width: 100%; height: auto; transform: rotate(-2.2deg); box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 2px 0 rgba(0,0,0,.2);
  transition: transform .6s var(--ease);
}
.cover-btn:hover img, .cover-btn:focus-visible img { transform: rotate(0deg) translateY(-6px); }
.cover-btn:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 8px; }
.tb-teaser h2 { font: 400 clamp(3.2rem, 8vw, 8.5rem)/.85 var(--f-display); text-transform: uppercase; margin: 0 0 20px; }
.tb-teaser p { font: 400 .82rem/1.7 var(--f-mono); max-width: 48ch; margin: 0 0 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- officers ---------- */
.officer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.officer-grid li { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.officer-grid .st { display: block; font: 400 .68rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.officer-grid .nm { display: block; font: 400 1.7rem/1.05 var(--f-display); text-transform: uppercase; margin-top: 6px; }
.officer-grid .note { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.year-block { padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.year-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.year-head h2 { font: 400 clamp(3rem, 7vw, 7rem)/.85 var(--f-display); margin: 0; }
.year-block.current {
  position: relative; border: 1px solid rgba(204, 187, 135, .55); padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(160deg, rgba(204,187,135,.12), rgba(204,187,135,.02) 55%), var(--ink-2);
  margin-bottom: 40px;
}
.year-block.current .year-head h2 { color: var(--gold); }
.year-block.current .badge {
  font: 500 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  background: var(--gold); color: var(--ink); padding: 6px 10px;
}
.year-block.current .officer-grid { border-color: rgba(204,187,135,.35); }
.year-block.current .officer-grid li { border-color: rgba(204,187,135,.25); }
.year-block.current .officer-grid .nm { font-size: 2.1rem; }
.year-block:not(.current) .officer-grid .nm { font-size: 1.45rem; color: #cfcdc6; }
.east {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); align-items: center;
  margin-bottom: 34px; padding-bottom: 30px; border-bottom: 1px solid rgba(204,187,135,.35);
}
.east .vlabel { font-size: clamp(1.2rem, 2.4vw, 2rem); }
.east .wm-name { font: 400 clamp(3rem, 8vw, 8rem)/.85 var(--f-display); text-transform: uppercase; color: var(--bone); margin: 6px 0 0; }
.east .wm-st { font: 400 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.pm-list { columns: 3 220px; column-gap: 40px; list-style: none; padding: 0; margin: 24px 0 0; }
.pm-list li { font: 400 1.4rem/1.15 var(--f-display); text-transform: uppercase; padding: 8px 0; break-inside: avoid; border-bottom: 1px solid var(--line); }

/* ---------- page heads (subpages) ---------- */
.page-head {
  position: relative; min-height: 72svh; padding: 0 0 6vh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.page-head .bg { position: absolute; inset: 0; z-index: -1; }
.page-head .bg img, .page-head .bg video { width: 100%; height: 100%; object-fit: cover; }
.page-head .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,.35) 40%, rgba(11,11,11,1)); }
.page-head .split-title { color: var(--bone); }
.page-head .intro { max-width: 60ch; margin: 30px auto 0; text-align: center; padding: 0 var(--gutter); }
.page-head .intro p { font: 400 .82rem/1.7 var(--f-mono); color: #d6d4cd; margin: 0; }

/* ---------- trestle board archive ---------- */
.issue-latest { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.issue-year { margin-top: clamp(60px, 8vw, 110px); }
.issue-year h2 { font: 400 clamp(2.6rem, 6vw, 6rem)/.9 var(--f-display); margin: 0 0 24px; color: var(--muted-bone); }
.issues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.issues button { all: unset; cursor: pointer; display: block; width: 100%; }
.issues img { width: 100%; height: auto; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; background: #cfccc4; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.issues button:hover img, .issues button:focus-visible img { transform: translateY(-6px); box-shadow: 0 22px 36px rgba(0,0,0,.25); }
.issues button:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 6px; }
.issues .t { display: flex; justify-content: space-between; margin-top: 10px; font: 500 .74rem var(--f-mono); text-transform: uppercase; }
.issues .t span { color: var(--muted-bone); font-weight: 400; }
.issues .dl { display: inline-block; margin-top: 4px; font: 400 .7rem var(--f-mono); text-transform: uppercase; color: var(--gold-text); }

/* ---------- reader dialog ---------- */
.reader {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 8, 8, .97); color: var(--bone); overflow: hidden;
}
.reader::backdrop { background: rgba(0,0,0,.8); }
.reader[open] { display: grid; grid-template-rows: auto 1fr auto; }
.reader-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px var(--gutter); border-bottom: 1px solid var(--line);
}
.reader-bar h2 { margin: 0; font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; }
.reader-bar h2 small { font: 400 .7rem var(--f-mono); color: var(--muted); margin-left: 10px; }
.reader-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px;
  padding: 0 12px; background: transparent; border: 1px solid var(--line); color: var(--bone); cursor: pointer;
  font: 400 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[disabled] { opacity: .35; cursor: default; border-color: var(--line); color: var(--bone); }
.reader-stage { position: relative; overflow: auto; overscroll-behavior: contain; display: grid; place-items: center; padding: 18px; touch-action: pan-y pinch-zoom; }
.reader-stage img {
  max-height: calc(100dvh - 170px); width: auto; height: auto; max-width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #fff; transition: opacity .25s linear;
}
.reader-stage.zoomed { place-items: start center; touch-action: auto; cursor: zoom-out; }
.reader-stage.zoomed img { max-height: none; max-width: none; width: min(1800px, 180vw); }
.reader-stage:not(.zoomed) img { cursor: zoom-in; }
.reader-stage img.loading { opacity: .35; }
.reader-nav {
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px var(--gutter) 14px;
  border-top: 1px solid var(--line);
}
.reader-nav .count { font: 400 .78rem var(--f-mono); min-width: 9ch; text-align: center; }
.reader-thumbs { display: flex; gap: 6px; }
.reader-thumbs button {
  width: 34px; height: 44px; padding: 0; border: 1px solid var(--line); background: #222 center / cover no-repeat; cursor: pointer;
}
.reader-thumbs button[aria-current="true"] { border-color: var(--gold); outline: 1px solid var(--gold); }

/* ---------- community ---------- */
.stories { display: grid; gap: clamp(70px, 10vw, 140px); }
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.story:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.story:nth-child(even) .story-media { order: 2; }
.story-media img { width: 100%; height: auto; background: #cfccc4; }
.story-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.story-gallery img { aspect-ratio: 1; object-fit: cover; }
.story .meta { display: flex; gap: 14px; font: 400 .72rem var(--f-mono); text-transform: uppercase; color: var(--muted-bone); }
.story .meta .tag { color: var(--gold-text); }
.story h2 { font: 400 clamp(2.2rem, 4.4vw, 4.4rem)/.92 var(--f-display); text-transform: uppercase; margin: 12px 0 16px; }
.story p { margin: 0 0 14px; max-width: 52ch; }
.story .credit { font: 400 .74rem/1.5 var(--f-mono); color: var(--muted-bone); }

/* ---------- about page prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font: 400 clamp(2.4rem, 5vw, 4.6rem)/.92 var(--f-display); text-transform: uppercase; margin: 0 0 18px; }
.prose p { margin: 0 0 1.1em; font-size: 1.05rem; }
.prose .lead { font-size: 1.25rem; line-height: 1.55; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); }
.tenets { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-bone); }
.tenets li { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line-bone); }
.tenets b { display: block; font: 400 2.4rem/1 var(--f-display); text-transform: uppercase; }
.tenets span { font-size: .95rem; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts .k { font: 400 .7rem/1.6 var(--f-mono); text-transform: uppercase; color: var(--gold); }

/* ---------- tagline + footer ---------- */
.tagline { text-align: center; padding: clamp(90px, 14vw, 200px) var(--gutter); }
.tagline p { margin: 0; font: 400 clamp(2.4rem, 7vw, 7rem)/1 var(--f-script); color: var(--gold); }
.tagline .mono { display: block; margin-top: 20px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 50px var(--gutter) 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { font: 400 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; }
.foot-grid p, .foot-grid li { font-size: .92rem; margin: 0 0 6px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--gold); }
.foot-grid a.arrow::before { content: "\2192\00a0"; color: var(--gold); }
.foot-grid .foot-big { font: 400 clamp(3rem, 10vw, 9rem)/.85 var(--f-display); text-transform: uppercase; margin: 0 0 18px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; color: var(--muted); }
.foot-bottom a { text-decoration: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
    background: none; border: 1px solid var(--line); cursor: pointer; font: 400 .7rem var(--f-mono); text-transform: uppercase;
  }
  .nav { position: fixed; inset: 0; z-index: 40; background: rgba(8,8,8,.97); display: none; place-items: center; }
  .nav.open { display: grid; }
  .nav a { font-size: 1.1rem; padding: 10px 0 10px 20px; }
  .nav a[aria-current="page"]::before { width: 8px; height: 8px; margin-top: -4px; }
  .nav .close { position: absolute; top: 18px; right: var(--gutter); }
  .header-right { grid-column: 2; }
  .header-right .year { display: none; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-cards .card:nth-child(2) { margin-top: 0; }
  .statement .lede { margin-left: 0; }
  .dolist li { grid-template-columns: 44px 1fr; }
  .dolist p { grid-column: 2; }
  .tb-teaser, .issue-latest, .story, .story:nth-child(even), .two-col { grid-template-columns: 1fr; }
  .story:nth-child(even) .story-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dates li { grid-template-columns: 1fr; gap: 6px; }
  .tenets { grid-template-columns: 1fr; }
  .east { grid-template-columns: 1fr; }
  .east .vlabel { flex-direction: row; gap: .2em; justify-self: start; }
  .hero-meta .mid { display: none; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .emblem-stage { top: 40%; width: 74vw; }
  .reader-thumbs { display: none; }
  .split-title { font-size: clamp(2.6rem, 13vw, 5rem); }
  .split-title .vlabel { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img.on { animation: none; }
  .card img, .cover-btn img, .issues img { transition: none; }
  .sound[aria-pressed="true"] .bars i { animation: none; height: 8px; }
}
