:root {
  --ink: #1c2b3a;
  --paper: #f7f5f2;
  --card: #ffffff;
  --accent: #b4532a;
  --accent-dark: #8f3f1e;
  --muted: #5a6b7b;
  --line: #e3ddd5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.wrap { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 0.5rem 1rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; z-index: 10; }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Header */
.site-header {
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.brand { font-weight: bold; letter-spacing: 0.02em; }
.header-nav a {
  color: var(--paper); text-decoration: none; margin-left: 1.25rem;
  font-family: system-ui, sans-serif; font-size: 0.95rem;
}
.header-nav a:hover { text-decoration: underline; }

/* Hero */
.hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; line-height: 1.2; }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 42rem; margin: 1rem auto 1.5rem; }
.hero-note { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-family: system-ui, sans-serif; font-weight: 600;
  padding: 0.7rem 1.6rem; border-radius: 6px;
  text-decoration: none; font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); }

/* Sections */
.section { padding: 3rem 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.section-lead { color: var(--muted); margin-bottom: 1.5rem; }

/* Subjects */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.1rem 1.2rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card ul { list-style: none; }
.card li {
  font-family: system-ui, sans-serif; font-size: 0.95rem;
  padding: 0.15rem 0 0.15rem 1rem; position: relative; color: var(--muted);
}
.card li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* Rates */
.rate-list { list-style: none; max-width: 34rem; }
.rate-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.rate-price { font-weight: bold; color: var(--accent-dark); white-space: nowrap; }
.fineprint { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.contact-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.1rem 1.2rem;
}
.contact-card .label {
  font-family: system-ui, sans-serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 0.3rem;
}
.contact-card a {
  color: var(--accent-dark); font-weight: bold;
  text-decoration: none; font-size: 1.1rem; word-break: break-all;
}
.contact-card a:hover { text-decoration: underline; }

/* Missing-content notes */
.missing {
  background: #fdf3e7; border: 1px solid #e8c9a4;
  border-radius: 6px; padding: 0.8rem 1rem;
  color: #6b4413; font-size: 0.95rem;
}

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 1.5rem 0; font-size: 0.9rem; }

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 1.05rem; }
  .header-nav a { margin-left: 0.75rem; font-size: 0.9rem; }
}
