:root {

  --bg: #ffffff;
  --card: #fafafa;
  --ink: #000000;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #ebebeb;
  --accent: #b08e68;
  --dot: rgba(0, 0, 0, .3);
  --on-ink: #ffffff;
  --footer-bg: #000000;
  --footer-rule: transparent;
  --btn-hover: #222222;
  --rule-strong: #dcdcdc;
  --ph-stripe: rgba(0, 0, 0, .035);
  --ph-border: #d6d6d6;
  --img-dim: 1;

  --portrait-c: #474747;
  --portrait-e: #181818;
  --photo-bg: #f5f4f1;
  --portrait-bg: var(--portrait-e);

  --plate-hi: #e8e6e0;  --plate-lo: #c9c6bd;  --plate-title: #1c1b19;  --plate-sub: #5f5c56;  --plate-cap: #8a8a8a;
  color-scheme: light;

  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 120px; --s20: 160px;

  --maxw: 1400px;
  --pad: 40px;
  --section: var(--s16);
  --nav-h: 50px;
  --card-pad: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Libre Caslon Condensed', Georgia, serif;

  --t-display: 120px; --lh-display: 1.1; --ls-display: -.03em;
  --t-h1: 70px;       --lh-h1: 1.1;      --ls-h1: -.03em;
  --t-h2: 50px;       --lh-h2: 1.1;      --ls-h2: -.03em;
  --t-stat: 50px;     --lh-stat: 1.1;    --ls-stat: -.04em;
  --t-num: 42px;      --lh-num: 1.2;     --ls-num: -.03em;
  --t-quote: 32px;    --lh-quote: 1.2;   --ls-quote: -.03em;
  --t-card: 24px;     --lh-card: 1.2;    --ls-card: -.03em;
  --t-sub: 26px;
  --t-lg: 20px;       --lh-lg: 1.5;
  --t-label: 18px;    --lh-label: 1.5;   --ls-label: -.01em;
  --t-body: 16px;     --lh-body: 1.5;    --ls-body: 0;
  --t-eyebrow: 16px;  --lh-eyebrow: 1.5; --ls-eyebrow: .12em;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121110;  --card: #1b1a18;  --ink: #f4f1ec;  --text: #e7e3dc;
    --muted: #a39d93;  --line: #2b2926;  --on-ink: #121110;
    --dot: rgba(244, 241, 236, .2); --portrait-c: #43403c; --portrait-e: #23211e; --photo-bg: #1b1a18;
    --footer-bg: #1b1a18;  --footer-rule: #2b2926;
    --btn-hover: #d9d4cb;  --rule-strong: #3a3733;
    --ph-stripe: rgba(255, 255, 255, .04);  --ph-border: #3a3733;
    --img-dim: .9;
    --plate-hi: #46433d;  --plate-lo: #1c1b19;  --plate-title: #f4f1ec;  --plate-sub: #b3ada2;  --plate-cap: #7d786f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121110;  --card: #1b1a18;  --ink: #f4f1ec;  --text: #e7e3dc;
  --muted: #a39d93;  --line: #2b2926;  --on-ink: #121110;
  --dot: rgba(244, 241, 236, .2); --portrait-c: #43403c; --portrait-e: #23211e; --photo-bg: #1b1a18;
  --footer-bg: #1b1a18;  --footer-rule: #2b2926;
  --btn-hover: #d9d4cb;  --rule-strong: #3a3733;
  --ph-stripe: rgba(255, 255, 255, .04);  --ph-border: #3a3733;
  --img-dim: .9;
  --plate-hi: #46433d;  --plate-lo: #1c1b19;  --plate-title: #f4f1ec;  --plate-sub: #b3ada2;  --plate-cap: #7d786f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-weight: 400;
  font-size: var(--t-body); line-height: var(--lh-body); letter-spacing: var(--ls-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--on-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed; top: var(--s2); left: var(--s2); z-index: 1000;
  transform: translateY(-150%);
  background: var(--ink); color: var(--on-ink);
  font-size: var(--t-body); padding: var(--s2) var(--s3);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.t-display { font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: 500; text-transform: uppercase; color: var(--ink); }
.t-h1      { font-size: var(--t-h1);      line-height: var(--lh-h1);      letter-spacing: var(--ls-h1);      font-weight: 500; text-transform: uppercase; color: var(--ink); }
.t-h2      { font-size: var(--t-h2);      line-height: var(--lh-h2);      letter-spacing: var(--ls-h2);      font-weight: 500; color: var(--ink); text-wrap: balance; }
.t-stat    { font-size: var(--t-stat);    line-height: var(--lh-stat);    letter-spacing: var(--ls-stat);    font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.t-quote   { font-size: var(--t-quote);   line-height: var(--lh-quote);   letter-spacing: var(--ls-quote);   font-weight: 500; color: var(--ink); text-wrap: pretty; }
.t-h3      { font-size: var(--t-card);    line-height: var(--lh-card);    letter-spacing: var(--ls-card);    font-weight: 500; color: var(--ink); }
.eyebrow   { font-size: var(--t-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: var(--ls-eyebrow); font-weight: 500; text-transform: uppercase; color: var(--muted); }
.muted     { color: var(--muted); }
.lede      { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--muted); text-wrap: pretty; }

.wrap { max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section--tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s8); }
.section-head .t-h2 { max-width: 20ch; margin-top: var(--s2); }
.section-foot { margin-top: var(--s8); }

.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--ink); color: var(--on-ink);
  font-size: var(--t-body); line-height: var(--lh-body); font-weight: 400;
  padding: 20px 36px;
  border-radius: 0; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: var(--btn-hover); }
