/* about-christine.com — site stylesheet (2026 redesign).
   Clean & modern. Loaded LAST on every page. The token names match the old
   design-system names so the inline styles on the Work and case-study pages
   pick up the new look without rewriting their markup. */

:root {
  /* palette */
  --paper: #ffffff;
  --mist: #f2f4f7;
  --line: #e2e6ec;
  --ink: #141820;
  --slate: #5a6472;
  --signal: #3b34d6;
  --signal-soft: #ecebfd;
  --ok: #157a4f;
  --ok-soft: #e4f4ec;
  --warn: #9a5b00;
  --warn-soft: #fdf1dc;

  /* legacy token names (used by inline styles on older pages) */
  --color-bg: var(--paper);
  --color-surface: var(--mist);
  --color-text: var(--ink);
  --color-accent: var(--signal);
  --color-accent-2: var(--signal);
  --color-divider: var(--line);
  --color-accent-100: #f3f2fe;
  --color-accent-200: #e3e1fc;
  --color-accent-300: #c4c0f7;
  --color-accent-400: #918aee;
  --color-accent-500: #5f57e3;
  --color-accent-600: #3b34d6;
  --color-accent-700: #2f29b0;
  --color-accent-800: #241f87;
  --color-accent-900: #18155c;
  --color-neutral-100: #f7f8fa;
  --color-neutral-200: #eceff3;
  --color-neutral-300: #d9dee5;
  --color-neutral-400: #b5bcc7;
  --color-neutral-500: #8a93a0;
  --color-neutral-600: #6b7482;
  --color-neutral-700: #4c5462;
  --color-neutral-800: #313844;
  --color-neutral-900: #1d222b;

  --font-heading: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 32, .06);
  --shadow-md: 0 4px 14px rgba(20, 24, 32, .08);
  --shadow-lg: 0 18px 48px rgba(20, 24, 32, .12);

  --gutter: clamp(20px, 5vw, 72px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: 600; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; }
h3 { font-size: 21px; letter-spacing: -0.015em; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
a { color: var(--signal); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal-soft); }
.muted, .text-muted { color: var(--slate); }

