/* Rydingsward — house style
   Lexend · black & white · printer-friendly · ADHD-friendly
   One accent (--accent), used sparingly; forced to black in print. */

:root {
  --ink: #141414;        /* near-black body text */
  --ink-soft: #4a4a4a;   /* secondary text */
  --paper: #ffffff;
  --line: #d7d7d7;       /* hairline borders */
  --line-strong: #111;   /* dark full-width rules */
  --wash: #f6f6f6;       /* faint panel fill */
  --accent: #2f5d62;     /* the single accent — muted slate-teal */
  --maxw: 44rem;         /* ~66ch, easy reading measure */
}

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

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

body {
  font-family: 'Lexend', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;              /* airy — ADHD-friendly */
  font-size: 1.05rem;
  font-weight: 350;
}

h1, h2, h3 {
  font-family: 'Lexend', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Header — plain, high-contrast, no color */
header {
  border-bottom: 2px solid var(--line-strong);
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.2rem 1.6rem;
}
.brand {
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Hero — quiet, generous whitespace, no gradient */
.hero {
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 1.5rem 3rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; }
.hero p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}
.hero .rule { display: none; } /* retired gold rule */

/* Layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 2.6rem 1.5rem 4rem; }
.page-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.3rem; }
.page-intro { color: var(--ink-soft); margin-bottom: 2.2rem; }

section + section { margin-top: 3rem; }
h2 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.9rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
p + p { margin-top: 0.9rem; }

/* Cards — simple borders, no shadow, plenty of air */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.4rem 1.35rem;
}
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.card p { font-size: 0.98rem; color: var(--ink-soft); }
.card .cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.4rem 1rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.card .cta:hover { background: var(--ink); color: var(--paper); }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.12rem 0.5rem;
  margin-bottom: 0.7rem;
}

/* Download / resource list */
.download-list { list-style: none; margin-top: 1.2rem; }
.download-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: baseline;
}
.download-list a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); }
.download-list a:hover { border-bottom-color: var(--ink); }
.download-list .type { color: var(--ink-soft); font-size: 0.85rem; }

/* Video */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer — plain */
footer {
  border-top: 2px solid var(--line-strong);
  color: var(--ink-soft);
  text-align: center;
  padding: 1.6rem 1rem;
  font-size: 0.88rem;
}
footer a { color: var(--ink); }

/* Print: force pure black & white */
@media print {
  :root { --accent: #000; --ink: #000; --ink-soft: #222; }
  nav, .video-wrap { display: none; }
  .card { border-color: #000; }
  a { color: #000; }
}