.btn:hover svg { transform: rotate(45deg); }
.btn--inverse { background: var(--on-ink); color: var(--ink); }
.btn--inverse:hover { background: #ebebeb; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-body); line-height: var(--lh-body); font-weight: 500;
  color: var(--ink); white-space: nowrap;
}
.arrow-link svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.arrow-link:hover svg, .arrow-link:focus-visible svg { transform: translateX(6px); }

.lnk { position: relative; }
.lnk::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.lnk:hover::after { transform: scaleX(1); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;

  background: var(--bg);
}
.nav .wrap { width: 100%; display: flex; align-items: center; }
.nav-logo { font-size: var(--t-card); line-height: 1; letter-spacing: -.03em; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.nav-links {
  display: flex; gap: var(--s5); align-items: center;
  margin-left: auto; margin-right: 12px; order: 1;

  opacity: 0; visibility: hidden; transform: translateX(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.nav-links.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-links a { font-size: var(--t-lg); line-height: 1.25; color: var(--ink); }
.nav-toggle {
  order: 3; flex: none; margin-right: -8px;
  width: 41px; height: 41px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; padding: 0 8px;
}

.nav-toggle span { display: block; height: 5px; background: var(--ink); transition: width .4s var(--ease); }
.nav-toggle span:nth-child(1) { width: 10px; }
.nav-toggle span:nth-child(2) { width: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { width: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { width: 10px; }

.theme-toggle { order: 2; flex: none; width: 41px; height: 41px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.hero {
  position: relative; overflow: hidden;

  min-height: 100vh; min-height: min(100svh, 1000px);
  padding-top: var(--nav-h);
  display: flex; flex-direction: column;
  background: var(--bg);
}

.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.5px, transparent 2px);
  background-size: 48px 48px; background-position: 24px 24px;
}
.hero.has-canvas::before { display: none; }
.hero-dots { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
.hero .wrap { position: relative; z-index: 1; width: 100%; flex: 1; display: flex; flex-direction: column; padding-top: var(--s6); padding-bottom: var(--s8); }

.greet {
  display: block; height: calc(1.3 * var(--t-quote)); margin-bottom: var(--s1);
  font-family: 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif;
  font-size: var(--t-quote); line-height: 1.3; letter-spacing: -.02em;
  font-weight: 400; text-transform: none; color: var(--muted); white-space: nowrap;
}
.greet-caret { display: inline-block; width: 2.5px; height: .75em; margin-left: 4px; vertical-align: -.1em; border-radius: 2px; background: var(--ink); animation: caretBlink 1.1s ease-in-out infinite alternate; }
.greet.is-typing .greet-caret { animation: none; opacity: 1; }
@keyframes caretBlink { from { opacity: 1; } to { opacity: .15; } }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: end; margin-top: var(--s5); }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: var(--s8); }
.hero-copy .lede { max-width: 30ch; }
.hero-copy .btn { margin-top: var(--s4); align-self: flex-start; }
.hero-foot { display: flex; flex-direction: column; gap: var(--s1); }
.hero-foot .scroll { display: inline-flex; align-items: center; gap: var(--s1); color: var(--ink); }
.hero-foot .scroll svg { animation: nudge 2.2s ease-in-out infinite; }
.hero-foot .eyebrow { color: var(--ink); }
.hero-foot .eyebrow.muted { color: var(--muted); }

.hero-portrait { position: relative; width: 100%; max-width: min(520px, max(320px, calc(min(100svh, 1000px) - 440px))); justify-self: end; aspect-ratio: 1 / 1; background: var(--portrait-bg); overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s8); align-items: start; }
.about-intro { margin-top: var(--s4); max-width: 40em; }
.about-body .meta { margin-top: var(--s4); color: var(--muted); font-size: var(--t-body); }
.about-body .meta a { color: var(--ink); }
.about-body .meta a + a { margin-left: var(--s1); }
.about-body .meta .links { white-space: nowrap; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s10); text-align: center; }
.stats--2 { grid-template-columns: repeat(2, 1fr); }
.stat-label { margin-top: 20px; font-size: var(--t-label); line-height: var(--lh-label); letter-spacing: var(--ls-label); font-weight: 500; color: var(--muted); text-wrap: balance; }

.card { padding: var(--card-pad); }
.card-media { position: relative; overflow: hidden; background: var(--card); isolation: isolate; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 28px 14px 14px; }

.practice-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.practice-teaser article { border-top: 1px solid var(--line); padding-top: var(--s5); }
.practice-teaser .t-h3 { margin-bottom: var(--s2); }
.practice-teaser p { color: var(--muted); text-wrap: pretty; }

.practice-head { border-bottom: 1px solid var(--line); padding-bottom: var(--s12); }
.practice-head .section-head { margin-bottom: 0; }
.practices .wrap > * + * { margin-top: var(--s16); }

.practice, .about-copy, .about-tools .section-head, .tools, .flow-band .section-head, .teams .section-head, .flow { padding-left: var(--s12); }
.practice-num { font-size: var(--t-num); line-height: var(--lh-num); letter-spacing: var(--ls-num); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: var(--s3); }
.practice .t-h2 { font-size: var(--t-quote); line-height: var(--lh-quote); letter-spacing: var(--ls-quote); margin-bottom: var(--s3); }
.practice-desc { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--text); max-width: 44em; text-wrap: pretty; }
.practice-label { margin: var(--s6) 0 var(--s3); }
.practice-list { list-style: none; }
.practice-list li { display: flex; gap: var(--s2); margin-bottom: 12px; }
.practice-list li::before { content: '\2014'; color: var(--muted); flex: none; }
.practice-seen { margin-top: var(--s5); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.practice-seen strong { font-weight: 500; color: var(--ink); }
.practice-body .arrow-link { margin-top: var(--s4); }

.flow-band { background: var(--card); }

.flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--s5); row-gap: var(--s10); }
.flow-num { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-num); line-height: var(--lh-num); letter-spacing: var(--ls-num); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow-num::after { content: ''; flex: 1; height: 1px; background: var(--rule-strong); }
.flow li:nth-child(3n) .flow-num::after, .flow li:last-child .flow-num::after { display: none; }
.flow .t-h3 { margin: var(--s4) 0 10px; }
.flow p { color: var(--muted); text-wrap: pretty; }

