/* ==========================================================================
   Skeptical Intelligence — shared styles
   Tokens: navy + teal (two primary colors, inspired by the Dare to Lead
   cover's navy/teal title treatment) on an off-white ground.
   Type: Public Sans (headings) + Source Serif 4 (body)
   ========================================================================== */

:root {
  --navy: #16253F;
  --navy-soft: #2E4568;
  --ink: #1C2B3A;
  --teal: #1F8A82;
  --teal-deep: #146661;
  --bg: #F7F6F2;
  --bg-alt: #EFEBE1;
  --paper: #FFFFFF;
  --line: #D8D3C7;
  --line-dark: #2E4568;
  --amber: #2FB7AC;
  --orange: #FF4F00;
  --orange-deep: #D94400;
  --wash-teal: #E9F5F3;
  --wash-peach: #FDEFE6;

  --font-head: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --content-width: 700px;
  --wide-width: 1100px;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.09rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em 0; max-width: 68ch; text-align: justify; text-justify: inter-word; }

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--teal); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

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

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.5em; }

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

/* ---------- layout helpers ---------- */

.wrap {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.col {
  max-width: var(--content-width);
}

section {
  padding: 4.5rem 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 0.9rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  max-width: var(--wide-width);
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand span {
  color: var(--teal-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 2px;
  background: var(--navy);
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--amber);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.is-open { max-height: 26rem; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.75rem 1.5rem;
  }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav li:first-child { border-top: none; }
  .site-nav a { display: block; padding: 0.85rem 0; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--teal); color: #fff; }

.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover { background: var(--orange-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-dark);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

/* ---------- verify bracket motif ---------- */
/* recurring corner-bracket frame, used on the hero plate, pull quotes,
   and portraits — a stand-in for "verification" without literal icons */

.bracket-frame {
  position: relative;
  padding: 1.6rem;
}
.bracket-frame::before,
.bracket-frame::after,
.bracket-frame > .bf-tl,
.bracket-frame > .bf-br {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--amber);
}
.bracket-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.bracket-frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }

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

.hero {
  background: var(--navy);
  color: #fff;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-kicker {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 1rem;
}

.hero .hero-kicker {
  color: #FF8A50;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 0.6em;
  color: #fff;
}

.hero .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.3rem;
  color: #FFC9A6;
  max-width: 34ch;
  margin-bottom: 1em;
}

.hero .hook {
  max-width: 46ch;
  color: #E4E9EF;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.hero-caption {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: #FFC9A6;
  margin-top: 0.9rem;
}

.hero-plate {
  background: transparent;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-plate.bracket-frame {
  padding: 0;
}

.hero-plate.bracket-frame::before,
.hero-plate.bracket-frame::after {
  border-color: var(--orange);
}

.hero-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-plate { max-width: 280px; }
}

/* ---------- framework list (Verify / Fit / Act) ---------- */

.framework {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.2rem;
}

.framework-item {
  background: var(--paper);
  padding: 1.8rem 1.6rem;
}

.framework-item .fw-index {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
  margin-bottom: 0.6rem;
}

.framework-item h3 { margin-bottom: 0.4rem; }
.framework-item p { margin-bottom: 0; font-size: 0.98rem; }

@media (max-width: 700px) {
  .framework { grid-template-columns: 1fr; }
}

.framework-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .framework-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .framework-4 { grid-template-columns: 1fr; }
}

/* ---------- audience tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.tile {
  border-left: 3px solid var(--teal-deep);
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.tile h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.tile p { font-size: 0.95rem; margin-bottom: 0; color: var(--navy-soft); }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
}

/* ---------- hub strip (directory of what's on the site) ---------- */

.hub-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-top: 0;
}

.hub-link {
  display: block;
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--teal-deep);
  text-decoration: none;
  color: inherit;
  background: var(--paper);
}

.hub-link:hover {
  border-left-color: var(--amber);
}

.hub-link .hub-link-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.hub-link .hub-link-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-soft);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hub-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hub-strip-grid { grid-template-columns: 1fr; }
}

/* ---------- manifesto statement ---------- */

.manifesto {
  position: relative;
  padding-left: 2.2rem;
  border-left: 3px solid var(--amber);
}

.manifesto p {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.4;
  color: var(--navy);
  max-width: 34ch;
  text-align: left;
}

.manifesto .manifesto-credit {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: 1.4rem;
}

/* ---------- buy panel (grouped retailer links) ---------- */

.buy-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.2rem;
}

.buy-panel .buy-plate {
  background: transparent;
  aspect-ratio: 2 / 3;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-panel .buy-plate.bracket-frame {
  padding: 0;
}

.buy-panel .buy-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.retailer-group + .retailer-group { margin-top: 1.8rem; }

.retailer-group h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.retailer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.retailer-list li { margin: 0; }

.retailer-list a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.55rem 1rem;
}

.retailer-list a:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

@media (max-width: 760px) {
  .buy-panel { grid-template-columns: 1fr; }
  .buy-panel .buy-plate { max-width: 200px; }
}

