@font-face {
  font-family: "LT Kai";
  src: url("/fonts/LTKai-1.ttf") format("truetype");
  font-display: swap;
}
:root {
  --ink: #34281D;
  --paper: #F9F4EF;
  --accent: #0C5557;
  --gold: #c9a96e;
  --muted: #6b6558;
  --line: #e5e0d8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 system-ui, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 82px;
}
.logo { width: 168px; max-width: 45vw; }
.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}
.hero {
  background: var(--ink);
  color: white;
  padding: 55px 0;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
}
h1, h2 {
  font-family: "LT Kai", Georgia, serif;
  font-weight: normal;
  line-height: 1.2;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 12px 0 18px;
}
h2 { font-size: 28px; margin: 0 0 14px; }
h3 { line-height: 1.35; }
.hero p { max-width: 720px; }
main { padding-top: 28px; padding-bottom: 56px; }
.breadcrumb { font-size: 13px; margin-bottom: 24px; }
.section {
  background: white;
  padding: 28px 32px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.section p:last-child { margin-bottom: 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.card {
  display: block;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  color: var(--ink);
}
.card h3 { margin: 0 0 12px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card:hover { border-color: var(--accent); }
.cta {
  background: var(--accent);
  color: white;
  padding: 32px;
  margin: 32px 0;
}
.cta a { color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block;
  padding: 11px 20px;
  background: white;
  color: var(--ink) !important;
  text-decoration: none;
  font-size: 14px;
}
.button.secondary {
  color: white !important;
  background: transparent;
  border: 1px solid white;
}
footer {
  background: var(--ink);
  color: white;
  padding: 32px 0;
  font-size: 14px;
}
footer a { color: white; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .hero { padding: 36px 0; }
  .section, .cta { padding: 22px; }
  .header-links { gap: 8px; }
}


/* Phase 10B: responsive content and long source URLs */
main, .section, .card, .cta {
  min-width: 0;
  overflow-wrap: anywhere;
}
.section a, .card a, footer a {
  overflow-wrap: anywhere;
}
.header-inner > * {
  min-width: 0;
}
.cards {
  grid-template-columns:
    repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