.about-head { border-bottom: 1px solid var(--line); padding-bottom: var(--s12); }
.about-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s10); align-items: end; }
.about-title .t-h2 { margin-top: var(--s2); font-size: var(--t-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.about-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--portrait-bg); }

.hero-portrait, .about-photo {
  --spot-at: 52% 34%; --spot-size: 95% 95%;
  background: radial-gradient(ellipse var(--spot-size) at var(--spot-at), var(--portrait-c), var(--portrait-e)) var(--portrait-e);
  background: radial-gradient(ellipse var(--spot-size) at var(--spot-at), var(--portrait-c) 0%,
    color-mix(in srgb, var(--portrait-c) 84%, var(--portrait-e)) 25%,
    color-mix(in srgb, var(--portrait-c) 50%, var(--portrait-e)) 50%,
    color-mix(in srgb, var(--portrait-c) 16%, var(--portrait-e)) 75%,
    var(--portrait-e) 100%) var(--portrait-e);
}
.about-photo { --spot-at: 52% 28%; --spot-size: 95% 76%; }

.about-photo { background: var(--photo-bg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.about-copy p + p { margin-top: var(--s3); }
.about-copy .about-lead { font-size: var(--t-quote); line-height: 1.4; letter-spacing: -.02em; font-weight: 400; color: var(--ink); max-width: 22em; margin-bottom: var(--s6); }

.about-lead::first-letter { float: left; font-family: var(--serif); font-weight: 400; font-size: 7em; line-height: .7; margin: .04em .06em 0 0; }
@supports (initial-letter: 4) or (-webkit-initial-letter: 4) {
  .about-lead::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0 calc(var(--t-quote) * .6) 0 0; -webkit-initial-letter: 4; initial-letter: 4; }
}

.tools-row { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s5); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.tools-row:last-child { border-bottom: 1px solid var(--line); }
.tools-row dt { padding-top: 4px; }
.tools-names { display: block; font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--ls-card); font-weight: 500; color: var(--ink); }
.tools-note { display: block; margin-top: var(--s1); color: var(--muted); max-width: 40em; text-wrap: pretty; }

.works { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: var(--s8); row-gap: var(--s12); }
.work { display: block; flex: 0 0 calc((100% - var(--s8)) / 2); min-width: 0; color: inherit; }
.work-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--card); }
.work-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--img-dim)); transition: transform .8s var(--ease), filter .3s ease; }
.work:hover .work-media img { transform: scale(1.03); filter: none; }
.work-title { margin-top: var(--s4); font-size: var(--t-card); line-height: var(--lh-card); letter-spacing: var(--ls-card); font-weight: 500; color: var(--ink); }
.work-meta { margin-top: 10px; font-size: var(--t-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: var(--ls-eyebrow); font-weight: 500; text-transform: uppercase; color: var(--muted); }
.work-year { white-space: nowrap; }
.work-dot { display: inline-block; margin: 0 6px; }

.back-link { display: inline-flex; align-items: center; gap: var(--s1); color: var(--muted); margin-bottom: var(--s5); }
.back-link:hover { color: var(--ink); }
.page-head-wrap { padding-top: calc(var(--nav-h) + var(--s8)); }
.page-lede { max-width: 56ch; margin-top: var(--s3); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.testi { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s10); align-items: start; }
.testi .t-h2 { margin-top: var(--s2); }
.testi-track { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.testi-track::-webkit-scrollbar { display: none; }

.testi-card { flex: 0 0 100%; scroll-snap-align: start; padding: 34px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); }
.testi-card p { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--muted); text-wrap: pretty; }
.testi-card p + p { margin-top: 12px; }
.testi-card .who { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--muted); }
.testi-card .who b { display: block; margin-bottom: 4px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.testi-dots { display: flex; gap: var(--s1); margin-top: var(--s3); }
.testi-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s ease, transform .2s ease; }
.testi-dots button[aria-current="true"] { background: var(--ink); transform: scale(1.25); }

