:root {
  --navy: #0B2447;
  --navy-deep: #071a36;
  --navy-soft: #1a3a6b;
  --gold: #C8A45C;
  --gold-soft: #e8d9b6;
  --ink: #1a202c;
  --ink-soft: #4a5568;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-dark: #0B2447;
  --shadow-sm: 0 1px 2px rgba(11,36,71,0.06), 0 1px 3px rgba(11,36,71,0.04);
  --shadow-md: 0 4px 12px rgba(11,36,71,0.08), 0 2px 4px rgba(11,36,71,0.04);
  --shadow-lg: 0 20px 50px rgba(11,36,71,0.18);
  --radius: 8px;
  --radius-lg: 14px;
  --maxw: 1180px;
  --space: clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px var(--space);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.brand-name { font-size: 15px; }
.brand-suffix { color: var(--ink-soft); font-weight: 500; }
.navlist {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
}
.navlist a { color: var(--ink-soft); }
.navlist a:hover { color: var(--navy); }
.topbar-cta { padding: 8px 14px; font-size: 14px; }

@media (max-width: 820px) {
  .navlist { display: none; }
}
@media (max-width: 520px) {
  .topbar-cta { display: none; }
  .brand-suffix { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-lg); }

.btn-secondary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-secondary:hover { background: #b8924a; color: var(--navy); }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
  background:
    radial-gradient(1100px 500px at 85% -20%, rgba(200,164,92,0.10), transparent 60%),
    radial-gradient(1100px 600px at 0% 110%, rgba(11,36,71,0.05), transparent 60%),
    linear-gradient(180deg, #fbfcfe, #fff);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #1c6b3a;
  background: #e7f6ec;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(22,163,74,0.06); }
}

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 700;
}
h1 .cred {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.55em;
  letter-spacing: 0;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

.tagline {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 22px;
}
.tagline strong { color: var(--ink); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.hero-badges li {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
}
.hero-stats > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.hero-stats dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.hero-stats dd {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.hero-stats dd span {
  color: var(--gold);
}
.hero-stats dd small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
  margin-top: 6px;
}

.hero-cv-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero-cv-mini a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.hero-cv-mini a:hover { color: var(--gold); }
.hero-cv-mini svg { color: var(--gold); flex-shrink: 0; }

.hero-availability {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hero-availability li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-availability svg { color: #16a34a; flex-shrink: 0; }

/* ---------- Hero card / portrait ---------- */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.hero-photo {
  margin: 0 0 18px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(11,36,71,0.18));
  pointer-events: none;
}
.hero-card-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.hero-card-row:first-of-type { border-top: 0; padding-top: 4px; }
.hero-card-row span {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink-soft);
  font-weight: 600;
}
.hero-card-row strong {
  color: var(--ink);
  font-weight: 500;
}

.client-pills {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.client-pills li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(48px, 7vw, 86px) 0;
}
.section-alt { background: var(--bg-alt); }

.section-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--navy);
  margin: 0 0 28px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-weight: 700;
}
.section-title span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--gold);
  text-transform: uppercase;
}
.section-title.light, .section-title.light span { color: #fff; }
.section-title.light span { color: var(--gold-soft); }

.section-intro {
  color: var(--ink-soft);
  max-width: 70ch;
  margin: -12px 0 28px;
  font-size: 16px;
}

.subsection-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--navy);
  margin: 32px 0 14px;
}

.prose { max-width: 72ch; }
.prose .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
}
.prose p { margin: 0 0 14px; color: var(--ink-soft); }

/* ---------- Pills ---------- */
.grid-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.grid-pills li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding-left: 32px;
}
.grid-pills li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.grid-pills.tools li { background: var(--bg-alt); }
.grid-pills li small { color: var(--ink-soft); font-weight: 400; }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 180px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--line) 100%);
}
.tl-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 40px;
  padding: 14px 0 22px;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 174px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px var(--bg-alt);
}
.tl-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
  padding-top: 18px;
  padding-right: 18px;
  text-align: right;
  white-space: nowrap;
}
.tl-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.tl-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
}
.tl-org {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.tl-body ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.tl-body ul li {
  margin-bottom: 4px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.tl-body strong { color: var(--ink); font-weight: 600; }

/* Mid-widths: collapse the date column earlier so cards have room */
@media (max-width: 960px) {
  .timeline::before { left: 10px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-item::before { left: 4px; top: 4px; }
  .tl-date { text-align: left; padding: 0 0 0 28px; padding-top: 0; }
  .tl-body { margin-left: 28px; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ---------- Research ---------- */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.research-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.research-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
  font-weight: 700;
}
.research-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
}
.research-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.research-tags li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Writing list ---------- */
.writing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}
.writing-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
  height: 100%;
}
.writing-list a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  color: var(--navy);
}
.writing-list strong {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}
.writing-list span {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------- Credentials cards ---------- */
.cred-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.cred-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.cred-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
}
.cred-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.cred-link {
  display: block;
  text-decoration: none;
}
.cred-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.cred-link-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Roles I'm a fit for ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.fit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.fit-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
}
.fit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fit-card ul li {
  font-size: 15px;
  color: var(--ink);
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.fit-card ul li:last-child { border-bottom: 0; }
.fit-card ul li strong { color: var(--navy); }

/* ---------- Intake form ---------- */
.intake-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 920px;
}
.intake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 22px;
}
.intake-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.intake-grid label.full { grid-column: 1 / -1; }
.intake-grid input,
.intake-grid select,
.intake-grid textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.intake-grid input:focus,
.intake-grid select:focus,
.intake-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,164,92,0.18);
}
.intake-grid textarea { resize: vertical; min-height: 90px; }
.intake-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 14px 18px;
}
.intake-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 14px 0 0;
  text-align: center;
}
.intake-note strong { color: var(--ink); }
@media (max-width: 720px) {
  .intake-form { padding: 18px; }
  .intake-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Contact ---------- */
.contact-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #e8eef9;
}
.contact-section .section-title { color: #fff; }
.contact-lead {
  font-size: 18px;
  max-width: 60ch;
  margin: -10px 0 28px;
  color: #d8e0f0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.contact-card {
  display: block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.contact-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: #fff;
}
.contact-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-soft);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-card strong {
  font-size: 16px;
  font-weight: 600;
  display: block;
  word-break: break-word;
}
.contact-card-featured {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy) !important;
}
.contact-card-featured .contact-label { color: var(--navy) !important; opacity: 0.75; }
.contact-card-featured strong { font-size: 18px; }
.contact-card-featured:hover { background: #b8924a !important; color: var(--navy) !important; }

.contact-address {
  color: #b8c4dc;
  font-size: 14px;
  margin: 0;
}

.refer-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.refer-block h3 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 700;
}
.refer-block > p {
  color: #b8c4dc;
  font-size: 14.5px;
  max-width: 60ch;
  margin: 0 0 16px;
}
.refer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.refer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.refer-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--gold);
  color: #fff;
}

