@font-face { font-family: "Lora"; src: url("/fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --paper: #f2f4f3;
  --surface: #ffffff;
  --ink: #142235;
  --ink-2: #46566b;
  --rule: #ccd4d8;
  --keep: #1d6a50;
  --keep-bg: #e3f0ea;
  --revoke: #a5302a;
  --revoke-bg: #f6e4e2;
  --band: #142235;
  --band-ink: #dfe7ee;
  --mint: #7fd1ad;
  --focus: #2f6fd6;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 10; }

/* Header and wordmark */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .95rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.mark { width: 42px; height: 42px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-1 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.wm-2 { font-family: var(--sans); font-weight: 600; font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--keep); margin-top: .38rem; padding-left: .08rem; }
.nav { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: .55rem 1rem; border-radius: 6px; font-weight: 600; border-bottom: 0; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: #22364f; color: #fff; }
.nav-menu { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; padding: .85rem 1.4rem; border-radius: 6px; font-size: 1rem; }
.btn:hover { background: #22364f; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #dfe7ee; }
.link { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--keep); }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); font-weight: 400; letter-spacing: -0.025em; }
.lede { font-size: 1.2rem; color: var(--ink-2); margin-top: 1.4rem; max-width: 36rem; }
.actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2rem; }

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
section h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.section-head { max-width: 46rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.two-col > div > p, .two-col > div > ul { max-width: 40rem; }
.problem, .overview, .about, .independence, .contact-page, .svc-section, .fw-section, .prose { background: var(--surface); border-block: 1px solid var(--rule); }
.findings { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; }
.findings li { padding: .9rem 0 .9rem 1.6rem; border-top: 1px solid var(--rule); position: relative; }
.findings li:last-child { border-bottom: 1px solid var(--rule); }
.findings li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: .75rem; height: 1.5px; background: var(--revoke); }

/* Home services overview */
.ov-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.ov-list a { display: grid; grid-template-columns: 13rem 1fr; gap: 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.ov-list li:nth-last-child(-n+2) a { border-bottom: 1px solid var(--rule); }
.ov-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.ov-desc { color: var(--ink-2); font-size: .95rem; }
.ov-list a:hover .ov-name { text-decoration: underline; text-decoration-color: var(--keep); text-underline-offset: 4px; }

/* Page intro */
.page-intro { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-intro h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 400; letter-spacing: -0.02em; }
.page-intro .lede { margin-top: 1rem; }
.jump { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-block; text-decoration: none; border: 1px solid var(--rule); background: var(--surface); padding: .4rem .85rem; border-radius: 6px; font-size: .92rem; font-weight: 500; }
.jump a:hover { border-color: var(--ink); }

/* Services page */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-block: 2.4rem; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc h2 { font-size: 1.75rem; margin-bottom: .7rem; }
.svc-name p { color: var(--ink-2); max-width: 30rem; }
.svc-ideal { font-style: italic; font-family: var(--serif); color: var(--ink) !important; }
.svc-detail h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-bottom: .6rem; }
.gets { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.gets li { position: relative; padding: .35rem 0 .35rem 1.6rem; }
.gets li::before { content: ""; position: absolute; left: .15rem; top: .72rem; width: 5px; height: 10px; border: solid var(--keep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.svc-fw { font-size: .92rem; color: var(--keep); margin: 0; }
.svc-fw span { font-weight: 600; color: var(--ink); }

/* Approach */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.flow li { counter-increment: step; padding: 1.6rem 1.8rem 1.4rem 0; border-top: 2px solid var(--ink); }
.flow li + li { padding-left: 1.8rem; border-left: 1px solid var(--rule); }
.flow h2 { font-size: 1.8rem; margin-bottom: .7rem; display: flex; align-items: baseline; gap: .6rem; }
.flow h2::before { content: counter(step); font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--keep); }
.flow p { color: var(--ink-2); margin: 0; }
.principle-list { margin: 0; }
.principle-list dt { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.principle-list dd { margin: .35rem 0 1.1rem; color: var(--ink-2); max-width: 40rem; }

/* Frameworks */
.table-scroll { overflow-x: auto; margin-bottom: 2rem; }
.fw-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fw-table th, .fw-table td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--rule); }
.fw-table thead th { font-size: .85rem; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.fw-table tbody th { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; width: 22%; }
.fw-table td { color: var(--ink-2); font-size: .97rem; width: 39%; }
.note { font-size: .95rem; color: var(--ink-2); max-width: 46rem; border-left: 3px solid var(--keep); padding-left: 1rem; margin: 0; }

/* Contact */
.big-mail { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--ink); text-decoration-color: var(--keep); text-underline-offset: 5px; word-break: break-word; }
.contact-page h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.8rem 0 .5rem; }
.next-steps { padding-left: 1.3rem; margin: 0; }
.next-steps li { padding-left: .3rem; margin-bottom: 1rem; color: var(--ink-2); }
.next-steps strong { color: var(--ink); }

/* Prose */
.prose .wrap > * { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }

