/* ==========================================================================
   markstiles.ai V2 - design system
   Palette: navy / dark green / silver / white. Orange is ACCENT ONLY
   (small labels, short accent rules, small icons and highlights).
   Framework-free, no build step, no external font dependency.
   ========================================================================== */

:root {
  /* Color */
  --navy-900: #0b1d36;
  --navy-800: #10294a;
  --navy-700: #163760;
  --navy-600: #1f4b7f;
  --navy-100: #e6ecf4;

  --ink: #14202e;
  --ink-soft: #41505f;
  --ink-mute: #5d6c7e; /* passes WCAG AA on white and silver tints */

  --silver-50: #f7f9fb;
  --silver-100: #eef1f5;
  --silver-200: #dfe4ea;
  --silver-300: #c8d0da;

  /* Orange: restrained accent only. Never for buttons, large fills,
     gradients, large borders or broad hover states. */
  --orange: #b0571a;
  --orange-dark: #944a11;
  --orange-bright: #d2691e;
  --orange-soft: #fdf3ec;

  /* Dark green: the primary action color. AA with white text at all sizes. */
  --green-900: #0f4a27;
  --green-800: #166534;
  --green-700: #1d7a44;

  --white: #ffffff;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --wrap: 1120px;
  --wrap-narrow: 780px;
  --section-y: clamp(3.5rem, 7vw, 6rem);

  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 29, 54, 0.06), 0 2px 8px rgba(11, 29, 54, 0.05);
  --shadow-md: 0 2px 4px rgba(11, 29, 54, 0.06), 0 12px 28px rgba(11, 29, 54, 0.09);
}

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

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

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

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--navy-900);
  font-weight: 700;
}

h1 { font-size: clamp(2.05rem, 5vw, 3.35rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }

ul, ol { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

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

.section--navy :focus-visible,
.proofbar :focus-visible,
.site-footer :focus-visible,
.skip-link:focus-visible {
  outline-color: #8fe3b4;
}

.btn--primary:focus-visible {
  outline: 3px solid var(--navy-900);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--white);
}

[id] { scroll-margin-top: 90px; }

::selection { background: var(--navy-100); color: var(--navy-900); }

/* ------------------------------------------------------------- layout --- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

section { padding-block: var(--section-y); }

.section--tint { background: var(--silver-50); border-block: 1px solid var(--silver-200); }
.section--navy { background: var(--navy-900); color: #dce5f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .lede { color: #b9c9dc; }
.section--navy a { color: #cdddf0; }
.section--navy a:hover { color: #fff; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.85rem;
}
.section--navy .eyebrow { color: #f0a267; }

.lede {
  font-size: clamp(1.075rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.lede p { margin-bottom: 0.9rem; }
.lede p:last-child { margin-bottom: 0; }

.section-head { max-width: 68ch; margin-bottom: 2.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.15rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.btn--primary:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.section--navy .btn--primary { border-color: rgba(255, 255, 255, 0.35); }
/* .nav a and .section--navy a (0,1,1) outrank .btn--primary (0,1,0):
   restore the white label wherever the primary button sits inside them. */
.nav a.btn--primary,
.nav a.btn--primary:hover,
.section--navy a.btn--primary,
.section--navy a.btn--primary:hover { color: #fff; }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: #8291a1; }
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy-800); background: var(--white); }

.section--navy .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.section--navy .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--silver-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.brand__name { font-weight: 750; color: var(--navy-900); font-size: 1.06rem; letter-spacing: -0.01em; }
.brand__role { font-size: 0.72rem; color: var(--ink-mute); letter-spacing: 0.055em; text-transform: uppercase; max-width: 32ch; }

