:root {
  --ink: #222;
  --hero: #3A3631;
  --cream: #F2EFE8;
  --paper: #fbfaf7;
  --rule: #c7c4bc;
  --soft: #4e4b46;
  --ease: cubic-bezier(.2, .7, .25, 1);
  --gutter: clamp(20px, 5vw, 76px);
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { background: var(--hero); scroll-padding-block-start: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 Geist, "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, .text { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:is(.hero, .bar) a:focus-visible, #demo a:focus-visible { outline-color: #fff; }
#demo a:focus-visible { outline-offset: -6px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: #555; }
.arrow { width: 14px; height: 14px; flex: none; }
.arrow-lg { width: 24px; height: 24px; flex: none; }
.arrow, .arrow-lg { transition: transform .2s var(--ease), opacity .2s; }

.hero {
  min-height: clamp(610px, 81svh, 800px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(56px, 6vw, 100px);
  padding: clamp(28px, 3vw, 44px) max(var(--gutter), (100% - 1360px) / 2) clamp(36px, 3.8vw, 64px);
  background: var(--hero);
  color: #faf9f5;
}
.masthead > a { display: flex; }
.masthead {
  --nav-column: clamp(164px, 15vw, 225px);
  --masthead-gap: clamp(28px, 4vw, 64px);
  --masthead-rail: calc(var(--nav-column) + var(--masthead-gap) + var(--nav-column));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  container-type: inline-size;
}
.masthead-right {
  display: grid;
  width: var(--masthead-rail);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--masthead-gap);
}
.brand-name { display: inline-block; }
.mobile-menu { display: none; }
.mobile-menu-dialog { display: none; }
.masthead > a path, .home path { transition: transform .22s var(--ease); }
.masthead > a:focus-visible path, .home:focus-visible path { transform: translateX(3px); }
.wordmark { border-top: 3px solid; padding-top: 7px; font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.nav { border-top: 3px solid; }
.nav li { border-bottom: 1px solid #817c74; }
.nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding: 5px 0;
  transition: background-color .18s, padding .2s var(--ease);
}
.nav a:focus-visible { padding-inline: 8px; background: #47423c; }
.nav li:last-child a { font-weight: 500; }
h1 { max-width: 980px; font-size: clamp(48px, 6.6vw, 92px); font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.hero h1 {
  max-width: none;
  margin-left: -.035em;
  font-size: clamp(58px, 6.5vw, 96px);
  line-height: .99;
  letter-spacing: -.052em;
}
.hero h1 > span { display: block; width: fit-content; max-width: 100%; }
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .masthead {
    --opening-name-x: 118px;
    --opening-name-y: -21px;
    --opening-name-scale: 3;
    --opening-mark-scale: calc(96 / 72);
    --settle: 810ms cubic-bezier(.58, .02, .19, 1) 775ms backwards;
  }
  .masthead > a svg {
    transform-origin: top left;
    animation: settle-mark var(--settle);
  }
  .masthead .brand-chevrons path {
    animation: enter-chevron 460ms var(--ease) backwards;
  }
  .masthead .brand-chevrons path + path { animation-delay: 115ms; }
  .wordmark { position: relative; border-top-color: transparent; }
  .wordmark::before {
    content: "";
    position: absolute;
    inset: -3px 0 auto;
    height: 3px;
    background: currentColor;
    transform-origin: left;
    animation: draw-brand-rule 440ms var(--ease) 1090ms backwards;
  }
  .brand-name {
    transform-origin: top left;
    animation: reveal-name 410ms var(--ease) 45ms backwards, settle-name var(--settle);
  }

  @keyframes enter-chevron {
    from { opacity: .25; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes reveal-name {
    from { clip-path: polygon(-12% -15%, -12% -15%, 0 50%, -12% 115%, -12% 115%); }
    to { clip-path: polygon(-12% -15%, 100% -15%, 112% 50%, 100% 115%, -12% 115%); }
  }
  @keyframes settle-name {
    /* The name starts beside the mark. Its resting column starts one rail width from the right edge. */
    from { transform: translate(calc(var(--opening-name-x) - (100cqw - var(--masthead-rail))), var(--opening-name-y)) scale(var(--opening-name-scale)); }
    to { transform: none; }
  }
  @keyframes settle-mark {
    from { transform: scale(var(--opening-mark-scale)); }
    to { transform: none; }
  }
  @keyframes draw-brand-rule {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}
.actions { margin-top: clamp(28px, 2.6vw, 42px); display: flex; flex-wrap: wrap; gap: 12px; }

/* The case study sits in the outer margin of the masthead, beside the main promise. */
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 17.4vw, 255px); align-items: end; gap: clamp(20px, 3vw, 48px); }
.featured-case { display: grid; justify-items: start; border-top: 1px solid #969085; padding-top: 13px; color: #f4efe5; }
.case-kicker { font: 12px/1.4 "Geist Mono", ui-monospace, monospace; color: #d6d0c5; }
.case-result { margin: 13px 0 3px; font-size: clamp(39px, 3.4vw, 54px); line-height: 1; letter-spacing: -.055em; }
.case-detail { text-wrap: balance; color: #e3ded5; font-size: 15px; line-height: 1.45; }
.case-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 18px; font-size: 14px; }
.featured-case:focus-visible .case-link { text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) and (pointer: fine) {
  .featured-case:hover .case-link { text-decoration: underline; text-underline-offset: .2em; }
}
@media (prefers-reduced-motion: no-preference) {
  .featured-case:focus-visible .arrow { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .featured-case:hover .arrow { transform: translateX(3px); }
}
@media (max-width: 900px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .featured-case { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 16px; padding-top: 12px; }
  .case-kicker { grid-column: 1 / -1; }
  .case-result { margin: 0; font-size: clamp(30px, 6.8vw, 40px); }
  .case-detail { max-width: 22ch; }
  .case-link { grid-column: 1 / -1; width: auto; margin-top: 5px; }
}
@media (max-width: 365px) {
  .featured-case { column-gap: 10px; }
  .case-detail { font-size: 14px; }
}

.pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 184px; min-height: 46px; padding: 8px 20px; border: 1px solid; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.hero .pill:not(.pill-solid) { border-color: #aaa49b; }
:is(.hero, .bar) .pill-solid { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.pill:focus-visible .arrow { transform: translateX(3px); }

main, .foot, .copyright { box-sizing: content-box; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
section { margin-top: clamp(64px, 7vw, 104px); border-top: 2px solid; padding-top: clamp(16px, 1.6vw, 24px); }
h2 { font-size: clamp(30px, 2.8vw, 42px); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
h3 { margin-bottom: 8px; font-size: 20px; font-weight: 500; }
.list { margin-top: clamp(28px, 3.4vw, 50px); border-bottom: 1px solid var(--rule); }
.list > * { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.list .name { flex: 1 1 480px; min-width: 0; }
.list .text { flex: 1 1 320px; min-width: 0; max-width: 460px; font-size: 15px; }

.list > .industry {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(110px, .50fr) minmax(0, 1fr) 40px;
  align-items: baseline;
  gap: 12px clamp(20px, 2.7vw, 40px);
  padding-block: clamp(24px, 2.5vw, 36px);
  padding-inline-end: clamp(16px, 1.8vw, 26px);
}
.industry .name { font-size: clamp(46px, 5.5vw, 80px); letter-spacing: -.05em; line-height: .98; transition: transform .24s var(--ease); }
.industry .mono { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); }
.industry .mono::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; border: 1px solid #827e76; }
#legalos .mono::before { background: currentColor; border-color: currentColor; }
.industry .arrow-lg { align-self: center; justify-self: end; width: 36px; height: 36px; padding: 8px; border-radius: 50%; transition: color .2s, background-color .2s; }
.industry .text { line-height: 1.5; }
.industry, .post { transition: background-color .2s; }
.industry:focus-visible, .post:focus-visible { background: var(--cream); }
.industry:focus-visible .arrow-lg { background: var(--ink); color: var(--paper); }
.post .text { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 840px) {
  .list > .industry { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; align-items: center; }
  .industry .name { grid-area: 1 / 1 / 3; }
  .industry .mono { grid-area: 1 / 2; }
  .industry .text { grid-area: 2 / 2; }
  .industry .arrow-lg { grid-area: 1 / 3 / 3; }
}
@media (max-width: 580px) {
  .list > .industry { grid-template-columns: minmax(0, 1fr) 36px; gap: 10px 16px; }
  .industry .name { grid-area: 1 / 1; }
  .industry .mono { grid-area: 2 / 1; }
  .industry .text { grid-area: 3 / 1 / 4 / -1; }
  .industry .arrow-lg { grid-area: 1 / 2; }
}
.fact { gap: 12px 48px; padding: 28px 0; }
.fact .name { flex-basis: 420px; margin: 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.23; font-weight: 400; letter-spacing: -.032em; }

.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 460px; min-width: 0; }
.platform { align-items: center; padding: clamp(24px, 4vw, 60px) 0; }
.lead { max-width: 560px; font-size: 22px; line-height: 1.3; }
.lead + .lead { margin-top: 24px; }
.lead ~ .pill { margin-top: 36px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--rule); padding-top: 24px; }
.grid p { font-size: 15px; color: var(--soft); }
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px) { .grid { grid-template-columns: 1fr; } }

#demo { margin: clamp(64px, 7vw, 104px) 0 clamp(48px, 5vw, 72px); }
#demo a { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: clamp(150px, 14vw, 206px); padding: clamp(22px, 2.7vw, 40px); background: var(--hero); color: #fff; transition: background .15s; }
#demo .title { display: block; font-size: clamp(32px, 3.6vw, 54px); letter-spacing: -.04em; line-height: 1.1; }
.booking-arrow { flex: none; width: clamp(56px, 7vw, 106px); height: auto; overflow: visible; }
.booking-shaft { stroke-dasharray: 1; stroke-dashoffset: 1; }
#demo a:focus-visible .booking-first { transform: translateX(20px); opacity: 0; }
#demo a:focus-visible .booking-point { transform: translateX(9px); }
#demo a:focus-visible .booking-shaft { stroke-dashoffset: 0; }
@media (hover: hover) and (pointer: fine) {
  #demo a:hover .booking-first { transform: translateX(20px); opacity: 0; }
  #demo a:hover .booking-point { transform: translateX(9px); }
  #demo a:hover .booking-shaft { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .booking-arrow path { transition: transform .32s var(--ease), opacity .25s, stroke-dashoffset .35s var(--ease); }
}
#demo .mono { display: block; margin-top: 12px; color: #BBB; }

footer { background: var(--cream); border-top: 1px solid var(--rule); }
.foot { padding-top: 64px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; font-size: 14px; }
.foot-brand { flex: 1 1 260px; }
.foot-brand span { font-size: 32px; font-weight: 500; letter-spacing: -0.04em; }
.foot-brand p { margin-top: 8px; color: var(--soft); }
.foot nav { flex: 2 1 520px; display: flex; flex-wrap: wrap; gap: 40px; }
.foot nav div { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.foot nav span { font-weight: 500; }
.foot nav a { padding: 2px 0; margin: -2px 0; }
.foot nav a:hover { text-decoration: underline; }
@media (max-width: 519px) { .foot nav { column-gap: 20px; } .foot nav div { min-width: 130px; } }
.copyright { padding-top: 20px; padding-bottom: 40px; font-size: 13px; color: var(--soft); }

.bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding: 20px max(var(--gutter), (100% - 1360px) / 2); background: var(--hero); color: #fff; }
.home { display: flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 500; letter-spacing: -0.04em; }
article { max-width: 720px; padding-top: clamp(30px, 4vw, 62px); }
article .mono a:hover { text-decoration: underline; }
article h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
article h2 { margin-top: 64px; }
article h3 { margin: 40px 0 0; }
article p, article ul { margin-top: 16px; font-size: 17px; line-height: 1.6; }
article .lead { margin-top: 24px; font-size: 22px; line-height: 1.3; }
article ul { padding-left: 22px; list-style: disc; }
article li + li { margin-top: 8px; }
article .facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; margin: 34px 0 0; padding: 16px 0 20px; border-top: 1px solid var(--rule);
}
.facts dt { margin: 0; line-height: 1.25; }
.facts dd { margin: 6px 0 0; line-height: 1.45; }
.facts .mono { letter-spacing: .03em; }
article .facts.stats {
  gap: 0; border-block: 1px solid var(--rule); border-top-color: var(--ink);
  padding: 20px 0 22px;
}
.facts.stats > div { padding-inline: clamp(16px, 2vw, 30px); border-left: 1px solid var(--rule); }
.facts.stats > div:first-child { border: 0; padding-left: 0; }
.facts.stats > div:last-child { padding-right: 0; }
.facts.stats dt { font-size: clamp(23px, 2.2vw, 34px); font-weight: 400; line-height: 1.08; overflow-wrap: anywhere; letter-spacing: -.042em; text-wrap: balance; }
.facts.stats dd { margin-top: 10px; color: var(--soft); font-size: 15px; text-wrap: pretty; }
article .facts + .facts { margin-top: 6px; }
article .facts + h2 { margin-top: clamp(36px, 4vw, 60px); }
@media (min-width: 640px) {
  .facts.stats > div { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}
@media (max-width: 639px) {
  article .facts { grid-template-columns: 1fr; gap: 0; margin-top: 26px; padding: 0; }
  .facts > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 9px 0; }
  .facts dd { margin: 0; }
  article .facts.stats { padding: 0; }
  .facts.stats > div { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 20px; padding: 16px 0; border: 0; }
  .facts.stats > div + div { border-top: 1px solid var(--rule); }
  .facts.stats dt { font-size: 23px; line-height: 1.12; }
  .facts.stats dd { margin: 0; font-size: 14px; }
}
@media (max-width: 370px) {
  .facts.stats > div { grid-template-columns: 1fr; gap: 5px; }
}
@media (min-width: 1000px) {
  article:has(> .facts) {
    display: grid; grid-template-columns: minmax(0, 720px) minmax(190px, 300px);
    column-gap: clamp(48px, 7vw, 108px); max-width: 1160px;
  }
  article:has(> .facts) > * { grid-column: 1; min-width: 0; }
  article > .facts:not(.stats):has(+ .stats) {
    grid-column: 2; grid-row: 2 / 5; align-self: start;
    grid-template-columns: 1fr; gap: 0; margin: 16px 0 0; padding: 0;
  }
  .facts:not(.stats) > div { padding: 10px 0 14px; border-bottom: 1px solid var(--rule); }
  .facts:not(.stats) dd { font-size: 15px; }
  article > .facts.stats { grid-column: 1 / -1; margin-top: 36px; }
}
.table { margin-top: 24px; overflow-x: auto; }
table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 16px 12px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { font-weight: 500; }
article figure { margin: 40px 0 0; border-left: 3px solid; padding-left: 20px; }
article blockquote { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
article figcaption { margin-top: 12px; }
article .byline { margin-top: 18px; }
article .byline + p { margin-top: 24px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
article .table:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
#why-now .lead { margin-top: 18px; }
.figures { margin-top: clamp(26px, 3.2vw, 48px); padding-top: 0; border: 0; }
.figures > div { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--rule); padding-top: 18px; }
.figures .source { margin-top: auto; padding-top: 12px; }
.figures .stat { margin-bottom: 12px; font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.source { display: inline-block; margin-top: 12px; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.source:hover { color: var(--ink); text-decoration-color: currentColor; }
#why-now .list { border-block: 1px solid var(--rule); }
#why-now .quote {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 17px 0; gap: 10px; border-top: 0;
}
#why-now .quote + .quote { border-top: 1px solid var(--rule); }
#why-now .quote .name {
  flex: none; font: 400 clamp(20px, 2vw, 29px)/1.29 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em; text-wrap: pretty;
}
#why-now .quote .text { flex: none; display: block; font-size: 14px; line-height: 1.42; }
#why-now .quote .text > span { display: block; font-weight: 500; }
#why-now .quote .source { margin-top: 3px; font-size: 12px; line-height: 1.45; text-underline-offset: 2px; }
@media (min-width: 900px) {
  #why-now .list {
    display: grid; grid-template-columns: 1.04fr 1.22fr .9fr; gap: 0;
    padding-block: 25px;
  }
  #why-now .quote { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 22px; padding: 0 clamp(20px, 2.6vw, 38px); }
  #why-now .quote + .quote { border-top: 0; border-left: 1px solid var(--rule); }
  #why-now .quote:first-child { padding-left: 0; }
  #why-now .quote:last-child { padding-right: 0; }
}

/* Pair the heading and its introduction when there is room for both. */
@media (min-width: 900px) {
  #why-now { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  #why-now .lead { justify-self: end; width: 100%; max-width: none; margin: 0; font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.025em; }
  #why-now > :is(.figures, .list) { grid-column: 1 / -1; }
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { padding-inline: 8px; background: #47423c; }
  .masthead > a:hover path, .home:hover path { transform: translateX(3px); }
  .pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  :is(.hero, .bar) .pill:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .pill:hover .arrow { transform: translateX(4px); }
  .industry:hover, .post:hover { background: var(--cream); }
  .industry:hover .name { transform: translateX(6px); }
  .industry:hover .arrow-lg { background: var(--ink); color: var(--paper); }
  .post:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
  #demo a:hover { background: #292621; }
}

@media (max-width: 1000px) {
  .masthead {
    --opening-name-x: 103px;
    --opening-name-y: -13px;
    --opening-name-scale: 2.25;
    --opening-mark-scale: 1.2;
  }
}
@media (max-width: 680px), (max-width: 900px) and (max-height: 520px) {
  .hero { min-height: clamp(540px, 78svh, 660px); gap: clamp(48px, 8svh, 64px); padding-block: 24px 30px; }
  .masthead > a svg { width: 38px; height: 38px; animation: none; }
  .masthead {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .masthead > a { grid-column: 1; grid-row: 1; min-height: 44px; align-items: center; }
  .masthead-right { display: contents; }
  .masthead-right > nav { display: none; }
  .wordmark { grid-column: 2; grid-row: 1; border: 0; padding: 0; font-size: 30px; }
  .wordmark::before { display: none; }
  .brand-name { animation: none; }
  .mobile-menu { display: block; grid-column: 3; grid-row: 1; }
  .mobile-menu[open] { grid-column: 1 / -1; grid-row: 2; }
  .mobile-menu summary, .mobile-menu-close {
    display: grid; place-items: center; width: 44px; height: 44px;
    margin: 0 -10px 0 0; padding: 0; border: 0; background: transparent; color: inherit;
    list-style: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu-close { border-radius: 50%; }
  .mobile-menu summary:focus-visible, .mobile-menu-dialog :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  .mobile-menu[open] summary { position: absolute; top: 0; right: 0; }
  .menu-icon { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .menu-icon path { transition: transform .24s var(--ease), opacity .16s; }
  .menu-icon path:first-child { transform-origin: 12px 6px; }
  .menu-icon path:last-child { transform-origin: 12px 18px; }
  .mobile-menu[open] summary, .mobile-menu-dialog[open]:not([data-closing]) .mobile-menu-close { --menu-cross: 1; }
  .menu-icon path:first-child { transform: translateY(calc(6px * var(--menu-cross, 0))) rotate(calc(45deg * var(--menu-cross, 0))); }
  .menu-icon path:nth-child(2) { opacity: calc(1 - var(--menu-cross, 0)); }
  .menu-icon path:last-child { transform: translateY(calc(-6px * var(--menu-cross, 0))) rotate(calc(-45deg * var(--menu-cross, 0))); }
  .mobile-menu nav {
    margin-top: 4px; padding: 8px 0 12px;
    border-block: 1px solid #817c74;
  }
  .mobile-menu .nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); column-gap: 24px; border: 0; }
  .mobile-menu .nav a { min-height: 52px; padding-block: 12px; font-size: 16px; }
  html:has(.mobile-menu-dialog[open]) { overflow: hidden; }
  .mobile-menu-dialog {
    position: fixed; inset: 0 0 auto; width: 100%; max-width: none;
    max-height: 100dvh; margin: 0; padding: 0; border: 0;
    color: #faf9f5; background: var(--hero);
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 16px 40px rgb(0 0 0 / 14%);
    opacity: 0; transform: translateY(-18px);
    transition: opacity .24s ease, transform .28s var(--ease);
  }
  .mobile-menu-dialog[open] { display: block; }
  .mobile-menu-dialog[open]:not([data-closing]) { opacity: 1; transform: none; }
  .mobile-menu-dialog::backdrop {
    background: rgb(15 13 11 / 0%);
    transition: background .24s ease;
  }
  .mobile-menu-dialog[open]:not([data-closing])::backdrop { background: rgb(15 13 11 / 48%); }
  .mobile-menu-header {
    position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
    padding: 24px var(--gutter) 20px; background: var(--hero);
  }
  .menu-brand { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
  .menu-brand svg { flex: none; }
  .mobile-menu-dialog nav { padding: 8px var(--gutter) 28px; }
  .mobile-menu-dialog .nav { border-top: 1px solid #817c74; }
  .mobile-menu-dialog .nav a { min-height: 62px; padding: 12px 0; font-size: clamp(24px, 7vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
  .mobile-menu-dialog .nav li:last-child { margin-top: 24px; border: 0; }
  .mobile-menu-dialog .nav li:last-child a {
    min-height: 52px; padding: 12px 20px; border-radius: 999px;
    background: var(--cream); color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: 0;
  }
  .mobile-menu-dialog .nav a:focus-visible { outline-offset: -3px; }
  @starting-style {
    .mobile-menu-dialog[open]:not([data-closing]) { opacity: 0; transform: translateY(-18px); }
    .mobile-menu-dialog[open]:not([data-closing])::backdrop { background: rgb(15 13 11 / 0%); }
    .mobile-menu-dialog[open]:not([data-closing]) .mobile-menu-close { --menu-cross: 0; }
  }
  .hero-foot { flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 36px; }
  .hero h1 { font-size: clamp(32px, 10vw, 58px); letter-spacing: -.047em; line-height: 1.03; }
  .hero .actions { margin-top: 26px; gap: 18px; align-items: center; }
  .hero .actions .pill { min-width: 0; min-height: 50px; gap: 18px; padding-inline: 18px; }
  .hero .actions .pill-solid { flex: 1 1 160px; min-width: max-content; gap: 12px; padding-inline: 16px; }
  .hero .actions .pill:not(.pill-solid) { border: 0; border-radius: 0; padding-inline: 0; }
  .hero .actions .pill:not(.pill-solid) .arrow { display: none; }
  .hero .featured-case { row-gap: 6px; padding-top: 16px; }
  .hero .case-result { font-size: 34px; }
  .hero .case-detail { font-size: 14px; }
  .hero .case-link { margin-top: 6px; font-size: 13px; }
}
@media (max-width: 680px) {
  .split { gap: 24px; }
  .figures { row-gap: 26px; }
  .bar { padding-block: 14px; gap: 10px; }
  .home { gap: 8px; font-size: 24px; }
  .home svg { width: 32px; height: 32px; }
  .bar .pill { min-width: 0; gap: 15px; padding: 8px 14px; min-height: 44px; }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @media (max-width: 680px), (max-width: 900px) and (max-height: 520px) {
    .masthead .brand-name { animation: mobile-brand-enter 500ms var(--ease) 80ms backwards; }
    @keyframes mobile-brand-enter {
      from { opacity: 0; transform: translateX(-7px); }
      to { opacity: 1; transform: none; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, *::backdrop { transition: none !important; }
  .nav a:is(:hover, :focus-visible) { padding-inline: 0; }
  :is(.masthead > a, .home):is(:hover, :focus-visible) path,
  :is(.pill, .industry):is(:hover, :focus-visible) :is(.arrow, .arrow-lg, .name) { transform: none; }
}

/* The two views share the same projection so the selected firm's layers stay in context. */
.platform-plate { margin: 0; }
.platform-views {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(14px, 2vw, 25px);
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0 clamp(10px, 2vw, 24px);
  background: #f1efe8;
}
.platform-views > input, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.platform-views label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 100%;
  align-self: stretch;
  min-height: 44px;
  color: #5f5b53;
  font-size: .875rem;
  cursor: pointer;
  -webkit-tap-highlight-color: rgb(77 72 60 / 9%);
}
.platform-views label::before {
  content: "";
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.platform-views input:checked + label { color: var(--ink); }
.platform-views input:checked + label::before {
  background: currentColor;
  box-shadow: inset 0 0 0 2px #f1efe8;
}
.platform-views input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) {
  .platform-views label:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
}
.platform-print {
  display: block;
  order: -2;
  flex: 0 0 100%;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: clamp(12px, 2vw, 24px) auto 7px;
}
.platform-views::after {
  content: "";
  order: -1;
  flex: 0 0 100%;
  border-top: 1px solid #cfcdc2;
  pointer-events: none;
}
.platform-print .diagram-geometry { stroke: #48473f; stroke-width: 1.3; stroke-linejoin: round; }
.platform-print .plane-base { fill: #eae7dd; }
.platform-print .layer-top { fill: #fbfaf4; }
.platform-print .plane-left, .platform-print .layer-left { fill: #e8e5da; }
.platform-print .plane-right, .platform-print .layer-right { fill: #d6d3c6; }
.platform-print .etch { stroke: #b7b3a8; stroke-width: .7; fill: none; }
.platform-print .diagram-key { font-size: 16px; fill: #47453f; }
.platform-print .diagram-key path { stroke: currentColor; stroke-width: .85; fill: none; }
.platform-print .isolation-guides { fill: none; stroke: #78786a; stroke-width: .9; stroke-dasharray: 3 3; }
.platform-print .layer-detail { fill: none; stroke: #646b5a; stroke-width: .9; opacity: 0; }
.platform-print :is(.isolation-key, .isolation-guides) { opacity: 0; }
#view-isolation:checked ~ svg .overview-key { opacity: 0; }
#view-isolation:checked ~ svg :is(.isolation-key, .isolation-guides, .layer-detail) { opacity: 1; }
#view-isolation:checked ~ svg .storage-upper { transform: translateY(-58px); }
#view-isolation:checked ~ svg .storage-lower { transform: translateY(-18px); }
#view-isolation:checked ~ svg .layer-top { fill: #e5e8d9; }
#view-isolation:checked ~ svg .layer-left { fill: #cfd6bb; }
#view-isolation:checked ~ svg .layer-right { fill: #acb59e; }
@media (prefers-reduced-motion: no-preference) {
  .platform-print :is(.storage-upper, .storage-lower) { transition: transform .5s cubic-bezier(.22,.75,.25,1); }
  .platform-print :is(.layer-top, .layer-left, .layer-right) { transition: fill .33s; }
  .platform-print :is(.overview-key, .isolation-key, .isolation-guides, .layer-detail) { transition: opacity .13s; }
  #view-isolation:checked ~ svg .isolation-key { transition-delay: .27s; }
}
@media (max-width: 680px) {
  .platform-views { padding-inline: 12px; }
  .platform-print .diagram-key { font-size: 21px; }
}
@media (forced-colors: active) {
  .platform-views input:checked + label::before { background: Highlight; border: 4px solid Highlight; }
}

/* Four working parts, drawn at the same scale as the platform cutaway. */
.platform-features { align-items: start; }
.platform-feature {
  --print-paper: #fbfaf4;
  --print-metal: #e8e5da;
  --print-side: #d6d3c6;
  --print-tint: #d6ddc7;
  position: relative;
  padding-top: 100px;
}
.platform-feature h3 { margin-bottom: 7px; }
.platform-feature details { margin-top: 10px; }
.platform-feature summary {
  display: flex; width: fit-content; align-items: center; gap: 9px; min-height: 40px;
  list-style: none; color: #43473b; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.platform-feature summary::-webkit-details-marker { display: none; }
/* Stretch the native disclosure target over the card, preserving the heading in the document outline. */
.platform-feature summary::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature-label { font: 12px/1.4 "Geist Mono", ui-monospace, monospace; }
.platform-feature summary::after {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: -3px;
  border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.platform-feature details[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.platform-feature summary:focus-visible { outline: none; }
.platform-feature summary:focus-visible::before { outline: 2px solid var(--ink); outline-offset: 3px; }
.platform-feature details p {
  margin: 3px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--soft);
}
.platform-feature details a {
  position: relative; z-index: 2;
  color: var(--ink); text-decoration: underline; text-underline-offset: .18em;
}
.feature-print {
  position: absolute; top: 0; left: -5px; width: 144px; height: 91px; display: block;
  fill: none; stroke: #48473f; stroke-width: 1.35; stroke-linejoin: round; stroke-linecap: round;
}
.feature-print .print-light { fill: var(--print-paper); }
.feature-print .print-face { fill: var(--print-metal); }
.feature-print .print-side { fill: var(--print-side); }
.feature-print .print-soft { fill: var(--print-tint); }
.feature-print .print-recess { fill: #8f9581; }
.feature-print .print-line { stroke-width: 1.1; }
.feature-print .print-guide { stroke: #8a8c80; stroke-dasharray: 2 3; }
.feature-print .routing-node { fill: var(--print-paper); }
.feature-print .print-binding { stroke-width: 2.5; }
.feature-print :is(.routing-trace, .approval-mark) { stroke: #576846; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.platform-feature details[open], .platform-feature summary:is(:focus-visible, :active) { --inspect: 1; }
.platform-feature summary:is(:focus-visible, :active) .feature-label { text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) and (pointer: fine) {
  .platform-feature summary:hover { --inspect: 1; }
  .platform-feature summary:hover .feature-label { text-decoration: underline; text-underline-offset: .2em; }
}
.feature-print .file-tray { transform: translate(calc(-12px * var(--inspect, 0)), calc(8px * var(--inspect, 0))); }
.feature-print .file-tabs { transform: translateY(calc(4px - 9px * var(--inspect, 0))); }
.feature-print :is(.routing-trace, .approval-mark) { stroke-dashoffset: calc(1 - var(--inspect, 0)); }
.feature-print .rule-pencil { transform: translate(calc(17px * var(--inspect, 0)), calc(-9px * var(--inspect, 0))); }
.feature-print .report-paper { transform: translateY(calc(15px - 23px * var(--inspect, 0))); }
@media (prefers-reduced-motion: no-preference) {
  .feature-print :is(.file-tray, .file-tabs, .rule-pencil, .report-paper) { transition: transform .42s var(--ease); }
  .feature-print :is(.routing-trace, .approval-mark) { transition: stroke-dashoffset .42s var(--ease); }
  .feature-print .routing-branch { transition-delay: .12s; }
}
@media (min-width: 681px) {
  .platform-features { row-gap: 0; }
  .platform-feature { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-self: stretch; align-items: start; }
}
@media (min-width: 681px) and (max-width: 1099px) {
  .platform-feature:nth-child(n+3) { margin-top: 24px; }
}
@media (max-width: 680px) {
  .platform-features { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .platform-feature { padding: 18px 0 12px clamp(78px, 22vw, 116px); }
  .platform-feature + .platform-feature { border-top: 1px solid var(--rule); }
  .feature-print { top: 16px; left: -6px; width: clamp(82px, 24vw, 124px); height: auto; }
  .platform-feature details { margin-top: 2px; }
  .platform-feature summary { min-height: 44px; }
}

/* Four workflow steps share the same illustration plate and its caption. */
.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px) clamp(12px, 2.2vw, 32px);
  min-width: 0;
  margin: clamp(24px, 3.4vw, 50px) 0 0;
  padding: 0;
  border: 0;
}
.workflow-sr, .workflow-steps > input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.workflow-intro { grid-area: 1 / 1 / 2 / 3; align-self: center; }
.workflow-intro .lead { max-width: 430px; line-height: 1.22; }
.workflow-steps label {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) 11px;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  grid-row: 2;
  min-height: 56px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--rule);
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: -.025em;
  line-height: 1.22;
  color: #605d55;
  cursor: pointer;
  -webkit-tap-highlight-color: rgb(77 72 60 / 9%);
}
.workflow-steps .step-number {
  color: #696a5d;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1;
  letter-spacing: -.08em;
  font-variant-numeric: tabular-nums;
}
.workflow-steps label::after {
  content: "";
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.workflow-steps input:checked + label::after { background: currentColor; box-shadow: inset 0 0 0 2px var(--paper); }
.workflow-steps input:checked + label .step-number { color: #414e39; }
.workflow-steps label::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.workflow-steps input:checked + label { color: #272820; }
.workflow-steps input:checked + label::before { transform: scaleX(1); }
.workflow-steps input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) {
  .workflow-steps label:hover { color: var(--ink); }
  .workflow-steps input:not(:checked) + label:hover::before { transform: scaleX(.18); }
}
.workflow-figure {
  display: grid;
  grid-area: 1 / 3 / 2 / -1;
  align-content: start;
  min-width: 0;
  padding: clamp(12px, 1.7vw, 24px) clamp(12px, 2.1vw, 28px) 0;
  background: #f1efe8;
}
.workflow-figure > svg { width: min(100%, 520px); height: auto; justify-self: center; }
.workflow-figure figcaption {
  display: grid;
  align-items: center;
  min-height: 3.7em;
  margin-top: 8px;
  padding-block: 10px;
  border-top: 1px solid #cfcdc2;
  font-size: 15px;
  color: #4c4b42;
}
.workflow-figure figcaption p { grid-area: 1 / 1; visibility: hidden; }
.workflow-scene { opacity: 0; }
.workflow-route { fill: none; stroke: #69775f; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
#workflow-choose:checked ~ figure .scene-choose,
#workflow-connect:checked ~ figure .scene-connect,
#workflow-review:checked ~ figure .scene-review,
#workflow-extend:checked ~ figure .scene-extend { opacity: 1; }
#workflow-choose:checked ~ figure .choose-caption,
#workflow-connect:checked ~ figure .connect-caption,
#workflow-review:checked ~ figure .review-caption,
#workflow-extend:checked ~ figure .extend-caption { visibility: visible; }

@media (prefers-reduced-motion: no-preference) {
  .workflow-steps label::before { transition: transform .27s var(--ease); }
  .workflow-scene { transition: opacity .19s; }
  .workflow-scene .moving-sheet { transform: translate(-8px, 6px); transition: transform .53s var(--ease); }
  .scene-extend .moving-sheet { transform: translate(-27px, 13px); }
  .review-pencil { transform: translate(6px, -6px) rotate(-4deg); transform-origin: 117px 92px; transition: transform .46s var(--ease); }
  .workflow-route .route-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .48s var(--ease); }
  #workflow-choose:checked ~ figure .scene-choose .moving-sheet,
  #workflow-connect:checked ~ figure .scene-connect .moving-sheet,
  #workflow-review:checked ~ figure .review-pencil,
  #workflow-extend:checked ~ figure .scene-extend .moving-sheet { transform: none; }
  #workflow-connect:checked ~ figure .scene-connect .route-line,
  #workflow-review:checked ~ figure .scene-review .route-line,
  #workflow-extend:checked ~ figure .scene-extend .route-line { stroke-dashoffset: 0; }
}
@media (max-width: 960px) {
  .workflow-steps { display: flex; flex-wrap: wrap; gap: 0 14px; }
  .workflow-intro, .workflow-figure { flex: 0 0 100%; }
  .workflow-intro { order: -2; margin-bottom: 24px; }
  .workflow-figure { order: -1; margin-bottom: 18px; }
  .workflow-figure figcaption { min-height: 4.3em; }
  .workflow-steps label {
    flex: 1 1 calc(50% - 7px);
    min-width: min-content;
    grid-template-columns: max-content minmax(min-content, 1fr) 8px;
    gap: 6px;
    min-height: 53px;
    padding-block: 9px;
    font-size: 15px;
  }
  .workflow-steps .step-number { font-size: 18px; }
  .workflow-steps label::after { width: 8px; height: 8px; }
}
@media (forced-colors: active) {
  .workflow-steps input:checked + label::after { border: 4px solid Highlight; }
}