/* ---------- section variants ---------- */

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--navy);
  color: var(--bg);
}
.section-dark h2, .section-dark h3 { color: var(--bg); }
.section-dark a { color: #8FE0D6; }
.section-dark p { color: #D6DEE8; }

/* ---------- homepage fold alternation ---------- */
/* Dark folds reuse the hero's navy + orange combination.
   Light folds use soft teal/peach tints of the same two colors. */

.fold-light-teal { background: var(--wash-teal); }
.fold-light-peach { background: var(--wash-teal); }

.fold-dark {
  background: var(--navy);
  color: #fff;
}
.fold-dark h1, .fold-dark h2, .fold-dark h3 { color: #fff; }
.fold-dark > .wrap > p:not(.hero-kicker),
.fold-dark .col > p:not(.hero-kicker) {
  color: #E4E9EF;
}
.fold-dark .hero-kicker { color: #FF8A50; }
.fold-dark a:not(.btn) { color: #FFB088; }
.fold-dark .col li { color: #E4E9EF; }

.fold-dark .fw-index { color: var(--orange); }
.fold-dark .framework-item h3 { color: var(--navy); }
.fold-dark .framework-item p { color: var(--ink); }
.fold-dark .card h3 { color: var(--navy); }
.fold-dark .card p { color: var(--ink); }
.fold-dark .quote-card p { color: #E4E9EF; }
.fold-dark .form-success { color: var(--ink); }
.fold-dark .quote-card cite { color: #8FE0D6; }
.fold-dark .quote-card { border-left-color: var(--orange); }
.fold-dark .author-card p { color: #E4E9EF; }
.fold-dark .author-card .role { color: #8FE0D6; }
.fold-dark .author-card h3 { color: #fff; }
.fold-dark .author-card .portrait { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.fold-dark .author-links a { color: #FFB088; }
.fold-dark .toc li { color: #fff; border-top-color: rgba(255,255,255,0.2); }
.fold-dark .toc li:last-child { border-bottom-color: rgba(255,255,255,0.2); }
.fold-dark .toc-num { color: var(--orange); }

.fold-dark .tile { border-left-color: var(--orange); }
.fold-dark .tile h3 { color: #fff; }
.fold-dark .tile p { color: #D6DEE8; }

.fold-dark .method-letter { color: var(--orange); }
.fold-dark .method-step { border-bottom-color: rgba(255, 255, 255, 0.18); }
.fold-dark .method-step h3 { color: #fff; }
.fold-dark .method-step p { color: #D6DEE8; }

.fold-dark .pill { background: var(--orange); color: #fff; }

.fold-dark .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.fold-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
.fold-dark .card .btn-ghost,
.fold-dark .framework-item .btn-ghost {
  border-color: var(--line-dark);
  color: var(--navy);
}
.fold-dark .card .btn-ghost:hover,
.fold-dark .framework-item .btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- cards (resources / events) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.97rem; flex-grow: 1; }
.card .card-meta {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card .btn { margin-top: 1rem; align-self: flex-start; }

/* ---------- authors ---------- */

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.author-card .portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.author-card .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-card h3 { margin-bottom: 0.1rem; }
.author-card .role {
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.author-links {
  display: flex;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .authors-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- table of contents ---------- */

.toc { list-style: none; padding: 0; margin-top: 1.6rem; max-width: 520px; }
.toc li {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1rem;
}
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc .toc-num { color: var(--amber); font-weight: 700; min-width: 1.6rem; }

/* ---------- endorsements ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.2rem;
}
.quote-card {
  border-left: 2px solid var(--amber);
  padding-left: 1.3rem;
}
.quote-card p { font-style: italic; }
.quote-card cite {
  display: block;
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-soft);
}
@media (max-width: 700px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */

.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.checklist li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 0.8rem 1.2rem;
  margin: 0;
}

/* ---------- SKEPTICS method ---------- */

.method-list {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.method-step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.method-letter {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.method-step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.method-step p {
  margin-bottom: 0;
  font-size: 0.98rem;
  max-width: 58ch;
}

.method-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.method-teaser li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 0.5rem 0.9rem;
  margin: 0;
}

.method-teaser .letter {
  color: var(--amber);
}

/* ---------- wood-texture hub banner ---------- */

.section-wood {
  position: relative;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.10) 0px,
      rgba(0, 0, 0, 0.10) 2px,
      transparent 2px,
      transparent 18px
    ),
    repeating-linear-gradient(
      100deg,
      rgba(255, 214, 170, 0.05) 0px,
      transparent 3px,
      transparent 55px
    ),
    linear-gradient(155deg, #7a4a28 0%, #8f5a34 30%, #6b3f22 55%, #5a331c 100%);
  color: #fff;
}

.section-wood .wrap {
  text-align: center;
  max-width: 760px;
}

.section-wood .hero-kicker {
  color: #8FE0D6;
  letter-spacing: 0.04em;
}

.section-wood h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.section-wood p {
  color: #F0E4D6;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- forms ---------- */

.form-field {
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.newsletter-form input[type="email"] {
  flex: 1 1 260px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.form-note {
  font-size: 0.88rem;
  color: var(--navy-soft);
  margin-top: 0.7rem;
}

.form-success {
  display: none;
  background: var(--bg-alt);
  border-left: 3px solid var(--teal-deep);
  padding: 1rem 1.2rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-top: 1rem;
}
.form-success.is-visible { display: block; }

/* ---------- social icons ---------- */

.social-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
}
.social-row a {
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  text-decoration: none;
}
.social-row a:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.social-row svg { width: 1.15rem; height: 1.15rem; }

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

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--navy);
  color: #B7C2D3;
  padding: 2.2rem 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.site-footer a { color: #D6DEE8; }
.site-footer .footer-links { display: flex; gap: 1.4rem; }

/* ---------- misc page bits ---------- */

.page-hero {
  padding-top: 3.5rem;
  padding-bottom: 1rem;
}

.stack-gap > * + * { margin-top: 1rem; }

.pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--amber);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