/* CTA band */
.contact-band { background: var(--band); color: var(--band-ink); border: 0; padding-block: clamp(3rem, 6vw, 4.5rem); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.contact-band h2 { color: #fff; margin-bottom: .5rem; }
.contact-band p { margin: 0; font-size: 1.1rem; max-width: 34rem; }
.contact-band a:focus-visible { outline-color: #9cc1ff; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-ink); padding-block: 2.5rem 2.8rem; border-top: 1px solid #2a3c55; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 2rem; align-items: start; }
.footer-tag { font-family: var(--serif); font-style: italic; margin: .8rem 0 0; color: var(--mint); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: .45rem 2rem; justify-content: start; }
.footer-links a, .footer-mail a { text-decoration: none; color: var(--band-ink); }
.footer-links a:hover, .footer-mail a:hover { color: #fff; text-decoration: underline; }
.footer-mail { margin: 0; text-align: right; }
.site-footer a:focus-visible { outline-color: #9cc1ff; }

@media (max-width: 920px) {
  .nav-wide { display: none; }
  .nav-menu { display: block; position: relative; }
  .nav-menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: .5rem .9rem; border: 1px solid var(--ink); border-radius: 6px; font-size: .95rem; }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu[open] summary { background: var(--ink); color: #fff; }
  .nav-menu ul { list-style: none; margin: 0; padding: .5rem; position: absolute; right: 0; top: calc(100% + .5rem); background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; min-width: 13rem; box-shadow: 0 16px 30px -18px rgba(20,34,53,.5); }
  .nav-menu a { display: block; padding: .65rem .8rem; text-decoration: none; border-radius: 6px; }
  .nav-menu a[aria-current="page"] { background: var(--paper); font-weight: 600; }
  .nav-menu .nav-cta { background: var(--ink); color: #fff; margin-top: .3rem; text-align: center; font-weight: 600; }
}
@media (max-width: 860px) {
  .svc, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .ov-list { grid-template-columns: 1fr; }
  .ov-list li:nth-last-child(2) a { border-bottom: 0; }
  .ov-list a { grid-template-columns: 1fr; gap: .2rem; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding: 1.4rem 0; border-left: 0; }
  .flow li + li { border-top: 1px solid var(--rule); }
  .footer-mail { text-align: left; }
}
@media (max-width: 420px) {
  .wm-1 { font-size: 1.1rem; }
  .mark { width: 36px; height: 36px; }
}

.hero .lede { font-size: clamp(1.2rem, 1.8vw, 1.4rem); max-width: 44rem; }

/* User lifecycle */
.lifecycle { background: var(--band); color: var(--band-ink); border: 0; overflow: hidden; }
.lifecycle .section-head h2 { color: #fff; }
.lifecycle .section-head p { color: #b9c6d4; }
.journey-wrap { position: relative; margin-top: 1rem; }
.wave { position: absolute; left: 0; top: 0; width: 100%; height: 164px; overflow: visible; }
.wave path { fill: none; vector-effect: non-scaling-stroke; }
.wave-glow { stroke: rgba(127, 209, 173, .14); stroke-width: 14; }
.wave-line { stroke: var(--mint); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 1rem; }
.stage { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stage.hi { padding-top: 12px; }
.stage.lo { padding-top: 84px; }
.node {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #1c3150; border: 2px solid var(--mint); box-shadow: 0 0 0 7px var(--band);
}
.node svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stage:first-child .node, .stage:last-child .node { background: var(--mint); }
.stage:first-child .node svg, .stage:last-child .node svg { stroke: var(--band); }
.step { margin-top: 1rem; font-size: .75rem; font-weight: 600; color: var(--mint); letter-spacing: .03em; }
.stage h3 { color: #fff; font-size: 1.45rem; margin: .2rem 0 .45rem; }
.stage-desc { font-size: .9rem; color: #b9c6d4; line-height: 1.5; margin: 0 0 .8rem; max-width: 14rem; }
.ctl-toggle { width: 100%; max-width: 14rem; text-align: left; }
.ctl-toggle summary { list-style: none; cursor: pointer; text-align: center; font-size: .82rem; font-weight: 600; color: var(--mint); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(127,209,173,.5); }
.ctl-toggle summary::-webkit-details-marker { display: none; }
.ctl-toggle[open] summary { margin-bottom: .5rem; }
.ctl { list-style: none; margin: 0; padding: 0; }
.ctl li { font-size: .84rem; line-height: 1.4; padding: .5rem 0; border-top: 1px solid rgba(223, 231, 238, .14); color: var(--band-ink); }
.cid { display: block; font-size: .68rem; font-weight: 600; color: var(--mint); letter-spacing: .04em; margin-bottom: .1rem; }
.foundation { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(223, 231, 238, .18); display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.foundation h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.found-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.found-list li { font-size: .85rem; padding: .35rem .8rem; border: 1px solid rgba(127, 209, 173, .45); border-radius: 999px; color: var(--band-ink); }
.lifecycle summary:focus-visible, .lifecycle a:focus-visible { outline-color: #9cc1ff; }

@media (max-width: 900px) {
  .wave { display: none; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .stage, .stage.hi, .stage.lo { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.2rem; text-align: left; align-items: start; padding: 0 0 1.8rem; position: relative; }
  .stage::before { content: ""; position: absolute; left: 33px; top: 68px; bottom: 0; border-left: 2px dotted var(--mint); opacity: .6; }
  .stage:last-child::before { display: none; }
  .node { grid-row: 1 / span 4; box-shadow: none; }
  .step { margin-top: .3rem; }
  .stage-desc, .ctl-toggle { max-width: 34rem; }
  .ctl-toggle summary { text-align: left; }
}
