/* Savilabs company home. Dark, quiet, product-first: each product chapter carries its own colour. */
@font-face { font-family: "Geist"; src: url("/assets/home/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0a0a0b; --ink: #f4f4f2; --body: #b9bab6; --muted: #85877f; --line: rgb(255 255 255 / .09);
  --council: #3fe0a8; --council-deep: #0a5c52; --due: #8fb8cc; --due-deep: #2f566b; --web: #f2c48d; --social: #ff8a6e;
  --pad: clamp(20px, 5vw, 72px); --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.6 "Geist", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 650; letter-spacing: -0.035em; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: max(14px, env(safe-area-inset-top)) var(--pad) 0; }
.nav { max-width: 1240px; margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 28px; padding: 0 8px 0 22px; border-radius: 999px;
  background: rgb(20 20 22 / .62); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border: 1px solid var(--line); }
.wordmark { font-weight: 700; font-size: 22px; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.wordmark span { /* the dot is a true circle, not the font's square period */
  display: inline-block; width: .2em; height: .2em; margin-left: .05em; border-radius: 50%; background: var(--council); color: transparent; overflow: hidden; vertical-align: baseline; }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--body); text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: rgb(255 255 255 / .06); }
.nav-cta { height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .25s var(--ease), filter .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.08); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-council { background: var(--council); color: #04241c; }
.btn-due { background: var(--due); color: #0e2430; }
.link { color: var(--ink); text-decoration: none; font-weight: 500; display: inline-flex; gap: 6px; }
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

main { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 120px 0 60px; }
.hero h1 { font-size: clamp(50px, 7vw, 104px); white-space: nowrap; line-height: .92; letter-spacing: -0.055em; font-weight: 700; }
.lead { margin-top: 28px; font-size: clamp(17px, 1.45vw, 20px); max-width: 40ch; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.stage { position: relative; height: min(68vh, 620px); perspective: 1400px; }
.dev { position: absolute; will-change: transform; transition: transform .2s linear; }
.laptop { width: 88%; right: 0; top: 10%; }
.laptop-screen { border-radius: 14px 14px 4px 4px; padding: 10px; background: #1b1c1e; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .9); }
.laptop-screen img { border-radius: 6px; }
.laptop-base { height: 14px; margin: 0 -4%; border-radius: 0 0 16px 16px; background: linear-gradient(#2a2b2e, #161719); }
.phone { margin: 0; border-radius: 40px; padding: 8px; background: #161719; border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9); }
.phone img { border-radius: 32px; }
.stage .phone { width: 31%; }
.phone-a { left: 2%; top: 30%; }
.phone-b { right: -2%; top: 46%; width: 28% !important; }

/* ---------- Product chapters ---------- */
.products { display: grid; gap: clamp(28px, 4vw, 48px); padding-top: 40px; }
.chapter { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; border: 1px solid var(--line); }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; }
.ch-council::before { background: radial-gradient(90% 90% at 100% 0%, rgb(63 224 168 / .18), transparent 60%), linear-gradient(160deg, #0c2622, #0b1514 70%); }
.ch-due::before { background: radial-gradient(90% 90% at 100% 0%, rgb(143 184 204 / .2), transparent 60%), linear-gradient(160deg, #142630, #0d1418 70%); }
.ch-web::before { background: radial-gradient(90% 90% at 100% 0%, rgb(242 196 141 / .16), transparent 60%), linear-gradient(160deg, #241c14, #121010 70%); }
.ch-id { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.ch-id img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ch-id img.rounded { border-radius: 50%; }
.mark-web { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--web); color: #2a1d0e; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.status { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid currentColor; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--council); flex: none; } /* every marker is the savilabs dot */
.status.live { color: var(--council); }
.status.preview { color: var(--due); }
.status.open { color: var(--web); }
.status.soon { color: var(--social); }
.chapter h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; }
.ch-lead { margin-top: 16px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink); max-width: 30ch; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.facts li { padding-left: 18px; position: relative; font-size: 15.5px; max-width: 46ch; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--council); }
.facts b { color: var(--ink); font-weight: 600; }
.ch-actions { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }

.ch-media { position: relative; }
.shot.browser { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 90px -40px rgb(0 0 0 / .9); background: #111; }
.dots { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1a1b1d; border-bottom: 1px solid var(--line); }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3b3e; }
.dots em { font-style: normal; font-size: 12px; color: var(--muted); margin: 0 auto; padding-right: 40px; }
.phone-float { position: absolute; width: 30%; right: -4%; bottom: -14%; }
.phones-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.phones-3 .phone:nth-child(2) { transform: translateY(-34px); }
.web-grid { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.web-grid .tile { margin: 0; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.web-grid .tile:first-child { grid-row: span 2; }
.web-grid img { width: 100%; height: 100%; object-fit: cover; }
.web-grid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; color: #fff; background: rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- What's next ---------- */
.next { padding: clamp(100px, 13vw, 170px) 0 0; }
.next h2, .studio h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: .98; }
.next-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 44px; }
.next-card { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 3.6vw, 48px); border: 1px solid var(--line); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.next-card h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.next-card p { max-width: 42ch; }
.next-card.social { background: radial-gradient(80% 90% at 90% 10%, rgb(255 138 110 / .22), transparent 60%), #151010; justify-content: flex-end; }
.next-card.social .status { position: absolute; top: 28px; left: clamp(28px, 3.6vw, 48px); }
.next-card.idea { background: #121214; align-items: flex-start; }
.next-card.idea .btn { margin-top: 10px; }
.orbit { position: absolute; right: 7%; top: 9%; width: 170px; height: 170px; border-radius: 50%; border: 1px dashed rgb(255 138 110 / .35); animation: spin 40s linear infinite; }
.orbit i { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 138 110 / .85); }
.orbit i:nth-child(1) { top: -13px; left: calc(50% - 13px); }
.orbit i:nth-child(2) { right: -8px; top: 30%; background: #ffd0c4; }
.orbit i:nth-child(3) { right: 12%; bottom: -6px; }
.orbit i:nth-child(4) { left: -10px; top: 55%; background: #ffd0c4; }
.orbit i:nth-child(5) { left: 16%; top: 4%; width: 16px; height: 16px; }
.orbit b { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffb6a3, #c9553c); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Studio ---------- */
.studio { padding: clamp(100px, 13vw, 170px) 0 clamp(90px, 11vw, 140px); }
.studio-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 90px); margin-top: 40px; }
.studio-cols > p { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--ink); }
.studio-facts { margin: 0; display: grid; gap: 0; }
.studio-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.studio-facts dt { color: var(--muted); }
.studio-facts dd { margin: 0; color: var(--ink); text-align: right; }

/* ---------- Footer ---------- */
.footer { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad) max(36px, env(safe-area-inset-bottom)); }
.wordmark.big { display: block; font-size: clamp(80px, 19vw, 280px); line-height: .8; letter-spacing: -0.07em; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: var(--muted); }
.footer-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-row a { color: var(--body); text-decoration: none; }
.footer-row a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; min-height: auto; }
  .stage { height: 420px; }
  .chapter { grid-template-columns: 1fr; }
  .next-grid, .studio-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero h1 { white-space: normal; }
  .nav { height: 54px; padding: 0 6px 0 18px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; height: 40px; padding: 0 14px; font-size: 13.5px; }
  .hero { padding-top: 110px; gap: 24px; }
  .stage { height: 330px; }
  .chapter { border-radius: 30px; padding: 26px 22px 30px; }
  .phone-float { display: none; }
  .phones-3 { gap: 8px; }
  .phones-3 .phone { padding: 5px; border-radius: 26px; }
  .phones-3 .phone img { border-radius: 21px; }
  .phones-3 .phone:nth-child(2) { transform: translateY(-18px); }
  .web-grid { grid-template-columns: 1fr 1fr; }
  .orbit { width: 96px; height: 96px; right: 7%; top: 22px; }
  .orbit i { width: 18px; height: 18px; }
  .next-card { min-height: 380px; }
  .next-card.social { padding-top: 140px; }
  .next-card { min-height: 300px; }
  .studio-facts div { flex-direction: column; gap: 4px; }
  .studio-facts dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Contact form ---------- */
.contact { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad) clamp(90px, 11vw, 140px); }
.contact-in { border-radius: 40px; border: 1px solid var(--line); background: radial-gradient(70% 90% at 0% 0%, rgb(63 224 168 / .1), transparent 60%), #111113; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); }
.contact h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; }
.contact-copy p { margin-top: 16px; max-width: 36ch; }
.cform { display: grid; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf { display: grid; gap: 7px; }
.cf > span { font-size: 13.5px; color: var(--body); font-weight: 500; }
.cf input, .cf select, .cf textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .13); border-radius: 14px; padding: 13px 15px; outline: none; transition: border-color .2s, background-color .2s; }
.cf select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.cf select option { background: #18181a; }
.cf textarea { resize: vertical; min-height: 130px; }
.cf input:focus, .cf select:focus, .cf textarea:focus { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .08); }
.cf [aria-invalid="true"] { border-color: #ff8f7d; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.cf-status { font-size: 14px; }
.cf-status[data-tone="err"] { color: #ff9b8d; }
.cform button:disabled { opacity: .7; cursor: progress; }
.cf-done h3 { font-size: 28px; margin-bottom: 8px; }
.cf-done p { max-width: 44ch; }
.cf-done b { color: var(--ink); }
@media (max-width: 1000px) { .contact-in { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cf-row { grid-template-columns: 1fr; } .contact-in { border-radius: 30px; } .cf-foot .btn { width: 100%; justify-content: center; } }

/* ---------- Send: button → spinner, dot flight, landing ---------- */
.cform button[type="submit"] { position: relative; transition: width .45s var(--ease), padding .45s var(--ease), border-radius .45s var(--ease), transform .25s var(--ease); }
.cform button.is-sending { width: 50px; padding: 0; justify-content: center; color: transparent; overflow: hidden; }
.cform button.is-sending::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; border: 2.5px solid rgb(10 10 11 / .2); border-top-color: var(--bg); animation: spin .8s linear infinite; }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.flyer { position: fixed; z-index: 100; border-radius: 50%; background: var(--council); pointer-events: none; will-change: transform; }
.cf-done { padding: 8px 0; }
.cf-done h3 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.045em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em; }
.cf-done .w, .cf-done .rise { display: inline-block; opacity: 0; transform: translateY(18px); }
.cf-done.show .w, .cf-done.show .rise { animation: rise .7s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.sent-dot { position: relative; width: .2em; height: .2em; margin-left: -.14em; border-radius: 50%; background: var(--council); opacity: 0; align-self: baseline; }
.cf-done.landed .sent-dot { opacity: 1; animation: land .5s var(--ease); }
.cf-done.landed .sent-dot::before, .cf-done.landed .sent-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--council); animation: ripple 1.1s var(--ease) forwards; }
.cf-done.landed .sent-dot::after { animation-delay: .18s; }
@keyframes land { 0% { transform: scale(1.8); } 55% { transform: scale(.8); } 100% { transform: scale(1); } }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(7); opacity: 0; } }
.cf-done p { margin-top: 40px; font-size: 18px; }
.cf-done p.small { margin-top: 6px; font-size: 14px; color: var(--muted); }
.cf-done b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .cf-done .w, .cf-done .rise { opacity: 1; transform: none; } .cf-done .sent-dot { opacity: 1; } }

.cform:has(.cf-done) { display: flex; align-items: center; }

/* ---------- The paper plane ---------- */
.plane { position: fixed; left: 0; top: 0; z-index: 100; width: 40px; height: 40px; margin: -20px 0 0 -20px; pointer-events: none; will-change: transform; }
.plane .pl, .plane .pl-dot { position: absolute; inset: 0; }
.plane .pl { width: 40px; height: 40px; opacity: 0; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .45)); }
.plane .pl-dot { inset: 13px; border-radius: 50%; background: var(--council); }
.cf-done h3 { position: relative; }
.runway { position: absolute; left: -.6em; right: -.3em; bottom: -.62em; height: 3px; border-radius: 2px; opacity: 0; transform-origin: left; transform: scaleX(0);
  background: repeating-linear-gradient(90deg, rgb(244 244 242 / .55) 0 14px, transparent 14px 24px); }
.runway.on { animation: runway-in .7s var(--ease) forwards; }
.runway.on.off { animation: runway-out .8s var(--ease) .5s forwards; }
@keyframes runway-in { to { opacity: 1; transform: scaleX(1); } }
@keyframes runway-out { from { opacity: 1; transform: scaleX(1); } to { opacity: 0; transform: scaleX(1); } }
.contrail { position: fixed; z-index: 99; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgb(63 224 168 / .7); pointer-events: none; }
.dust { position: fixed; z-index: 99; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgb(244 244 242 / .45); pointer-events: none; }

/* Full stops in headings are the savilabs dot: round and green (Geist's own full stop is square). */
.gdot { display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--council); vertical-align: baseline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--pad) 80px; }
.legal h1 { font-size: clamp(48px, 7vw, 84px); line-height: 1; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 14px 0 40px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -0.02em; }
.legal p { font-size: 17px; }
.legal a { color: var(--ink); }
.legal-page .footer { max-width: 760px; }

/* ---------- Founder page (/ismayil, 27 Nov 2026). No photo by choice: a monogram in the brand's green. ---------- */
.person { max-width: 820px; margin: 0 auto; padding: 160px var(--pad) 90px; }
.p-head { display: flex; align-items: center; gap: clamp(18px, 3vw, 30px); }
.mono { flex: none; display: grid; place-items: center; width: clamp(76px, 10vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--council); color: #04241c; font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.04em; }
.p-head h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1; }
.p-role { margin-top: 12px; color: var(--muted); font-size: 17px; }
.p-lead { margin-top: clamp(36px, 5vw, 56px); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--ink); max-width: 30ch; text-wrap: pretty; }
.p-sec { margin-top: clamp(48px, 6vw, 72px); }
.p-sec h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.p-list { margin: 0; }
.p-list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.p-list dt { color: var(--ink); font-weight: 500; }
.p-list dd { margin: 0; color: var(--body); text-align: right; }
.p-work { list-style: none; margin: 0; padding: 0; }
.p-work li > a, .p-work li > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.p-work li > a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.pw-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.p-work b { display: block; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.p-work small { display: block; margin-top: 4px; font-size: 15.5px; color: var(--body); line-height: 1.5; }
.pw-go { color: var(--muted); font-size: 18px; transition: transform .25s var(--ease), color .2s; }
.p-work li > a:hover .pw-go { color: var(--ink); transform: translate(2px, -2px); }
.p-work li.soon b { color: var(--body); }
.p-contact { font-size: 18px; color: var(--ink); }
.p-contact a { color: var(--ink); }
.person-page .footer { max-width: 820px; }
/* the home page's founder row */
.founder { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 16px 20px 16px 16px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; max-width: 520px; transition: background-color .2s; }
.founder:hover { background: rgb(255 255 255 / .04); }
.founder .mono { width: 52px; font-size: 19px; }
.founder b { display: block; color: var(--ink); font-weight: 600; }
.founder small { display: block; color: var(--muted); font-size: 14.5px; }
.founder .go { margin-left: auto; color: var(--muted); transition: transform .25s var(--ease); }
.founder:hover .go { transform: translateX(4px); color: var(--ink); }
@media (max-width: 640px) { .person { padding-top: 120px; } .p-head { flex-direction: column; align-items: flex-start; } .p-list div { flex-direction: column; gap: 4px; } .p-list dd { text-align: left; } }

/* ---------- About (patterns from award-winning studio sites, in Savilabs colours) ---------- */
.about { padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 11vw, 140px); }
/* the statement fills from muted to white, word by word, as it scrolls past */
.about-statement { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 650; max-width: 22ch; color: var(--ink); }
.about-statement .w { color: rgb(244 244 242 / .16); transition: color .35s linear; }
.about-statement .w.on { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); margin-top: clamp(70px, 9vw, 120px); align-items: start; }
.about-h { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
/* how we work: numbered steps, one open at a time */
.steps-acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps-acc li { border-bottom: 1px solid var(--line); }
.steps-acc button { width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 20px 0; background: none; border: 0; color: var(--body); font: inherit; text-align: left; cursor: pointer; }
.steps-acc .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps-acc b { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.025em; color: rgb(244 244 242 / .45); transition: color .25s; }
.steps-acc li.open b, .steps-acc button:hover b { color: var(--ink); }
.steps-acc i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--muted); justify-self: end; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.steps-acc li.open i { background: var(--council); border-color: var(--council); transform: scale(1.2); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-body > p { overflow: hidden; padding-left: 56px; max-width: 52ch; }
.steps-acc li.open .acc-body { grid-template-rows: 1fr; }
.steps-acc li.open .acc-body > p { padding-bottom: 22px; }
/* what we build: tabs, each with one sentence and a real product */
.cap-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid var(--line); }
.cap-tabs button { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--body); font: inherit; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s; }
.cap-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.cap-panel { margin-top: 22px; }
.cap-panel > p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; color: var(--ink); max-width: 30ch; }
.cap-panel:not([hidden]) { animation: capIn .45s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } }
.cap-proof { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 18px 14px 14px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; max-width: 440px; transition: background-color .2s; }
.cap-proof:hover { background: rgb(255 255 255 / .04); }
.cap-proof img, .cap-www { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.cap-www { display: grid; place-items: center; background: #0071e3; color: #fff; font-weight: 700; }
.cap-proof span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cap-proof b { color: var(--ink); font-weight: 600; }
.cap-proof small { color: var(--muted); font-size: 13.5px; }
.about-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 100px); padding-top: 30px; border-top: 1px solid var(--line); }
.about-foot .founder { margin-top: 0; }
.about-reach { color: var(--body); }
.about-reach a { color: var(--ink); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .acc-body > p { padding-left: 0; } .steps-acc button { grid-template-columns: 36px 1fr 20px; } .cap-tabs { display: flex; width: 100%; } .cap-tabs button { flex: 1; padding: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .about-statement .w { color: var(--ink); } }