.footer { background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--footer-rule); }

.footer { --ink: var(--footer-bg); --on-ink: #ffffff; --muted: #a39d93; }
.footer :focus-visible { outline-color: var(--on-ink); }
.footer .wrap { padding-top: var(--section); padding-bottom: var(--s6); }

.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); }
.footer-cta .t-display { color: var(--on-ink); }
.footer-cta .eyebrow + .t-display { margin-top: calc(var(--s2) - var(--s5)); }
.footer-cta .lede { color: rgba(255,255,255,.64); margin-top: var(--s3); max-width: 42ch; }

.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s4); padding: var(--s8) 0 var(--s10); }
.footer-cols--first { padding-top: 0; }
.footer-label { font-size: var(--t-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: .2em; font-weight: 500; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4); }
.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.footer-cols li { font-size: var(--t-lg); line-height: 1.3; }
.footer-cols a { color: rgba(255,255,255,.88); overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--on-ink); }
.footer-about p:not(.footer-brand) { font-size: var(--t-lg); line-height: var(--lh-lg); color: rgba(255,255,255,.6); max-width: 30ch; }
.footer-about p + p { margin-top: var(--s1); }
.footer-brand { font-size: var(--t-quote); line-height: 1.2; font-weight: 500; color: var(--on-ink); margin-bottom: var(--s4); }
.footer-foot { border-top: 1px solid rgba(255,255,255,.16); padding-top: var(--s5); display: flex; justify-content: space-between; gap: var(--s2); color: rgba(255,255,255,.56); }

.footer-about .status { display: flex; align-items: center; gap: 12px; margin-top: var(--s3); color: rgba(255,255,255,.88); }
.footer .status i { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5ddc8f; animation: pulseDot 1.6s ease-in-out infinite; }
.footer .status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5ddc8f; animation: pingDot 1.6s ease-out infinite; }

.photo-ph--fill { position: absolute; inset: 0; }
.photo-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--card);
  background-image: repeating-linear-gradient(135deg, var(--ph-stripe) 0 1px, transparent 1px 12px);
  border: 1px dashed var(--ph-border); border-radius: inherit;
  color: var(--muted); font-size: var(--t-body); line-height: var(--lh-body); padding: var(--s2);
}

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

