:root {
  --paper: #f6f5f1;
  --surface: #ffffff;
  --ink: #0e1b2c;
  --ink-2: #34425a;
  --muted: #5f6b7d;
  --line: #e2dfd7;
  --brand: #1d3a5f;
  --brand-2: #274b78;
  --brand-tint: #e8eef6;
  --accent: #2d7a68;
  --radius: 16px;
  --wrap: 72rem;
  --shadow: 0 1px 2px rgba(14, 27, 44, .05), 0 16px 40px -18px rgba(14, 27, 44, .22);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-2); text-underline-offset: .2em; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 20;
  background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

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

.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 245, 241, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 2.25rem; height: 2.25rem; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .03em;
}
.brand-text { display: flex; flex-direction: column; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.brand-text small { font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: 0; }

.topbar nav { display: flex; align-items: center; gap: .2rem; }
.topbar nav a:not(.btn) {
  padding: .45rem .8rem; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: .94rem;
}
.topbar nav a:not(.btn):hover { background: rgba(29, 58, 95, .07); }
.topbar nav .btn { margin-left: .5rem; }
@media (max-width: 800px) { .topbar nav a:not(.btn) { display: none; } }

/* ---------------------------------------------------------------- basics */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff;
  font: inherit; font-size: .97rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.small { padding: .5rem 1rem; font-size: .9rem; }
.btn.block { display: flex; width: 100%; margin-top: 1.5rem; }
.btn.ghost { background: transparent; color: var(--brand); border-color: #c5d0de; }
.btn.ghost:hover { background: var(--brand-tint); }

section { padding: 6rem 0; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.4vw, 3.8rem);
  line-height: 1.05; letter-spacing: -.035em; font-weight: 750;
  text-wrap: balance;
}
h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  line-height: 1.12; letter-spacing: -.028em;
  text-wrap: balance;
}
h3 { margin: 0 0 .4rem; font-size: 1.1rem; line-height: 1.35; letter-spacing: -.01em; }

.kicker {
  margin: 0 0 .9rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.lede { margin: 1.4rem 0 0; font-size: 1.18rem; color: var(--ink-2); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head p:not(.kicker) { margin: 0; color: var(--ink-2); font-size: 1.08rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.split.wide { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split.wide { grid-template-columns: 1fr; gap: 2.5rem; } }

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

.hero { padding: 5rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } .hero { padding-top: 3.5rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(45, 122, 104, .16); }

.creds { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 0; padding: 0; }
.creds li {
  font-size: .82rem; font-weight: 600; color: var(--brand);
  background: var(--brand-tint); border-radius: 999px; padding: .32rem .8rem;
}

.profile-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 2.25rem 2rem 2rem; box-shadow: var(--shadow); text-align: center;
  max-width: 26rem; width: 100%; justify-self: end;
}
@media (max-width: 900px) { .profile-card { justify-self: stretch; max-width: none; } }
.avatar {
  display: block; width: 128px; height: 128px; margin: 0 auto 1.1rem;
  border-radius: 50%; object-fit: cover; background: var(--brand-tint);
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 10px 28px -10px rgba(14, 27, 44, .4);
}
.avatar.initials { display: grid; place-items: center; font-size: 2.3rem; font-weight: 700; color: var(--brand); }
.pc-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.pc-role { color: var(--muted); font-size: .95rem; }
.facts { display: grid; gap: .7rem; margin: 1.6rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--line); text-align: left; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------------------------------------------------------------- stats */

.stats { padding: 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 2rem 1.5rem 2rem 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 1.85rem; line-height: 1.15; letter-spacing: -.03em; color: var(--brand); }
.stat span { display: block; margin-top: .35rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (max-width: 800px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 1.5rem 1rem 1.5rem 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- about */

.prose p:not(.kicker) { margin: 0 0 1rem; color: var(--ink-2); font-size: 1.08rem; }
.list-title { margin: .4rem 0 1.1rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checklist li {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.15rem; font-weight: 500;
}
.checklist li::before {
  content: ""; flex: none; width: 1.3rem; height: 1.3rem; margin-top: .18rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .85rem no-repeat;
}

/* ---------------------------------------------------------------- services */

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid3 { grid-template-columns: 1fr; } }

.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: border-color .15s, transform .15s;
}
.service:hover { border-color: #c5d0de; }
.service .num { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.service h3 { margin-top: .7rem; }
.service p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------------------------------------------------------------- approach */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700;
}
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------------------------------------------------------------- experience */

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 2.2rem 1.9rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: .4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand);
}
.timeline li:first-child::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.when { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.timeline h3 { margin: .15rem 0 .1rem; }
.org { color: var(--brand-2); font-weight: 600; font-size: .95rem; }
.timeline p { margin: .5rem 0 0; color: var(--ink-2); font-size: .98rem; }

.side { display: grid; gap: 1.25rem; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.box > p { margin: 0; }
.box h3 { margin-bottom: 1rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.box li b { display: block; font-weight: 600; font-size: .96rem; line-height: 1.4; }
.box li span { color: var(--muted); font-size: .88rem; }
.box ul.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .25rem .65rem; font-size: .88rem; }

/* ---------------------------------------------------------------- booking */

.booker { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.tab {
  flex: 1 1 18rem; display: flex; flex-direction: column; gap: .35rem;
  padding: 1rem 1.2rem; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.tab:hover { border-color: #c5d0de; }
.tab[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.tab-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tab-top b { font-size: 1.02rem; }
.pill {
  flex: none; font-size: .78rem; font-weight: 600; color: var(--brand);
  background: var(--brand-tint); border-radius: 999px; padding: .15rem .6rem;
}
.tab-blurb { color: var(--muted); font-size: .9rem; line-height: 1.5; }

.cal-embed { width: 100%; min-height: 600px; overflow: auto; }
.book-note {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding: 1rem 1.4rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}

/* ---------------------------------------------------------------- 404 */

.notfound { padding: 8rem 0; }

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

footer { background: var(--ink); color: #c9d1dd; padding: 3rem 0 2.75rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2.5rem; }
.foot-name { color: #fff; font-weight: 700; font-size: 1.1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-links a { color: #fff; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.fine { color: #8d98aa; font-size: .87rem; }
