/* ---------------------------------------------------------------------------
   Area content page — schools / things to do.

   ZERO facts live in this file and zero facts live in index.html. Everything a
   visitor reads is filled in by templates/tools/build-area-page.py from a JSON
   input plus templates/agents.json.

   COLOUR RULE (GUARDRAILS #10). --accent-gold is a FILL colour only: rules,
   borders, bullets, underlines. It is never used as text and never used as a
   background behind text, because several agents' accents (Chris's green
   #69BE28, Parham's terracotta #B86B3D) fail contrast both ways.
     - text on a light background  -> --hr-text-dark, or --accent-text
     - text on a dark background   -> #fff only, over --hr-blue-primary
   Every one of these combinations is checked by templates/tools/contrast-audit.js.
--------------------------------------------------------------------------- */

:root {
  --hr-text-dark: #0A0A0A;
  --hr-blue-primary: #0A0A0A;
  --hr-blue-glow: #2A2A2A;
  --accent-gold: #C49968;
  --accent-text: #8A6A3E;
  --hr-text-muted: #7A6E5F;
  --hr-border: rgba(10,10,10,0.18);

  --page: #ffffff;
  --panel: #F5F6F7;
  --note: #FBF7EC;
  --radius: 10px;
  --maxw: 980px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--hr-text-dark);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--hr-blue-primary); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--hr-blue-primary); color: #fff; padding: 10px 16px; z-index: 50;
}
.skip:focus { left: 0; }

/* ---- header ---- */

.site-head {
  background: var(--hr-blue-primary);
  border-bottom: 3px solid var(--accent-gold);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: 0 0 46px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: .5px;
}
.brandtext { display: flex; flex-direction: column; line-height: 1.25; }
.brandname { color: #fff; font-weight: 700; font-size: 17px; }
.brandsub { color: #fff; font-size: 12.5px; letter-spacing: .3px; }
.head-cta {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15.5px;
  border: 1px solid var(--accent-gold); border-radius: 999px; padding: 9px 16px;
  white-space: nowrap;
}

/* ---- hero ---- */

.hero { background: var(--hr-blue-primary); padding: 42px 0 46px; }
.hero .kicker {
  margin: 0 0 10px; color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 14px; color: #fff;
  font-size: clamp(28px, 5vw, 42px); line-height: 1.15; font-weight: 800;
}
.hero-sub { margin: 0 0 12px; color: #fff; font-size: 18.5px; max-width: 68ch; }
.hero-meta { margin: 0; color: #fff; font-size: 14.5px; max-width: 78ch; }

/* ---- body ---- */

.body { padding: 34px 20px 10px; }

.intro p { margin: 0 0 16px; max-width: 74ch; }
.intro p:last-child { margin-bottom: 0; }

h2 {
  margin: 40px 0 6px; font-size: clamp(21px, 3vw, 26px); line-height: 1.25;
  font-weight: 800; color: var(--hr-text-dark);
}
h2::after {
  content: ""; display: block; width: 54px; height: 4px;
  background: var(--accent-gold); border-radius: 2px; margin-top: 10px;
}
h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 700; }

.section-lede { margin: 14px 0 18px; max-width: 74ch; }

/* ---- cards ---- */

.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  border: 1px solid var(--hr-border);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  background: var(--page);
}
.card-name { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.card-line { margin: 0 0 5px; font-size: 14.5px; }
.card-line:last-child { margin-bottom: 0; }
.card-tag {
  display: inline-block; margin: 0 0 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--accent-text);
}
.card a { color: var(--hr-blue-primary); }

.badge-excellence {
  display: inline-block; margin: 8px 0 0;
  border: 1px solid var(--accent-gold); border-radius: 999px;
  padding: 3px 10px; font-size: 12.5px; font-weight: 700;
  color: var(--hr-text-dark);
}

/* ---- notice ---- */

.notice {
  background: var(--note);
  border: 1px solid var(--hr-border);
  border-left: 5px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 26px 0 6px;
}
.notice h2 { margin: 0 0 8px; font-size: 18px; }
.notice h2::after { display: none; }
.notice p { margin: 0 0 10px; font-size: 15.5px; max-width: 78ch; }
.notice p:last-child { margin-bottom: 0; }
.notice ul { margin: 0; padding-left: 20px; font-size: 15.5px; }
.notice li { margin-bottom: 5px; }

/* ---- sources ---- */

.sources {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 4px 20px 18px;
  margin-top: 40px;
}
.sources h2 { font-size: 19px; margin-top: 20px; }
.sources ul { margin: 0; padding-left: 20px; font-size: 15px; }
.sources li { margin-bottom: 8px; max-width: 84ch; }

/* ---- cta ---- */

.cta {
  margin: 34px 0 10px;
  border: 1px solid var(--hr-border);
  border-top: 4px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 6px 22px 24px;
}
.cta h2 { margin-top: 22px; }
.cta p { max-width: 74ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  background: var(--hr-blue-primary); color: #fff;
  border: 2px solid var(--hr-blue-primary); border-radius: 8px;
  padding: 12px 20px;
}
.btn-ghost { background: var(--page); color: var(--hr-blue-primary); }
.cta-note { font-size: 14px; margin: 0; }

/* ---- footer ---- */

.site-foot {
  background: var(--hr-blue-primary);
  margin-top: 46px;
  padding: 28px 0 32px;
  text-align: center;
}
.site-foot p { margin: 0 0 8px; color: #fff; }
.foot-brand { font-weight: 700; font-size: 16.5px; }
.foot-brand a { color: #fff; }
.foot-lic { font-size: 14.5px; }
.foot-legal { font-size: 13.5px; max-width: 80ch; margin-left: auto; margin-right: auto; }
.foot-copy { font-size: 13px; margin-bottom: 0; }

@media (max-width: 560px) {
  .head-row { flex-direction: column; align-items: flex-start; }
  .hero { padding: 32px 0 34px; }
}