.hero-title .hl { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-title .hl > span { display: block; animation: lineUp 1.1s var(--ease) .15s both; }
.hero-title .hl + .hl > span { animation-delay: .27s; }
.hero-title .greet { animation: fadeIn .9s ease .05s both; }

.hero-portrait { transform-origin: 50% 50%; will-change: transform; }

.footer { overflow: hidden; overflow: clip; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 201; height: 2px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

:root.theme-vt::view-transition-old(root),
:root.theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease, stroke .35s ease !important;
}
.theme-toggle.spin svg { animation: iconSpin .6s var(--ease); }

@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pingDot { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes iconSpin { from { transform: rotate(-90deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; transition-delay: 0s !important; }
  .hero-foot .scroll, .hero-foot .scroll svg, .footer .status i { animation: none !important; }
  .footer .status i::after { display: none; }
  .greet-caret { display: none; }
  .card-media img, .work-media img, .phone-screen img, .cs-journey .phone { transition: none !important; }
  .nav-links, .nav-toggle span { transition: none !important; }
  .hero-title .hl > span, .hero-title .greet, .theme-toggle.spin svg, .hero-copy .btn, .hero-foot { animation: none !important; }
  .hero-portrait { will-change: auto; }
}

.wr .w { display: inline-block; vertical-align: top; clip-path: inset(-.4em -.3em -.22em -.3em); }
.wr .w > span { display: inline-block; transform: translateY(135%); transition: transform .95s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.wr.in .w > span { transform: none; }

.lr .sl { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.lr .sl > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.lr.lines-in .sl > span { transform: none; }

.lr .q { transition: color 1.4s ease; transition-delay: calc(var(--rows, 2) * 120ms + 1.5s); }
.lr.lines-in .q { color: var(--muted); }

.wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s var(--ease); }
.wipe.in { clip-path: inset(0 0 0 0); }
.work-media.wipe img { scale: 1.1; transition: scale 1.6s var(--ease), transform .8s var(--ease), filter .3s ease; }
.work-media.wipe.in img { scale: 1; }
img.cs-banner.wipe { transition: clip-path 1.3s var(--ease) .1s, filter .3s ease; }

.cs-plate.pl .cs-plate-stage { opacity: 0; transition: opacity .9s ease, --gx 1.2s cubic-bezier(.2, .7, .2, 1), --gy 1.2s cubic-bezier(.2, .7, .2, 1); }
.cs-plate.pl figcaption { opacity: 0; transition: opacity .9s ease .1s; }
.cs-plate.pl .cs-plate-stage img { opacity: 0; translate: 0 6%; transition: opacity .8s ease .2s, translate 1.2s var(--ease) .2s, filter .3s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.cs-plate.pl.in .cs-plate-stage, .cs-plate.pl.in figcaption { opacity: 1; }
.cs-plate.pl.in .cs-plate-stage img { opacity: 1; translate: 0 0; }

.ln, .ln-b { position: relative; }
.ln { border-top-color: transparent !important; }
.ln-b { border-bottom-color: transparent !important; }
.ln::before, .ln-b::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--ln-c, var(--line)); transform: scaleX(0); transform-origin: left center; transition: transform 1.3s var(--ease) var(--d, 0ms); pointer-events: none; }
.ln::before { top: -1px; }
.ln-b::after { bottom: -1px; }
.ln.in::before, .ln-b.in::after { transform: none; }

.ln.reveal { transform: none; }
.footer-foot.ln { --ln-c: rgba(255, 255, 255, .16); }

.cursor-pill { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--ink); color: var(--on-ink); font-size: 14px; line-height: 1.2; white-space: nowrap; opacity: 0; scale: .6; transform-origin: 0 0; transition: opacity .2s ease, scale .35s var(--ease); }
.cursor-pill svg { width: 14px; height: 14px; }
.cursor-pill.on { opacity: 1; scale: 1; }

.btn--roll .btn-t { position: relative; display: block; overflow: hidden; }
.btn--roll .btn-tr { position: relative; display: block; transition: transform .55s var(--ease); }
.btn--roll .btn-t2 { position: absolute; left: 0; top: 100%; white-space: nowrap; }
.btn--roll:hover .btn-tr, .btn--roll:focus-visible .btn-tr { transform: translateY(-100%); }
.btn--roll .btn-ic { display: inline-flex; overflow: hidden; }
.btn--roll:hover svg, .btn--roll:focus-visible svg { transform: none; animation: arrowLoop .65s var(--ease); }
@keyframes arrowLoop { 0% { transform: none; } 42% { transform: translate(130%, -130%); } 43% { transform: translate(-130%, 130%); } 100% { transform: none; } }

.hero-foot .scroll--bob { color: var(--ink); margin-bottom: var(--s2); animation: cueBob 2.6s ease-in-out infinite; }
.hero-foot .scroll--bob svg { animation: none; }
.hero-foot .scroll--bob:hover, .hero-foot .scroll--bob:focus-visible { animation-play-state: paused; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.hero-foot { animation: riseIn .9s var(--ease) .95s both; }

.hero-copy .btn { animation: riseIn .9s var(--ease) .75s both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.mail-toast { position: fixed; left: 50%; bottom: var(--s4); z-index: 400; display: flex; flex-direction: column; gap: 2px; width: max-content; max-width: calc(100vw - 2 * var(--pad)); padding: 14px 20px; background: var(--ink); color: var(--on-ink); font-size: 14px; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .45s var(--ease); }
.mail-toast strong { font-weight: 500; }
.mail-toast span { opacity: .7; overflow-wrap: anywhere; }
.mail-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .mail-toast { transition: opacity .2s ease; transform: translate(-50%, 0); } }

.cs-wrap { padding: calc(var(--nav-h) + var(--s8)) var(--pad) var(--section); }
.cs-root { max-width: var(--maxw); margin: 0 auto; }
.cs-eyebrow { margin-bottom: var(--s2); }
.cs-title { max-width: 16ch; margin-bottom: var(--s6); }

.cs-banner { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: var(--card); margin-bottom: var(--s10); }

.cs-banner, .cs-img { filter: brightness(var(--img-dim)); transition: filter .3s ease; }
.cs-banner:hover, .cs-img:hover { filter: none; }
.cs-banner.ph { border: 1px dashed var(--ph-border); }
.cs-closing { margin: var(--s1) 0 0; }

.cs-overview { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s8); align-items: start; margin-bottom: var(--s8); }
.cs-overview--solo { grid-template-columns: 1fr; }
.cs-overview--solo .cs-lead { max-width: 68ch; }
.cs-lead p { font-size: var(--t-quote); line-height: 1.4; letter-spacing: -.02em; font-weight: 400; color: var(--ink); text-wrap: pretty; margin-bottom: var(--s3); }
.cs-lead p:last-child { margin-bottom: 0; }
.cs-meta { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); background: var(--card); }
.cs-meta-label { font-size: var(--t-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.cs-meta-val { color: var(--text); }
.cs-meta-val a { text-decoration: underline; text-underline-offset: 3px; }

.cs-section { display: grid; grid-template-columns: 1fr 2.4fr; gap: var(--s5); padding: var(--s8) 0; border-top: 1px solid var(--line); }
.cs-section-head { align-self: start; }
.cs-section-head h2 { font-size: var(--t-quote); line-height: var(--lh-quote); letter-spacing: var(--ls-quote); font-weight: 500; color: var(--ink); text-wrap: balance; position: sticky; top: calc(var(--nav-h) + var(--s3)); }

.prose p { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--text); margin-bottom: var(--s3); max-width: 34em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: var(--s3); margin-bottom: var(--s3); max-width: 34em; }
.prose li { font-size: var(--t-lg); line-height: var(--lh-lg); margin-bottom: var(--s1); }

.cs-gallery-caption { max-width: 34em; }
.cs-gallery-caption p { font-size: var(--t-lg); line-height: var(--lh-lg); color: var(--text); text-wrap: pretty; }
.cs-gallery-caption p + p { margin-top: var(--s2); }
.cs-gallery-link { margin-top: var(--s3); }
.cs-section[id] { scroll-margin-top: var(--nav-h); }
.cs-stage, .cs-journey {

  background:
    radial-gradient(ellipse 80% 75% at 50% 45%, rgba(22, 19, 16, .62), rgba(14, 12, 10, .86)),
    var(--stage-img, none) center / cover no-repeat #1d1915;
  filter: brightness(var(--img-dim)); transition: filter .3s ease;
}
.cs-stage:hover, .cs-journey:hover { filter: none; }
.cs-stage {
  --pw: min(230px, 25cqw);
  container-type: inline-size; position: relative; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start; gap: var(--s6);
  margin-top: var(--s4); padding: var(--s10) var(--s4);
}
.phone {
  position: relative; flex: none; width: var(--pw); margin: 0;
  padding: calc(var(--pw) * .028); background: #0d0d0e; border-radius: calc(var(--pw) * .158);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px rgba(0, 0, 0, .55), 0 28px 50px -24px rgba(0, 0, 0, .85);
  will-change: transform;
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 402 / 874; border-radius: calc(var(--pw) * .13); background: #161718; }

.cs-stage--rise .phone:not(:nth-child(2)) { margin-top: calc(var(--pw) * .2); }

.cs-stage--offset { gap: var(--s8); }
.cs-stage--offset .phone:nth-child(2) { margin-top: calc(var(--pw) * .3); }
.cs-stage--flip .phone:nth-child(2) { margin-top: 0; }
.cs-stage--flip .phone:nth-child(1) { margin-top: calc(var(--pw) * .3); }

.cs-stage--fan { --pw: min(210px, 26cqw); gap: 0; }
.cs-stage--fan .phone + .phone { margin-left: calc(var(--pw) * -.36); }
.cs-stage--fan .phone:nth-child(1), .cs-stage--fan .phone:nth-child(5) { margin-top: calc(var(--pw) * .22); z-index: 1; }
.cs-stage--fan .phone:nth-child(2), .cs-stage--fan .phone:nth-child(4) { margin-top: calc(var(--pw) * .09); z-index: 2; }
.cs-stage--fan .phone:nth-child(3) { z-index: 3; }

.cs-stage--switch { --pw: min(260px, 42cqw); flex-direction: column; align-items: center; }
.phone-screen { position: relative; aspect-ratio: 402 / 874; }
.phone-screen img { position: absolute; inset: 0; height: 100%; opacity: 0; z-index: 1; transition: opacity 0s linear 1.05s; }
.phone-screen img.is-on { opacity: 1; z-index: 2; transition: none; }

.phone-screen img.is-sweep {
  -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 55%); mask-image: linear-gradient(to right, #000 45%, transparent 55%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: themeSweep 1s cubic-bezier(.65, 0, .35, 1) both;
}
@keyframes themeSweep {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

.cs-section--journey .cs-journey { grid-column: 1 / -1; }
.cs-journey {
  --gap: var(--s3);
  container-type: inline-size; list-style: none;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 0 var(--gap);
  margin: var(--s2) 0 0; padding: var(--s10) var(--s5) var(--s8);
}
.cs-journey a { display: block; color: #f4f1ec; }
.cs-journey .phone { --pw: calc((100cqw - 7 * var(--gap)) / 8); display: block; width: 100%; transition: transform .45s var(--ease); }
.cs-journey a:hover .phone, .cs-journey a:focus-visible .phone { transform: translateY(-6px); }
.cs-journey a:focus-visible { outline-color: #f4f1ec; }
.cs-journey-step {
  position: relative; display: block; margin-top: var(--s4); padding-top: var(--s3);
  font-size: var(--t-body); line-height: var(--lh-body); font-weight: 500;
}

.cs-journey-step::before { content: ""; position: absolute; top: 0; left: 0; right: calc(-1 * var(--gap)); height: 1px; background: rgba(255, 255, 255, .24); }
.cs-journey li:last-child .cs-journey-step::before { right: 0; }
.cs-journey-step::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #f4f1ec; }
.cs-journey-num { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 400; letter-spacing: var(--ls-eyebrow); color: rgba(244, 241, 236, .6); }

.cs-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5) var(--s4); }
.cs-glance-text { margin-top: var(--s1); font-size: var(--t-label); line-height: var(--lh-label); color: var(--ink); text-wrap: pretty; }

.cs-imgs { display: grid; gap: var(--s2); margin: var(--s4) 0 0; }
.cs-imgs.pair { grid-template-columns: 1fr 1fr; }
.cs-imgs.row { grid-template-columns: repeat(3, 1fr); }
.cs-img { width: 100%; object-fit: cover; background: var(--card); }

.cs-fig { margin: 0; }
.cs-sub .cs-fig { margin-top: var(--s2); }
.cs-sub .cs-fig .cs-img { margin-top: 0; }
.cs-fig figcaption { margin-top: var(--s2); font-size: var(--t-body); line-height: var(--lh-body); color: var(--muted); max-width: 46em; text-wrap: pretty; }
.cs-fig figcaption strong { font-weight: 500; color: var(--ink); }
.cs-fig figcaption strong + span::before { content: "\2002"; }
.cs-img-ph { width: 100%; }

.cs-plate { position: relative; margin: var(--s4) 0 0; container-type: inline-size; }
.cs-sub .cs-plate { margin-top: var(--s2); }
.cs-imgs > .cs-plate { margin-top: 0; }
.cs-plate + .cs-plate { margin-top: var(--s4); }

@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --gy { syntax: '<percentage>'; inherits: false; initial-value: 38%; }
.cs-plate-stage {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(ellipse 77% 77% at var(--gx) var(--gy), var(--plate-hi), var(--plate-lo));
  transition: --gx 1.2s cubic-bezier(.2, .7, .2, 1), --gy 1.2s cubic-bezier(.2, .7, .2, 1);
}
.cs-plate-stage img { display: block; width: 100%; height: 100%; filter: brightness(var(--img-dim)); transition: filter .3s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .cs-plate-stage:hover img { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-plate-stage { transition: none; }
  .cs-plate-stage img { transform: none !important; transition: filter .3s ease; }
}
.cs-plate-stage:hover img { filter: none; }
.cs-plate figcaption {
  position: absolute; z-index: 1; top: 4.5cqw; left: 6.25cqw; right: 6.25cqw;
  text-align: center; pointer-events: none;
}
.cs-plate-title { display: block; font-size: max(18px, 2.25cqw); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--plate-title); text-wrap: balance; }
.cs-plate-sub { display: block; font-size: max(13px, 1.19cqw); line-height: 1.4; color: var(--plate-sub); text-wrap: balance; }
.cs-plate-title + .cs-plate-sub { margin-top: .9cqw; }

.cs-plate { display: flex; flex-direction: column; }
@container (max-width: 800px) {
  .cs-plate figcaption { position: static; order: 1; margin-top: 12px; text-align: left; max-width: 40em;
    font-size: 13px; line-height: 1.45; color: var(--plate-cap); text-wrap: pretty; }
  .cs-plate-title, .cs-plate-sub { display: inline; font-size: inherit; line-height: inherit; letter-spacing: 0; text-wrap: inherit; }
  .cs-plate-title { font-weight: 500; color: var(--ink); }
  .cs-plate-title:has(+ .cs-plate-sub)::after { content: "."; }
  .cs-plate-sub { color: var(--plate-cap); }
  .cs-plate-title + .cs-plate-sub { margin-top: 0; }
  .cs-plate-title + .cs-plate-sub::before { content: " "; }
}

.cs-sub { margin-top: var(--s6); }
.cs-sub h3 { margin-bottom: 12px; text-wrap: balance; }
.cs-sub .cs-img, .cs-sub .cs-img-ph { margin-top: var(--s2); }

.cs-more { padding-top: var(--s8); margin-top: var(--s3); border-top: 1px solid var(--line); }
.cs-more > h2 { margin-bottom: var(--s4); }

.resume-back, .resume-download { position: fixed; top: var(--s2); left: var(--pad); z-index: 10; display: inline-flex; align-items: center; gap: var(--s1); color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: var(--s1) var(--s2); }
.resume-download { left: auto; right: var(--pad); }
#resume-shell { width: 100%; height: 100vh; height: 100dvh; background: var(--card); display: flex; align-items: center; justify-content: center; }
#resume-shell object { width: 100%; height: 100%; border: 0; }
.resume-empty { max-width: 420px; text-align: center; color: var(--muted); padding: var(--s3); }
.resume-empty p:first-child { color: var(--ink); margin-bottom: var(--s1); }
.resume-empty code { font-size: var(--t-body); }
.resume-empty .btn { margin-top: var(--s3); }

.resume-open { max-width: 420px; text-align: center; padding: var(--s3); }
.resume-open .t-h3 { margin-bottom: var(--s2); color: var(--ink); }
.resume-open p { color: var(--muted); }
.resume-open .btn { margin-top: var(--s3); }

@media (max-width: 1200px) {

  :root { --pad: 24px; --t-display: 90px; --t-h1: 56px; --t-h2: 40px; --t-num: 34px; --t-quote: 26px; --t-card: 22px; --t-sub: 22px; --t-lg: 16px; --section: var(--s12); }
}

@media (max-width: 1024px) {

  .cs-glance { grid-template-columns: 1fr; gap: var(--s4); }
  .cs-section { grid-template-columns: .8fr 2fr; gap: var(--s4); }
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: var(--s8); }
  .footer-cols > .footer-about { grid-column: 1 / -1; }
  .practice-teaser { grid-template-columns: 1fr 1fr; row-gap: var(--s8); }

  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3n) .flow-num::after { display: flex; }
  .flow li:nth-child(2n) .flow-num::after, .flow li:last-child .flow-num::after { display: none; }
}

@media (max-width: 860px) {

  :root { --t-display: 42px; --t-h1: 39px; --t-h2: 32px; --t-stat: 40px; --t-num: 27px; --t-quote: 22px; --t-card: 20px; --t-sub: 20px; --section: var(--s10); }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    margin: 0; flex-direction: column; align-items: flex-start; gap: 0;
    padding: var(--s1) var(--pad) var(--s3); background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
  }
  .nav-links a { font-size: var(--t-body); padding: 10px 0; }
  .nav-links a::after { bottom: 8px; }
  .nav-toggle { margin-left: 0; }
  .theme-toggle { margin-left: auto; }

  .hero { min-height: 0; }
  .hero .wrap { padding-bottom: var(--s6); }
  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: var(--s5); }
  .hero-copy { gap: var(--s5); }
  .hero-portrait { max-width: 420px; justify-self: start; }
  .about-hero { grid-template-columns: 1fr; gap: var(--s6); }
  .about-head { padding-bottom: var(--s8); }
  .about-grid { grid-template-columns: 1fr; gap: var(--s2); }
  .practice, .about-copy, .about-tools .section-head, .tools, .flow-band .section-head, .teams .section-head, .flow { padding-left: 0; }
  .tools-row { grid-template-columns: 1fr; gap: var(--s1); }
  .practices .wrap > * + * { margin-top: var(--s12); }
  .works { row-gap: var(--s10); }
  .work { flex-basis: 100%; }
  .testi { grid-template-columns: 1fr; gap: var(--s5); }
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s6); }
  .footer-cta { gap: var(--s4); }
  .footer-cols { gap: var(--s6) var(--s5); padding: var(--s6) 0 var(--s8); }
  .footer-cols--first { padding-top: 0; }
}

