/* The pages that open out of the house — Work and what it holds. White paper,
   one cobalt for what is chosen or can be pressed, cool greys for the rest. */
:root {
  --bg:      #FFFFFF;
  --surface: #F6F8FB;
  --surface2:#EDF1F6;
  --line:    #E3E8EF;
  --line2:   #CBD3DF;
  --ink:     #0B1220;
  --ink2:    #3B4556;
  --muted:   #667085;
  --accent:  #1F4FE0;
  --accent2: #1840B8;
  --tint:    #EEF3FF;
  --ring:    rgba(31,79,224,.2);
  --hair:    var(--line);
  --lift:    0 1px 2px rgba(16,24,40,.05), 0 12px 32px -10px rgba(16,24,40,.14);
  --display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;
  --barh:    60px;
  color-scheme: light;
}
@media (max-width: 520px) { :root { --barh: 54px; } }
* { box-sizing: border-box; }
html { background: var(--bg); }
body.page { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent); }

/* ── the bar: Home, the name, and the way round ──────────────────────────── */
.bar { position: sticky; top: 0; z-index: 50; height: var(--barh); display: flex; align-items: center; gap: 14px; padding: 0 clamp(16px, 4vw, 40px); background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.home { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 11px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(16,24,40,.05); transition: background .15s, border-color .15s; }
.home:hover { background: var(--surface); border-color: var(--line2); }
.home svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; margin-right: auto; color: var(--ink); }
.brand::before { content: "A"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.brand span { color: var(--muted); font-weight: 500; }
.links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.links a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink2); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.links a:hover { background: var(--surface); color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.links a.cta { margin-left: 6px; background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.links a.cta:hover { background: var(--accent2); color: #fff; }
@media (max-width: 520px) {
  .bar { gap: 8px; padding: 0 12px; }
  .home { height: 34px; padding: 0 10px 0 9px; font-size: 13px; }
  .brand { font-size: 14px; } .brand::before { width: 24px; height: 24px; font-size: 13px; }
  .links a { height: 34px; padding: 0 9px; font-size: 13px; }
  .links a.cta { margin-left: 2px; }
}
@media (max-width: 440px) { .bar .brand { display: none; } .links { margin-left: auto; } }

/* ── the page ───────────────────────────────────────────────────────────── */
.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); margin: 0 auto; padding: clamp(28px, 5vw, 56px) 0 48px; }
.head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; margin: 10px 0 0; text-wrap: balance; }
.head .lead { color: var(--ink2); margin: 14px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.55; }
.chip { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface2); color: var(--ink2); white-space: nowrap; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 24px clamp(16px, 4vw, 40px) 32px; border-top: 1px solid var(--line); background: var(--surface); }
.foot a { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--accent); }
.foot .mono { font-family: var(--body); font-size: 13px; }

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