/* Shared project/repository shell. Load after each site's content stylesheet. */
:root {
  --ink: #111111;
  --accent: #b3251e;
  --paper: #ffffff;
  --body: #555555;
  --line: #dddddd;
  --wash: #f6f6f4;
  --sans: 'Libre Franklin', Arial, Helvetica, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; }
p { color: var(--body); font-size: 1rem; line-height: 1.7; margin: 0 0 1.5rem; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
h1, .hero h1, .document-hero h1, .message-page h1 {
  font-size: clamp(3rem, 4.9vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.058em;
}
h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); }
h3 { font-size: 1.25rem; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--mono); }
.eyebrow {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 1rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 112px;
  padding-block: 0;
  border-bottom: 4px solid var(--ink);
}
.brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand > span:last-child { min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  width: 39px;
  height: 42px;
  padding: 0;
  background: var(--accent);
  color: var(--paper);
}
.brand-mark svg { display: block; width: 28px; height: 28px; }
.wordmark {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.brand-sub, .site-header .brand-sub, .site-footer .brand-sub {
  display: block;
  margin-top: 5px;
  color: var(--body);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.site-header nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 28px;
  min-width: 0;
  margin: 0 0 0 auto;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 0;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
}
.site-header nav span { margin-left: 0; }
.site-header nav a:hover, .text-link:hover, .footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header nav [aria-current='page'], .footer-links [aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  max-width: 100%;
  padding: 18px 22px;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background .15s, color .15s;
}
.button:hover { text-decoration: none; }
.button-primary { background: var(--accent); color: var(--paper); }
.button-primary:hover { background: #911e19; color: var(--paper); }
.button span { flex-shrink: 0; font-size: 1.2rem; font-weight: 400; }
.button-outline { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.site-header .header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 14px;
  min-height: 52px;
  padding: 13px 17px;
  font-size: .875rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
}
.text-link span { flex-shrink: 0; font-size: 1.25rem; }

/* Content keeps its own grids; common type and outer spacing stay consistent. */
.hero { align-items: start; padding-block: 72px 80px; }
.hero-copy { min-width: 0; padding-top: 28px; }
.hero h1 { max-width: 600px; }
.hero-description { max-width: 530px; margin: 28px 0; font-size: 1.125rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }

.site-footer {
  display: block;
  border: 0;
  padding-block: 42px 25px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-top > div { min-width: 0; }
.site-footer .footer-top > div > p {
  margin: 14px 0 0;
  font-size: .8125rem;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0;
  font-size: .875rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-block: 10px;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
}
.site-footer .footer-bottom p { margin: 0; font-size: .75rem; line-height: 1.7; }
.footer-bottom p > a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom > .mono { color: var(--body); font-size: .75rem; line-height: 1.6; letter-spacing: .04em; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .site-header { gap: 20px; }
  .site-header nav { gap: 0 20px; }
  .site-header .header-cta { display: none; }
  .hero-copy { padding-top: 16px; }
  .hero h1 { font-size: 3.5rem; }
  .hero-actions { gap: 12px 24px; }
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-height: 112px;
    padding-block: 20px;
  }
  .site-header nav { flex: 0 1 auto; justify-content: flex-start; width: 100%; margin: 0; gap: 0 24px; }
  .hero { padding-block: 52px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { max-width: 650px; font-size: clamp(3rem, 7.5vw, 4rem); }
  .hero-description { max-width: 620px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 126px; padding-block: 20px; gap: 12px; }
  .brand-mark { flex-basis: 32px; width: 32px; height: 36px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .wordmark { font-size: 1.2rem; }
  .brand-sub, .site-header .brand-sub, .site-footer .brand-sub { font-size: .6875rem; }
  .site-header nav { gap: 0 24px; }
  .site-header nav a { min-height: 44px; padding-block: 10px; font-size: .875rem; }
  .button { min-height: 52px; padding: 16px 18px; gap: 14px; font-size: .8125rem; }
  .hero { padding-block: 42px; }
  .hero-copy { padding-top: 0; }
  h1, .hero h1, .document-hero h1, .message-page h1 { font-size: 2.875rem; line-height: 1.06; }
  h2 { font-size: 2rem; }
  .eyebrow, .hero .eyebrow { font-size: .6875rem; margin-bottom: 18px; }
  .hero-description { margin: 22px 0; font-size: 1rem; line-height: 1.75; }
  .hero-actions { gap: 10px 24px; }
  .site-footer { padding-block: 42px 25px; }
  .footer-links { gap: 0 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