.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav__links { display: flex; align-items: center; gap: 1.15rem; }
.nav a {
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav__links a { padding-block: 0.7rem; }
.nav a:hover { color: var(--navy-800); }
.nav a[aria-current="page"] { color: var(--navy-900); font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange-bright); }
.nav .btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.nav__resume { font-weight: 650; color: var(--navy-700); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  /* Progressive enhancement: the collapsed menu and its toggle exist only
     when JavaScript has added .js to <html>. Without JavaScript the full
     navigation stays visible and simply wraps. */
  html.js .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: var(--white);
    border: 1px solid var(--silver-300);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--navy-800); border-radius: 2px; }

  .nav { gap: 0.7rem; }

  html.js .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 0.8rem;
    background: var(--white);
    border-bottom: 1px solid var(--silver-200);
    box-shadow: var(--shadow-md);
    z-index: 60;
  }
  html.js .nav__links.is-open { display: flex; }
  html.js .nav__links a {
    padding: 0.9rem clamp(1rem, 5vw, 2rem);
    min-height: 44px;
    font-size: 1rem;
    border-bottom: 1px solid var(--silver-100);
  }
  html.js .nav__links a:last-child { border-bottom: 0; }
  html.js .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange-bright); }

  /* No-JS fallback: keep every link visible and wrap the header cleanly. */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.6rem; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .nav__links { flex-wrap: wrap; gap: 0.1rem 0.9rem; }

  .site-header { position: relative; }
}

@media (max-width: 640px) {
  .brand__role { display: none; }
  .brand__name { font-size: 1.12rem; }
  .nav .btn { white-space: nowrap; padding: 0.55rem 0.95rem; font-size: 0.9rem; }
}

/* --------------------------------------------------------------- hero --- */
.hero { padding-block: clamp(3rem, 6vw, 5.25rem) clamp(3rem, 6vw, 5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__solo .hero__copy { max-width: 68ch; }

.hero h1 { margin-bottom: 1rem; }

.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.19rem);
  color: var(--ink-soft);
  max-width: 58ch;
}
.hero__sub p { margin-bottom: 0.9rem; }
.hero__sub p:last-child { margin-bottom: 0; }

.hero__photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--silver-100);
}
.hero__photo img { width: 100%; aspect-ratio: 512 / 620; object-fit: cover; object-position: 50% 22%; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__photo { max-width: 290px; margin-inline: auto; }
  .btn-row .btn { flex: 1 1 100%; }
}

.availability {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1.35rem 0 0.35rem;
  padding: 0.7rem 0.95rem;
  background: var(--silver-50);
  border: 1px solid var(--silver-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-800);
  max-width: 56ch;
}
.availability__dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--green-700);
}

/* -------------------------------------------------------- breadcrumbs --- */
.crumbs {
  background: var(--silver-50);
  border-bottom: 1px solid var(--silver-200);
  font-size: 0.88rem;
}
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
}
.crumbs__list li { display: flex; align-items: center; margin: 0; color: var(--ink-mute); }
.crumbs__list li + li::before { content: "/"; margin: 0 0.55rem; color: var(--silver-300); }
.crumbs__list a { color: var(--ink-soft); text-decoration: none; padding-block: 0.5rem; }
.crumbs__list a:hover { color: var(--navy-800); text-decoration: underline; }
.crumbs__list li[aria-current="page"] { color: var(--navy-900); font-weight: 600; }

/* -------------------------------------------------------- proof strip --- */
.proofbar { background: var(--navy-900); color: #cfdcea; padding-block: 1.75rem; }
.proofbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem 2rem;
}
.proofbar__item { display: flex; flex-direction: column; gap: 0.15rem; }
.proofbar__num { font-size: 1.6rem; font-weight: 750; color: #fff; letter-spacing: -0.02em; line-height: 1.15; }
.proofbar__label { font-size: 0.87rem; color: #9db2ca; }
.proofbar__support {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  color: #b9c9dc;
}

/* -------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 1.35rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.45rem; }
.card p { font-size: 0.97rem; color: var(--ink-soft); }
.card__kicker {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.55rem;
}
.card__list { margin: 0; padding-left: 1.1rem; font-size: 0.97rem; color: var(--ink-soft); }
.card__list li { margin-bottom: 0.35rem; }

.cap h3 { font-size: 1.08rem; line-height: 1.3; }
.cap p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------- audience paths --- */
.paths2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.pathcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-top: 4px solid var(--navy-700);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-md);
}
.pathcard__tag {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.7rem;
}
.pathcard__title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 0.6rem; }
.pathcard__body { color: var(--ink-soft); font-size: 1rem; }
.pathcard .btn { margin-top: auto; }
.pathcard__body { margin-bottom: 1.4rem; }