@media (max-width: 860px) {

  .cs-stage, .cs-stage--fan { --pw: min(220px, 58cqw); justify-content: flex-start; gap: var(--s3); padding: var(--s6) var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--s3); scrollbar-width: none; }
  .cs-stage::-webkit-scrollbar { display: none; }
  .cs-stage .phone { margin: 0 !important; scroll-snap-align: start; }
  .cs-stage .phone:last-child { margin-right: var(--s3) !important; }

  .cs-stage--switch { --pw: min(240px, 62cqw); flex-direction: column; align-items: center; justify-content: center; overflow: visible; scroll-snap-type: none; padding: var(--s6) var(--s3); }
}

@media (max-width: 1024px) {

  .cs-journey { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--s3); scrollbar-width: none; padding: var(--s6) var(--s3); }
  .cs-journey::-webkit-scrollbar { display: none; }
  .cs-journey li { scroll-snap-align: start; }
  .cs-journey .phone { --pw: 132px; }
}

@media (max-width: 640px) {

  .cs-stage, .cs-journey { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scroll-padding: 0 var(--pad); }
  :root { --t-stat: min(40px, 10vw); --pad: 20px; }
  .btn { padding: 18px 28px; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s8) var(--s2); margin-top: var(--s8); }
  .stat-label { margin-top: 12px; font-size: var(--t-body); }
  .testi-card { padding: 24px; }
  .practice-teaser, .flow { grid-template-columns: 1fr; gap: var(--s5); }
  .flow li:nth-child(n) .flow-num::after { display: flex; }
  .flow li:last-child .flow-num::after { display: none; }
  .practice-head { padding-bottom: var(--s8); }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-foot { flex-direction: column; }
  .cs-overview { grid-template-columns: 1fr; gap: var(--s4); margin-bottom: var(--s6); }
  .cs-section { grid-template-columns: 1fr; gap: var(--s2); padding: var(--s6) 0; }
  .cs-section-head h2 { position: static; }
  .cs-imgs.pair, .cs-imgs.row { grid-template-columns: 1fr; }
  .cs-banner { aspect-ratio: 16 / 10; margin-bottom: var(--s6); }
  .cs-title { max-width: none; }
}

