:root {
  --bg: #15171c;
  --surface: #1d2028;
  --line: #2e323c;
  --text: #e4e1d8;
  --muted: #aaa69c;
  --accent: #e8b65a;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1rem;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: grid;
  grid-template-columns: 1fr minmax(0, 44rem) 1fr;
  column-gap: 2.5rem;
}

main { grid-column: 2; padding: 3rem 0 2rem; }

/* Clip-art either side of the reading column */
.art {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}
.art img { width: 100%; max-width: 190px; opacity: 0.9; }
.art-left { justify-content: flex-end; }
.art-right { justify-content: flex-start; }

/* Banner */
.banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}
h1, h2, .motto { font-family: var(--serif); color: var(--accent); }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.2; }
.tagline {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quals { font-weight: 600; font-size: 1rem; }
.contact { margin-bottom: 0; }

/* Body */
section { margin-top: 2.5rem; }
h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
ul { padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }
li::marker { color: var(--accent); }

a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #f2c977; }

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.motto { font-size: 1.35rem; font-style: italic; }

/* Narrow screens: single column, no side art */
@media (max-width: 1000px) {
  body { display: block; }
  .art { display: none; }
  main { max-width: 44rem; margin: 0 auto; padding-top: 1.5rem; }
  .banner { padding: 1.5rem 1.25rem 1.25rem; }
}