/* ------------------------------------------------------- inline steps --- */
.steps-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  counter-reset: inline-step;
}
.steps-inline li {
  counter-increment: inline-step;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.steps-inline li::before {
  content: counter(inline-step);
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 0.8rem;
  font-weight: 750;
}

/* ------------------------------------------------------------- method --- */
.method { counter-reset: step; }
.method__step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--silver-200);
}
.method__step:last-child { border-bottom: 0; }
.method__num {
  counter-increment: step;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 1rem;
}
.method__num::before { content: counter(step); }
.method__body h3 { margin-bottom: 0.3rem; }
.method__body p { margin-bottom: 0.5rem; color: var(--ink-soft); font-size: 0.99rem; }
.method__eg {
  font-size: 0.93rem;
  color: var(--ink-mute);
  border-left: 3px solid var(--orange-bright);
  padding-left: 0.85rem;
  margin: 0;
}

/* -------------------------------------------------- case study teaser --- */
.case-teaser {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.case-teaser:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--silver-300); }
.case-teaser__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.55rem;
}
.case-teaser__title { font-size: 1.18rem; margin-bottom: 0.5rem; line-height: 1.3; }
.case-teaser__title a { color: var(--navy-900); text-decoration: none; }
.case-teaser__title a:hover { color: var(--green-800); text-decoration: underline; }
.case-teaser__problem { font-size: 0.96rem; color: var(--ink-soft); }
.case-teaser__result { font-size: 0.93rem; color: var(--ink-soft); }
.case-teaser__result strong { color: var(--navy-900); }
.case-teaser__link {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--navy-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  margin-bottom: -0.5rem;
}
.case-teaser__link:hover { color: var(--green-800); text-decoration: underline; }

.case-index { display: grid; gap: 1.5rem; }
.case-teaser--full { padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.case-teaser--full .case-teaser__title { font-size: clamp(1.3rem, 2.3vw, 1.6rem); }
.case-teaser__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem 2rem;
  margin: 0.6rem 0 1.2rem;
}
.case-teaser__facts > div { margin: 0; }
.case-teaser__facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
}
.case-teaser__facts dd { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* -------------------------------------------------- case study detail --- */
.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) { .case-detail { grid-template-columns: 1fr; } }

.case-detail__main h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.2rem; }
.case-detail__main h2:first-child { margin-top: 0; }
.case-detail__main p, .case-detail__main li { color: var(--ink-soft); }
.case-detail__side { position: sticky; top: 90px; display: grid; gap: 1.35rem; }
@media (max-width: 880px) { .case-detail__side { position: static; } }

/* ------------------------------------------------------ metric blocks --- */
.metrics {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  color: #cfdcea;
  box-shadow: var(--shadow-md);
}
.metrics__title {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.metrics__grid { display: grid; grid-template-columns: 1fr; gap: 0.95rem; margin: 0; }
.metric { display: flex; flex-direction: column-reverse; gap: 0.1rem; margin: 0; }
.metric__num { margin: 0; font-size: 1.7rem; font-weight: 750; color: #fff; letter-spacing: -0.02em; line-height: 1.15; }
.metric__label { font-size: 0.87rem; color: #9db2ca; }
.metrics__note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #8ea5bf;
}

/* ---------------------------------------------------- recruiter block --- */
.recruiter {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 880px) { .recruiter { grid-template-columns: 1fr; } }
.recruiter__copy h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.recruiter__copy p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.recruiter__actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: stretch; }
.recruiter__actions .btn { width: 100%; }

/* --------------------------------------------------------------- tags --- */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.tags:last-child { margin-bottom: 0; }
.tags li {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--silver-100);
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
}
.tags--wide li { font-size: 0.86rem; padding: 0.42rem 0.85rem; }

/* --------------------------------------------------------- work grid --- */
.system {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.system:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--silver-300); }
.system__kicker {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.55rem;
}
.system h3 { font-size: 1.14rem; margin-bottom: 0.4rem; }
.system p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.system__link {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--navy-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  margin-bottom: -0.5rem;
}
.system__link:hover { color: var(--green-800); text-decoration: underline; }

/* --------------------------------------------------------- experience --- */
.caps-strip { margin: -0.5rem 0 2.4rem; }
.caps-strip__title {
  font-size: 0.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.85rem;
}
.caps-strip__note { font-size: 0.94rem; color: var(--ink-mute); margin: 1rem 0 0; max-width: 72ch; }
.role .tags { margin: 1rem 0 0; }

