@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --page: 1200px;
  --paper: #fdfdfc;
  --outside: #fdfdfc;
  --ink: #101110;
  --muted: #666964;
  --soft: #969994;
  --line: #dedfdb;
  --line-strong: #bfc1bc;
  --signal: #41d9bd;
  --deep: #102724;
  --section-space: clamp(7.5rem, 12vw, 11rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--outside);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection { color: var(--ink); background: #aaf3e4; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--outside); }
::-webkit-scrollbar-thumb { background: #a5a8a3; border: 3px solid var(--outside); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

main,
.site-footer {
  width: min(100%, var(--page));
  margin-inline: auto;
  background: var(--paper);
  border-inline: 1px solid var(--line);
}

main > section { border-bottom: 1px solid var(--line); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(100%, var(--page));
  height: 72px;
  display: grid;
  grid-template-columns: 1fr 142px 1fr;
  align-items: center;
  padding-inline: clamp(24px, 5vw, 74px);
  background: var(--paper);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transform: translateX(-50%);
  transition: border-color 260ms ease;
}
.site-header[data-scrolled="true"] {
  background: var(--paper);
  border-bottom-color: var(--line-strong);
  box-shadow: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.8rem, 3.6vw, 4.5rem);
}
.nav-left { justify-content: flex-end; padding-right: clamp(1.8rem, 3.6vw, 4.5rem); }
.nav-right { justify-content: flex-start; padding-left: clamp(1.8rem, 3.6vw, 4.5rem); }
.desktop-nav a {
  position: relative;
  color: #555954;
  font-size: .72rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease-out);
}
.desktop-nav a:hover::after,
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.brand {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 132px;
  height: 34px;
  text-decoration: none;
}
.brand-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.menu-toggle, .site-nav { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ease-out);
}
.button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #30322f; }
.text-link { font-size: .74rem; font-weight: 600; }

.hero {
  position: relative;
  min-height: 930px;
  padding-top: 72px;
  overflow: hidden;
  background: var(--paper);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 700px);
  margin-inline: auto;
  padding-top: 76px;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.25rem, 5.4vw, 4.7rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 span { display: block; }
.hero-title-muted { color: #727671; }
.hero-content > p {
  max-width: 550px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.hero-visual {
  position: absolute;
  left: 50%;
  bottom: 52px;
  width: min(76%, 800px);
  height: 500px;
  padding: 46px 34px;
  transform: translateX(-50%);
}
.ascii-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--ink);
}
.ascii-noscript {
  position: absolute;
  inset: 46px 34px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}
.frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #868984;
  border-style: solid;
}
.corner-tl { top: 24px; left: 24px; border-width: 2px 0 0 2px; }
.corner-tr { top: 24px; right: 24px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 24px; left: 24px; border-width: 0 0 2px 2px; }
.corner-br { right: 24px; bottom: 24px; border-width: 0 2px 2px 0; }
.ascii-caption {
  position: absolute;
  background: var(--paper);
  color: var(--soft);
  font-size: .56rem;
  letter-spacing: .02em;
}
.ascii-caption-center { left: 50%; bottom: 31px; transform: translateX(-50%); color: var(--ink); }
.ascii-caption-output { right: 7%; bottom: 31px; }
.hero-meta {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  justify-content: flex-end;
  color: var(--soft);
  font-size: .58rem;
}

.practice-strip {
  min-height: 144px;
  display: grid;
  place-content: center;
  gap: 24px;
  padding: 28px 40px;
  text-align: center;
  background: var(--paper);
}
.practice-strip p { margin: 0; color: var(--muted); font-size: .68rem; }
.practice-strip ul {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4.2vw, 4.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8a8d88;
  font-size: .72rem;
  font-weight: 600;
}
.practice-strip li { display: inline-flex; align-items: center; gap: 8px; }
.practice-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: square;
}

