/*
  Jolin Security V2
  Palette comes from V1: navy #091650 / #122062, periwinkle #c1cbf3, cyan #0ad3ef.
  Cyan is the single accent: primary buttons, index numerals, and the reticle
  corners on photos (echoing the targeting HUDs already in the stock imagery).
  Type is IBM Plex: an engineered, report-like family that suits assessment work.
  The condensed cut for headings keeps the condensed voice V1 had with Oswald.
*/

@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/ibm-plex-sans-condensed-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/ibm-plex-sans-condensed-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #060b1f;
  --navy: #0b1538;
  --navy-raised: #111d4a;
  --line: rgba(193, 203, 243, 0.16);
  --line-strong: rgba(193, 203, 243, 0.32);
  --text: #eef1fb;
  --muted: #b3bcdd;
  --accent: #0ad3ef;
  --accent-hover: #5ee4f5;

  --sans: "Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Plex Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --radius-lg: 10px;

  /* Header shrinks from max to min over the first scroll (site.js sets --shrink 0..1) */
  --header-max: 108px;
  --header-min: 76px;
  --logo-max: 252px;
  --logo-min: 168px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-min) + 12px); }

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

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

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

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
h1, h2 { font-family: var(--display); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }

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

.muted { color: var(--muted); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); }

/* Kicker: sentence-case label with a cyan numeral, the page's recurring index voice */
.kicker { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.kicker .idx { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-strong); align-self: center; }

.idx-num { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; letter-spacing: 0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header {
  --shrink: 0;
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(6, 11, 31, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: calc(var(--header-max) - (var(--header-max) - var(--header-min)) * var(--shrink)); }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { width: calc(var(--logo-max) - (var(--logo-max) - var(--logo-min)) * var(--shrink)); height: auto; }
/* The header is fixed, so the page reserves its full (unshrunk) height; shrinking never shifts content */
body { padding-top: calc(var(--header-max) + env(safe-area-inset-top, 0px)); }
@media (max-width: 860px) {
  :root { --header-max: 88px; --header-min: 66px; --logo-max: 200px; --logo-min: 148px; }
}

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; color: var(--text); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

.nav-menu { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nav-menu a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--muted); text-decoration: none; font-weight: 500;
}
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--text); }
.nav-menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-menu .btn { margin-left: 12px; min-height: 44px; padding: 10px 18px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--ink); border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .nav-menu { display: flex; }
  .nav-menu a:not(.btn) { display: flex; min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-menu a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav-menu .btn { margin: 20px 0 0; width: 100%; min-height: 50px; }
  .no-js .nav-menu { display: flex; position: static; }
  .no-js .nav-toggle { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
/* Scrim keeps the text column dark enough for AA contrast over the bright binary rain */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,11,31,.96) 0%, rgba(6,11,31,.9) 42%, rgba(6,11,31,.45) 72%, rgba(6,11,31,.2) 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: linear-gradient(0deg, var(--ink), transparent); }
.hero-inner { padding-block: clamp(72px, 12vh, 140px); }
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 16px; }
.hero .tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--accent); margin-bottom: 24px; }
.hero .lead { color: var(--text); max-width: 56ch; }

@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(6,11,31,.78) 0%, rgba(6,11,31,.92) 55%, rgba(6,11,31,.97) 100%); }
  .hero-media img { object-position: 72% center; }
}

/* ---------- Page intro (inner pages) ---------- */
.page-intro { padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px); }
.page-intro h1 { margin-bottom: 12px; }
.page-intro .subhead { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--accent); margin-bottom: 28px; }
.page-intro--compact { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }

/* ---------- Layout primitives ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--surface { background: var(--navy); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); margin-top: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--media-first { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split, .split--media-first { grid-template-columns: minmax(0, 1fr); }
  .split--media-first .frame { order: -1; }
}
.split h2 { margin-bottom: 24px; }

/* Reticle-cornered photo frame: the identity motif */
.frame { position: relative; margin: 10px; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.frame--tall img { aspect-ratio: 4 / 5; }
.frame::before, .frame::after { content: ""; position: absolute; width: 32px; height: 32px; border: 2px solid var(--accent); pointer-events: none; }
.frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

/* Definition-style list with hairlines, used for pillars and values */
.rule-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rule-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.rule-list span { color: var(--muted); }

.closing { margin-top: 28px; color: var(--muted); }

/* ---------- Image band (home threats) ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; }
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,11,31,.97) 0%, rgba(6,11,31,.9) 55%, rgba(6,11,31,.6) 100%); }
.band-inner { padding-block: clamp(80px, 12vw, 152px); }
.band-copy { max-width: 680px; }
.band-copy h2 { margin-bottom: 24px; }
.band-copy p { color: var(--text); }
@media (max-width: 700px) { .band::before { background: rgba(6,11,31,.9); } }

/* Three-up numbered pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.pillar { padding: 28px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar h3 { margin: 14px 0 10px; }
.pillar p { color: var(--muted); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Service rows ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.service {
  display: grid; grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 12px 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.service .idx-num { padding-top: 6px; }
.service h3 { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.15; }
.service p { color: var(--muted); }
@media (max-width: 760px) {
  .service { grid-template-columns: minmax(0, 1fr); padding: 26px 0; }
  .service .idx-num { padding-top: 0; }
}
.section-foot { margin-top: 40px; }

/* ---------- Text link with arrow (only for "continue reading" links) ---------- */
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.text-link:hover { border-color: var(--accent); }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Schedule / Calendly ---------- */
.schedule { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.schedule h2 { margin-bottom: 20px; }
.contact-lines { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-lines li:last-child { border-bottom: 1px solid var(--line); }
.contact-lines svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--muted); }
.contact-lines a { overflow-wrap: anywhere; }
.calendly-shell { position: relative; min-height: 680px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.calendly-inline-widget { min-width: 280px; height: 680px; }
.calendly-loading { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; padding: 24px; color: #3b4466; text-align: center; font-size: 0.95rem; }
.calendly-fallback { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 900px) { .schedule { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA strip (inner pages) ---------- */
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-strip h2 { max-width: 18ch; }
.cta-strip p { color: var(--muted); max-width: 46ch; margin-top: 12px; }

/* ---------- About: values rows ---------- */
.value-rows { border-top: 1px solid var(--line-strong); }
.value-row { display: grid; grid-template-columns: 64px minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 12px 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.value-row h3 { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.value-row p { color: var(--muted); }
@media (max-width: 760px) { .value-row { grid-template-columns: minmax(0, 1fr); } }

/* About: evidence grid (2x2) */
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.evidence div { padding: 22px; background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.evidence h3 { font-size: 1.05rem; margin-bottom: 8px; }
.evidence p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 560px) { .evidence { grid-template-columns: minmax(0, 1fr); } }

/* About: stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); }
.stat { padding: 32px 24px 32px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat dt { margin-top: 10px; color: var(--muted); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}

.facts { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; counter-reset: fact; }
.facts li:first-child { grid-column: 1 / -1; max-width: 820px; }
.facts li:first-child h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-family: var(--display); }
.facts h3 { margin: 10px 0 10px; }
.facts p { color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* About: company facts */
.company-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.company-facts > div { padding-top: 22px; border-top: 2px solid var(--line-strong); }
.company-facts h3 { margin-bottom: 10px; }
.company-facts p { color: var(--muted); }
@media (max-width: 860px) { .company-facts { grid-template-columns: minmax(0, 1fr); } }

/* About: team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; padding: 24px; background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person img { width: 148px; height: 176px; object-fit: cover; object-position: center 30%; border-radius: var(--radius); }
.person h3 { font-family: var(--display); font-size: 1.6rem; }
.person .role { color: var(--accent); font-weight: 500; margin: 4px 0 12px; }
.person p { color: var(--muted); font-size: 0.98rem; }
.person-links { display: flex; gap: 8px; margin-top: 16px; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); }
.icon-link:hover { border-color: var(--text); }
.icon-link svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person img { width: 120px; height: 140px; }
}

/* Services: why veteran expertise */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why-grid > div { padding: 26px; background: var(--navy-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.why-grid h3 { margin: 12px 0 10px; }
.why-grid p { color: var(--muted); }
@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.info-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
.info-card { padding: clamp(24px, 3.5vw, 36px); background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.info-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.info-card .hours { font-size: 1.15rem; margin-bottom: 12px; }
.info-card--urgent { border-color: rgba(10, 211, 239, 0.45); }
.gate-status { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
.gate-status[data-state="error"] { color: #ffd1a6; }
.recaptcha-slot { margin-top: 16px; min-height: 78px; max-width: 100%; overflow-x: auto; }
.reveal-list { list-style: none; margin: 8px 0 16px; padding: 0; }
.reveal-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.reveal-list a { font-weight: 600; font-size: 1.1rem; }
@media (max-width: 860px) { .info-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #d4daf0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--text); text-decoration-color: var(--accent); }
.prose address { font-style: normal; color: #d4daf0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 80px) calc(28px + env(safe-area-inset-bottom, 0px)); background: #050918; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr); gap: 40px 56px; }
.footer-brand img { width: 176px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 44ch; font-size: 0.98rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-links svg { width: 18px; height: 18px; }
.footer-address { font-style: normal; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--muted); display: inline-flex; min-height: 32px; align-items: center; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

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

.h2-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.closing--wide { max-width: 70ch; margin-top: 40px; }
.contact-lines address { font-style: normal; }
.prose-back { margin-top: 32px; }

/* Inner-page hero: same construction as the home hero, a little shorter */
.hero--page { min-height: min(72vh, 680px); }
.hero--page .hero-media img { object-position: 60% center; }

/* Four-up variant of the pillar row (About: evidence points) */
.pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 861px) {
  .pillars--4 .pillar { padding-right: 24px; }
  .pillars--4 .pillar + .pillar { padding-left: 24px; }
}
@media (max-width: 1060px) and (min-width: 861px) {
  .pillars--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars--4 .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars--4 .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) { .pillars--4 { grid-template-columns: minmax(0, 1fr); } }
.facts-rows { margin-top: clamp(40px, 5vw, 64px); }
.frame img.focus-left { object-position: 20% center; }