.wrap { width: 100%; max-width: none; margin: 0; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--slate); font-size: 18px; margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--slate); max-width: 58ch; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-160%);
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-md);
  text-decoration: none;
}
.skip-link:focus-visible { transform: none; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body); letter-spacing: 0; text-decoration: none; cursor: pointer;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  color: var(--ink); background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--color-accent-700); border-color: var(--color-accent-700); color: #fff; }
.btn-secondary { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); background: var(--paper); }
.btn-ghost { color: var(--signal); padding-inline: 8px; }
.btn-light { background: #fff; color: var(--signal); border-color: #fff; }
.btn-light:hover { background: var(--signal-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.qlink, .text-link {
  color: var(--signal); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 1px;
}
.qlink:hover, .text-link:hover { color: var(--color-accent-800); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font: 700 17px/1 var(--font-heading); letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--signal); color: #fff;
  display: grid; place-items: center; font-size: 13px; letter-spacing: 0;
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a:not(.btn) {
  font-weight: 500; font-size: 15px; color: var(--slate); text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
}
.nav-menu a:not(.btn):hover { color: var(--ink); background: var(--mist); }
.nav-menu a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.nav-menu .btn { margin-left: 8px; padding: 10px 16px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; padding: 0; place-items: center; color: var(--ink);
}
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 2px auto; transition: transform .2s ease, opacity .2s ease; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-menu { display: flex; }
  .nav-menu a:not(.btn) { padding: 12px; font-size: 17px; }
  .nav-menu .btn { margin: 8px 0 0; padding: 14px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hello { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hello img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.hello strong { display: block; font-weight: 600; }
.hello span { color: var(--slate); font-size: 15px; }
.hero h1 { max-width: 13ch; margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.status-line { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--slate); margin-top: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); flex: none; }

/* run sheet — the signature element */
.runsheet {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.runsheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; background: var(--mist); border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--slate);
}
.runsheet-head strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.run { padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; }
.run + .run { border-top: 1px solid var(--line); }
.run h3 { font-size: 17px; margin: 0; letter-spacing: -0.01em; }
.run p { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--slate); }
.run .metric { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.run .metric b { white-space: nowrap; font: 700 26px/1 var(--font-heading); letter-spacing: -0.03em; color: var(--ink); }
.run .metric span { font-size: 14px; color: var(--slate); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-review { background: var(--warn-soft); color: var(--warn); }
.chip-signal { background: var(--signal-soft); color: var(--signal); }

@media (prefers-reduced-motion: no-preference) {
  .runsheet .run { animation: runIn .6s cubic-bezier(.2,.8,.2,1) both; }
  .runsheet .run:nth-child(2) { animation-delay: .25s; }
  .runsheet .run:nth-child(3) { animation-delay: .5s; }
  .runsheet .run:nth-child(4) { animation-delay: .75s; }
  .runsheet .chip { animation: chipIn .4s ease both; }
  .runsheet .run:nth-child(2) .chip { animation-delay: .65s; }
  .runsheet .run:nth-child(3) .chip { animation-delay: .9s; }
  .runsheet .run:nth-child(4) .chip { animation-delay: 1.15s; }
}
@keyframes runIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes chipIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* ---------- content blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { font-size: 18px; line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 64px); }
.area { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.area-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; }
.area h3 { margin: 2px 0 6px; }
.area p { margin: 0; color: var(--slate); }

.cases { display: grid; gap: 16px; }
.case {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto; gap: 24px 40px; align-items: start;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
a.case:hover { border-color: var(--signal); box-shadow: var(--shadow-md); }
.case h3 { margin: 0 0 8px; font-size: 22px; }
.case .outcome { margin: 0; font-weight: 600; color: var(--signal); font-size: 15px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba div { font-size: 15px; color: var(--slate); }
.ba b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 14px; }
.case .go { align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
a.case:hover .go { background: var(--signal); border-color: var(--signal); color: #fff; }

/* projects teaser on home */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.teaser-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teaser-list li a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  background: var(--mist); color: var(--ink); text-decoration: none; transition: background .2s ease;
}
.teaser-list li a:hover { background: var(--signal-soft); }
.teaser-list .kind { margin-left: auto; font-size: 14px; color: var(--slate); }
.teaser-list b { font-weight: 600; }

/* CTA band */
.cta { background: var(--signal); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }
.cta h2 { color: #fff; margin-bottom: 12px; max-width: 18ch; }
.cta p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; max-width: 52ch; }
.cta-wrap { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- about ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.about-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.about-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.portrait { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.facts { margin: 0; padding: 24px; background: var(--mist); border-radius: var(--radius-lg); display: grid; gap: 16px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 14px; color: var(--slate); }
.facts dd { margin: 0; font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.timeline li { position: relative; padding-top: 56px; }
.timeline li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 700 15px/1 var(--font-heading);
  background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); z-index: 1;
}
.timeline li:last-child::before { background: var(--signal); border-color: var(--signal); color: #fff; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 44px; right: -16px; height: 1.5px; background: var(--line); }
.timeline p { color: var(--slate); margin: 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { padding: 28px; background: var(--mist); border-radius: var(--radius-lg); }
.value h3 { margin-bottom: 8px; }
.value p { margin: 0; color: var(--slate); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-ways { display: grid; gap: 12px; }
.way {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s ease;
}
.way:hover { border-color: var(--signal); }
.way .area-icon { flex: none; }
.way b { display: block; font-weight: 600; }
.way span { color: var(--slate); font-size: 15px; }
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--mist); border-radius: 24px; }
.form-card h2 { font-size: 28px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 500; font-size: 15px; }
.input, .field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- projects ---------- */
.proj-group + .proj-group { margin-top: clamp(56px, 8vw, 88px); }
.proj-group-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.proj-group-head h2 { margin: 0; }
.proj-group-head p { margin: 6px 0 0; color: var(--slate); max-width: 56ch; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proj {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
a.proj:hover { border-color: var(--signal); box-shadow: var(--shadow-md); }
.proj h3 { margin: 0; font-size: 19px; }
.proj p { margin: 0; color: var(--slate); font-size: 15px; flex: 1; }
.proj .handle { font-size: 14px; color: var(--slate); }
.proj .open { font-weight: 600; font-size: 15px; color: var(--signal); }
.proj-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px);
  padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--ink); color: #fff; margin-bottom: 16px;
}
.proj-feature h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.proj-feature p { color: rgba(255,255,255,.76); margin: 0 0 12px; }
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: p; align-content: center; }
.pipeline li { counter-increment: p; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 15px; }
.pipeline li::before { content: counter(p); width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--signal); color: #fff; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 15px; color: var(--slate); }
.footer-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 18px; flex-wrap: wrap; margin-right: auto; }
.footer-row a { color: var(--slate); text-decoration: none; }
.footer-row a:hover { color: var(--ink); }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.social a:hover { border-color: var(--ink); }

/* ---------- wide screens ---------- */
@media (min-width: 1600px) {
  .proj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .teaser, .about-hero, .contact-grid, .proj-feature { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 16px; }
  .case .go { display: none; }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; align-items: start; }
  .about-hero .portrait { max-width: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .areas, .values, .proj-grid, .ba, .timeline { grid-template-columns: 1fr; }
  .split { gap: 20px; }
  .timeline li { padding: 0 0 0 52px; min-height: 36px; }
  .timeline li:not(:last-child)::after { top: 40px; bottom: -24px; left: 17px; right: auto; width: 1.5px; height: auto; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta { border-radius: 20px; }
}

/* =========================================================================
   Compatibility layer for the older pages (Work, case studies, AI agent).
   Their markup still uses the previous classes and inline styles; these rules
   bring them into the new look.
   ========================================================================= */
.rv { opacity: 1 !important; transform: none !important; transition: none !important; }
.hr { height: 1px; border: 0; margin: 0; background: var(--line); }
.nav { padding: 0; }
.tag, .pill { border-radius: 999px !important; }
.card, main article[style*="border:1px solid"] { border-radius: var(--radius-lg) !important; }
.dtable, .etable, .table { font-family: var(--font-body); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
main input, main select, main textarea { font-family: var(--font-body); }
main h1[style*="font-weight:400"], main h2[style*="font-weight:400"], main h3[style*="font-weight:400"] { font-weight: 600 !important; letter-spacing: -0.025em !important; }
main [style*="text-transform:uppercase"] { text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }
