/* Company page: an essay, not a fact sheet. Serif display lines (Instrument Serif) over Inter body.
   Loaded after site.css; everything is scoped to body.page-company. */
@font-face { font-family: 'Instrument Serif'; src: url('./fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

body.page-company {
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --co-max: 1180px;
  --dark: #111310; --dark-2: #141712; --dark-card: #1a1d18; --dark-card-2: #1d201b;
  --dark-ink: #edece5; --dark-ink-2: #a7ab9f; --dark-ink-3: #6f746a; --sage-lite: #a8bf94;
}
.page-company .co-serif { font-family: var(--serif); font-weight: 400; font-synthesis: none; letter-spacing: -.012em; }
.page-company .co-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--sage); }
.page-company .co-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.page-company .co-eyebrow-dark { color: var(--sage-lite); }

/* ---------- Hero ---------- */
.page-company .co-hero { position: relative; isolation: isolate; max-width: var(--co-max); margin: 0 auto; padding: 128px 28px 40px; }
.page-company .co-hero::before { content: ''; position: absolute; z-index: -1; top: -120px; bottom: -40px; left: 46%; right: -30vw; pointer-events: none; background: repeating-radial-gradient(circle at 92% 18%, transparent 0 30px, rgba(74, 92, 67, .075) 30px 31px); -webkit-mask-image: radial-gradient(closest-side at 70% 35%, #000 20%, transparent); mask-image: radial-gradient(closest-side at 70% 35%, #000 20%, transparent); }
.page-company .co-hero h1 { margin-top: 28px; max-width: 12.5em; font-size: clamp(50px, 8vw, 118px); line-height: .98; letter-spacing: -.022em; color: var(--ink); }
.page-company .co-h1-a { display: block; }
.page-company .co-h1-b { display: block; color: var(--ink-3); }
.page-company .co-sub { margin-top: 36px; max-width: 580px; font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.page-company .co-toc { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.page-company .co-toc a { display: flex; align-items: baseline; gap: 12px; padding: 18px 16px 18px 0; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.page-company .co-toc a:hover { color: var(--ink); }
.page-company .co-toc span { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--sage); min-width: 1.6em; }

/* ---------- Story in three acts ---------- */
.page-company .co-story { max-width: var(--co-max); margin: 0 auto; padding: 24px 28px 96px; }
.page-company .co-act { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: center; padding: 88px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.page-company .co-act:first-child { border-top: 0; }
.page-company .co-act-label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.page-company .co-act-label::after { content: ''; width: 40px; height: 1px; background: var(--sage); opacity: .4; }
.page-company .co-act h2 { margin: 18px 0 30px; font-size: clamp(50px, 5.6vw, 84px); line-height: .98; color: var(--ink); }
.page-company .co-lede { max-width: 560px; font-size: 21px; line-height: 1.6; color: var(--ink-3); letter-spacing: -.006em; }
.page-company .co-lede em { font-style: normal; color: var(--ink); }
.page-company .co-more { max-width: 520px; margin-top: 22px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.page-company .co-act-shot { margin: 0; }
.page-company .co-act-shot figcaption, .page-company .co-stage-note { margin-top: 16px; text-align: center; font-size: 12px; color: var(--ink-3); }
.page-company .co-stage { display: none; }

/* Wide screens with JS: one pinned phone on the right, acts advance on the left. */
@media (min-width: 1001px) {
  .page-company .co-acts.is-staged { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 96px; }
  .page-company .is-staged .co-act { display: flex; align-items: center; min-height: 88vh; padding: 14vh 0; border-top: 0; opacity: .26; transition: opacity .5s ease; }
  .page-company .is-staged .co-act.on { opacity: 1; }
  .page-company .is-staged .co-act:first-child { min-height: 72vh; padding-top: 6vh; }
  .page-company .is-staged .co-act-shot { display: none; }
  .page-company .is-staged .co-stage { display: block; }
  .page-company .is-staged .co-act:last-child { min-height: 100vh; padding-bottom: 22vh; }
  .page-company .co-stage-pin { position: sticky; top: max(92px, calc(50vh - 360px)); }
}

/* ---------- The phone ---------- */
.page-company .phone { position: relative; width: 320px; max-width: 100%; height: 664px; margin: 0 auto; padding: 10px; border-radius: 54px; background: #0b0c0a; box-shadow: inset 0 0 0 1.5px #2c3029, 0 0 0 1px rgba(17, 19, 16, .18), 0 60px 90px -50px rgba(17, 19, 16, .6), 0 28px 40px -28px rgba(17, 19, 16, .38); }
.page-company .phone::before { content: ''; position: absolute; right: -2px; top: 150px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #1b1d19; }
.page-company .phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 44px; background: var(--dark-2); }
.page-company .phone-bar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 2px 26px 0 32px; font-size: 13.5px; font-weight: 600; color: var(--dark-ink); transition: color .3s ease; }
.page-company .phone-island { position: absolute; left: 50%; top: 11px; width: 90px; height: 26px; border-radius: 16px; background: #000; transform: translateX(-50%); }
.page-company .phone-icons { display: flex; align-items: flex-end; gap: 2px; }
.page-company .phone-icons i { width: 3px; border-radius: 1px; background: currentColor; }
.page-company .phone-icons i:nth-child(1) { height: 5px; } .page-company .phone-icons i:nth-child(2) { height: 7px; } .page-company .phone-icons i:nth-child(3) { height: 9px; }
.page-company .phone-icons b { width: 22px; height: 11px; margin-left: 6px; border-radius: 3px; box-shadow: inset 0 0 0 1px currentColor; position: relative; opacity: .9; }
.page-company .phone-icons b::after { content: ''; position: absolute; inset: 2px 6px 2px 2px; border-radius: 1px; background: currentColor; }
/* Light status bar ink over the light "Before" screen. */
.page-company .co-act-shot .phone-screen:has(.scr-before) .phone-bar,
.page-company .co-stage .phone-screen:has(.scr-before.on) .phone-bar { color: var(--ink); }

.page-company .scr { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 48px; }
.page-company .co-stage-screens { position: absolute; inset: 0; }
.page-company .co-stage .scr { opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.page-company .co-stage .scr.on { opacity: 1; transform: none; }

/* Act I screen: a generic group text, deliberately not Tru OS. */
.page-company .scr-before { background: #fafaf8; color: var(--ink); }
.page-company .sb-banner { display: flex; align-items: center; gap: 10px; margin: 6px 10px 0; padding: 10px 12px; border-radius: 18px; background: rgba(236, 235, 229, .92); box-shadow: 0 10px 24px -14px rgba(17, 19, 16, .35); }
.page-company .sb-banner-ico { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #9a6b1f; color: #fff; }
.page-company .sb-banner-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.page-company .sb-banner div { flex: 1; min-width: 0; line-height: 1.3; }
.page-company .sb-banner strong { display: block; font-size: 12.5px; font-weight: 600; }
.page-company .sb-banner span, .page-company .sb-banner time { font-size: 11px; color: var(--ink-2); }
.page-company .sb-banner time { align-self: flex-start; }
.page-company .sb-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.page-company .sb-back { font-size: 26px; line-height: 1; color: var(--ink-3); margin-top: -3px; }
.page-company .sb-avs { display: flex; }
.page-company .sb-avs i { width: 24px; height: 24px; margin-left: -8px; border-radius: 50%; background: #dcdbd4; box-shadow: 0 0 0 2px #fafaf8; }
.page-company .sb-avs i:nth-child(2) { background: #c9cdc1; } .page-company .sb-avs i:nth-child(3) { background: #e8e2d4; }
.page-company .sb-avs i:first-child { margin-left: 0; }
.page-company .sb-head strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.page-company .sb-head span { font-size: 11px; color: var(--ink-3); }
.page-company .sb-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px 12px 6px; overflow: hidden; }
.page-company .sb-day { align-self: center; margin: 4px 0 2px; font-size: 10.5px; color: var(--ink-3); }
.page-company .sb-msg { align-self: flex-start; max-width: 80%; padding: 7px 11px 8px; border-radius: 16px 16px 16px 5px; background: #ecebe6; font-size: 12.5px; line-height: 1.4; }
.page-company .sb-msg b { display: block; font-size: 10px; font-weight: 600; color: var(--ink-3); margin-bottom: 1px; }
.page-company .sb-msg.me { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: #43483f; color: #f4f3ee; }
.page-company .sb-unread { align-self: flex-end; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; color: #9a6b1f; }
.page-company .sb-unread span { width: 6px; height: 6px; border-radius: 50%; background: #c08a2e; box-shadow: 0 0 0 3px rgba(192, 138, 46, .18); }
.page-company .sb-input, .page-company .su-input { flex: none; display: flex; align-items: center; justify-content: space-between; height: 36px; margin: 6px 12px 22px; padding: 0 5px 0 14px; border-radius: 18px; font-size: 12.5px; }
.page-company .sb-input { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); }

/* Act II + III screens: Tru OS, dark. */
.page-company .scr-built, .page-company .scr-use { background: var(--dark-2); color: var(--dark-ink); }
.page-company .sa-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; border-bottom: 1px solid rgba(236, 235, 229, .07); }
.page-company .sa-head img { width: 30px; height: 30px; }
.page-company .sa-head div { line-height: 1.25; }
.page-company .sa-head strong { display: block; font-size: 13.5px; font-weight: 600; }
.page-company .sa-head span { font-size: 11px; color: #8a8f83; }
.page-company .sa-head em { margin-left: auto; display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; font-weight: 500; color: var(--sage-lite); }
.page-company .sa-head em i { width: 7px; height: 7px; border-radius: 50%; background: #5fb374; box-shadow: 0 0 0 3px rgba(95, 179, 116, .2); }
.page-company .sa-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 14px 12px 22px; }
.page-company .sa-card { padding: 11px 12px; border-radius: 14px; background: var(--dark-card-2); box-shadow: 0 0 0 1px rgba(236, 235, 229, .06); }
.page-company .sa-lead { display: flex; align-items: center; gap: 10px; }
.page-company .sa-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; background: #2a2e27; color: #c9ccc2; }
.page-company .sa-lead div { flex: 1; min-width: 0; line-height: 1.3; }
.page-company .sa-lead strong { display: block; font-size: 12px; font-weight: 600; }
.page-company .sa-lead span, .page-company .sa-lead time { font-size: 10.5px; color: #8a8f83; }
.page-company .sa-lead time { align-self: flex-start; }
.page-company .sa-label { margin-bottom: 7px; font-size: 10.5px; font-weight: 500; color: #8a8f83; }
.page-company .sa-bubble { margin-left: 16px; padding: 8px 11px; border-radius: 14px 14px 4px 14px; background: var(--sage-lite); color: #10130e; font-size: 12px; line-height: 1.42; }
.page-company .sa-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.page-company .sa-ladder li { position: relative; display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--dark-ink-3); }
.page-company .sa-ladder li b { width: 30px; font-weight: 600; color: var(--dark-ink-3); }
.page-company .sa-ladder li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3a3e36; }
.page-company .sa-ladder li.done { color: var(--dark-ink-2); }
.page-company .sa-ladder li.done b { color: var(--dark-ink); }
.page-company .sa-ladder li.done i { background: var(--sage-lite); box-shadow: 0 0 0 3px rgba(168, 191, 148, .16); }
.page-company .sa-claimed { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: rgba(168, 191, 148, .12); box-shadow: inset 0 0 0 1px rgba(168, 191, 148, .22); }
.page-company .sa-claimed span { font-size: 11.5px; font-weight: 500; color: var(--sage-lite); }
.page-company .sa-claimed strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--dark-ink); }
.page-company .sa-health { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 11px; color: var(--dark-ink-2); }
.page-company .sa-health i { width: 7px; height: 7px; border-radius: 50%; background: #5fb374; box-shadow: 0 0 0 3px rgba(95, 179, 116, .18); }
.page-company .sa-health i + * { margin-left: 0; }
.page-company .sa-health b { font-weight: 600; color: var(--sage-lite); margin-right: 10px; }
.page-company .su-brief { margin-bottom: auto; padding: 11px 12px; border-radius: 14px; background: var(--dark-card); box-shadow: 0 0 0 1px rgba(236, 235, 229, .07); font-size: 11.5px; line-height: 1.5; color: var(--dark-ink-2); }
.page-company .su-brief b { color: var(--dark-ink); font-weight: 600; }
.page-company .su-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 12px 6px; overflow: hidden; }
.page-company .su-day { align-self: center; margin-bottom: 2px; font-size: 10.5px; color: var(--dark-ink-3); }
.page-company .su-msg { max-width: 84%; padding: 8px 12px 9px; border-radius: 16px; font-size: 12.5px; line-height: 1.45; }
.page-company .su-msg.me { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--sage-lite); color: #10130e; }
.page-company .su-msg.os { align-self: flex-start; border-bottom-left-radius: 4px; background: #262a23; color: var(--dark-ink); }
.page-company .su-yes { display: block; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(236, 235, 229, .08); font-size: 11px; font-weight: 600; color: var(--sage-lite); }
.page-company .su-input { background: var(--dark-card-2); box-shadow: 0 0 0 1px rgba(236, 235, 229, .07); color: var(--dark-ink-3); }
.page-company .su-input i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-lite); }
.page-company .su-input i::after { content: ''; position: absolute; left: 9px; top: 10px; width: 6px; height: 6px; border-top: 2px solid #10130e; border-left: 2px solid #10130e; transform: rotate(45deg); }

/* Screens play in when they take the phone. Reduced motion: site.css removes every animation, so all of it just shows. */
@keyframes co-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes co-drop { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes co-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(192, 138, 46, .18); } 50% { box-shadow: 0 0 0 6px rgba(192, 138, 46, .06); } }
.page-company .co-stage .scr.on .m1 { animation: co-rise .45s .2s both; }
.page-company .co-stage .scr.on .m2 { animation: co-rise .45s .6s both; }
.page-company .co-stage .scr.on .m3 { animation: co-rise .45s 1.0s both; }
.page-company .co-stage .scr.on .m4 { animation: co-rise .45s 1.4s both; }
.page-company .co-stage .scr.on .m5 { animation: co-rise .45s 1.8s both; }
.page-company .co-stage .scr.on .m6 { animation: co-rise .45s 2.3s both; }
.page-company .co-stage .scr-before.on .sb-banner { animation: co-drop .5s 2.7s both; }
.page-company .co-stage .scr-before.on .sb-unread span { animation: co-pulse 1.6s 3s ease-in-out infinite; }
.page-company .co-stage .scr.on .m0 { animation: co-rise .45s .1s both; }
.page-company .co-stage .scr-use.on .m2 { animation-delay: .9s; }
.page-company .co-stage .scr-use.on .m3 { animation-delay: 1.7s; }
.page-company .co-stage .scr-use.on .m4 { animation-delay: 2.3s; }

/* Act progress under the pinned phone. */
.page-company .co-stage-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.page-company .co-stage-steps li { padding-top: 10px; border-top: 2px solid var(--line-2); font-size: 12px; font-weight: 500; color: var(--ink-3); transition: color .3s ease, border-color .3s ease; }
.page-company .co-stage-steps li.on { border-top-color: var(--sage); color: var(--ink); }
.page-company .co-stage-note { margin-top: 12px; text-align: left; }

/* ---------- Principles ---------- */
.page-company .co-principles { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--dark-ink); }
.page-company .co-principles::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: repeating-radial-gradient(circle at 100% 100%, transparent 0 34px, rgba(168, 191, 148, .055) 34px 35px); -webkit-mask-image: linear-gradient(120deg, transparent 45%, #000); mask-image: linear-gradient(120deg, transparent 45%, #000); }
.page-company .co-principles-in { max-width: var(--co-max); margin: 0 auto; padding: 128px 28px 136px; }
.page-company .co-plist { list-style: none; margin: 44px 0 0; padding: 0; }
.page-company .co-plist li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 48px 0 52px; border-top: 1px solid rgba(236, 235, 229, .1); }
.page-company .co-plist li:last-child { border-bottom: 1px solid rgba(236, 235, 229, .1); }
.page-company .co-pnum { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--sage-lite); padding-top: 12px; }
.page-company .co-pline { font-size: clamp(42px, 5.8vw, 86px); line-height: 1; color: var(--dark-ink); }
.page-company .co-psub { max-width: 560px; margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--dark-ink-2); }
.page-company .co-plist li.reveal:nth-child(2) { transition-delay: .05s; }
.page-company .co-plist li.reveal:nth-child(3) { transition-delay: .1s; }

/* ---------- Quiet close ---------- */
.page-company .co-close { max-width: var(--co-max); margin: 0 auto; padding: 136px 28px 128px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.page-company .co-close h2 { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.02; color: var(--ink); }
.page-company .co-close h2 span { display: block; }
.page-company .co-close-b { color: var(--ink-3); }
.page-company .co-links { list-style: none; margin: 0; padding: 0; }
.page-company .co-links li { border-top: 1px solid var(--line-2); }
.page-company .co-links li:last-child { border-bottom: 1px solid var(--line-2); }
.page-company .co-links a { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 4px; }
.page-company .co-links strong { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.page-company .co-links span { font-size: 14.5px; color: var(--ink-3); transition: color .2s ease; }
.page-company .co-links i { font-style: normal; font-size: 18px; color: var(--ink-2); transition: transform .25s cubic-bezier(.2, .8, .2, 1), color .2s ease; }
.page-company .co-links a:hover span { color: var(--ink-2); }
.page-company .co-links a:hover i { color: var(--sage); transform: translateX(6px); }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1000px) {
  .page-company .co-close { grid-template-columns: 1fr; gap: 40px; }
  .page-company .co-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-company .co-toc a:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .page-company .co-act { grid-template-columns: 1fr; gap: 44px; padding: 64px 0; }
  .page-company .co-plist li { grid-template-columns: 1fr; gap: 12px; padding: 36px 0 40px; }
  .page-company .co-pnum { font-size: 32px; padding-top: 0; }
}
@media (max-width: 640px) {
  .page-company .co-hero { padding: 104px 18px 24px; }
  .page-company .co-hero h1 { margin-top: 22px; }
  .page-company .co-sub { margin-top: 26px; font-size: 17px; }
  .page-company .co-toc { margin-top: 44px; }
  .page-company .co-toc a { padding: 14px 10px 14px 0; font-size: 13px; }
  .page-company .co-story { padding: 8px 18px 64px; }
  .page-company .co-act h2 { margin: 14px 0 22px; }
  .page-company .co-lede { font-size: 19px; }
  .page-company .co-principles-in { padding: 88px 18px 96px; }
  .page-company .co-psub { font-size: 16px; }
  .page-company .co-close { padding: 96px 18px 88px; }
  .page-company .co-links a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 2px; }
  .page-company .co-links span { grid-row: 2; }
  .page-company .co-links i { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 360px) {
  .page-company .phone { height: 620px; }
}
