/* Source Sans 3 and Source Serif 4 are used under the SIL Open Font License.
   Notices: /fonts/source-sans-3-OFL.txt and /fonts/source-serif-4-OFL.txt */

@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: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}

:root {
  --paper: #f3f0e8;
  --card: #fbf9f5;
  --ink: #142420;
  --pine: #1c453c;
  --pine-deep: #102e29;
  --pine-soft: #e6efec;
  --brass: #8a5a32;
  --brass-deep: #6b4424;
  --line: #ddd6ca;
  --muted: #3f514b;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --wrap: 1080px;
  --shadow: 0 1px 0 rgba(20, 36, 32, 0.04);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 100% -10%, rgba(28, 69, 60, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 0%, rgba(138, 90, 50, 0.05), transparent 46%),
    var(--paper);
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brass-deep);
  text-underline-offset: 0.16em;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-150%);
  z-index: 20;
  background: var(--ink);
  color: #f7f4ee;
  padding: 0.6rem 1rem;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  transform: none;
  color: #f7f4ee;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  max-width: 42rem;
}

/* Keep a narrow text measure aligned with the header, not centered as its own column. */
.wrap.narrow {
  width: min(var(--wrap), calc(100% - 2rem));
  max-width: none;
}

.wrap.narrow > * {
  max-width: 42rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f3f0e8;
  border-top: 4px solid var(--pine);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 4.25rem;
  padding: 0.5rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--pine);
}

.mark {
  width: 2rem;
  height: 2rem;
  display: block;
  flex: none;
  color: var(--pine);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.site-nav a:hover {
  background: var(--pine-soft);
  color: var(--pine-deep);
}

.site-nav a[aria-current="page"] {
  color: var(--pine);
  box-shadow: inset 0 -2px 0 var(--brass);
  border-radius: 0;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

.hero {
  padding: 3.25rem 0 0.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--pine);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.subhead {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.lede {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 2px solid var(--pine);
  border-radius: 8px;
  background: var(--pine);
  color: #f7f4ee;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--pine-deep);
  border-color: var(--pine-deep);
  color: #f7f4ee;
}

.button-secondary {
  background: transparent;
  color: var(--pine);
}

.button-secondary:hover {
  background: var(--pine-soft);
  color: var(--pine-deep);
  border-color: var(--pine);
}

.button-on-dark {
  background: #f7f4ee;
  border-color: #f7f4ee;
  color: var(--pine);
}

.button-on-dark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--pine-deep);
}

.hero-art {
  margin: 0;
}

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

.section {
  margin-top: 3.25rem;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.section-intro h2,
.page-intro h1 {
  margin-bottom: 0;
}

.section-intro p,
.page-intro .lede {
  margin-top: 0.75rem;
}

.card-grid,
.feature-grid,
.tracks {
  display: grid;
  gap: 1.25rem;
}

.card,
.feature,
.track,
.panel,
.facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.card,
.track,
.panel {
  padding: 1.5rem 1.4rem 1.45rem;
}

.card h3,
.feature h3,
.track h2,
.panel h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.track h3 {
  margin-top: 1.35rem;
  font-size: 1.2rem;
}

.kicker {
  margin: 0.7rem 0 0;
  color: var(--pine);
  font-size: 0.95rem;
  font-weight: 600;
}

.card p,
.feature p,
.track p,
.panel p {
  margin: 0.75rem 0 0;
}

.card .text-link,
.panel .text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

.note {
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--pine);
}

.page-intro {
  padding: 3rem 0 0.25rem;
}

.page-intro .lede {
  margin-top: 1rem;
}

.status {
  display: inline-block;
  margin: 1.15rem 0 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--pine);
  font-weight: 600;
}

.feature-grid {
  margin-top: 1.25rem;
}

.feature {
  padding: 1.2rem 1.2rem 1.25rem;
}

.feature h3 {
  font-size: 1.25rem;
}

.audience {
  margin: 0.55rem 0 0;
  color: var(--pine);
  font-weight: 600;
}

.track {
  border-top: 4px solid var(--pine);
}

.track-business {
  border-top-color: var(--brass);
}

.topics {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.topics li {
  margin: 0.4rem 0;
  padding-left: 0.15rem;
}

.topics li::marker {
  color: var(--brass-deep);
}

.contact-band {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: var(--pine);
  color: #f7f4ee;
}

.contact-band h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.contact-band p {
  margin: 0.75rem 0 0;
  max-width: 40rem;
}

.contact-band a {
  color: #f7f4ee;
}

.contact-band a:hover {
  color: #fff;
}

.contact-band a.button-on-dark,
.contact-band a.button-on-dark:hover {
  background: #f7f4ee;
  border-color: #f7f4ee;
  color: var(--pine);
}

.contact-band a.button-on-dark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--pine-deep);
}

.contact-band .button {
  margin-top: 1.15rem;
}

.facts {
  margin: 1.25rem 0 0;
  padding: 0.4rem 1.3rem;
}

.facts div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.35rem 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  font-weight: 600;
  color: var(--pine);
}

.facts dd {
  margin: 0;
}

.narrow {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: 1.5rem;
}

.prose p,
.prose li {
  margin-top: 0.75rem;
}

.prose ul,
.prose ol {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.effective {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--pine);
}

.email-link {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.recovery {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.recovery li {
  margin: 0.3rem 0;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.55);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0 1.6rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

@media (min-width: 800px) {
  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 2.5rem;
  }

  .tracks {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0 0.45rem;
  }

  .site-nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 2.2rem;
  }

  .page-intro {
    padding-top: 2.1rem;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-band .button {
    width: 100%;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .button,
  .card,
  .feature,
  .track,
  .panel,
  .facts,
  .contact-band,
  .status {
    border: 1px solid ButtonText;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .skip-link,
  .hero-actions,
  .button,
  .hero-art {
    position: static;
  }

  .site-header {
    border-top: 0;
  }

  .contact-band {
    background: #fff;
    color: #000;
    border: 1px solid #000;
  }

  .contact-band a {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
