/* ==========================================================================
   Safe Artificial Intelligence Lab — Purdue University Northwest
   Single stylesheet. Design tokens live in :root.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-alt: #f7f6f1;
  --text: #16171a;
  --text-muted: #53565c;
  --border: #e2dfd6;
  --border-strong: #cbc6b6;

  --gold: #daaa00;        /* accents, rules, borders, buttons */
  --gold-hover: #c69a00;
  --gold-soft: #f7f0d4;
  --gold-text: #735600;   /* AA-compliant gold for small text on light backgrounds */

  --ink: #16171a;         /* dark surfaces (tree root, footer, CTA) */
  --ink-muted: #bdbab0;
  --focus: #1f56d8;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(22, 23, 26, 0.04), 0 8px 24px rgba(22, 23, 26, 0.07);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--gold-text); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }

/* :where() keeps this reset at zero specificity so component classes (.tree-branches, .jump-nav…) can set spacing */
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 0.6em 1em;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.brand-sub { font-size: 0.78rem; letter-spacing: 0.02em; color: var(--text-muted); }
.brand-short { display: none; }
@media (max-width: 520px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
}
@media (min-width: 881px) and (max-width: 1060px) {
  .nav-list a { padding-inline: 0.5rem; font-size: 0.92rem; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-list { display: flex; flex-wrap: wrap; gap: 0.15rem; }
.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
}
.nav-list a:hover { color: var(--text); background: var(--bg-alt); }
.nav-list a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

@media (max-width: 880px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(22, 23, 26, 0.08);
  }
  .js .site-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; padding: 0.5rem var(--gutter) 1rem; }
  .js .nav-list a { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .js .nav-list li:last-child a { border-bottom: 0; }
  .js .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 0.9rem; }
}

/* ---------- Buttons, badges, tags, links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); color: var(--ink); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--text); color: var(--text); }
.btn-on-dark { background: transparent; color: #fff; border-color: #5b5d64; }
.btn-on-dark:hover { color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link { font-weight: 600; text-decoration: none; color: var(--text); }
.text-link::after { content: " →"; content: " →" / ""; color: var(--gold-text); }
.text-link:hover { color: var(--gold-text); text-decoration: underline; text-decoration-color: var(--gold); }

.badge-sample {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  vertical-align: 0.15em;
  color: var(--gold-text);
  background: var(--gold-soft);
  border: 1px solid #e6d48f;
  border-radius: 4px;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.tag {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}
a.tag:hover { color: var(--text); border-color: var(--gold); }

.link-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.link-pill {
  display: inline-block;
  padding: 0.28rem 0.72rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  transition: background-color 0.18s, border-color 0.18s;
}
a.link-pill:hover { color: var(--text); background: var(--gold-soft); border-color: var(--gold); }
.link-pill.is-placeholder { color: var(--text-muted); border-style: dashed; cursor: default; }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.notice {
  margin: 0 0 1.75rem;
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
  color: #4a3b00;
  background: #fcf8e9;
  border: 1px solid #eadb9f;
  border-radius: 8px;
}

.data-status {
  margin: 0;
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
}

/* Shown in place of an empty list (e.g. projects not yet published) */
.empty-state {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.empty-state h2, .empty-state h3 { margin: 0.75rem 0 0.4rem; font-size: 1.35rem; }
.empty-state p { max-width: 66ch; margin-bottom: 1rem; color: var(--text-muted); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: var(--gold-soft);
  border: 1px solid #e6d48f;
  border-radius: 999px;
}
.status-pill::before { content: ""; width: 0.45rem; height: 0.45rem; background: var(--gold); border-radius: 50%; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head > :last-child { margin-bottom: 0; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.section-head--center { max-width: 860px; margin-inline: auto; text-align: center; }
.section-head--center p { text-wrap: balance; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
}
.section-head--row > div { max-width: 640px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.split .lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.55; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

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

.hero { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); text-align: center; }
.hero h1 { margin-bottom: 0.35em; text-wrap: balance; }
.hero-lead {
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem);
  line-height: 1.45;
  color: var(--text-muted);
  text-wrap: balance;
}
.hero-director { margin-bottom: 2rem; font-size: 1.02rem; }
.hero-director a { font-weight: 600; }
.hero .btn-row, .hero .concept-flow { justify-content: center; }

.concept-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}
.concept-flow li { display: flex; align-items: center; gap: 0.5rem; }
.concept-flow li + li::before { content: "→"; content: "→" / ""; color: var(--gold-text); font-weight: 700; }
.concept-flow span {
  padding: 0.3rem 0.75rem;
  font-weight: 500;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---------- SAFE AI tree (primary visual identity) ---------- */

.safe-tree {
  --line: var(--gold);
  --drop: 36px;
  --gap: 1.5rem;
}

.tree-root {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.95rem 2.5rem 1rem;
  text-align: center;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.tree-root-label { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1.25; }
.tree-root::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 1px);
  width: 2px;
  height: var(--drop);
  background: var(--line);
}

.tree-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: var(--drop) 0 0;
  padding: var(--drop) 0 0;
  list-style: none;
}
/* horizontal bar joining the centers of the outer columns */
.tree-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 2 * var(--gap)) / 6);
  right: calc((100% - 2 * var(--gap)) / 6);
  height: 2px;
  background: var(--line);
}
.tree-branch { position: relative; }
/* vertical drop from the bar into each branch */
.tree-branch::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--drop));
  left: calc(50% - 1px);
  width: 2px;
  height: var(--drop);
  background: var(--line);
}