.role {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.6rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--silver-200);
}
.role:last-child { border-bottom: 0; padding-bottom: 0; }
.role__meta { display: flex; flex-direction: column; gap: 0.2rem; }
.role__date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.role__org { font-weight: 700; color: var(--navy-900); font-size: 1.02rem; line-height: 1.3; }
.role__body h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.role__body p { color: var(--ink-soft); }
.role__list { margin: 0.9rem 0 0; padding-left: 1.15rem; }
.role__list li { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.role__list li:last-child { margin-bottom: 0; }

@media (max-width: 780px) {
  .role { grid-template-columns: 1fr; gap: 0.7rem; }
  .role__meta { flex-direction: row; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
}

/* ----------------------------------------------------------- timeline --- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item {
  position: relative;
  margin: 0;
  padding: 0 0 1.35rem 1.6rem;
  border-left: 2px solid var(--silver-300);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-bright);
  border: 2px solid var(--white);
}
.timeline__year { display: block; font-weight: 750; color: var(--navy-900); font-size: 0.98rem; }
.timeline__text { display: block; font-size: 0.94rem; color: var(--ink-soft); margin-top: 0.15rem; }

.aside__title {
  font-size: 0.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.1rem;
}

.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); gap: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- prose --- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }

.facts { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.facts li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--silver-200);
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin: 0;
}
.facts li:last-child { border-bottom: 0; }
.facts strong { color: var(--navy-900); }

/* ------------------------------------------------------------ contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }

.formcard {
  background: #fff;
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.formcard iframe { display: block; border-radius: 8px; width: 100%; }

.form__note { font-size: 0.9rem; color: var(--ink-mute); margin-top: 0.9rem; }

.contact-direct { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-direct li { margin-bottom: 0.9rem; font-size: 0.98rem; }
.contact-direct a { font-weight: 600; padding-block: 0.6rem; }
.contact-direct--light li { color: var(--ink-soft); }
.contact-direct--light a { color: var(--navy-600); }
.contact-direct--light a:hover { color: var(--green-800); }

.contact__reassure { font-size: 0.9rem; color: var(--ink-mute); margin-top: 1.6rem; }

/* --------------------------------------------------------------- misc --- */
.callout {
  background: var(--silver-50);
  border: 1px solid var(--silver-300);
  border-left: 3px solid var(--green-800);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-top: 2rem;
}
.callout p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 0; }
.callout strong { color: var(--navy-900); }
.callout a { color: var(--navy-600); }

.ctaband {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}
.ctaband h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.25rem; }
.ctaband p { color: #c6d4e4; font-size: 0.96rem; margin-bottom: 0; max-width: 52ch; }
.ctaband .btn-row { margin-top: 0; }
.ctaband .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.ctaband .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

.contact-band { text-align: left; }
.contact-band__inner h2 { margin-bottom: 0.6rem; }

/* -------------------------------------------------------- testimonial --- */
.testimonial {
  margin: 2rem 0 0;
  padding: 1.5rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-left: 3px solid var(--navy-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.testimonial__quote { margin: 0 0 0.8rem; font-size: 1.05rem; color: var(--ink); }
.testimonial__source { font-size: 0.92rem; color: var(--ink-mute); }
.testimonial__name { font-weight: 700; color: var(--navy-900); }
.testimonial__context::before { content: " · "; }

/* ------------------------------------------------------------- footer --- */
.site-footer {
  background: #071527;
  color: #8ba1bb;
  padding-block: 3rem 2rem;
  font-size: 0.92rem;
}
.site-footer a { color: #b9cbe0; text-decoration: none; padding-block: 0.35rem; display: inline-block; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__name { color: #dbe6f2; font-weight: 700; font-size: 1.05rem; }
.site-footer__role { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: #7b90a9; margin-top: 0.2rem; }
.site-footer__mission { margin-top: 0.9rem; max-width: 34ch; color: #8ba1bb; }

.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.site-footer__h {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b90a9;
  margin: 0 0 0.6rem;
}
.site-footer__col a { min-height: 40px; display: inline-flex; align-items: center; }
.site-footer__avail { margin: 0; max-width: 26ch; }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
