:root {
  --ink: #13252f;
  --navy: #0c3047;
  --paper: #f5efe3;
  --white: #fffdf8;
  --brick: #c84e35;
  --teal: #15756f;
  --gold: #e2a532;
  --line: #cdc5b8;
  --muted: #667078;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Aptos", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 30; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .8rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(19,37,47,.16);
  background: rgba(255,253,248,.96);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--gold);
  font: 800 19px/1 var(--display);
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-family: var(--display); font-size: 18px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); content: ""; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { font-size: 13px; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brick); }
.hero {
  position: relative;
  display: grid;
  min-height: min(690px, 70svh);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(245,239,227,.96) 0%, rgba(245,239,227,.84) 36%, rgba(245,239,227,.05) 70%);
  content: "";
}
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { width: min(700px, 92%); margin-left: clamp(1.1rem, 8vw, 9rem); padding: 4rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--brick); font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); letter-spacing: 0; }
.hero h1 { max-width: 660px; margin: 0; font-size: clamp(50px, 8vw, 108px); line-height: .91; font-weight: 700; }
.hero .dek { max-width: 570px; margin: 1.7rem 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
.hero-note { display: flex; gap: 1.5rem; margin-top: 2rem; color: var(--navy); font-size: 13px; font-weight: 750; }
.hero-note span::before { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--teal); content: ""; }
.story-index { padding: clamp(2.8rem, 6vw, 5.8rem) clamp(1rem, 5vw, 5rem); background: var(--navy); color: white; }
.section-shell { width: min(1240px, 100%); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr minmax(260px, 470px); gap: 3rem; align-items: end; margin-bottom: 2rem; }
.section-head h2 { max-width: 650px; margin: 0; font-size: clamp(40px, 5vw, 70px); line-height: .98; }
.section-head p { margin: 0; color: #cad7dc; }
.story-tabs { border-top: 1px solid rgba(255,255,255,.24); }
.tab-controls { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 0; }
.tab-select { display: none; width: 100%; min-height: 46px; margin: 1rem 0; padding: .65rem .8rem; border: 1px solid var(--gold); border-radius: 0; background: var(--white); color: var(--ink); font: 750 14px/1 var(--body); }
.tab-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: .45rem .8rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  color: white;
  background: transparent;
  font: 750 12px/1 var(--body);
  cursor: pointer;
}
.tab-button[aria-selected="true"] { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.tab-panel[hidden] { display: none; }
.article-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.article-link {
  display: grid;
  min-height: 104px;
  grid-template-columns: 74px 1fr 24px;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1rem;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  text-decoration: none;
}
.article-link:nth-child(even) { border-right: 0; }
.article-link:hover { background: rgba(255,255,255,.08); }
.article-date { color: #a8c3ca; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.article-title { font-family: var(--display); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.2; }
.article-arrow { color: var(--gold); font-size: 21px; }
.principles { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); background: var(--paper); }
.principles-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); }
.principles h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: .95; }
.principle-list { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.principle b { color: var(--brick); font: 800 13px/1 var(--body); }
.principle h3 { margin: 0 0 .4rem; font-size: 24px; }
.principle p { margin: 0; color: #55626a; }
.about-band { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); background: var(--teal); color: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 9rem); }
.about-grid h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: .98; }
.about-copy { max-width: 670px; font-size: 18px; }
.about-copy p:first-child { margin-top: 0; }
.text-link { display: inline-flex; margin-top: 1rem; padding-bottom: .2rem; border-bottom: 2px solid var(--gold); font-weight: 800; text-decoration: none; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 2.5rem clamp(1rem, 5vw, 5rem); background: #081e2a; color: #c6d1d4; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: white; text-decoration: none; }
.page-hero { padding: clamp(4rem, 9vw, 9rem) clamp(1rem, 7vw, 8rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(46px, 8vw, 96px); line-height: .96; overflow-wrap: anywhere; }
.page-hero p { max-width: 700px; margin: 1.5rem 0 0; font-size: 20px; }
.library { padding: 3rem clamp(1rem, 5vw, 5rem) 7rem; }
.library-search { display: flex; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.library-search input { width: min(440px, 100%); min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 0; background: white; font: inherit; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.library-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.library-card:hover { background: var(--paper); }
.library-card time { color: var(--brick); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.library-card strong { margin: 1rem 0; font: 700 22px/1.2 var(--display); }
.library-card small { color: var(--muted); }
.article-page { background: var(--paper); }
.article-wrap { display: grid; grid-template-columns: minmax(0, 780px) 250px; gap: clamp(3rem, 8vw, 8rem); width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.article-head time { color: var(--brick); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.article-head h1 { margin: .8rem 0 1.5rem; font-size: clamp(42px, 6vw, 76px); line-height: 1; overflow-wrap: anywhere; }
.topic-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.topic-row span { padding: .35rem .6rem; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; }
.article-body { min-width: 0; overflow-wrap: anywhere; font-family: var(--display); font-size: 19px; line-height: 1.75; }
.article-body p { margin: 0 0 1.3rem; }
.article-body h2, .article-body h3 { margin: 2.5rem 0 .8rem; line-height: 1.15; }
.article-body blockquote { margin: 2rem 0; padding: 1.3rem 1.6rem; border-left: 5px solid var(--teal); background: white; }
.article-body a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body img { height: auto; margin: 2rem auto; }
.article-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body th, .article-body td { padding: .55rem; border: 1px solid var(--line); vertical-align: top; }
.article-body pre, .article-body code { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.article-aside { align-self: start; position: sticky; top: 2rem; border-top: 4px solid var(--brick); padding-top: 1rem; }
.article-aside h2 { margin: 0 0 1rem; font-size: 23px; }
.article-aside a { display: block; padding: .8rem 0; border-top: 1px solid var(--line); font: 700 15px/1.3 var(--display); text-decoration: none; }
.article-aside a:hover { color: var(--brick); }
.content-page { width: min(920px, calc(100% - 2rem)); min-width: 0; margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) 0; overflow-wrap: anywhere; }
.content-page h1 { margin: 0 0 2rem; font-size: clamp(44px, 7vw, 80px); line-height: 1; }
.content-page h2 { margin-top: 2.5rem; font-size: 30px; }
.content-page p, .content-page li { font-size: 18px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2.5rem 0; }
.person { padding: 2rem; border: 1px solid var(--line); background: white; }
.person h2 { margin-top: 0; }
.not-found { min-height: 70vh; display: grid; place-items: center; padding: 2rem; text-align: center; }
.not-found h1 { margin: 0; font-size: clamp(80px, 18vw, 180px); color: var(--brick); }
@media (max-width: 900px) {
  .section-head, .principles-grid, .about-grid, .article-wrap { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-aside { position: static; }
}
@media (max-width: 720px) {
  .site-header { min-height: 64px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--white); }
  .site-nav[data-open="true"] { display: grid; }
  .hero { min-height: 66svh; align-items: end; }
  .hero::after { background: linear-gradient(180deg, rgba(245,239,227,.25), rgba(245,239,227,.97) 60%); }
  .hero-image { object-position: 67% center; }
  .hero-copy { width: auto; margin: 0; padding: 4rem 1rem 2.5rem; }
  .hero h1 { font-size: clamp(46px, 17vw, 70px); }
  .hero .dek { font-size: 17px; }
  .hero-note { flex-wrap: wrap; gap: .5rem 1rem; }
  .section-head { gap: 1rem; }
  .article-links { grid-template-columns: 1fr; }
  .article-link, .article-link:nth-child(even) { grid-template-columns: 64px 1fr 18px; border-right: 0; }
  .tab-controls { display: none; }
  .tab-select { display: block; }
  .library-grid, .people { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .brand-copy small { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