.section-shell { width: 100%; margin: 0; padding-inline: clamp(24px, 7vw, 96px); }
.statement {
  min-height: 630px;
  display: grid;
  place-content: center;
  gap: 0;
  padding-block: var(--section-space);
  text-align: center;
  background: var(--paper);
}
.section-index { display: none; }
.statement-copy { width: min(100%, 820px); margin-inline: auto; }
.statement-copy h2,
.capabilities h2,
.system-field h2,
.approach h2,
.engagements h2,
.faq h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.statement-copy p {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1rem;
}
.statement-note { max-width: 50ch; margin: 96px auto 0; color: var(--soft); font-size: .72rem; }

.capabilities {
  padding-block: var(--section-space);
  background: var(--paper);
}
.capabilities-heading {
  width: min(100%, 720px);
  margin: 0 auto 72px;
  text-align: center;
}
.capabilities-heading > p { max-width: 54ch; margin: 20px auto 0; color: var(--muted); font-size: .82rem; }
.service-index {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.service-row {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 30px 34px 34px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.service-row p { margin: 0; }
.service-icon,
.process-icon,
.engagement-icon {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.service-icon { width: 38px; height: 38px; margin-bottom: 10px; }
.service-icon svg,
.process-icon svg,
.engagement-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.service-icon .icon-signal-fill,
.process-icon .icon-signal-fill,
.engagement-icon .icon-signal-fill,
.practice-icon .icon-signal { fill: currentColor; stroke: none; }
.service-icon .icon-signal-stroke { stroke: currentColor; }
.practice-icon .icon-signal-stroke { stroke: currentColor; }
.service-name { font-size: 1rem; font-weight: 600; letter-spacing: -.025em; }
.service-row > p:nth-child(3) { max-width: 48ch; color: var(--muted); font-size: .78rem; }
.service-row ul { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 6px 0 0; list-style: none; color: var(--soft); }
.service-row li { font-size: .62rem; }
.service-row li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }

.system-field {
  min-height: 900px;
  display: grid;
  align-content: center;
  gap: 68px;
  padding: var(--section-space) clamp(24px, 7vw, 96px);
  color: var(--ink);
  background: var(--paper);
}
.system-copy { order: 2; width: min(100%, 620px); margin-inline: auto; text-align: center; }
.system-copy > p { max-width: 55ch; margin: 20px auto 24px; color: var(--muted); font-size: .82rem; }
.text-link-light { color: var(--ink); }
.system-map { position: relative; order: 1; width: min(100%, 850px); min-height: 300px; margin-inline: auto; }
.map-rail { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.map-rail span { position: absolute; top: 0; left: 0; width: 20%; height: 1px; background: var(--ink); animation: scan 5s var(--ease-out) infinite alternate; }
.map-node, .map-core { position: absolute; display: flex; flex-direction: column; gap: 2px; }
.map-node span { font-size: .72rem; font-weight: 600; }
.map-node small, .map-core small { color: var(--soft); font-size: .58rem; }
.map-node::after { content: ""; position: absolute; left: 50%; width: 1px; height: 48px; background: var(--line-strong); }
.map-node::before { content: ""; position: absolute; left: calc(50% - 3px); width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.map-node-a { top: 14%; left: 3%; }.map-node-a::after,.map-node-c::after { top: calc(100% + 9px); }.map-node-a::before,.map-node-c::before { top: calc(100% + 57px); }
.map-node-b { bottom: 8%; left: 27%; }.map-node-b::after,.map-node-d::after { bottom: calc(100% + 9px); }.map-node-b::before,.map-node-d::before { bottom: calc(100% + 57px); }
.map-node-c { top: 8%; right: 23%; text-align: center; }
.map-node-d { right: 1%; bottom: 14%; text-align: right; }
.map-core { left: 50%; top: 50%; align-items: center; transform: translate(-50%,-50%); }
.map-core > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); background: var(--paper); font-size: .62rem; font-weight: 600; }
.map-core small { margin-top: 9px; white-space: nowrap; }
@keyframes scan { to { transform: translateX(400%); } }

.belief {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding-block: var(--section-space);
  text-align: center;
  background: var(--paper);
}
.belief blockquote { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }

.approach,
.engagements {
  padding-block: var(--section-space);
  background: var(--paper);
}
.approach-intro,
.engagements-intro {
  width: min(100%, 720px);
  margin: 0 auto 76px;
  text-align: center;
}
.approach-intro > p,
.engagements-intro > p { max-width: 54ch; margin: 20px auto 0; color: var(--muted); font-size: .82rem; }
.process-list,
.engagement-table { width: min(100%, 900px); margin: 0 auto; padding: 0; border-top: 1px solid var(--line-strong); }
.process-list { list-style: none; }
.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr 180px;
  gap: 28px;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}
.process-marker { display: flex; align-items: flex-start; padding-top: 2px; }
.process-icon { width: 32px; height: 32px; flex: none; }
.process-icon svg { width: 18px; height: 18px; }
.process-marker::after { content: ""; flex: 1; height: 1px; margin-top: 16px; margin-left: 12px; background: var(--line); }
.process-list h3 { margin: 0 0 9px; font-size: 1.05rem; font-weight: 600; letter-spacing: -.025em; }
.process-list p { max-width: 56ch; margin: 0; color: var(--muted); font-size: .78rem; }
.process-output { justify-self: end; text-align: right; line-height: 1.7; }

.engagement-table article {
  display: grid;
  grid-template-columns: 1.25fr 1.5fr 140px;
  gap: 32px;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}
.engagement-table h3 { margin: 14px 0 10px; font-size: 1.2rem; font-weight: 500; letter-spacing: -.03em; }
.engagement-icon { width: 36px; height: 36px; }
.engagement-table article > div > p { max-width: 46ch; margin: 0; color: var(--muted); font-size: .75rem; }
.engagement-table dl { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 2px 0 0; }
.engagement-table dl div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
.engagement-table dt { color: var(--soft); font-size: .58rem; }
.engagement-table dd { margin: 0; font-size: .66rem; }
.engagement-table article > a { display: inline-flex; align-items: center; gap: 5px; align-self: end; justify-self: end; font-size: .68rem; font-weight: 600; }
.engagement-table article > a .link-arrow { width: .8em; height: .8em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }

.faq {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: 72px;
  padding-block: var(--section-space);
  background: var(--paper);
}
.faq-intro > p { max-width: 34ch; margin: 20px 0 0; color: var(--muted); font-size: .78rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 18px 44px 18px 16px;
  font-size: .76rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span,
.faq-list summary span::after { position: absolute; right: 14px; width: 12px; height: 1px; background: var(--ink); transition: transform 180ms ease; }
.faq-list summary span::after { content: ""; right: 0; transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 58ch; margin: -2px 0 24px; padding: 0 44px 0 16px; color: var(--muted); font-size: .74rem; }

.final-cta {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 60px;
  align-content: center;
  padding: var(--section-space) clamp(24px, 7vw, 96px);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}
.final-cta h2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 400; letter-spacing: -.035em; }
.final-cta p { max-width: 48ch; margin: 22px 0 0; color: var(--muted); font-size: .82rem; }
.button-signal { align-self: end; justify-self: end; color: white; background: var(--ink); }
.button-signal:hover { background: #30322f; }
.cta-signal { position: absolute; left: 0; right: 0; bottom: 74px; height: 1px; background: var(--line); }
.cta-signal span { position: absolute; left: 10%; top: -3px; width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }

.site-footer {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 42px;
  align-content: start;
  padding: 62px clamp(24px, 7vw, 96px) 0;
}
.footer-brand { width: auto; height: 38px; justify-self: start; align-self: start; }
.footer-brand .brand-text { font-size: 1.8rem; }
.site-footer > p { margin: 0; color: var(--muted); font-size: .7rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; justify-self: end; }
.footer-links a { position: relative; width: max-content; color: var(--muted); font-size: .66rem; text-decoration: none; }
.copyright { grid-column: 1 / -1; align-self: end; padding: 74px 0 24px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: no-preference) {
  .hero-content h1, .hero-content > p, .hero-actions { animation: settle 760ms var(--ease-out) both; }
  .hero-content > p { animation-delay: 70ms; }
  .hero-actions { animation-delay: 130ms; }
  @keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr 44px; padding-inline: 20px; }
  .desktop-nav { display: none; }
  .brand { grid-column: 1; justify-self: start; width: auto; }
  .brand-text { font-size: 1.5rem; }
  .menu-toggle {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: end;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    color: var(--ink);
    font: inherit;
    font-size: .68rem;
    cursor: pointer;
  }
  .menu-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
  .site-nav {
    position: fixed;
    top: 72px;
    left: 50%;
    width: min(calc(100% - 32px), 1168px);
    display: grid;
    gap: 0;
    padding: 10px 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(253, 253, 252, .9);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(135%) blur(18px);
    backdrop-filter: saturate(135%) blur(18px);
    transform: translate(-50%, -8px);
    transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 180ms;
  }
  .site-nav[data-open="true"] { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
  .site-nav a { min-height: 50px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: .72rem; text-decoration: none; }
  .site-nav a:last-child { border: 0; }
  .process-list li { grid-template-columns: 44px 1fr; }
  .process-output { grid-column: 2; justify-self: start; text-align: left; }
  .engagement-table article { grid-template-columns: 1fr 1.1fr; }
  .engagement-table article > a { grid-column: 2; justify-self: start; }
  .faq { grid-template-columns: 1fr; gap: 64px; }
  .faq-intro { width: min(100%, 620px); text-align: center; margin-inline: auto; }
  .faq-intro > p { margin-inline: auto; }
}

@media (max-width: 640px) {
  :root { --section-space: 6.5rem; }
  main, .site-footer, .site-header { border-inline: 0; }
  .hero { min-height: 820px; }
  .hero-content { width: calc(100% - 32px); padding-top: 64px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .hero-content > p { max-width: 36ch; font-size: .8rem; }
  .hero-actions { gap: 14px; }
  .hero-visual { bottom: 48px; width: 100%; height: 465px; padding: 34px 22px; }
  .corner-tl, .corner-bl { left: 16px; }
  .corner-tr, .corner-br { right: 16px; }
  .ascii-caption-center { bottom: 16px; }
  .ascii-caption-output { right: 24px; }
  .hero-meta { left: 16px; right: 16px; }
  .hero-meta span { margin-left: auto; }
  .practice-strip { min-height: 170px; padding-inline: 20px; }
  .practice-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .statement-note { margin-top: 70px; }
  .service-index { grid-template-columns: 1fr; }
  .service-row { min-height: 220px; padding: 28px; }
  .system-field { min-height: 820px; }
  .system-map { min-height: 390px; }
  .map-node { max-width: 100px; }
  .map-node-a { left: 0; }.map-node-b { left: 10%; }.map-node-c { right: 12%; }.map-node-d { right: 0; }
  .belief { min-height: 500px; }
  .process-list li { grid-template-columns: 40px 1fr; gap: 12px; }
  .process-marker::after { display: none; }
  .engagement-table article { grid-template-columns: 1fr; gap: 26px; }
  .engagement-table article > a { grid-column: auto; justify-self: start; }
  .engagement-table dl div { grid-template-columns: 88px 1fr; }
  .final-cta { min-height: 580px; grid-template-columns: 1fr; gap: 40px; }
  .button-signal { justify-self: start; }
  .site-footer { min-height: 420px; grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 2; }
  .footer-links { grid-column: 2; grid-template-columns: 1fr; justify-self: start; }
  .copyright { grid-column: 1 / -1 !important; }
}

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