.branch-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.5rem 1.3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.branch-card:hover { border-color: var(--border-strong); border-top-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.branch-step { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.branch-card h3 { margin-bottom: 0.3rem; font-size: 1.4rem; }
.branch-tagline { margin-bottom: 1rem; font-size: 0.97rem; color: var(--text-muted); }
.branch-topics { flex: 1; margin: 0 0 1.25rem; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.branch-topics li { padding: 0.5rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.branch-card .text-link { font-size: 0.93rem; }

@media (max-width: 860px) {
  .safe-tree { --drop: 1.5rem; --spine: 26px; --indent: 48px; --tick: 2.1rem; }

  .tree-root { width: 100%; align-items: flex-start; margin-inline: 0; padding: 0.9rem 1.25rem; text-align: left; }
  .tree-root::after { left: calc(var(--spine) - 1px); }

  .tree-branches { grid-template-columns: 1fr; margin-top: 0; padding-left: var(--indent); }
  .tree-branches::before { display: none; }

  /* spine segment for each branch: from the previous branch down to this branch's tick */
  .tree-branch::before {
    top: calc(-1 * var(--gap));
    bottom: 0;
    left: calc(var(--spine) - var(--indent) - 1px);
    height: auto;
  }
  .tree-branch:first-child::before { top: 0; }
  .tree-branch:last-child::before { bottom: auto; height: calc(var(--gap) + var(--tick)); }
  .tree-branch:first-child:last-child::before { height: var(--tick); }
  /* horizontal tick into the card */
  .tree-branch::after {
    content: "";
    position: absolute;
    top: var(--tick);
    left: calc(var(--spine) - var(--indent));
    width: calc(var(--indent) - var(--spine));
    height: 2px;
    background: var(--line);
  }
  .branch-card:hover { transform: none; }
}

@media (max-width: 420px) {
  .safe-tree { --spine: 18px; --indent: 34px; }
  .branch-card { padding: 1.2rem 1.1rem 1.1rem; }
}

/* ---------- Page header (inner pages) ---------- */

.page-header { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 0.4em; }
.page-header p { max-width: 64ch; font-size: 1.12rem; color: var(--text-muted); }
.page-header > .container > :last-child { margin-bottom: 0; }

.jump-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.jump-nav a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.jump-nav a:hover { color: var(--text); border-color: var(--gold); background: var(--gold-soft); }

/* ---------- Cards (projects) ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 9; max-width: 100%; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 0.7rem; padding: 1.2rem 1.3rem 1.3rem; }
.card-body > * { margin: 0; }
.card-title { font-size: 1.16rem; line-height: 1.3; }
.card-text { font-size: 0.96rem; color: var(--text-muted); }
.card-body .link-row { margin-top: auto; padding-top: 0.3rem; }

/* ---------- Publications ---------- */

.pub-year { margin: 2.75rem 0 1rem; padding-bottom: 0.4rem; font-size: 1.45rem; border-bottom: 1px solid var(--border); }
.pub-year:first-child { margin-top: 0; }
.pub-list { display: grid; gap: 0.9rem; }
.pub { padding: 1.05rem 1.25rem; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 8px; }
.pub > * { margin: 0; }
.pub-title { margin-bottom: 0.3rem; font-family: var(--serif); font-size: 1.13rem; font-weight: 600; line-height: 1.35; }
.pub-authors { font-size: 0.95rem; }
.pub-venue { font-size: 0.95rem; font-style: italic; color: var(--text-muted); }
.pub .link-row { margin-top: 0.7rem; }

/* ---------- People ---------- */

.people-group + .people-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.people-group-title { margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }

.person { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.person--compact { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
.person-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius); }
.person-body > :last-child { margin-bottom: 0; }
.person-name { margin-bottom: 0.2rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.person-role { margin-bottom: 0.15rem; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; color: var(--gold-text); }
.person-title { margin-bottom: 1.25rem; color: var(--text-muted); }
.person-bio { max-width: 68ch; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.5rem 2rem; margin: 1.75rem 0; }
.meta-block h4 { margin-bottom: 0.6rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.meta-block ul:not(.tag-list) { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; }
.meta-block ul:not(.tag-list) li + li { margin-top: 0.3rem; }
.person--compact .tag-list { margin-bottom: 1.25rem; }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; }
.member { padding: 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.member-photo { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 0.85rem; border-radius: 8px; }
.member-name { margin-bottom: 0.15rem; font-size: 1.1rem; }
.member-title, .member-note { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

@media (max-width: 700px) {
  .person, .person--compact { grid-template-columns: 1fr; }
  .person-photo { max-width: 220px; }
}

/* ---------- Research page ---------- */

.direction { scroll-margin-top: 96px; }
.direction-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.direction-intro .branch-step { margin-bottom: 0.6rem; }
.direction-intro h2 { margin-bottom: 0.4rem; }
.direction-tagline { font-family: var(--serif); font-size: 1.2rem; color: var(--text-muted); }
.topic-list { display: grid; gap: 0.75rem; }
.topic { padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.topic h3 { margin-bottom: 0.25rem; font-size: 1.08rem; }
.topic p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.related { margin-top: 3rem; }
.related-title { margin-bottom: 1rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.related + .related { margin-top: 2.25rem; }
@media (max-width: 760px) { .direction-intro { grid-template-columns: 1fr; } }

/* ---------- Join ---------- */

.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.audience { padding: 1.35rem 1.35rem 1.2rem; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.audience h3 { margin-bottom: 0.35rem; font-size: 1.15rem; }
.audience p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 2.75rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid #e6d48f;
  border-radius: 50%;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3.25rem);
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  box-shadow: inset 0 3px 0 var(--gold);
}
.cta h2 { margin-bottom: 0.4rem; }
.cta p { margin: 0; color: var(--ink-muted); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { padding-block: 3rem 2rem; font-size: 0.93rem; color: var(--ink-muted); background: var(--ink); }
.site-footer a { color: #fff; text-decoration-color: rgba(218, 170, 0, 0.7); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; }
.footer-name { margin-bottom: 0.25rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.footer-grid p { margin-bottom: 0.4rem; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 0.4rem 2.5rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2.25rem; padding-top: 1.25rem; font-size: 0.85rem; border-top: 1px solid #34363c; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
