/* Braidwood Recruitment — house stylesheet
   The register of a practice that has always existed: Caslon on paper,
   hairline rules, one deep green. No scripts, no third parties. */

:root {
  --paper: #faf7f1;
  --paper-dim: #f2ede3;
  --ink: #201c16;
  --muted: #6d6558;
  --green: #2e4b3c;
  --green-deep: #223a2e;
  --rule: #d8d0bf;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── the letterhead bar ─────────────────────────────────────── */
.letterbar { height: 4px; background: var(--green); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* ── masthead ──────────────────────────────────────────────── */
header.masthead { border-bottom: 1px solid var(--rule); }
header.masthead .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 26px; padding-bottom: 22px; gap: 24px; flex-wrap: wrap;
}
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: 0.01em; }
.wordmark a { color: var(--ink); text-decoration: none; }
nav { font-family: var(--sans); font-weight: 500; }
nav a {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; margin-left: 26px;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
nav a:first-child { margin-left: 0; }
nav a:hover, nav a:focus { color: var(--green); border-color: var(--green); }
nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }

/* ── section heads (owner note 2026-11-04 pm: bigger, clearly separated) ── */
.kicker {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 26px;
}
.kicker .no {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  color: var(--green); letter-spacing: 0;
  padding-right: 16px; border-right: 1px solid var(--rule);
}

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

/* ── typography ────────────────────────────────────────────── */
h1 {
  font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; line-height: 1.14;
  letter-spacing: -0.005em; margin-bottom: 22px;
}
h2 { font-size: clamp(24px, 3vw, 31px); font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
p { margin-bottom: 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 20px; line-height: 1.66; color: var(--ink); }
em, .ital { font-style: italic; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
strong { font-weight: 700; }

.smallcaps { font-variant: small-caps; letter-spacing: 0.04em; }

/* drop cap for the opening paragraph of an essay-style section */
.dropcap::first-letter {
  font-size: 3.1em; line-height: 0.82; float: left;
  padding: 6px 10px 0 0; color: var(--green); font-weight: 700;
}

/* ── page scaffolding ──────────────────────────────────────── */
main { padding: 58px 0 84px; }
section { padding: 46px 0; }
section + section { border-top: 1px solid var(--rule); }
section:first-of-type { padding-top: 22px; }

/* the centred hero (owner note 2026-11-04 pm: statement centred, card gone) */
.hero { text-align: center; padding: 64px 0 62px; }
.hero h1 { margin: 0 auto 26px; max-width: 22ch; }
.hero .lede { margin: 0 auto 34px; max-width: 60ch; }
.heroline {
  font-family: var(--sans); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.heroline b { color: var(--green); font-weight: 600; }

.cols-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
}
.cols-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}

.principle .no {
  font-family: var(--sans); font-weight: 600; color: var(--green);
  font-size: 13px; letter-spacing: 0.18em; display: block; margin-bottom: 8px;
}

ul.plain { list-style: none; max-width: var(--measure); }
ul.plain li {
  padding: 12px 0 12px 24px; position: relative; border-bottom: 1px solid var(--rule);
}
ul.plain li:last-child { border-bottom: 0; }
ul.plain li::before {
  content: "—"; position: absolute; left: 0; color: var(--green);
}
ul.plain li .sub { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; }

.note {
  background: var(--paper-dim); border: 1px solid var(--rule);
  padding: 22px 26px; font-size: 16px; max-width: var(--measure);
}

/* ── footer band ───────────────────────────────────────────── */
footer.band { background: var(--green-deep); color: var(--paper); }
footer.band .wrap {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 30px; padding-bottom: 30px; gap: 18px; flex-wrap: wrap;
}
footer.band a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(250,247,241,.45); }
footer.band a:hover { border-color: var(--paper); }
footer.band .colophon {
  font-family: var(--sans); font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: .75;
}

/* ── motion, once, quietly ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.19,.6,.22,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }
}

/* ── focus & selection ─────────────────────────────────────── */
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: var(--paper); }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .cols-2, .cols-3, .asym { grid-template-columns: 1fr; gap: 30px; }
  nav a { margin-left: 16px; letter-spacing: 0.1em; }
  main { padding: 34px 0 60px; }
}

/* ── print: the letterhead survives, the chrome doesn't ────── */
@media print {
  .letterbar { height: 3px; }
  nav, footer.band { display: none; }
  body { background: #fff; font-size: 11.5pt; }
  section { padding: 18pt 0; }
  a { color: inherit; }
}
