/* OpenSecondaries public site. Letterhead-institutional direction
   (owner decision 08/25/2026: independent palette, not the member-app dialect).
   Static, no scripts, system serif stack only. */

:root {
  --paper: #f7f3ea;
  --paper-deep: #f0ebdf;
  --ink: #232019;
  --muted: #57503f;      /* >= 4.5:1 on paper (grey contrast floor, 50+ audience) */
  --rule: #d8d1c0;
  --accent: #1e4434;     /* bottle green */
  --accent-deep: #163326;
}

* { box-sizing: border-box; min-width: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- Masthead ---------- */

header.masthead {
  text-align: center;
  padding: 34px 24px 0;
}

.wordmark {
  margin: 0;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.wordmark a { color: var(--ink); text-decoration: none; }

.tagline {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

nav.primary {
  margin: 20px auto 0;
  max-width: 860px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 34px;
  row-gap: 6px;
}
nav.primary a {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
nav.primary a:hover { color: var(--accent); }
nav.primary a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- Content ---------- */

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 44px 24px 30px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 8px;
}

section { margin-top: 46px; }

h2 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
}

p { margin: 0 0 14px; }
main a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
main a:hover { color: var(--accent); }

.smallnote { font-size: 14.5px; color: var(--muted); }

/* Agenda-style definition rows */

dl.agenda { margin: 0; }
dl.agenda > div {
  display: grid;
  grid-template-columns: 215px 1fr;
  column-gap: 26px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
dl.agenda > div:first-child { border-top: 1px solid var(--rule); }
dl.agenda dt {
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.4;
}
dl.agenda dd { margin: 0; color: var(--ink); }
dl.agenda dd p { margin: 0 0 10px; }
dl.agenda dd p:last-child { margin-bottom: 0; }

/* Contact page address display */

.address-block {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 22px 0;
  margin: 26px 0;
  text-align: center;
}
.address-block a {
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--accent-deep);
  text-decoration: none;
}
.address-block a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Fee schedule sheet */

table.feesheet {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 10px;
}
table.feesheet td {
  padding: 10px 4px;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
table.feesheet tr:first-child td { border-top: 1px solid var(--ink); }
table.feesheet tr:last-child td { border-bottom: 1px solid var(--ink); }
table.feesheet td.amt {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer ---------- */

footer {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 18px 24px 44px;
  border-top: 1px solid var(--ink);
  text-align: center;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
footer p { margin: 0 0 8px; }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  .wordmark { font-size: 34px; }
  header.masthead { padding-top: 26px; }
  nav.primary { column-gap: 18px; }
  main { padding-top: 34px; }
  h1 { font-size: 29px; }
  .lead { font-size: 17.5px; }
  dl.agenda > div {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
}
