@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,500;0,700;1,300;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --ink: #000000;
  --paper: #ffffff;
  --ash: #6e6e6e;
  --ghost: #d8d8d8;
  --rail: clamp(228px, 23vw, 292px);
  --serif: "Cormorant Garamond", "Crimson Pro", Georgia, "Songti SC", serif;
  --body: "Crimson Pro", Georgia, "Songti SC", serif;
  --caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-left: var(--rail);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1.15em; }

/* ---------- masthead : fixed left column ---------- */

.mast {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 20px 26px;
  background: var(--paper);
  border-right: 2px solid var(--ink);
  overflow-y: auto;
  overflow-x: hidden;
}

.corner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  flex: 0 0 auto;
}

.corner .mark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.strap {
  margin: 0;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .16em;
  line-height: 1.5;
  color: var(--ash);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ghost);
}

.tabs { margin-top: auto; }

.tabs p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.tabs a {
  display: block;
  padding: 11px 0 11px 14px;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .04em;
  line-height: 1.5;
  border-left: 2px solid var(--ghost);
  transition: border-color .25s ease, padding-left .25s ease;
}

.tabs a:hover,
.tabs a:focus-visible {
  border-left-color: var(--ink);
  padding-left: 20px;
  outline: none;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.ghost {
  position: absolute;
  left: -2vw;
  bottom: -6vh;
  z-index: 1;
  font-family: var(--caps);
  font-size: clamp(9rem, 26vw, 24rem);
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .26);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 96px clamp(20px, 5vw, 72px);
  gap: 22px;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}

.hero-sub {
  margin: 0;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .34em;
  line-height: 1.6;
  color: #bdbdbd;
}

.hero-fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-left: 2px solid var(--paper);
  background: #111;
}

.hero-fig img,
.hero-img {
  width: 100%;
  height: 114%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  will-change: transform;
}

/* ---------- main spread ---------- */

.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(238px, 24vw, 322px);
  align-items: start;
  background: var(--paper);
}

.lede {
  min-width: 0;
  padding: 8px clamp(18px, 5vw, 76px) 64px;
  border-right: 2px solid var(--ink);
}

.lede > section {
  max-width: 66ch;
  padding: 58px 0 46px;
  border-top: 2px solid var(--ink);
  scroll-margin-top: 26px;
}

.lede > section:first-child { border-top: 0; }

.lede > section:last-child { border-bottom: 0; }

.lede > section h2 {
  margin: 0 0 .55em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}

.lede > section h3 {
  margin: 1.7em 0 .5em;
  font-family: var(--caps);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: .1em;
  line-height: 1.6;
}

.lede > section > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.1em;
  line-height: .76;
  padding: .1em .14em 0 0;
}

.lede blockquote {
  margin: 1.8em 0;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.lede blockquote p:last-child { margin-bottom: 0; }

.lede figure {
  margin: 1.9em 0;
}

.lede figcaption {
  margin-top: .6em;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .05em;
  color: var(--ash);
}

.lede img { filter: grayscale(1); border-bottom: 4px solid var(--ink); }

.lede ul,
.lede ol { padding-left: 1.35em; margin: 0 0 1.2em; }

.lede li { margin-bottom: .5em; }

.lede strong { font-weight: 600; }

.lede > section a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

/* ---------- aside rail ---------- */

.rail {
  padding: 40px 24px 64px;
  position: sticky;
  top: 0;
  align-self: start;
}

.rail-h {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: .01em;
  line-height: 1.2;
}

.subtitle {
  margin: 0 0 1.8em;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .05em;
  line-height: 1.7;
  color: var(--ash);
}

.index {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: idx;
}

.index li { border-bottom: 1px solid var(--ghost); }

.index a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  min-height: 44px;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .03em;
  line-height: 1.6;
  transition: padding-left .2s ease;
}

.index a:hover,
.index a:focus-visible {
  padding-left: 7px;
  outline: none;
}

.index .num {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ash);
  flex: 0 0 auto;
}

.rail-fig {
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid var(--ink);
}

.rail-fig img { filter: grayscale(1); width: 100%; }

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

.foot {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: 26px;
  padding: 58px clamp(18px, 4vw, 48px) 40px;
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
}

.footmark {
  grid-column: span 2;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.4vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.02em;
}

.footnote {
  margin: 0;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .14em;
  line-height: 1.7;
  color: #a9a9a9;
  align-self: end;
}

.footlinks {
  margin: 0;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footlinks a {
  display: block;
  padding: 10px 0;
  min-height: 40px;
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: .04em;
  line-height: 1.6;
  border-bottom: 1px solid #2e2e2e;
}

.footlinks a:hover,
.footlinks a:focus-visible { color: #cfcfcf; outline: none; }

.footsmall {
  margin: 0;
  align-self: end;
  text-align: right;
  font-size: 16px;
  color: #a9a9a9;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-fig img { transform: none !important; }
}

/* ---------- narrow ---------- */

@media (max-width: 980px) {
  .foot { grid-template-columns: 1fr 1fr; }
  .footmark { grid-column: span 2; }
  .footsmall { text-align: left; }
}

@media (max-width: 860px) {
  body { padding-left: 0; }

  .mast {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
    overflow: visible;
  }

  .corner { width: 42px; height: 42px; border-radius: 14px; }

  .strap { display: none; }

  .tabs {
    margin: 0 0 0 auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar { display: none; }

  .tabs p {
    flex-direction: row;
    gap: 16px;
    width: max-content;
    padding-right: 8px;
  }

  .tabs a {
    padding: 11px 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .tabs a:hover,
  .tabs a:focus-visible {
    border-left-color: transparent;
    border-bottom-color: var(--ink);
    padding-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 64px 22px 56px;
    gap: 18px;
  }

  .hero-fig {
    order: 2;
    border-left: 0;
    border-top: 2px solid var(--ink);
    height: 62vw;
    min-height: 240px;
  }

  .hero-fig img,
  .hero-img { height: 100%; }

  .ghost { font-size: 34vw; bottom: -2vh; opacity: .8; }

  .spread { grid-template-columns: 1fr; }

  .lede {
    border-right: 0;
    padding: 8px 18px 48px;
  }

  .lede > section {
    padding: 44px 0 36px;
    scroll-margin-top: 76px;
  }

  .rail {
    position: static;
    border-top: 2px solid var(--ink);
    padding: 40px 18px 52px;
  }

  .foot {
    grid-template-columns: 1fr;
    padding: 44px 18px 32px;
    gap: 18px;
  }

  .footmark { grid-column: auto; }
  .footsmall { text-align: left; }
}

@media (min-width: 1180px) {
  .lede > section > p,
  .lede > section > ul,
  .lede > section > ol {
    column-count: 2;
    column-gap: 2.6rem;
    column-rule: 1px solid var(--ghost);
  }

  .lede > section > p:first-of-type { column-span: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
