/* Persimmon Tree — site styles. */

/* Self-hosted fonts (SIL OFL 1.1, licenses in fonts/), copied from packages/brand/fonts by the build.
   Same latin subset Google Fonts served before. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #05472A;        /* Evergreen: primary, buttons, bars */
  --green-dark: #00311C;   /* dark sections */
  --green-tint: #B5C8BF;   /* green on dark backgrounds */
  --g1: #FAFAF9;           /* page */
  --g2: #F3F2EE;           /* soft sections */
  --g3: #E1DFDB;           /* lines */
  --ink: #111412;
  --ink-2: #3B3935;
  --muted: #68655E;        /* warm gray secondary text */
  --persimmon: #D9531E;    /* logo only */
  --max: 1280px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--g1); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* Type: large and tight */
h1, h2, h3 { font-weight: 500; margin: 0 0 20px; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(34px, 5vw, 68px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 680px; }
.label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.muted { color: var(--muted); }

/* Announcement bar */
.announce { background: var(--green); color: #fff; font-size: 14px; text-align: center; padding: 9px 16px; }
.announce a { color: var(--green-tint); text-decoration: none; margin-left: 8px; }
.announce a:hover { color: #fff; }

/* Header: Menu | brand | CTA */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 250, 249, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--g3); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.nav { justify-self: start; display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:first-child { margin-left: -12px; }
.nav a:hover { color: var(--ink); background: var(--g2); }
.nav a[aria-current="page"] { color: var(--green); font-weight: 500; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 28px; height: 28px; }
.brand-mark img { width: 32px; height: 32px; }
.brand span { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.header-cta { justify-self: end; }
.header-cta .btn { padding: 0 24px 0 42px; } .header-cta .btn .btn-fill { transform: none; }   /* header button keeps its dot */
@media (max-width: 700px) {
  .site-header .wrap { grid-template-columns: auto 1fr; grid-template-areas: "brand cta" "nav nav"; row-gap: 4px; padding-top: 10px; padding-bottom: 6px; }
  .brand-mark { grid-area: brand; } .header-cta { grid-area: cta; } .nav { grid-area: nav; }
  .header-cta .btn { height: 40px; padding: 0 16px 0 32px; font-size: 14px; } .header-cta .btn .btn-fill { left: 14px; }
}
/* five menu items must fit on a phone (2026-10-04, Services added) */
@media (max-width: 520px) { .nav { gap: 2px; } .nav a { padding: 8px 8px; } .nav a:first-child { margin-left: -8px; } }
@media (max-width: 400px) { .nav a { font-size: 14px; padding: 8px 6px; } .nav a:first-child { margin-left: -6px; } }


/* Buttons: one pill style */
/* "dot fill" pill, without the dot at rest (Yang, 2026-10-04): on hover a fill grows in from the left and the label is replaced by label + arrow.
   The header button is the exception: it keeps its dot and does not animate. */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--g3); background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
  --fill: var(--green); transition: border-color .4s; }
.btn-fill { position: absolute; z-index: -1; left: 20px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--fill);
  transform: scale(0); transition: transform .5s cubic-bezier(.22, .8, .22, 1); }
.btn-label { transition: transform .35s ease, opacity .3s ease; }
.btn-reveal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; opacity: 0; transform: translateX(-28px);
  transition: transform .35s ease, opacity .3s ease; }
.btn:hover, .btn:focus-visible { border-color: var(--fill); }
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: scale(72); }
.btn:hover .btn-label, .btn:focus-visible .btn-label { transform: translateX(28px); opacity: 0; }
.btn:hover .btn-reveal, .btn:focus-visible .btn-reveal { transform: none; opacity: 1; }
.btn.light { border-color: transparent; --fill: var(--green-dark); }   /* on green or dark backgrounds */
.btn.light:hover, .btn.light:focus-visible { border-color: rgba(255,255,255,.5); }
/* opening-section button = the main call to action: solid green at rest; on hover a white fill grows in and the label + arrow turn green.
   The header button keeps the default style (white at rest, green on hover). */