/* ---------- Screen-reader / SEO keywords block ---------- */
/* visible to crawlers and screen readers — visually compact at page bottom */
.sr-keywords {
  background: var(--bg-alt);
  padding: 24px 0;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.sr-keywords h2 {
  max-width: var(--maxw);
  margin: 0 auto 8px;
  padding: 0 var(--space);
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}
.sr-keywords p {
  max-width: var(--maxw);
  margin: 4px auto;
  padding: 0 var(--space);
}
.sr-keywords a { color: var(--navy); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #a8b4cc;
  padding: 22px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer a { color: #d8e0f0; }
.footer a:hover { color: var(--gold); }
.footer-meta a { margin: 0 4px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7,18,40,0.92);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 4vw;
}
.lightbox[hidden] { display: none !important; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 22px; }
}

/* ---------- Mobile fixes ---------- */
@media (max-width: 720px) {
  body { font-size: 15px; }

  .hero { padding: 32px 0 48px; }
  .hero-grid { gap: 24px; }

  h1 { font-size: clamp(24px, 7vw, 32px); }
  h1 .cred { font-size: 0.48em; margin-left: 4px; }
  .tagline { font-size: 15.5px; }

  .hero-photo { aspect-ratio: 1 / 1; max-height: 320px; }

  .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cta-row .btn { width: 100%; justify-content: center; padding: 12px 10px; font-size: 14px; }
  .cta-row .btn svg { width: 16px; height: 16px; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stats > div { padding: 10px 8px; }
  .hero-stats dt { font-size: 10px; letter-spacing: 0.4px; }
  .hero-stats dd { font-size: 22px; }
  .hero-stats dd small { font-size: 10px; }

  .hero-availability { grid-template-columns: 1fr; font-size: 14px; gap: 6px; }

  .hero-badges { gap: 6px; }
  .hero-badges li { font-size: 11.5px; padding: 4px 9px; }

  .hero-card { padding: 14px; }
  .hero-card-row { padding: 9px 0; font-size: 13.5px; }

  .section { padding: 40px 0; }
  .section-title { font-size: 22px; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
  .section-title span { font-size: 11px; }
  .section-intro { font-size: 15px; }
  .subsection-title { font-size: 12.5px; margin: 22px 0 10px; }

  .prose .lead { font-size: 16.5px; }

  .grid-pills, .fit-grid, .cred-cards, .writing-list, .research-grid { grid-template-columns: 1fr; gap: 8px; }
  .grid-pills li { font-size: 14px; padding: 11px 12px 11px 30px; }

  .fit-card { padding: 16px 18px; }
  .fit-card ul li { font-size: 14px; }

  .cred-card { padding: 14px 16px; }
  .cred-card h4 { font-size: 15px; }
  .cred-card p { font-size: 13px; }

  .writing-list a { padding: 13px 14px; }
  .writing-list strong { font-size: 14.5px; }
  .writing-list span { font-size: 13px; }

  .research-card { padding: 18px 18px; }
  .research-card h3 { font-size: 16px; }
  .research-card p { font-size: 14px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .contact-section { padding: 40px 0; }
  .contact-lead { font-size: 16px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-card { padding: 14px 14px; }
  .contact-card-featured { grid-column: 1 / -1; text-align: center; }
  .contact-card strong { font-size: 14px; }

  .refer-block h3 { font-size: 16px; }
  .refer-buttons { gap: 6px; }
  .refer-btn { padding: 9px 12px; font-size: 13px; flex: 1; min-width: calc(50% - 4px); justify-content: center; }

  .tl-body { padding: 14px 16px; }
  .tl-body h3 { font-size: 16px; }
  .tl-body ul { font-size: 14px; }
  .tl-org { font-size: 13px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { font-size: 12px; }

  .topbar-inner { padding: 10px var(--space); }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; font-size: 12px; }
}

@media (max-width: 420px) {
  .cta-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .lightbox, .cta-row, .topbar-cta, .footer { display: none !important; }
  .hero { padding: 20px 0; }
  .section { padding: 24px 0; page-break-inside: avoid; }
  body { color: #000; font-size: 11pt; }
  .hero-photo { max-width: 200px; }
}
