/* Mac Lir Swimming: brand colours from the final logo set (22 Nov 2026) */
@font-face {
  font-family: "Stoke";
  src: url("/fonts/stoke-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours */
  --green: #1E8A5A;        /* Mac Lir green */
  --text-green: #1A7A50;   /* green for small text on white */
  --blue: #23297A;         /* St Patrick's blue */

  /* Light mode */
  --bg: #FFFFFF;
  --ink: #23297A;          /* headings */
  --body: #2B2F52;         /* body text */
  --muted: #5F6385;
  --accent: var(--text-green);
  --rule: #DADCEB;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181F;         /* near-black, so the white logo sits quietly */
    --ink: #FFFFFF;
    --body: #E4E6F0;
    --muted: #A3A7BE;
    --accent: #7FD3A8;     /* lighter green, readable on dark */
    --rule: #2C2F3B;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main.wrap { flex: 1; padding-top: 2.5rem; padding-bottom: 3rem; }

.brand img {
  display: block;
  width: min(260px, 66vw);
  height: auto;
}

.hero { margin-top: 4rem; }

.status {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

h1, h2, dt {
  font-family: "Stoke", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ink);
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.3rem, 6.5vw, 3.4rem);
  line-height: 1.1;
}

.lead { font-size: 1.15rem; margin: 0 0 1rem; }

.who { color: var(--muted); margin: 0; }

/* Timeline: a plain two-column list with hairlines, no cards */
.timeline { margin-top: 3rem; }

.timeline dl { margin: 0; border-top: 1px solid var(--rule); }

.timeline dl > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

dt { font-size: 1.1rem; }
dd { margin: 0; color: var(--muted); }

@media (max-width: 30rem) {
  .timeline dl > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

.contact { margin-top: 3rem; }

h2 { font-size: 1.4rem; margin: 0 0 0.4rem; }

.contact p { margin: 0 0 0.4rem; }

a { color: var(--accent); text-underline-offset: 3px; }

.contact a { font-weight: 600; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.foot {
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot p { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
