
:root {
  --paper: #fbf8f3;
  --paper-deep: #f7f2ea;
  --ink: #1c1633;
  --muted: #5a5470;
  --navy: #1b0c4e;
  --purple: #6b46d9;
  --purple-soft: #7a4ff0;
  --accent: #e8a090;
  --line: color-mix(in oklab, var(--navy) 10%, transparent);
  --max: 1120px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --radius-ill: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("assets/paper-grain.png");
  background-size: 320px 320px;
  background-repeat: repeat;
  background-blend-mode: soft-light;
  line-height: 1.55;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--paper) 88%, white);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand img { height: 36px; width: auto; }
.brand-mark { font-weight: 650; letter-spacing: .02em; color: var(--navy); font-size: .95rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .15rem .7rem; align-items: center; justify-content: flex-end; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 550;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .72rem 1.25rem; font-weight: 650; font-size: .95rem;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), #5a2fcc 60%, #8b4fd9);
  color: #fff !important;
  box-shadow: 0 8px 22px color-mix(in oklab, var(--purple) 28%, transparent);
}
.btn-primary:hover { color: #fff !important; }
.btn-ghost {
  background: #fff;
  border-color: var(--line); color: var(--navy);
}

/* Thin calm divider */
.wc-divider {
  display: block; width: min(360px, 50%);
  height: 18px;
  object-fit: contain;
  object-position: center;
  margin: .15rem auto 0;
  opacity: .38;
  filter: saturate(.55) brightness(1.05);
  border: 0; pointer-events: none;
}

.hero {
  position: relative;
  padding: 3rem 0 2rem;
  overflow: clip;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero-bg { display: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
}
.hero-copy {
  background: color-mix(in oklab, #fff 92%, var(--paper));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: 0 10px 30px color-mix(in oklab, var(--navy) 5%, transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple);
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--purple) 16%, white);
  padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem;
}
h1 {
  font-family: var(--display); font-weight: 650; font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.12; color: var(--navy); margin: 0 0 .9rem; letter-spacing: -.02em;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 38rem; margin: 0 0 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.2rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill {
  font-size: .84rem; font-weight: 600; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px; padding: .38rem .75rem;
}
.hero-art { position: relative; justify-self: center; width: min(100%, 540px); }
.hero-splatter { display: none; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-ill);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px color-mix(in oklab, var(--navy) 10%, transparent);
}
.hero-frame img { width: 100%; display: block; }

section { padding: 3rem 0; position: relative; }
.section-head { max-width: 40rem; margin-bottom: 1.5rem; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  color: var(--navy); margin: 0 0 .5rem; letter-spacing: -.015em; font-weight: 650;
}
.section-head p { margin: 0; color: var(--muted); }

/* Quiet bands: cream only, no busy wash */
.wc-band {
  position: relative;
  background: color-mix(in oklab, var(--paper-deep) 65%, white);
}
.wc-band::before,
.wc-band::after { content: none; }

.illus-row {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.75rem; align-items: center;
  margin-bottom: 1.5rem;
}
.illus-row.reverse { grid-template-columns: 1.1fr .9fr; }
.illus-row.reverse .illus { order: 2; }
.wc-ill {
  border-radius: var(--radius-ill);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px color-mix(in oklab, var(--navy) 8%, transparent);
}
.wc-ill img { width: 100%; display: block; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 6px 20px color-mix(in oklab, var(--navy) 5%, transparent);
}
.card h3 { margin: 0 0 .45rem; font-size: 1.08rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .icon {
  width: 2.4rem; height: 2.4rem; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: .75rem; font-size: 1.1rem;
  background: color-mix(in oklab, var(--purple) 8%, white);
  color: var(--purple);
}
.card.sage .icon { background: color-mix(in oklab, #1f6b47 8%, white); color: #1f6b47; }
.card.coral .icon { background: color-mix(in oklab, var(--accent) 18%, white); color: #b45309; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.45rem;
}
.panel h3 { margin: 0 0 .6rem; color: var(--navy); font-size: 1.15rem; }
.panel ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.panel li { margin: .35rem 0; }
.badge-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.badge {
  flex: 1; min-width: 140px; border-radius: 14px; padding: .75rem .9rem; font-size: .92rem;
}
.badge b { display: block; color: var(--navy); margin-bottom: .15rem; }
.badge.v { background: #eef8f2; border: 1px solid #c6e6d4; color: var(--muted); }
.badge.l { background: #f6f5f9; border: 1px solid #e2e0ea; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.step .n {
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-size: .8rem; font-weight: 700; margin-bottom: .55rem;
}
.step h3 { margin: 0 0 .3rem; font-size: 1rem; color: var(--navy); }
.step p { margin: 0; font-size: .9rem; color: var(--muted); }

.ai-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: center; }
.ai-visual {
  border-radius: var(--radius-ill);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px color-mix(in oklab, var(--navy) 8%, transparent);
}
.ai-visual img { width: 100%; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip {
  font-size: .82rem; font-weight: 650; padding: .35rem .7rem; border-radius: 999px;
  background: #fff;
  color: var(--navy);
  border: 1px solid color-mix(in oklab, var(--purple) 14%, white);
}

.placeholder {
  border: 1.5px dashed color-mix(in oklab, var(--purple) 35%, #cbb8f5);
  background: color-mix(in oklab, var(--purple) 4%, white);
  color: var(--navy);
  border-radius: 12px; padding: .85rem 1rem; font-size: .95rem; font-weight: 600;
  margin: .5rem 0;
}
.placeholder code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; font-weight: 700;
}

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.metric {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1.2rem .8rem;
}
.metric .ph { font-size: .9rem; color: var(--muted); }

.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .team { grid-template-columns: 1fr; }
}
.avatar.initial {
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 2.4rem; font-weight: 650; color: var(--navy);
  background:
    radial-gradient(circle at 30% 25%, color-mix(in oklab, #ffb37f 55%, white), transparent 55%),
    radial-gradient(circle at 75% 70%, color-mix(in oklab, var(--purple) 35%, white), transparent 50%),
    linear-gradient(160deg, color-mix(in oklab, var(--purple) 10%, white), color-mix(in oklab, #ffb37f 18%, white));
}
.person { display: flex; flex-direction: column; height: 100%; }
.person p { flex: 1; }

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem; text-align: center;
}
.avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.9rem;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px color-mix(in oklab, var(--navy) 10%, transparent);
  background: #efeafd;
}
.avatar.ph {
  display: grid; place-items: center; color: var(--muted); font-size: .8rem; font-weight: 650;
  background: color-mix(in oklab, var(--purple) 6%, white);
}
.person h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.person .role { color: var(--purple); font-weight: 650; font-size: .9rem; margin: .2rem 0 .5rem; }
.person p { margin: 0; color: var(--muted); font-size: .92rem; }

.vision {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 2.1rem;
  box-shadow: 0 10px 28px color-mix(in oklab, var(--navy) 6%, transparent);
}
.vision h2 { margin-top: 0; font-family: var(--display); color: var(--navy); }
.vision p { color: var(--muted); max-width: 48rem; }

.contact-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.25rem; align-items: center;
  background: linear-gradient(135deg, #1b0c4e, #3a1a8c 55%, #5a2fcc);
  color: #fff; border-radius: 22px;
  padding: 2rem; box-shadow: 0 16px 40px color-mix(in oklab, var(--navy) 20%, transparent);
}
.contact-box h2 { font-family: var(--display); margin: 0 0 .5rem; font-size: 1.9rem; }
.contact-box p { margin: 0 0 1rem; color: color-mix(in oklab, white 84%, #ffb37f); }
.contact-box a.btn-primary {
  background: linear-gradient(135deg, #ff8a4c, #d6307f);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.contact-meta { font-size: .95rem; color: #e7e4f0; }
.contact-meta a { color: #ffb37f; }

footer {
  padding: 2rem 0 2.5rem; color: var(--muted); font-size: .9rem;
  margin-top: .5rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.foot-inner a { color: var(--muted); text-decoration: none; }
.foot-inner a:hover { color: var(--navy); }

/* Mobile / narrow — layout + polish only; keep all copy visible */
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
  body { font-size: 16px; line-height: 1.6; }
  .wrap { width: min(var(--max), calc(100% - 1.75rem)); }
  .hero-grid, .split, .ai-grid, .contact-box, .illus-row, .illus-row.reverse { grid-template-columns: 1fr; }
  .illus-row.reverse .illus { order: 0; }
  .cards, .metrics, .steps { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }

  section { padding: 2.25rem 0; }
  .hero { padding: 1.75rem 0 1.25rem; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.25rem); margin-bottom: .75rem; }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .lede { font-size: 1.05rem; max-width: none; margin-bottom: 1.1rem; }
  .section-head p { font-size: 1rem; }

  .hero-copy {
    padding: 1.25rem 1.2rem 1.15rem;
    box-shadow: 0 6px 18px color-mix(in oklab, var(--navy) 4%, transparent);
  }
  .hero-art { width: 100%; max-width: 100%; }
  .hero-frame { border-radius: 18px; }
  .wc-ill { border-radius: 18px; max-height: 220px; }
  .wc-ill img { width: 100%; height: 220px; object-fit: cover; }
  .ai-visual { max-height: 220px; border-radius: 18px; }
  .ai-visual img { width: 100%; height: 220px; object-fit: cover; }
  .wc-divider { max-height: 28px; object-fit: cover; opacity: .55; margin: .15rem 0; }

  /* Eyebrow / brand: no capsule label chips */
  .eyebrow {
    display: block;
    width: fit-content;
    max-width: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: .85rem;
    font-size: .72rem;
    letter-spacing: .12em;
    /* keep uppercase so innerText stays identical to baseline */
    text-transform: uppercase;
    font-weight: 700;
    color: var(--purple);
  }
  .brand-mark {
    font-size: .88rem;
    letter-spacing: .04em;
    opacity: .85;
  }

  /* Quiet “pills”: no capsule scatter — clean stacked callouts */
  .trust-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    margin-top: .25rem;
  }
  .pill {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    border: none;
    border-left: 2px solid color-mix(in oklab, var(--purple) 45%, white);
    background: transparent;
    box-shadow: none;
    padding: .2rem 0 .2rem .85rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.4;
  }

  .cards { gap: .9rem; }
  .card {
    padding: 1.15rem 1.15rem 1.1rem;
    border-radius: 16px;
    box-shadow: none;
  }
  .card .icon {
    width: 1.75rem; height: 1.75rem;
    font-size: .85rem;
    margin-bottom: .55rem;
    opacity: .7;
  }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 1rem; }

  .panel {
    padding: 1.2rem 1.15rem;
    border-radius: 16px;
    box-shadow: none;
  }
  .panel h3 { font-size: 1.1rem; margin-bottom: .7rem; }
  .panel ul { padding-left: 1.15rem; }
  .panel li { margin: .45rem 0; font-size: 1rem; }

  /* Badges: stacked document callouts, not tags */
  .badge-row {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: 1.1rem;
  }
  .badge {
    flex: none;
    width: 100%;
    min-width: 0;
    border-radius: 0;
    border-left-width: 3px;
    padding: .7rem 0 .7rem .95rem;
    font-size: .98rem;
    line-height: 1.45;
    background: transparent !important;
    box-shadow: none;
  }
  .badge.v { border-color: transparent; border-left-color: #6bbf8d; }
  .badge.l { border-color: transparent; border-left-color: color-mix(in oklab, var(--navy) 22%, white); }
  .badge b {
    font-size: .95rem;
    letter-spacing: .01em;
    margin-bottom: .3rem;
    font-weight: 700;
  }

  .steps { gap: .75rem; }
  .step {
    padding: 1rem 1.05rem;
    border-radius: 14px;
    box-shadow: none;
  }
  .step .n {
    width: 1.45rem; height: 1.45rem;
    font-size: .72rem;
    margin-bottom: .45rem;
    opacity: .9;
  }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .98rem; }

  .metric {
    padding: 1rem .9rem;
    border-radius: 14px;
    box-shadow: none;
    text-align: left;
  }
  .metric .ph { font-size: .95rem; }

  /* Chips: same text, quieter list rhythm */
  .chip-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    margin-top: 1.15rem;
  }
  .chip {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    border: none;
    border-left: 2px solid color-mix(in oklab, var(--navy) 18%, white);
    background: transparent;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
    padding: .2rem 0 .2rem .85rem;
    line-height: 1.4;
  }

  code {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: .92em;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .person {
    padding: 1.35rem 1.2rem 1.25rem;
    text-align: center;
    border-radius: 16px;
    box-shadow: none;
  }
  .avatar {
    width: 128px;
    height: 128px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }
  .person h3 { font-size: 1.12rem; }
  .person .role { font-size: .95rem; margin: .25rem 0 .65rem; }
  .person p { font-size: 1rem; text-align: center; }

  .vision {
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
    box-shadow: none;
  }
  .contact-box {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
    gap: 1.1rem;
    align-items: start;
  }
  .contact-box h2 { font-size: 1.55rem; }
  .contact-box p { font-size: 1rem; margin-bottom: .85rem; }
  .contact-meta { font-size: 1rem; }
  .brand img { height: 40px; width: auto; }
  .nav-inner { padding: .7rem 0; }
  footer { padding: 1.5rem 0 2rem; }
  .foot-inner { gap: .75rem; align-items: flex-start; }
}

@media (max-width: 430px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .hero-copy { padding: 1.1rem 1.05rem 1.05rem; }
  .wc-ill, .ai-visual { max-height: 190px; }
  .wc-ill img, .ai-visual img { height: 190px; }
}

@media (max-width: 360px) {
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  h1 { font-size: 1.6rem; }
}


/* —— Multi-page nav (desktop + mobile hamburger) —— */
.brand { text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-links a.is-active {
  color: var(--navy);
  font-weight: 700;
}
.nav-links a.nav-external {
  color: var(--purple);
  font-weight: 650;
}
.nav-toggle {
  display: none;
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-panel-backdrop {
  display: none;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  align-items: center;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 550;
}
.foot-links a:hover { color: var(--navy); }
.foot-links a.nav-external { color: var(--purple); font-weight: 650; }
.contact-meta a {
  color: #ffb37f;
  text-decoration: none;
}
.contact-meta a:hover { color: #fff; text-decoration: underline; }
.page-main { min-height: 55vh; }
.page-main > .wc-divider:first-child { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .55rem 0 .85rem;
    background: color-mix(in oklab, var(--paper) 96%, white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px color-mix(in oklab, var(--navy) 8%, transparent);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: .85rem 1.25rem;
    font-size: 1.02rem;
    border-top: 1px solid color-mix(in oklab, var(--navy) 6%, transparent);
  }
  .nav-links a:first-child { border-top: none; }
  .nav-panel-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--nav-h, 64px);
    background: color-mix(in oklab, var(--navy) 28%, transparent);
    z-index: 40;
  }
  .nav { z-index: 50; }
  .nav-links { z-index: 51; }
}
