/* Youngstown Agora. Paper, ink, oxide. One file. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

:root {
  --ink: #1b1612;
  --ink-soft: #3a332c;
  --muted: #5c534a;
  --faint: #6a6158;
  --paper: #f4f0e6;
  --paper-sunk: #e8e1d2;
  --rule: rgba(27, 22, 18, 0.16);
  --oxide: #8d3b28;
  --oxide-deep: #6b2c1d;
  --bronze: #7a5b32;
  --cream: #f6f1e6;
  --header-h: 4.75rem;
  --max: 72rem;
  --measure: 40rem;
  --wide: 76rem;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, figure, blockquote, ol, ul { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(3rem, 7.4vw, 5.5rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(2.05rem, 4vw, 3.05rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.15; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }

a { color: inherit; }

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

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--oxide-deep);
  outline-offset: 3px;
}

::selection { background: #e4cfc0; color: var(--ink); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  z-index: 80;
  text-decoration: none;
}

.skip-link:focus { transform: none; }

.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;
}

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container-wide { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }

.measure { max-width: var(--measure); }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxide-deep);
  margin: 0 0 0.7rem;
}

.deck, .lede {
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 38rem;
  color: var(--ink-soft);
}

.sub { max-width: 38rem; color: var(--ink-soft); }

.source {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.55rem;
}

.source a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 3px double var(--ink);
}

.nav-bar {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  padding: 0.55rem 0;
}

.brand:hover { color: var(--ink); }

.brand-name {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-status {
  margin-top: 0.28rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxide-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.nav-link[aria-current="page"] {
  color: var(--oxide-deep);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.js .nav-toggle { display: inline-flex; }

.js .nav-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  padding: 0.25rem 1.25rem 0.75rem;
}

.js .nav-panel.is-open { display: block; }

.js .nav-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--rule);
}

.js .nav-menu li:last-child a { border-bottom: 0; }

@media (min-width: 1041px) {
  .js .nav-toggle { display: none; }

  .js .nav-panel {
    display: block;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.15rem;
  }

  .js .nav-menu a {
    min-height: 0;
    border: 0;
    padding: 0.35rem 0;
    font-size: 1rem;
  }
}

.hero { position: relative; background: var(--paper); }

.hero picture.bleed { display: block; }

.hero-media { display: block; width: 100%; height: auto; }

.hero-shade { display: none; }

.hero-content { padding: 1.6rem 0 0.4rem; }

.dateline {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide-deep);
  margin-bottom: 0.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  align-items: center;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--oxide-deep); border-color: var(--oxide-deep); color: var(--paper); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-line {
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  letter-spacing: 0.08em;
}

.btn-line:hover { color: var(--oxide-deep); background: transparent; }

.photo-credit {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--faint);
  margin: 0.55rem 0 0;
}

.photo-credit a { color: inherit; }

.hero-credit { padding-bottom: 1.1rem; }

@media (min-width: 900px) {
  .page-home .hero {
    min-height: 86vh;
    display: flex;
    align-items: flex-start;
    color: var(--cream);
  }

  .page-home .hero picture.bleed {
    position: absolute;
    inset: 0;
  }

  .page-home .hero picture.bleed .hero-media {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 42%;
  }

  .page-home .hero-shade {
    display: block;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(16, 12, 10, 0.82) 0%, rgba(16, 12, 10, 0.55) 36%, rgba(16, 12, 10, 0.12) 64%, rgba(16, 12, 10, 0.05) 100%),
      linear-gradient(180deg, rgba(16, 12, 10, 0.28) 0%, rgba(16, 12, 10, 0) 46%);
  }

  .page-home .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 9vh 0 3rem;
  }

  .page-home .hero h1 { max-width: 11em; }

  .page-home .hero .dateline { color: #f0d2c6; }
  .page-home .hero .deck,
  .page-home .hero .sub { color: var(--cream); }
  .page-home .hero h1 { color: var(--cream); }

  .page-home .hero .btn-solid {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--cream);
  }

  .page-home .hero .btn-solid:hover { background: #fff; color: var(--ink); }

  .page-home .hero .btn-ghost {
    color: var(--cream);
    border-color: rgba(246, 241, 230, 0.75);
  }

  .page-home .hero .btn-ghost:hover {
    background: var(--cream);
    color: var(--ink);
  }
}

.contents { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }

.contents ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin: 0;
  padding: 0;
}

.contents a { text-decoration: none; font-size: 0.98rem; }

.contents a span {
  font-family: var(--display);
  color: var(--oxide-deep);
  margin-right: 0.3rem;
}

.section { padding: 4.25rem 0; }
.section + .section { border-top: 1px solid var(--rule); }

.section[id], .page-intro, #main { scroll-margin-top: 5.5rem; }

.band {
  background: var(--paper-sunk);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.pull {
  margin: 1.5rem 0 1.75rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--oxide);
}

.pull blockquote { margin: 0; }

.pull p {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.25;
  max-width: 22em;
  margin-bottom: 0.35rem;
}

.page-intro { padding: 3.4rem 0 2.2rem; }

.page-intro h1 { max-width: 14em; }

.frontispiece { margin: 0; }

.frontispiece img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center 42%;
}

.frontispiece .photo-credit {
  width: min(100% - 2.5rem, var(--max));
  margin: 0.55rem auto 0;
}

.prose > p,
.prose > ul,
.prose > ol { max-width: var(--measure); }

.lineup { margin: 1.5rem 0 0; border-top: 1px solid var(--ink); }

.lineup-main,
.lineup-also { padding: 1.25rem 0; }

.lineup-also { border-top: 1px solid var(--rule); }

.lineup-also ul { list-style: none; margin: 0; padding: 0; max-width: 40rem; }

.lineup-also li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
}

.lineup-also li:first-child { border-top: 0; }

.program {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 1.5rem;
}

.program article { padding: 1.5rem 0 1.35rem; }

.program article + article { border-top: 1px solid var(--ink); }

.program .role-name {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 0.95;
  margin: 0 0 0.35rem;
}

.program .gloss {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

@media (min-width: 800px) {
  .program { grid-template-columns: 1fr 1fr; }
  .program article { padding: 1.6rem 1.5rem 1.4rem 0; }
  .program article + article {
    border-top: 0;
    border-left: 1px solid var(--ink);
    padding-left: 1.6rem;
  }
}

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

.record > li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.4rem 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}

.record .num {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--oxide-deep);
  line-height: 1;
  padding-top: 0.25rem;
}

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

.pillars li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}

.pillars p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.3;
  margin: 0;
  max-width: 34em;
}

.pillar-n {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--oxide-deep);
  font-variant-numeric: oldstyle-nums;
}

.verse {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--oxide);
}

.verse p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  max-width: 24em;
}

.plate { margin: 2rem 0 0; }

.plate img { display: block; width: 100%; height: auto; }

.footnotes {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.98rem;
}

.footnotes ol { margin: 0; padding-left: 1.2rem; }
.footnotes li { margin: 0.45rem 0; max-width: 48rem; }
.footnotes a { overflow-wrap: anywhere; }

sup { font-size: 0.72em; line-height: 0; }
sup a { color: var(--oxide-deep); text-decoration: none; }

.placeholder {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.final-cta { padding-bottom: 4.5rem; }

.claim-list { margin: 0; padding-left: 1.15rem; max-width: var(--measure); }
.claim-list li { margin: 0.4rem 0; }

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}

.site-footer a { color: inherit; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-name {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 0.45rem;
}

.footer-place,
.footer-motto { margin: 0; color: #e6dccb; }

.footer-motto {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e7c2b4;
  margin: 0 0 0.55rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.2rem 0; }

.footer-note { color: #cbbfaa; font-size: 0.92rem; }

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 230, 0.2);
  color: #cbbfaa;
  font-size: 0.92rem;
}

.footer-base p { margin: 0; max-width: 46rem; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
}

.not-found { padding: 4.5rem 0 6rem; }
.not-found h1 { max-width: 10em; }

@media (max-width: 420px) {
  .brand-name { font-size: 1.38rem; }
  body { font-size: 1.05rem; }
  .container, .nav-bar, .container-wide, .frontispiece .photo-credit {
    width: min(100% - 1.75rem, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header { position: static; }
  .nav-toggle { display: none !important; }
  .js .nav-panel { display: block !important; position: static !important; border: 0 !important; }
  .hero-shade { display: none !important; }
  .page-home .hero picture.bleed,
  .page-home .hero picture.bleed .hero-media {
    position: static !important;
    height: auto !important;
  }
  .page-home .hero,
  .page-home .hero h1,
  .page-home .hero .deck,
  .page-home .hero .sub { color: #000 !important; }
  .site-footer { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
