@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1914;
  --paper: #f7f1df;
  --indigo: #1a2456;
  --indigo-deep: #12183d;
  --saffron: #e3a008;
  --saffron-deep: #b57c06;
  --cream: #f4ebd0;
  --muted: #5c564c;
  --line: #e4d8c0;
  --rail-muted: #c9c0a6;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --rail: 17rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
  overflow-wrap: break-word;
}

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

a {
  color: var(--indigo);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--saffron-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--indigo);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.shell {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.rail {
  background: var(--indigo);
  color: var(--cream);
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.45rem 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand .logo {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.tagline {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rail-muted);
  font-weight: 600;
}

.site-nav {
  margin-top: 2.4rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  display: block;
  padding: 0.48rem 0 0.48rem 0.9rem;
  border-left: 2px solid transparent;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--saffron);
}

.site-nav a[aria-current="page"] {
  border-left-color: var(--saffron);
  color: var(--saffron);
}

.menu-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  color: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.bars {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 6px;
}

.rail-note {
  margin-top: auto;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--rail-muted);
  padding-top: 2rem;
}

.canvas {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1;
  width: min(42.5rem, 100%);
  margin: 0 auto;
  padding: 3.4rem 2rem 3.2rem;
}

.site-footer {
  width: min(42.5rem, 100%);
  margin: 0 auto;
  padding: 0 2rem 2.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal {
  flex-basis: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--saffron-deep);
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--indigo);
}

h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  background: var(--saffron);
  margin-top: 0.85rem;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: #3a352c;
  margin: 0 0 2rem;
}

.mast-figure,
.article-figure {
  margin: 0 0 2.25rem;
  max-width: 100%;
}

.mast-figure img,
.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mast-figure figcaption,
.article-figure figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.folio {
  list-style: none;
  margin: 0 0 2.6rem;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.folio li {
  border-bottom: 1px solid var(--ink);
}

.folio a {
  display: grid;
  grid-template-columns: 3.15rem minmax(0, 1fr);
  column-gap: 0.7rem;
  padding: 1.05rem 0 1.1rem;
  text-decoration: none;
  color: inherit;
}

.folio-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--saffron-deep);
  padding-top: 0.2rem;
}

.folio-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--indigo);
}

.folio a:hover .folio-title {
  color: var(--saffron-deep);
}

.folio-sum {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--indigo);
  margin: 2.1rem 0 0.7rem;
}

.prose ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.prose li {
  margin: 0 0 0.35rem;
}

.drop::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.55rem;
  line-height: 0.8;
  padding: 0.14em 0.1em 0 0;
  color: var(--indigo);
}

.crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.lost {
  padding: 1.5rem 0 3rem;
}

.lost .numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 16vw, 8rem);
  line-height: 0.85;
  color: var(--indigo);
  margin: 0 0 0.4rem;
  letter-spacing: -0.04em;
}

.button {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: var(--indigo);
  color: var(--cream);
  text-decoration: none;
}

.button:hover {
  background: var(--indigo-deep);
  color: var(--cream);
}

.mail {
  overflow-wrap: anywhere;
}

@media (max-width: 799px) {
  .shell {
    display: block;
  }

  .rail {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    padding: 0.65rem 0.9rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
  }

  .brand {
    order: 1;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
  }

  .brand .logo {
    width: 2.7rem;
    height: 2.7rem;
  }

  .wordmark {
    font-size: 1.2rem;
    line-height: 1.05;
  }

  .tagline {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .site-nav {
    display: none;
    margin: 0;
    flex-basis: 100%;
    order: 3;
    padding: 0.25rem 0 0.7rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav a {
    padding: 0.55rem 0 0.55rem 0.85rem;
  }

  .rail-note {
    display: none;
  }

  .rail-note.is-open,
  .menu-open .rail-note {
    display: none;
  }

  main,
  .site-footer {
    width: 100%;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  main {
    padding-top: 1.7rem;
    padding-bottom: 2.2rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .folio a {
    grid-template-columns: 2.35rem minmax(0, 1fr);
  }

  .folio-title {
    font-size: 1.4rem;
  }
}