:root {

  --lh-display: 1.15; --ls-display: -.01em;
  --lh-h1: 1.2;       --ls-h1: 0;
  --lh-h2: 1.22;      --ls-h2: 0;
  --lh-quote: 1.3;    --ls-quote: 0;
  --lh-card: 1.32;    --ls-card: 0;
}
:root :is(.t-display, .t-h1, .t-h2, .t-h3, .t-quote, .cs-section-head h2, .cs-lead p, .about-lead,
  .greet, .tools-names, .work-title, .footer-brand, .nav-logo) {
  font-family: var(--serif); font-weight: 500; text-transform: none; font-feature-settings: normal;
}

:root :is(.cs-lead p, .about-lead) { font-weight: 400; }

:root :is(.t-display, .t-h1, .t-h2, .t-h3, .cs-section-head h2, .tools-names, .work-title) { text-wrap: balance; }

:root .greet { font-family: 'Libre Caslon Condensed', 'Noto Sans Devanagari', serif; letter-spacing: 0; }
:root .nav-logo, :root .footer-brand { letter-spacing: 0; line-height: 1; }

:root .cs-sub h3 { font-size: var(--t-sub); line-height: 1.3; letter-spacing: 0; }

:root .cs-lead p, :root .about-copy .about-lead { line-height: 1.5; letter-spacing: 0; }
