/* Layout: white page, one centred reading column; a soft sapphire-and-champagne wash behind the hero, refined cards for credentials and giving back, a tinted contact band at the foot. */
:root {
  --bg: #ffffff;
  --surface: #f7f8fc;
  --ink: #0e1630;
  --ink-2: #47506a;
  --ink-3: #8b92a6;
  --rule: #e7e9f1;
  --navy: #14254f;
  --sapphire: #2d4fd6;
  --gold: #b08a4e;
  --gold-soft: #efe4d0;
  --wash-a: #e9eeff;
  --wash-b: #f8f1e4;
  --shadow: 0 1px 2px rgba(14, 22, 48, .04), 0 8px 24px -12px rgba(14, 22, 48, .12);
  --shadow-lift: 0 2px 4px rgba(14, 22, 48, .05), 0 18px 40px -16px rgba(20, 37, 79, .22);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.0625rem;
  --step-2: 1.5rem;
  --step-3: clamp(2.5rem, 1.6rem + 4vw, 4rem);
  --col: 46rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.65;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgba(255, 255, 255, .82);
}

.wrap {
  max-width: calc(var(--col) + 48px); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 3px; border-radius: 4px; }
.link {
  color: var(--navy); font-weight: 500;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: background-size .3s, color .2s;
}
.link:hover { color: var(--sapphire); background-image: linear-gradient(var(--sapphire), var(--sapphire)); }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 18px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.mark b {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, var(--navy), var(--sapphire)); color: #fff;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 4px 10px -4px rgba(20,37,79,.5);
}
.mark span { color: var(--ink-3); font-weight: 400; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-size: var(--step--1); }
.nav a { color: var(--ink-2); padding: 6px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: #fff; }
.nav a[aria-current="page"] { color: #fff; background: var(--navy); font-weight: 500; box-shadow: 0 4px 12px -6px rgba(20, 37, 79, .6); }

/* Hero */
.hero { position: relative; isolation: isolate; padding-block: 96px 8px; }
.hero::before {
  content: ""; position: absolute; z-index: -1; top: -80px; left: 50%; width: 100vw; transform: translateX(-50%);
  height: 560px; pointer-events: none;
  background:
    radial-gradient(42rem 22rem at 18% 30%, var(--wash-a), transparent 70%),
    radial-gradient(30rem 18rem at 85% 15%, var(--wash-b), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1 {
  font-size: var(--step-3); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02;
  margin: 0; text-wrap: balance; color: var(--ink);
}
h1 .soft {
  background: linear-gradient(100deg, var(--navy) 10%, var(--sapphire) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.role { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--rule); color: var(--ink-2);
  font-size: var(--step--1); font-weight: 500; box-shadow: var(--shadow);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

main { padding-bottom: 40px; }

/* Bio */
.lede { margin-top: 64px; display: grid; gap: 24px; max-width: 40rem; }
.lede p { margin: 0; font-size: var(--step-1); line-height: 1.8; color: var(--ink-2); }
.lede .pull {
  color: var(--ink); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.5; letter-spacing: -0.018em; font-weight: 450;
  padding-left: 22px; border-left: 2px solid var(--gold);
}
.lede strong { color: var(--ink); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 600; }

/* Sections */
.section { margin-top: 112px; }
.section-head { margin-bottom: 28px; display: grid; gap: 10px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h2 { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; margin: 0; text-wrap: balance; }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 24px;
  background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: #dcdfeb; }
.card .t { font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.card .s { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.card .p { margin: 8px 0 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.7; }
.badge {
  justify-self: start; display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; margin-bottom: 10px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--rule);
  color: var(--navy); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
}

/* Placeholder treatment */
.ph .t, .ph .s, .ph .p, p.ph { color: var(--ink-3); }
.tag {
  justify-self: start; display: inline-block; padding: 2px 8px;
  font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); background: #fff; border: 1px dashed var(--gold); border-radius: 999px;
}
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.intro { margin-top: 28px; max-width: 38rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.8; }
.intro p { margin: 0; }

/* Footer */
.site-foot { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--rule); }
.site-foot .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 36px 44px; font-size: var(--step--1); color: var(--ink-2); }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.contact .lbl { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.email { color: var(--ink); font-weight: 500; font-size: var(--step-0); user-select: all; }
.copy {
  font: inherit; font-size: 0.75rem; font-weight: 500; color: #fff; background: var(--navy);
  border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer;
  box-shadow: 0 4px 12px -6px rgba(20, 37, 79, .6); transition: background .2s, transform .2s;
}
.copy:hover { background: var(--sapphire); transform: translateY(-1px); }
.copy[data-done] { background: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink-2);
  transition: color .2s, border-color .2s;
}
.social a:hover { color: var(--navy); border-color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  main > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  main > *:nth-child(2) { animation-delay: .06s; }
  main > *:nth-child(3) { animation-delay: .12s; }
  main > *:nth-child(n+4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: .001; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

@media (max-width: 760px) {
  .cards.three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .site-head .wrap { padding-block: 14px; }
  .mark span { display: none; }
  .hero { padding-block: 56px 0; }
  .lede { margin-top: 44px; }
  .section { margin-top: 80px; }
  .cards.two { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
  .site-foot .foot { flex-direction: column; align-items: flex-start; }
}
