:root {
  --bg: #e8dcc8;
  --surface: #fffaf1;
  --ink: #1e1a16;
  --muted: #655b4f;
  --line: rgba(30, 26, 22, 0.14);
  --accent: #0f6c5a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Georgia, "Iowan Old Style", serif; background: var(--bg); color: var(--ink); }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
a:focus-visible { outline: 3px solid #0a5bd8; outline-offset: 3px; }
.page { width: min(calc(100% - 2rem), 640px); margin: 0 auto; padding: 1rem 0 4rem; }
.topnav { width: min(calc(100% - 2rem), 1120px); margin: 0 auto; padding: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 4px; }
.brand span { font-family: "Trebuchet MS", "Gill Sans", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.nav-links a { display: inline-flex; min-height: 2.5rem; align-items: center; gap: 0.4rem; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.72); color: var(--ink); font-family: "Trebuchet MS", "Gill Sans", sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.03em; text-decoration: none; }
.nav-links a i { font-size: 0.8rem; color: var(--accent); }
.card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 1.5rem 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font: 0.75rem "Trebuchet MS", sans-serif; color: var(--muted); margin: 0 0 0.75rem; }
h1 { line-height: 1.05; letter-spacing: -0.04em; font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 0; }
p { color: var(--muted); line-height: 1.6; }
label { display: block; font-family: "Trebuchet MS", "Gill Sans", sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; color: var(--ink); margin-bottom: 0.35rem; }
input, textarea, select {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
input:focus, textarea:focus, select:focus { outline: 3px solid #0a5bd8; outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.qualification-fields { margin: 0.5rem 0 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.42); }
.qualification-fields h2 { margin: 0 0 0.4rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.qualification-fields p { margin: 0 0 1rem; font-size: 0.92rem; }
.qualification-fields textarea { min-height: 96px; }
.honeypot { position: absolute; left: -9999px; }
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: white;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.submit-btn:hover { opacity: 0.9; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.checkbox-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.checkbox-row input[type="checkbox"] { width: auto; margin: 0; accent-color: var(--accent); }
.checkbox-row label { margin: 0; font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.form-error { display: none; margin-top: 0.75rem; padding: 0.75rem 1rem; border-radius: 12px; background: rgba(161, 45, 31, 0.08); border: 1px solid rgba(161, 45, 31, 0.2); color: #a12d1f; font-size: 0.9rem; }
.alt-contact { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.alt-contact p { font-size: 0.95rem; margin: 0 0 0.5rem; }
.alt-contact a { color: var(--accent); }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success h2 { font-size: 1.4rem; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
footer p { font-size: 0.85rem; color: var(--muted); text-align: center; }
footer a { color: var(--accent); }