.hero .btn, .page-hero .btn { background: var(--green); border-color: var(--green); color: #fff; --fill: #fff; }
.hero .btn .btn-reveal, .page-hero .btn .btn-reveal { color: var(--green); }
.hero .btn:hover, .hero .btn:focus-visible, .page-hero .btn:hover, .page-hero .btn:focus-visible { border-color: var(--green); }
/* header button: static, no hover animation (Yang, 2026-10-04). The dot stays a dot; on hover only the border turns green. */
.header-cta .btn, .header-cta .btn .btn-fill, .header-cta .btn .btn-label, .header-cta .btn .btn-reveal { transition: none; }
.header-cta .btn:hover .btn-fill, .header-cta .btn:focus-visible .btn-fill { transform: none; }
.header-cta .btn:hover .btn-label, .header-cta .btn:focus-visible .btn-label { transform: none; opacity: 1; }
.header-cta .btn:hover .btn-reveal, .header-cta .btn:focus-visible .btn-reveal { transform: translateX(-28px); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .btn-fill, .btn-label, .btn-reveal { transition: none; } }
.more { display: inline-flex; gap: 8px; text-decoration: none; color: var(--ink); font-size: 16px; margin-top: 8px; }
.more::before { content: "↳"; }
.more:hover { color: var(--green); }

/* Hero: text left on light background, soft logo pebbles on the right */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--g1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--g1) 0%, rgba(250,250,249,.92) 34%, rgba(250,250,249,0) 62%); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { max-width: 760px; margin-bottom: 20px; }
/* slogan: 2 short lines that never wrap */
.hero h1.slogan { max-width: none; font-size: clamp(52px, 8.4vw, 112px); }
.hero h1 .nw { white-space: nowrap; }
/* "Zero Chaos": smaller, grayed out, in a second font (Instrument Serif italic) — no strike (2026-09-30) */
.hero h1 .zc { display: inline-block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: .62em; color: #9A958D; margin-top: .12em; }
.hero p { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 520px; margin-bottom: 32px; }
.fan { position: absolute; inset: 0; }
/* Hero background (C4C, 2026-09-30): 8 logo-pebble color blocks in layered shades.
   Each block drifts (outer), spins on its own axis (svg) and slowly shifts between two shades of its color family. */
.p { position: absolute; color: var(--c); width: var(--s); height: var(--s); left: var(--x); top: var(--y);
  filter: blur(var(--b)); opacity: var(--o);
  animation: enter 1.1s cubic-bezier(.16, 1, .3, 1) var(--d) backwards,
             drift var(--t) ease-in-out infinite alternate, shade var(--cs) ease-in-out infinite alternate; }
.p svg { width: 100%; height: 100%; display: block; animation: spin var(--rs) linear infinite; animation-direction: var(--rd); }
/* first second: blocks fly in from the edges, grow and turn into place (staggered) */
@keyframes enter { from { opacity: 0; scale: .3; rotate: -120deg; translate: var(--ex) var(--ey); } }
@keyframes drift { to { transform: translate(var(--dx), var(--dy)); } }
@keyframes shade { to { color: var(--c2); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) {
  .hero { align-items: flex-end; min-height: 88vh; }
  .hero::before { background: linear-gradient(0deg, var(--g1) 0%, rgba(250,250,249,.94) 42%, rgba(250,250,249,0) 70%); }
  .fan { transform: scale(1.9); transform-origin: 78% 0; }
}
@media (prefers-reduced-motion: reduce) { .p, .p svg { animation: none; } }

/* Page hero (inner pages, no photo) */
.page-hero { padding: clamp(80px, 14vh, 150px) 0 clamp(56px, 8vh, 90px); }
.page-hero h1 { max-width: 1000px; }

/* Sections */
section { padding: clamp(80px, 12vh, 140px) 0; }
.soft { background: var(--g2); }
.dark { background: var(--green-dark); color: #F3F2EE; }
.dark .lede, .dark p { color: #C9D3CE; }
.dark .label { color: var(--green-tint); }
.head { max-width: 900px; margin-bottom: 56px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }

/* "Built for" row */
.built-for { padding: 44px 0; border-bottom: 1px solid var(--g3); }
.built-for .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 48px; }
.built-for span { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); letter-spacing: -0.01em; }
.built-for .label { margin: 0; width: 100%; text-align: center; }

/* "The challenge": version-chaos picture (left) + text (right) */
.chaos { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.pile { position: relative; height: 440px; }
.doc { position: absolute; width: min(300px, 70%); background: #fff; border: 1px solid var(--g3); border-radius: 14px; padding: 18px; box-shadow: 0 24px 50px -30px rgba(0,49,28,.35); font-size: 14px; }
.doc b { font-weight: 500; display: block; margin-bottom: 4px; }
.doc small { color: var(--muted); display: block; margin-bottom: 12px; }
.doc .l { height: 7px; border-radius: 4px; background: var(--g2); margin: 8px 0; }
.doc .l.w { width: 70%; } .doc .l.x { background: #FBEAE2; width: 85%; }
.d1 { left: 0; top: 40px; rotate: -7deg; } .d2 { left: 28%; top: 0; rotate: 4deg; } .d3 { left: 14%; top: 190px; rotate: -2deg; }
.tagq { position: absolute; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.t1 { right: 0; top: 150px; } .t2 { left: 0; top: 0; background: var(--green); } .t3 { right: 4%; bottom: 10px; background: #8F3512; }
.chaos-list { margin: 28px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 12px; }
.chaos-list strong { font-weight: 500; color: var(--ink); }
@media (max-width: 900px) { .chaos { grid-template-columns: 1fr; gap: 40px; } .chaos-copy { order: -1; } .pile { height: 420px; } .pile.chat { height: auto; } }

/* "The challenge" connected to the opening: same background as the opening; 3 of the opening's own blocks flow down
   while scrolling (assets/site.js) and land as the three team avatars; soft color fields behind the chat. */
.ch { background: var(--g1); position: relative; z-index: 1; }
.ch .chaos { position: relative; z-index: 2; }
.flow-layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fl { position: absolute; display: none; }
.fl svg { width: 100%; height: 100%; display: block; }
.doc { overflow: hidden; }
.doc .strip { position: absolute; left: 0; right: 0; top: 0; height: 6px; }
.pile .glow { position: absolute; z-index: 0; filter: blur(2.4vw); opacity: .85; color: #B3C9BD; width: 24vw; height: 24vw; left: -12%; top: 20%;
  animation: drift 10s ease-in-out infinite alternate; --dx: 1.2vw; --dy: 1vw; }
.pile .glow svg { width: 100%; height: 100%; display: block; animation: spin 60s linear infinite; }
@media (max-width: 900px) { .pile .glow { display: none; } }
@media (prefers-reduced-motion: reduce) { .pile .glow, .pile .glow svg { animation: none; } }

/* "The SOP exists. Somewhere." (2026-10-02): fact line inside each file, one question bubble, three numbers on the right */
.doc .fact { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--g3); font-size: 13.5px; font-weight: 500; }
.doc .fact i { width: 8px; height: 8px; border-radius: 50%; background: var(--persimmon); flex: none; }
/* Left picture (2026-10-02): a chat. One question on top (green glass, no name), then each team answers with a different
   kind of thing (a file, a forwarded email, a contact), each tagged with what is wrong with it. */
.pile.chat { height: auto; display: flex; flex-direction: column; gap: 18px; }
.cmsg { position: relative; z-index: 2; display: flex; gap: 10px; align-items: flex-end; }
.cmsg.ask { justify-content: flex-end; margin-bottom: 6px; }
.qb { max-width: 340px; padding: 12px 16px; border-radius: 20px 20px 6px 20px; color: #fff; font-size: 15px; line-height: 1.4;
  background: linear-gradient(135deg, rgba(5,71,42,.92), rgba(5,71,42,.74)); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45), 0 18px 36px -20px rgba(0,49,28,.55); }
.who { width: 30px; height: 30px; border-radius: 34%; flex: none; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: #fff; }
.doc.att { position: relative; left: auto; top: auto; width: min(340px, calc(100% - 40px)); padding: 20px 18px 16px; }
.doc.att .att-by { font-size: 12.5px; margin: 0 0 8px; }
.att-item { display: flex; gap: 8px; align-items: flex-start; }
.att-item b { margin: 0; font-size: 13.5px; line-height: 1.35; overflow-wrap: break-word; min-width: 0; }
.att-item svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); margin-top: -1px; }
.att-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 11px 5px 9px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.att-tag svg { width: 15px; height: 15px; flex: none; }
/* scroll link from the opening (assets/site.js): a block lands as the avatar, then the card slides out of it */
.who { transition: opacity .15s, scale .45s cubic-bezier(.3,1.7,.5,1); }
.doc.att { transition: opacity .35s ease .08s, translate .5s cubic-bezier(.2,.9,.3,1) .08s; }
.cmsg.ask { transition: opacity .2s; } .fl { transition: opacity .25s; }
@media (prefers-reduced-motion: reduce) { .who, .doc.att, .cmsg.ask, .fl { transition: none; } }
.tilt1 { rotate: -2.5deg; } .tilt2 { rotate: 2deg; } .tilt3 { rotate: -1.5deg; }
.cmsg.reply:nth-of-type(3) { margin-left: 26%; } .cmsg.reply:nth-of-type(4) { margin-left: 7%; }
.pile .glow.g2 { color: #F4C2AB; width: 17vw; height: 17vw; left: 46%; top: 48%; --dx: -1vw; --dy: 1.2vw; }
@media (max-width: 520px) { .cmsg.reply:nth-of-type(3) { margin-left: 8%; } .cmsg.reply:nth-of-type(4) { margin-left: 0; } }
@media (prefers-reduced-transparency: reduce) { .qb { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--green); } }
/* explanation line under the section header: same gray italic serif as "Zero Chaos" in the opening */
.chaos-sub { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: #9A958D; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.01em; margin: -8px 0 0; }
.nums { margin-top: 36px; border-bottom: 1px solid var(--g3); }
.num-row { display: grid; grid-template-columns: minmax(130px, 36%) 1fr; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--g3); }
.num-row b { font-weight: 500; font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.num-row b small { font-size: .45em; letter-spacing: -0.02em; font-weight: 500; }
.num-row span { color: var(--ink-2); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.35; }   /* larger, and centered on the number beside it (Yang, 2026-10-05) */
@media (max-width: 520px) { .num-row { grid-template-columns: 1fr; gap: 6px; } }

/* Product visual (workbench illustration) */
.product-frame { background: var(--g2); border-radius: 20px; padding: clamp(20px, 5vw, 64px); }
.bench { background: #fff; border: 1px solid var(--g3); border-radius: 14px; overflow: hidden; font-size: 14px; max-width: 880px; margin: 0 auto; box-shadow: 0 30px 60px -35px rgba(0, 49, 28, .35); }
.bench-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--g3); background: var(--g1); }
.bench-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g3); }
.bench-bar b { margin-left: 8px; font-weight: 500; font-size: 13px; color: var(--ink-2); }
.bench-body { display: grid; grid-template-columns: 1fr 1fr; }
.bench-col { padding: 18px; display: grid; gap: 10px; align-content: start; }
.bench-col + .bench-col { border-left: 1px solid var(--g3); background: #FCFCFB; }
.bench-label { font-size: 12px; color: var(--muted); }
.ver { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--g3); border-radius: 10px; background: #fff; }
.ver small { display: block; color: var(--muted); font-size: 12px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--g2); color: var(--muted); }
.tag.diff { background: #FBEAE2; color: #8F3512; }
.tag.ok { background: #E3ECE7; color: var(--green); }
.ver.gold { border-color: var(--green); }
.section-text { font-size: 13px; line-height: 1.5; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--g3); }
.section-text del { color: #8F3512; background: #FBEAE2; text-decoration-thickness: 1px; }
.section-text ins { color: var(--green); background: #E3ECE7; text-decoration: none; }
.ai-note { font-size: 12px; color: var(--muted); display: flex; gap: 6px; }
.trail { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); border-top: 1px dashed var(--g3); padding-top: 10px; }
.trail span { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 8px; }
@media (max-width: 760px) { .bench-body { grid-template-columns: 1fr; } .bench-col + .bench-col { border-left: 0; border-top: 1px solid var(--g3); } }

/* Card grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--g3); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .more { margin-top: auto; }
.card .num { font-size: 14px; color: var(--muted); margin-bottom: 44px; }
.soft .card { border-color: transparent; }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.dark .card h3 { color: #fff; }

/* Tabs: "Every team" */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { font: inherit; font-size: 15px; background: transparent; border: 1px solid var(--g3); color: var(--ink-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--g3); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.035em; line-height: 1.05; }
.tab-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tab-panel li { padding: 14px 0; border-bottom: 1px solid var(--g3); color: var(--ink-2); }
@media (max-width: 800px) { .tab-panel { grid-template-columns: 1fr; gap: 24px; } }

/* Big numbers band */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.stat { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.stat b { display: block; font-weight: 500; font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.045em; line-height: 1; color: #fff; margin-bottom: 14px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; } }

/* Mission letter */
.letter { max-width: 980px; }
.letter-h { margin: 0 0 36px; }   /* "Our Mission" as a real section title (Yang, 2026-10-05) */
.letter p.big { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 28px; }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; }
.sign img { width: 40px; height: 40px; }

/* Closing CTA block */
.cta-block { background: var(--green); color: #fff; border-radius: 24px; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.cta-block .copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.cta-block h2 { font-size: clamp(32px, 4vw, 56px); }
.cta-block p { color: #D2DDD7; }
.cta-art { background: var(--g2); display: grid; place-items: center; padding: 40px; }
.ripen { display: grid; grid-template-columns: repeat(2, auto); gap: 18px 34px; align-items: center; }
.ripen figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.ripen svg { width: clamp(80px, 11vw, 130px); height: auto; }
.ripen figcaption { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .cta-block { grid-template-columns: 1fr; } }

/* Team */
.person { display: grid; grid-template-columns: 88px 1fr; gap: 24px; }
.avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--g2); display: grid; place-items: center; font-size: 28px; font-weight: 500; color: var(--green); letter-spacing: -0.02em; }
.role { color: var(--muted); font-size: 15px; margin: -10px 0 16px; }
.cv { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.cv li { padding-top: 10px; border-top: 1px solid var(--g3); }
.cv b { font-weight: 500; color: var(--ink); }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--g3); vertical-align: top; }
.facts th { font-weight: 400; color: var(--muted); width: 38%; padding-right: 16px; }

/* Steps (product page) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 120px 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--g3); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.04em; line-height: 1; color: var(--green); }
.steps h3 { margin: 0; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps li { grid-template-columns: 1fr; gap: 12px; } }

/* Contact */
address { font-style: normal; }
.big-link { font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.03em; text-decoration: none; color: var(--green); word-break: break-word; }
.big-link:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--g2); padding: 72px 0 36px; font-size: 15px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.foot-word { font-size: clamp(48px, 10vw, 150px); font-weight: 500; letter-spacing: -0.05em; line-height: .9; color: var(--ink); margin: 72px 0 28px; }
.fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--g3); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Light fade-in on scroll (the only animation) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }


/* "Introducing SOPure" (2026-09-30): dark feature section in the style of harvey.ai/platform —
   zigzag rows, each with a product screen and key points. Screens are HTML illustrations until real screenshots exist. */
.intro h2 { color: #fff; }
.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 7vh, 80px) 0; }
.feat + .feat { border-top: 1px solid rgba(255,255,255,.1); }
.intro-more { display: flex; justify-content: center; padding-top: clamp(16px, 3vh, 32px); }   /* not .more: that class adds a \21B3 arrow */
.feat.flip .stage { order: 2; }
.feat-copy .num { display: block; font-size: 14px; color: var(--green-tint); margin-bottom: 20px; }
.feat-copy h3 { color: #fff; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 16px; }
.feat-copy p { color: #C9D3CE; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.points li { color: #E4EBE7; font-size: 16px; padding: 12px 0 12px 28px; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.points li::before { content: "↳"; position: absolute; left: 0; color: var(--green-tint); }
/* Product stage (Harvey-style framing): a rounded panel with a soft brand-colored backdrop; the app window bleeds off the edge. */
.stage { position: relative; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; container-type: inline-size;
  background: radial-gradient(60% 60% at 18% 22%, rgba(242,181,154,.85), transparent 70%), radial-gradient(55% 55% at 85% 80%, rgba(159,184,172,.9), transparent 70%),
              radial-gradient(40% 40% at 70% 15%, rgba(5,71,42,.9), transparent 70%), #1B4A35; }
.stage.st2 { background: radial-gradient(55% 55% at 80% 20%, rgba(242,181,154,.85), transparent 70%), radial-gradient(60% 60% at 15% 85%, rgba(159,184,172,.9), transparent 70%), #173F2D; }
.stage.st3 { background: radial-gradient(55% 55% at 20% 80%, rgba(242,181,154,.8), transparent 70%), radial-gradient(60% 60% at 85% 25%, rgba(188,208,197,.9), transparent 70%), #1B4A35; }
.stage.st4 { background: radial-gradient(60% 60% at 85% 75%, rgba(242,181,154,.85), transparent 70%), radial-gradient(50% 50% at 20% 20%, rgba(159,184,172,.9), transparent 70%), radial-gradient(30% 30% at 55% 95%, rgba(217,83,30,.6), transparent 70%), #173F2D; }
/* the app window: liquid-glass surfaces (frosted, see-through, bright top edge); sizes in em so the whole screen scales with the stage */
.app { position: absolute; left: 9%; top: 12%; width: 104%; height: 100%; display: grid; grid-template-columns: 11.5em 1fr; font-size: 1.55cqw; color: var(--ink);
  border-radius: 1em; overflow: hidden; background: rgba(250,250,249,.5); backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.65); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3em 6em -3em rgba(0,0,0,.55); }
.side { background: rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.55); padding: 1.1em .9em; display: flex; flex-direction: column; gap: .25em; }
.brandrow { display: flex; align-items: center; gap: .55em; font-weight: 600; font-size: 1.1em; margin-bottom: 1em; letter-spacing: -.01em; }
.lg { display: grid; grid-template-columns: 1fr 1fr; gap: .12em; width: 1.3em; height: 1.3em; }
.lg b { border-radius: 38%; background: var(--green); } .lg b.o { background: var(--persimmon); }
.nav-i { display: flex; align-items: center; gap: .6em; padding: .5em .6em; border-radius: .6em; color: var(--ink-2); }
.nav-i i { width: .75em; height: .75em; border-radius: .22em; border: 1.5px solid currentColor; opacity: .55; }
.nav-i.on { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 .3em .8em -.4em rgba(0,49,28,.3); font-weight: 500; }
.side-foot { margin-top: auto; font-size: .82em; color: var(--muted); }
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 1em; padding: .8em 1.2em; border-bottom: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.2); }
.crumb { font-size: .9em; color: var(--muted); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search { font-size: .85em; color: var(--muted); padding: .4em 1em; border-radius: 99em; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); min-width: 12em; }
.me { width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; background: var(--green); color: #fff; }
.page { padding: 1.2em 1.4em; display: grid; gap: .9em; align-content: start; }
.page-title { font-size: 1.5em; font-weight: 500; letter-spacing: -.02em; }
.mini { font-size: .8em; color: var(--muted); margin-bottom: .5em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.kpis div { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); border-radius: .8em; padding: .8em; box-shadow: inset 0 1px 0 #fff; }
.kpis b { display: block; font-size: 1.7em; font-weight: 500; letter-spacing: -.03em; } .kpis span { font-size: .8em; color: var(--muted); }
.tbl { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); border-radius: .8em; overflow: hidden; }
.tr { display: grid; grid-template-columns: 2.4fr .8fr 1.2fr 1fr; gap: .6em; align-items: center; padding: .6em .9em; border-top: 1px solid rgba(0,0,0,.05); font-size: .95em; }
.tr.th { border-top: 0; font-size: .8em; color: var(--muted); }
.cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1em; }
.li { display: flex; align-items: center; gap: .55em; padding: .55em .7em; margin-bottom: .45em; border-radius: .7em; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); font-size: .95em; }
.li .chip { margin-left: auto; } .li.on { box-shadow: 0 0 0 1.5px var(--green); } .li.ok { color: var(--green); }
.chip { font-size: .78em; padding: .22em .65em; border-radius: 99em; background: rgba(0,0,0,.05); color: var(--muted); white-space: nowrap; justify-self: start; }
.chip.warn { background: #FBEAE2; color: #8F3512; } .chip.ok { background: #E3ECE7; color: var(--green); }
.av { width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; font-size: .72em; background: #E3ECE7; color: var(--green); font-weight: 500; }
.sect { line-height: 1.5; padding: .8em .9em; border-radius: .8em; background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.95); }
.sect del { color: #8F3512; background: #FBEAE2; } .sect ins { color: var(--green); background: #E3ECE7; text-decoration: none; }
.btns { display: flex; gap: .45em; } .btns .b { font-size: .85em; padding: .35em .9em; border-radius: 99em; background: rgba(255,255,255,.85); border: 1px solid rgba(0,0,0,.08); }
.btns .b.ok { background: var(--green); color: #fff; border-color: var(--green); }
.cmt { font-size: .95em; padding: .6em .75em; border-radius: .7em; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); margin-bottom: .5em; }
.cmt b { display: block; font-weight: 500; font-size: .82em; margin-bottom: .15em; } .cmt.reply { margin-left: 1.2em; }
.pub { padding: .6em .75em; border-radius: .7em; background: var(--green); color: #fff; font-size: .95em; }
.due { padding: .6em .75em; border-radius: .7em; border: 1px dashed rgba(0,0,0,.18); font-size: .95em; }
.tl { display: flex; gap: .8em; font-size: .92em; padding: .45em 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.tl span { color: var(--muted); min-width: 3em; font-variant-numeric: tabular-nums; } .tl.muted { color: var(--muted); }
/* floating liquid-glass badge over the stage */
.glass { position: absolute; z-index: 3; font-size: 1.6cqw; color: #fff; padding: .9em 1.1em; border-radius: 1.1em; max-width: 42%;
  background: linear-gradient(135deg, rgba(0,49,28,.62), rgba(0,49,28,.38)); backdrop-filter: blur(18px) saturate(1.8); -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 1px 1px rgba(255,255,255,.55), inset 0 -.6em 1.2em rgba(255,255,255,.06), 0 1.6em 3em -1.4em rgba(0,0,0,.6);
  text-shadow: 0 1px 2px rgba(0,0,0,.25); line-height: 1.4; }
.glass b { display: block; font-weight: 600; margin-bottom: .2em; } .glass small { display: block; opacity: .85; font-size: .82em; margin-top: .35em; }
.glass .dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: #9FE0B8; margin-right: .5em; box-shadow: 0 0 .6em #9FE0B8; }
.glass .dot.warn { background: #F2B59A; box-shadow: 0 0 .6em #F2B59A; }
.glass .bar { height: .35em; border-radius: 99em; background: rgba(255,255,255,.3); margin-top: .6em; overflow: hidden; } .glass .bar i { display: block; height: 100%; background: #fff; }
.f-br { right: 5%; bottom: 7%; } .f-tr { right: 4%; top: 5%; } .f-bl { left: 4%; bottom: 7%; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat.flip .stage { order: 0; } }
@media (prefers-reduced-transparency: reduce) { .app, .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: #F7F7F5; color: var(--ink); } .glass { color: var(--ink); text-shadow: none; } }
/* stats band on a light background */
section:not(.dark) .stat { border-top-color: var(--g3); }
section:not(.dark) .stat b { color: var(--ink); }

/* "Every Team, Every Procedure" (2026-10-03): a light moving band of real procedures by team, then a bento grid
   (1 wide tile + 3 tiles). Each tile: headline, the old way crossed out, the result, and one small moving picture. */
.mq-band { margin: 36px 0 -16px; opacity: .72; }
.v-mq { display: grid; gap: 10px; width: 100%; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-t { display: flex; gap: 8px; width: max-content; animation: mq 56s linear infinite; } .mq.rev .mq-t { animation-direction: reverse; }
.mq-t span { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; border-radius: 999px; padding: 8px 14px; font-size: 13.5px;
  background: rgba(255,255,255,.45); border: 1px solid rgba(17,20,18,.07); color: var(--ink-2); }
.mq-t em { font-style: normal; color: var(--muted); }
@keyframes mq { to { translate: -50% 0; } }
.bt-cq { container-type: inline-size; margin-top: 40px; }
.bt-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.bt-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid #DAD8D2;
  background: linear-gradient(180deg, #FFFFFF, #F7F7F5); box-shadow: 0 12px 32px rgba(24,24,27,.06), inset 0 1px 0 #fff; }
.bt-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bt-vis { position: relative; min-height: 232px; border-bottom: 1px solid var(--g3); display: grid; place-items: center; padding: 20px; overflow: hidden;
  background: radial-gradient(60% 70% at 30% 20%, rgba(181,200,191,.45), transparent 70%), radial-gradient(40% 50% at 85% 90%, rgba(242,181,154,.28), transparent 70%); }
@container (min-width: 840px) {
  .bt-vis { height: 232px; }
  .bt-grid { grid-template-columns: repeat(12, 1fr); } .bt-grid .t-3 { grid-column: span 4; }
  .bt-grid .t-wide { grid-column: span 12; flex-direction: row-reverse; }
  .bt-grid .t-wide .bt-vis { width: 54%; height: auto; min-height: 250px; border-bottom: 0; border-left: 1px solid var(--g3); } .bt-grid .t-wide .bt-copy { flex: 1; justify-content: center; }
}
.bt-copy { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.bt-copy h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.bt-ba { display: grid; gap: 6px; font-size: 15px; line-height: 1.4; }
.bt-ba s { text-decoration-color: var(--persimmon); text-decoration-thickness: 1.5px; color: var(--muted); }
.bt-ba p { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.bt-ba p svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 1px; }
.bt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .bt-tags em { font-style: normal; color: var(--muted); margin-right: 6px; }
.bt-tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--g2); border: 1px solid var(--g3); color: var(--ink-2); }
/* tile pictures */
.v-lib { width: min(100%, 420px); background: #fff; border: 1px solid var(--g3); border-radius: 12px; padding: 10px; position: relative; font-size: 12.5px; box-shadow: 0 10px 24px -16px rgba(0,49,28,.35); }
.v-search { display: flex; gap: 8px; align-items: center; color: var(--muted); padding: 7px 9px; border: 1px solid var(--g3); border-radius: 8px; margin-bottom: 6px; }
.v-search svg, .v-ok svg, .v-due svg { width: 14px; height: 14px; flex: none; }
.v-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 34px; padding: 0 9px; border-radius: 8px; }
.v-row b { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .v-ok, .v-due { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; color: var(--green); font-weight: 500; } .v-due { color: var(--muted); }
.v-hl { position: absolute; left: 10px; right: 10px; top: 51px; height: 34px; border-radius: 8px; background: var(--g2); animation: hl 7.5s ease-in-out infinite; }
@keyframes hl { 0%,28% { translate: 0 0; } 33%,61% { translate: 0 34px; } 66%,95% { translate: 0 68px; } 100% { translate: 0 0; } }
.v-review { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--g3); border-radius: 12px; padding: 14px 16px; width: min(100%, 300px); box-shadow: 0 10px 24px -16px rgba(0,49,28,.35); }
.v-cal { width: 52px; border: 1px solid var(--g3); border-radius: 10px; overflow: hidden; text-align: center; flex: none; } .v-cal span { display: block; background: var(--green); color: #fff; font-size: 11px; padding: 2px 0; } .v-cal b { display: block; font-size: 22px; font-weight: 500; padding: 4px 0; }
.v-rev-txt { position: relative; display: grid; gap: 2px; font-size: 13px; padding-right: 22px; } .v-rev-txt b { font-weight: 500; } .v-rev-txt span { color: var(--muted); }
.v-bell { position: absolute; right: 0; top: 0; color: var(--persimmon) !important; } .v-bell svg { width: 16px; height: 16px; animation: ring 3s ease infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%,70%,100% { rotate: 0deg; } 75% { rotate: 14deg; } 80% { rotate: -12deg; } 85% { rotate: 8deg; } 90% { rotate: -4deg; } }
.v-trail { display: grid; gap: 8px; width: min(100%, 340px); font-size: 13px; }
.v-trail-h { font-weight: 500; font-size: 13px; padding: 0 2px 2px; }
.v-trail span { display: flex; gap: 10px; background: #fff; border: 1px solid var(--g3); border-radius: 10px; padding: 8px 10px; animation: rise 6s ease var(--d) infinite; }
.v-trail em { font-style: normal; min-width: 84px; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes rise { 0%,5% { opacity: 0; translate: 0 8px; } 15%,88% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.v-owner { width: min(100%, 300px); background: #fff; border: 1px solid var(--g3); border-radius: 12px; padding: 12px; font-size: 13px; box-shadow: 0 10px 24px -16px rgba(0,49,28,.35); }
.v-own-head { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--g3); margin-bottom: 4px; } .v-own-head b { font-weight: 500; }
.v-own-row { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 8px 0; align-items: center; } .v-own-row em { font-style: normal; color: var(--muted); }
.v-swap { position: relative; height: 20px; } .v-swap i { position: absolute; inset: 0; display: flex; gap: 6px; align-items: center; font-style: normal; font-weight: 500; animation: swapa 6s ease infinite; }
.v-swap i svg { width: 15px; height: 15px; } .v-swap i + i { animation-name: swapb; color: var(--green); }
@keyframes swapa { 0%,40% { opacity: 1; } 50%,90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes swapb { 0%,40% { opacity: 0; } 50%,90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mq-t, .v-hl, .v-bell svg, .v-trail span, .v-swap i { animation: none; } .v-swap i:first-child { opacity: 0; } }

/* Founder cards (2026-10-04): a square card. Initials fill the card and the green panel shows name and role. On hover, keyboard focus
   or a touch screen the panel slides up to show a short intro, and the initials shrink to a badge. Layout idea: a uiverse.io profile card. */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fcard { --open: 30%; position: relative; width: 100%; aspect-ratio: 3 / 2; background: #fff; border-radius: 32px; outline: none;
  box-shadow: 0 60px 30px -48px rgba(0,49,28,.28), 0 0 0 1px var(--g3); }
.fc-pic { position: absolute; top: 3px; left: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 29px; z-index: 1; overflow: hidden; border: 0 solid var(--green);
  display: grid; place-items: center; padding-bottom: 32%; color: var(--green); font-weight: 500; font-size: clamp(96px, 11vw, 150px); letter-spacing: -.05em; line-height: 1;
  background: radial-gradient(70% 70% at 25% 20%, #C9D6CF, transparent 70%), radial-gradient(55% 55% at 85% 75%, #F6CDB9, transparent 70%), var(--g2);
  transition: all .5s ease-in-out .2s; }
.fc-panel { position: absolute; left: 3px; right: 3px; bottom: 3px; top: 66%; z-index: 2; border-radius: 29px; overflow: hidden; background: var(--green); color: #fff;
  box-shadow: inset 0 5px 5px rgba(0,0,0,.12); transition: all .5s cubic-bezier(.645,.045,.355,1); }
.fc-body { position: absolute; left: 24px; right: 24px; top: 18px; transition: top .5s cubic-bezier(.645,.045,.355,1); }
.fc-body h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.fc-role { margin: 2px 0 0; font-size: 13px; color: var(--green-tint); }
.fc-about { margin: 14px 0 0; max-width: 520px; font-size: 15.5px; line-height: 1.5; color: #E4EBE7; opacity: 0; transition: opacity .3s ease; }
.fc-links { position: absolute; right: 22px; bottom: 16px; display: flex; gap: 14px; }
.fc-links a { display: grid; place-items: center; width: 22px; height: 22px; color: #fff; } .fc-links svg { width: 20px; height: 20px; }
.fcard:hover, .fcard:focus-visible, .fcard:focus-within { border-top-left-radius: 56px; }
.fcard:hover .fc-panel, .fcard:focus-visible .fc-panel, .fcard:focus-within .fc-panel { top: var(--open); border-radius: 76px 29px 29px 29px; transition-delay: .2s; }
.fcard:hover .fc-body, .fcard:focus-visible .fc-body, .fcard:focus-within .fc-body { top: 34px; transition-delay: .2s; }
.fcard:hover .fc-about, .fcard:focus-visible .fc-about, .fcard:focus-within .fc-about { opacity: 1; transition-delay: .5s; }
.fcard:hover .fc-pic, .fcard:focus-visible .fc-pic, .fcard:focus-within .fc-pic { width: 92px; height: 92px; top: 10px; left: 10px; border-radius: 50%; z-index: 3; border-width: 6px;
  padding-bottom: 0; font-size: 30px; letter-spacing: -.02em; box-shadow: 0 5px 5px rgba(0,49,28,.18); transition: all .5s ease-in-out; }
/* touch screens have no hover: show the open state, so the intro is always readable */
@media (hover: none) {
  .fcard { border-top-left-radius: 56px; } .fc-panel { top: var(--open); border-radius: 76px 29px 29px 29px; } .fc-body { top: 34px; } .fc-about { opacity: 1; }
  .fc-pic { width: 92px; height: 92px; top: 10px; left: 10px; border-radius: 50%; z-index: 3; border-width: 6px; padding-bottom: 0; font-size: 30px; letter-spacing: -.02em; }
}
/* card shape per screen width, so the intro always fits in the open panel (--open = where the open panel starts) */
@media (max-width: 1179px) { .fcard { aspect-ratio: 1; --open: 24%; } .fc-about { font-size: 14px; line-height: 1.45; } }
@media (max-width: 999px) { .founders { grid-template-columns: 1fr; } .fcard { aspect-ratio: 2 / 1; --open: 26%; } .fc-about { font-size: 15.5px; line-height: 1.5; } }
@media (max-width: 760px) { .fcard { aspect-ratio: 1; --open: 24%; } .fc-about { font-size: 14px; line-height: 1.45; } }
@media (max-width: 520px) { .fcard { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) { .fc-pic, .fc-panel, .fc-body, .fc-about { transition: none !important; } }

/* About: the founders' principles (2026-10-04), beside the founder cards. Name and line are always shown. On hover a green bar
   slides along the rail to the principle under the cursor and the others fade (idea from reactbits.dev Line Sidebar, our own code). */
.pr-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.pr-h { font-size: clamp(30px, 3.3vw, 44px); margin: 0 0 40px; }
.ls { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; --name: 19px; --desc: 14.5px; --gap: 30px; }
.ls::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: #B4B0A7; }
.ls::after { content: ""; position: absolute; left: -1px; top: 0; width: 3.5px; height: var(--rh, 60px); border-radius: 2px; background: var(--green); transform: translateY(var(--ry, 0px)); opacity: 0; transition: transform .3s cubic-bezier(.3,.7,.2,1), height .3s, opacity .2s; }
.ls.hot::after { opacity: 1; }
.ls-item { padding-bottom: var(--gap); transition: opacity .18s linear; } .ls-item:last-child { padding-bottom: 0; }
.ls-row { display: flex; align-items: flex-start; gap: 14px; }
.ls-idx { flex: none; width: 22px; font: 500 12px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; margin-top: calc(var(--name) * .6 - 5px); color: var(--muted); transition: color .18s linear; }
.ls-name { margin: 0; font-size: var(--name); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); transition: color .18s linear; }
.ls-desc { padding-left: 36px; } .ls-desc p { margin: 6px 0 0; font-size: var(--desc); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.ls.hot .ls-item { opacity: .42; } .ls.hot .ls-item.near { opacity: 1; }
.ls-item.near .ls-name, .ls-item.near .ls-idx { color: var(--green); }
/* wide screens: the two cards stack in a narrow column on the right */
@media (min-width: 1240px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .pr-grid .founders { grid-template-columns: 1fr; gap: 20px; } .pr-grid .fcard { aspect-ratio: 20 / 17; --open: 21%; } .pr-grid .fc-about { font-size: 14px; line-height: 1.45; }
  .ls { --name: 21px; --desc: 15.5px; --gap: 40px; }
}
@media (min-width: 1240px) and (hover: hover) { .pr-grid .fc-pic { font-size: 96px; } }
@media (min-width: 1180px) and (max-width: 1239px) { .pr-grid .fcard { --open: 27%; } }   /* one more line of intro text fits (2026-10-05) */
@media (max-width: 520px) { .ls { padding-left: 20px; } .ls-row { gap: 10px; } .ls-desc { padding-left: 32px; } }
@media (prefers-reduced-motion: reduce) { .ls::after, .ls-item, .ls-name, .ls-idx { transition: none; } }

/* Home: consulting services (2026-10-04). Section A = the offer with a before / after comparison: the rows of the two cards
   line up one to one (subgrid). Section B = "How We Measure Success": a calculator fed by the visitor's own numbers. */
.sva-top { max-width: 820px; } .sva-top h2 { margin: 0; } .sva-top .lede { margin: 24px 0 0; max-width: 760px; }
.ba2 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(4, auto); column-gap: 20px; margin-top: 48px; }
.ba2-card { grid-row: span 5; display: grid; grid-template-rows: subgrid; border-radius: 16px; border: 1px solid var(--g3); padding: 24px 28px 10px; background: var(--g2); }
.ba2-card h3 { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0; padding-bottom: 12px; letter-spacing: 0; }
.ba2-card p { margin: 0; padding: 16px 0; border-top: 1px solid var(--g3); display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.ba2-card s { text-decoration-color: var(--persimmon); text-decoration-thickness: 1.5px; color: var(--muted); }
.ba2-after { background: #fff; box-shadow: 0 24px 50px -34px rgba(0,49,28,.35); } .ba2-after p { font-weight: 500; } .ba2-after svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.sva-btn { margin-top: 40px; }
.kb-h { margin: 0; } .kb-l { margin: 20px 0 44px; }
.kb-k { display: inline-block; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.kc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.kc-in, .kc-out { background: #fff; border: 1px solid var(--g3); border-radius: 16px; padding: 28px; }
.kc-in label { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; margin-bottom: 22px; font-size: 15px; color: var(--ink-2); }
.kc-in output { font-weight: 500; font-size: 20px; color: var(--ink); letter-spacing: -.02em; } .kc-in input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--green); }
.kc-seg { font-size: 15px; color: var(--ink-2); } .kc-seg div { display: flex; gap: 8px; margin-top: 10px; }
.kc-seg button { font: inherit; font-weight: 500; cursor: pointer; border: 1px solid var(--g3); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 16px; } .kc-seg button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.kc-bars > div { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 4px 12px; margin-bottom: 14px; } .kc-bars small { font-size: 13px; color: var(--muted); }
.kc-bars i { display: block; height: 18px; border-radius: 5px; background: #C9C5BC; min-width: 4px; transition: width .25s ease; } .kc-bars i.g { background: var(--green); } .kc-bars b { grid-column: 2; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.kc-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--g3); }
.kc-big b { display: block; font-weight: 500; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 6px; } .kc-big small { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; display: block; }
.kc-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .ba2 { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 16px; } .ba2-card { grid-row: auto; display: block; } .kc, .kc-big { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kc-bars i { transition: none; } }

/* Services page (2026-10-04): numbered steps, three facts, and the "What You Receive" card */
.sv-gap { margin: 24px 0 0; }
.page-hero h1.sv-h1 { font-size: clamp(34px, 5.4vw, 76px); }
.sv-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sv-steps > div { border-top: 1px solid var(--g3); padding-top: 20px; }
.sv-steps i { display: block; font-style: normal; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.04em; line-height: 1; color: var(--green); margin-bottom: 18px; }
.sv-steps h3 { font-size: 20px; font-weight: 500; margin: 0 0 8px; letter-spacing: -.02em; }
.sv-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.sv-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.sv-facts > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.sv-facts b { display: block; font-weight: 500; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 8px; }
.sv-facts p { margin: 0; color: var(--ink-2); font-size: 16px; }
.sv-card { background: #fff; border: 1px solid var(--g3); border-radius: 16px; padding: 28px 28px 20px; box-shadow: 0 24px 50px -34px rgba(0,49,28,.35); }
.sv-card h3 { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 10px; letter-spacing: 0; }
.sv-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sv-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--g3); font-size: 16px; line-height: 1.4; } .sv-list li:first-child { border-top: 0; padding-top: 4px; }
.sv-list svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
@media (max-width: 900px) { .sv-split, .sv-facts { grid-template-columns: 1fr; } .sv-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sv-steps { grid-template-columns: 1fr; } }

/* Product and Services pages (2026-10-05, after the content review): who does what, result-first steps, comparison tables */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pm { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pm h3 { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 6px; letter-spacing: 0; }
.pm ol { list-style: none; margin: 0; padding: 0; counter-reset: pm; border-bottom: 1px solid var(--g3); }
.pm li { counter-increment: pm; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid var(--g3); font-size: 17px; line-height: 1.35; }
.pm li::before { content: counter(pm); color: var(--green); font-weight: 500; font-size: 15px; }
.pm-tag { font-style: normal; font-size: 13px; font-weight: 500; white-space: nowrap; border-radius: 999px; padding: 6px 12px; background: var(--green); color: #fff; }
.pm-tag.h { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pm-num b { display: block; font-weight: 500; font-size: clamp(56px, 7vw, 96px); letter-spacing: -.045em; line-height: 1; white-space: nowrap; } .pm-num b small { font-size: .42em; letter-spacing: -.02em; font-weight: 500; }
.pm-num span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.4; max-width: 24ch; }
.st-res { margin-top: 8px !important; font-size: 17px; }
.st-who { display: grid; gap: 14px; align-content: start; }
.st-who b { display: block; font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 3px; } .st-who .h b { color: var(--ink); }
.cmp-x { overflow-x: auto; }
.cmp-t { width: 100%; min-width: 700px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--g3); border-radius: 16px; overflow: hidden; font-size: 16px; line-height: 1.4; }
.cmp-t th { text-align: left; font-weight: 500; font-size: 14px; color: var(--muted); padding: 18px 20px; vertical-align: bottom; width: 22%; } .cmp-t th:first-child { width: 34%; }
.cmp-t td { padding: 16px 20px; border-top: 1px solid var(--g3); vertical-align: middle; color: var(--ink-2); } .cmp-t td:first-child { font-weight: 500; color: var(--ink); }
.cmp-t .us { background: #EEF3F0; color: var(--ink); } .cmp-t th.us { color: var(--green); font-weight: 600; }
.cmp-y { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; } .cmp-y svg { width: 15px; height: 15px; }
.cmp-n { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: #C9C5BC; vertical-align: middle; }
.cmp-3 { min-width: 560px; } .cmp-3 th, .cmp-3 th:first-child { width: auto; } .cmp-3 td:first-child { width: 22%; }
.cta-two { margin-top: 12px; } .cta-two b { font-weight: 500; color: #fff; }
.page-hero .ba2 { margin-top: 44px; } .page-hero .sva-btn { margin-top: 36px; }
.sv-two { border-top: 1px solid var(--ink); }
.sv-two-h, .sv-two-r { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr) minmax(0, 1.5fr); gap: 24px; }
.sv-two-h { font-size: 13px; color: var(--muted); padding: 12px 0; }
.sv-two-r { padding: 22px 0; border-top: 1px solid var(--g3); align-items: baseline; }
.sv-two-r > div { display: flex; align-items: baseline; gap: 14px; }
.sv-two-r i { font-style: normal; color: var(--green); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1; }
.sv-two-r h3 { font-size: 20px; font-weight: 500; margin: 0; letter-spacing: -.02em; }
.sv-two-r p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.45; } .sv-two-r p b { display: none; }
.sv-time { margin: 28px 0 0; font-size: 17px; color: var(--ink-2); } .sv-time b { font-weight: 500; color: var(--ink); }
.sv-meas { list-style: none; margin: 40px 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sv-meas li { border-top: 1px solid var(--ink); padding-top: 18px; }
.sv-meas i { display: block; font-style: normal; color: var(--green); font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.sv-meas h3 { font-size: 20px; font-weight: 500; margin: 0 0 8px; letter-spacing: -.02em; } .sv-meas p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.kb .sv-meas + .kb-l { margin: 0 0 28px; }
@media (max-width: 900px) { .pm { grid-template-columns: 1fr; } .sv-meas { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .pm li { grid-template-columns: 24px minmax(0, 1fr); } .pm-tag { grid-column: 2; justify-self: start; }
  .sv-two-h { display: none; } .sv-two-r { grid-template-columns: 1fr; gap: 10px; }
  .sv-two-r p b { display: block; font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* Centered page layout (Product page; Yang, 2026-10-05): opening and every section heading are centered. Lists, tables and cards keep left-aligned text. */
.ctr .page-hero .wrap { text-align: center; }
.ctr .page-hero h1, .ctr .page-hero .lede, .ctr .head, .ctr .head .lede { margin-left: auto; margin-right: auto; }
.ctr .head { text-align: center; }
.ctr .page-hero h1, .ctr .head h2 { text-wrap: balance; }
.ctr .pm { max-width: 1060px; margin-left: auto; margin-right: auto; }
.ctr .dark .grid-2 > :first-child { text-align: center; } .ctr .dark .grid-2 > :first-child .lede { margin-left: auto; margin-right: auto; }
.ctr .dark .grid-2 { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

/* Contact page: "Email Us" button with an envelope icon (2026-10-05) */
.btn-mail .btn-label { display: inline-flex; align-items: center; gap: 10px; } .btn-mail .btn-reveal { gap: 10px; } .btn-mail svg { width: 18px; height: 18px; flex: none; }
.page-hero .btn-mail { margin-top: 8px; }
