@font-face {
  font-family: "Onest Variable";
  src: url("./assets/onest-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f7f7f7;
  --ink: #0a0a0a;
  --stone: #71675d;
  --muted: #5e6565;
  --line: #c7c5c3;
  --focus: #71675d;
  --pad: clamp(1.25rem, 3.2vw, 3.25rem);
  --section: clamp(5rem, 8vw, 8rem);
  --r-masthead-x: 0%; --r-masthead-y: 0%; --r-masthead-w: 100%; --r-masthead-h: 7%;
  --r-hero-eyebrow-x: 2.79%; --r-hero-eyebrow-y: 11.2%; --r-hero-eyebrow-w: 9.97%; --r-hero-eyebrow-h: 5.17%;
  --r-hero-title-x: 0%; --r-hero-title-y: 20%; --r-hero-title-w: 66%; --r-hero-title-h: 40%;
  --r-hero-outline-x: 30%; --r-hero-outline-y: 0%; --r-hero-outline-w: 60%; --r-hero-outline-h: 70%;
  --r-hero-support-x: 2.39%; --r-hero-support-y: 64%; --r-hero-support-w: 12%; --r-hero-support-h: 4.02%;
  --r-timeline-x: 75%; --r-timeline-y: 10%; --r-timeline-w: 21%; --r-timeline-h: 60%;
  --r-timeline-client-x: 82%; --r-timeline-client-y: 11.2%; --r-timeline-client-w: 15.5%; --r-timeline-client-h: auto;
  --r-timeline-team-x: 82%; --r-timeline-team-y: 29%; --r-timeline-team-w: 15.5%; --r-timeline-team-h: auto;
  --r-timeline-result-x: 82%; --r-timeline-result-y: 46%; --r-timeline-result-w: 15.5%; --r-timeline-result-h: auto;
  --r-timeline-scroll-x: 82%; --r-timeline-scroll-y: 68%; --r-timeline-scroll-w: 15.5%; --r-timeline-scroll-h: auto;
  --r-footer-strip-x: 0%; --r-footer-strip-y: 95%; --r-footer-strip-w: 100%; --r-footer-strip-h: 5%;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; scrollbar-color: var(--stone) var(--paper); scrollbar-width: thin; }
body { margin: 0; min-width: 320px; font-family: "Onest Variable", Onest, Arial, sans-serif; background: var(--paper); }
body:has(.contact-dialog[open]) { overflow: hidden; }
::selection { color: var(--paper); background: var(--stone); }
::-webkit-scrollbar { width: .7rem; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--stone); border: 2px solid var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: square; stroke-linejoin: miter; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.hero-frame { position: relative; width: 100%; height: clamp(620px, 50vw, 760px); overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.r-masthead,.r-hero-eyebrow,.r-hero-title,.r-hero-outline,.r-hero-support,.r-timeline,.r-timeline-client,.r-timeline-team,.r-timeline-result,.r-timeline-scroll,.r-footer-strip { position: absolute; }
.r-masthead { left: var(--r-masthead-x); top: var(--r-masthead-y); width: var(--r-masthead-w); height: var(--r-masthead-h); }
.r-hero-eyebrow { left: var(--r-hero-eyebrow-x); top: var(--r-hero-eyebrow-y); width: var(--r-hero-eyebrow-w); height: var(--r-hero-eyebrow-h); }
.r-hero-title { left: var(--r-hero-title-x); top: var(--r-hero-title-y); width: var(--r-hero-title-w); height: var(--r-hero-title-h); }
.r-hero-outline { left: var(--r-hero-outline-x); top: var(--r-hero-outline-y); width: var(--r-hero-outline-w); height: var(--r-hero-outline-h); }
.r-hero-support { left: var(--r-hero-support-x); top: var(--r-hero-support-y); width: var(--r-hero-support-w); height: var(--r-hero-support-h); }
.r-timeline { left: var(--r-timeline-x); top: var(--r-timeline-y); width: var(--r-timeline-w); height: var(--r-timeline-h); }
.r-timeline-client { left: var(--r-timeline-client-x); top: var(--r-timeline-client-y); width: var(--r-timeline-client-w); height: var(--r-timeline-client-h); }
.r-timeline-team { left: var(--r-timeline-team-x); top: var(--r-timeline-team-y); width: var(--r-timeline-team-w); height: var(--r-timeline-team-h); }
.r-timeline-result { left: var(--r-timeline-result-x); top: var(--r-timeline-result-y); width: var(--r-timeline-result-w); height: var(--r-timeline-result-h); }
.r-timeline-scroll { left: var(--r-timeline-scroll-x); top: var(--r-timeline-scroll-y); width: var(--r-timeline-scroll-w); height: var(--r-timeline-scroll-h); }
.r-footer-strip { left: var(--r-footer-strip-x); top: var(--r-footer-strip-y); width: var(--r-footer-strip-w); height: var(--r-footer-strip-h); }

.mobile-header { z-index: 20; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 3.2rem; padding: 0 3.2%; font-size: 1rem; }
.mobile-wordmark { display: inline-flex; align-items: baseline; gap: .3em; font-weight: 800; white-space: nowrap; }
.mobile-wordmark a { text-decoration: none; }
.mobile-wordmark span,.mobile-wordmark a:last-child { color: var(--stone); font-weight: 500; }
.mobile-header nav { display: flex; gap: 2.2rem; }
.mobile-header nav a { text-decoration: none; }
.header-cta { align-self: stretch; display: flex; align-items: center; gap: 2.2rem; border: 0; padding: 0 1.4rem; background: var(--stone); color: var(--paper); text-decoration: none; text-transform: uppercase; font: inherit; font-size: .86rem; cursor: pointer; }
.cta-label-mobile { display: none; }

.hero-eyebrow { z-index: 8; width: max-content; height: auto; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.18; font-weight: 500; }
.hero-eyebrow::after { content: ""; position: absolute; top: 1.1rem; left: 112%; width: 11rem; border-top: 1px solid var(--muted); }
.hero-title { z-index: 9; margin: 0 0 0 3.2%; font-family: "Onest Variable", Onest, Arial, sans-serif; font-size: clamp(4.6rem, 8.55vw, 8.1rem); line-height: .88; letter-spacing: -.04em; font-weight: 850; white-space: nowrap; transform: scaleX(.97); transform-origin: left center; }
.hero-title span { display: block; }
.hero-outline { z-index: 1; color: transparent; -webkit-text-stroke: 1px #aaa8a6; font-size: clamp(28rem, 54vw, 51rem); line-height: .77; letter-spacing: -.14em; font-weight: 250; white-space: nowrap; user-select: none; }
.hero-support { z-index: 10; width: max-content; height: auto; margin: 0 0 0 4.7%; color: var(--muted); font-size: .71rem; line-height: 1.18; }
.hero-support::before { content: ""; position: absolute; top: .75rem; right: calc(100% + 1rem); width: 2.5rem; border-top: 1px solid var(--stone); }
.timeline { z-index: 7; }
.timeline-line { position: absolute; left: 34%; top: 2%; bottom: 15%; width: 1px; background: var(--stone); }
.timeline-progress { position: absolute; left: calc(34% - 1px); top: 2%; width: 3px; height: calc(var(--hero-progress, 0) * 83%); background: var(--ink); transform-origin: top; }
.timeline-runner { position: absolute; z-index: 2; left: calc(34% - .24rem); top: calc(2% + var(--hero-progress, 0) * 83%); width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink); translate: 0 -50%; box-shadow: 0 0 0 .3rem var(--paper); }
.timeline-node { position: absolute; left: calc(34% - .55rem); width: 1.1rem; height: 1.1rem; border: 1px solid var(--stone); border-radius: 50%; background: var(--paper); }
.timeline-node.node-one { top: 5%; }
.timeline-node.node-two { top: 31%; }
.timeline-node.node-three { top: 60%; }
.timeline-node.is-passed { border-color: var(--ink); background: var(--ink); }
.timeline-arrow { position: absolute; left: calc(34% - .5rem); bottom: 8%; width: 1.2rem; height: 1.7rem; color: var(--stone); }
.timeline-label { z-index: 9; height: auto; margin: 0; padding: .35rem 1.5rem 0 .9rem; }
.timeline-label strong { display: block; font-size: clamp(1.05rem, 1.55vw, 1.45rem); line-height: 1; letter-spacing: -.03em; }
.timeline-label span { display: block; margin-top: .4rem; color: var(--muted); font-size: .68rem; line-height: 1.15; }
.timeline-scroll { z-index: 8; margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: .72rem; line-height: 1.05; }

.scenario-section { padding-top: clamp(4.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
.scenario-heading { display: grid; grid-template-columns: 1.12fr .88fr; gap: 4rem; align-items: end; padding-bottom: clamp(3rem, 5vw, 5rem); }
.scenario-heading h2 { max-width: 11ch; margin: 0; font-size: clamp(3.1rem, 6.4vw, 6rem); font-weight: 800; line-height: .88; letter-spacing: -.04em; }
.scenario-heading p { max-width: 38rem; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.scenario { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: clamp(34rem, 40vw, 42rem); overflow: hidden; border-right: 1px solid var(--line); }
.scenario:last-child { border-right: 0; }
.scenario .scenario-copy { position: relative; z-index: 2; min-height: 16rem; padding: 1.5rem var(--pad) 2.25rem; background: var(--paper); }
.scenario-copy small { display: block; margin-bottom: clamp(3rem, 6vw, 6rem); color: var(--stone); font-size: .7rem; letter-spacing: .065em; }
.scenario-copy h3 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); line-height: .9; letter-spacing: -.04em; }
.scenario-copy p { margin: 1.5rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.scenario-arrow { position: absolute; right: var(--pad); bottom: 2.25rem; width: 1.75rem; height: 1.75rem; }
.mobile-scenario-image { display: block; width: 100%; height: 100%; min-height: 20rem; object-fit: cover; background: #e7e4e0; filter: grayscale(1) contrast(1.04); transition: transform 700ms cubic-bezier(.16,1,.3,1), filter 500ms ease; }
.scenario-client .mobile-scenario-image { object-position: 57% center; }
.scenario-team .mobile-scenario-image { object-position: 51% center; }
.scenario-office .mobile-scenario-image { object-position: 51% center; }
.hero-footer { z-index: 12; display: flex; align-items: center; justify-content: space-between; padding: 0 3.2%; border-top: 1px solid var(--line); font-size: .61rem; letter-spacing: .08em; }
.hero-footer-wordmark { font-weight: 700; letter-spacing: -.01em; }
.hero-footer > span:last-child { color: var(--muted); }

.section-shell { padding-left: var(--pad); padding-right: var(--pad); }
.premise { padding-top: var(--section); padding-bottom: var(--section); border-bottom: 1px solid var(--line); }
.premise h2,.format-intro h2,.system-band h2,.delivery-heading h2,.faq h2,.contact-section h2 { margin: 0; max-width: none; font-size: clamp(3.1rem, 6.4vw, 6rem); line-height: .88; letter-spacing: -.04em; }
.premise-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; padding-bottom: clamp(4rem, 7vw, 7rem); }
.premise-heading p { max-width: 34rem; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.scope-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.scope-list article { min-height: 18rem; padding: 1.5rem var(--pad) 2.5rem; border-right: 1px solid var(--line); }
.scope-list article:last-child { border-right: 0; }
.scope-list span { display: block; margin-bottom: clamp(3rem, 6vw, 6rem); color: var(--stone); font-size: .72rem; letter-spacing: .06em; }
.scope-list h3 { margin: 0 0 1rem; font-size: clamp(1.45rem, 2.4vw, 2.4rem); line-height: .98; letter-spacing: -.035em; }
.scope-list p { max-width: 25rem; margin: 0; color: var(--muted); font-size: .95rem; }
.format-panel ul { list-style: none; margin: 0; padding: 0; }
.format-panel li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }

.format-lab { padding-top: var(--section); padding-bottom: var(--section); border-bottom: 1px solid var(--line); }
.format-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; margin-bottom: clamp(4rem, 7vw, 6rem); }
.format-intro p { max-width: 34rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.35rem); }
.format-switch { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.format-switch button { min-height: 7rem; border: 0; border-right: 1px solid var(--line); padding: 1.25rem; background: transparent; color: var(--muted); text-align: left; font: inherit; font-size: clamp(1.35rem, 2.2vw, 2.15rem); letter-spacing: -.03em; cursor: pointer; transition: background 220ms ease, color 220ms ease; }
.format-switch button:last-child { border-right: 0; }
.format-switch button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.format-stage { position: relative; min-height: 32rem; padding: clamp(3rem, 6vw, 5.5rem) 0 0 33%; overflow: hidden; }
.format-index { position: absolute; left: 0; top: clamp(3rem, 6vw, 5.5rem); display: flex; gap: .65rem; align-items: flex-start; color: var(--stone); }
.format-index span { font-size: clamp(7rem, 19vw, 19rem); line-height: .68; font-weight: 800; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.format-index i { font-style: normal; font-size: .8rem; }
.format-panel { max-width: 58rem; }
.format-panel h3 { margin: 0; max-width: 14ch; font-size: clamp(3rem, 6vw, 6rem); line-height: .88; letter-spacing: -.04em; }
.format-panel > p { max-width: 43rem; margin: 3rem 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.format-panel ul { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.format-panel li { padding: 1rem 1rem 1rem 0; }
.format-panel[hidden] { display: none; }

.system-band { padding-top: var(--section); padding-bottom: var(--section); background: var(--stone); color: var(--paper); }
.system-band-inner { display: grid; gap: clamp(4rem, 8vw, 8rem); }
.system-copy { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; }
.system-band h2 { max-width: none; }
.system-copy p { max-width: 38rem; margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.3; }
.system-diagram { display: grid; grid-template-columns: 1fr minmax(4rem,.25fr) 1.15fr minmax(4rem,.25fr) 1fr; align-items: stretch; min-height: 24rem; border-top: 1px solid rgb(255 255 255 / .45); border-bottom: 1px solid rgb(255 255 255 / .45); }
.diagram-group,.diagram-core { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
.diagram-group > span,.diagram-core > span,.system-result > span { margin-bottom: 2rem; color: rgb(255 255 255 / .72); font-size: .7rem; letter-spacing: .07em; }
.diagram-group strong { padding: .75rem 0; border-bottom: 1px solid rgb(255 255 255 / .28); font-size: clamp(1.1rem, 1.8vw, 1.55rem); font-weight: 500; }
.diagram-core { border: 1px solid rgb(255 255 255 / .7); background: var(--paper); color: var(--ink); }
.diagram-core > span { color: var(--stone); }
.diagram-core strong { font-size: clamp(2rem, 4vw, 4rem); line-height: .92; letter-spacing: -.04em; }
.diagram-core small { margin-top: auto; padding-top: 2rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.diagram-connector { position: relative; overflow: hidden; }
.diagram-connector::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; border-top: 1px solid rgb(255 255 255 / .65); }
.diagram-connector i { position: absolute; top: calc(50% - .3rem); left: -.6rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--paper); animation: data-flow 2.8s cubic-bezier(.16,1,.3,1) infinite; animation-play-state: paused; }
.system-diagram.is-flowing .diagram-connector i { animation-play-state: running; }
.system-result { display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; align-items: start; }
.system-result p { max-width: 55rem; margin: 0; font-size: clamp(1.35rem, 2.4vw, 2.3rem); line-height: 1.16; letter-spacing: -.025em; }
@keyframes data-flow { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(9rem); opacity: 0; } }

.delivery { padding-top: var(--section); background: var(--ink); color: var(--paper); }
.delivery-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; padding-bottom: clamp(4rem, 9vw, 9rem); }
.delivery-heading p { max-width: 32rem; margin: 0; color: #c4c2bf; font-size: clamp(1rem, 1.6vw, 1.35rem); }
.delivery-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid #4b4b4a; }
.delivery-steps li { min-height: 18rem; padding: 1.5rem var(--pad) 3rem; border-right: 1px solid #4b4b4a; }
.delivery-steps li:last-child { border-right: 0; }
.delivery-steps span { display: block; margin-bottom: 4rem; color: #aaa5a0; font-size: .75rem; }
.delivery-steps strong { display: block; font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -.04em; }
.delivery-steps p { max-width: 16rem; color: #aaa5a0; }

.faq { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--ink); padding: 1.2rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--ink); }
.faq-list summary { position: relative; padding-right: 3rem; cursor: pointer; list-style: none; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: -.2rem; color: var(--stone); font-size: 1.7rem; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 45rem; margin: 1.2rem 3rem 0 0; color: var(--muted); }

.contact-section { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-section h2 { grid-column: 1 / -1; }
.contact-section > p { max-width: 31rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.4rem); }
.contact-open-button { align-self: start; justify-self: start; min-width: min(100%, 19rem); display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; border: 0; padding: 1rem 1.1rem; background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; cursor: pointer; }
.contact-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: clamp(1.5rem,4vw,4rem); background: var(--paper); color: var(--ink); overflow: auto; }
.contact-dialog::backdrop { background: rgb(10 10 10 / .48); }
.contact-dialog-shell { width: min(100%,34rem); min-height: calc(100dvh - clamp(3rem,8vw,8rem)); margin: 0 auto; padding: clamp(3.5rem,10vh,7rem) 0 3rem; }
.dialog-close { position: fixed; z-index: 2; top: clamp(1.25rem,2vw,2.5rem); right: clamp(1.25rem,2vw,2.5rem); width: 3rem; height: 3rem; border: 0; background: transparent; cursor: pointer; }
.dialog-close > span:first-child::before,.dialog-close > span:first-child::after { position: absolute; left: 50%; top: 50%; width: 2rem; height: 1.5px; background: var(--ink); content: ""; transform-origin: center; }
.dialog-close > span:first-child::before { transform: translate(-50%,-50%) rotate(45deg); }
.dialog-close > span:first-child::after { transform: translate(-50%,-50%) rotate(-45deg); }
.request-form { display: grid; gap: 1.4rem; }
.request-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.request-field { display: grid; gap: .55rem; color: var(--ink); text-transform: uppercase; font-size: .79rem; font-weight: 600; letter-spacing: -.015em; }
.request-field input,.request-field textarea { min-width: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: .55rem 0 .65rem; background: transparent; color: var(--ink); caret-color: var(--stone); font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; outline: none; resize: vertical; }
.request-field input:focus-visible,.request-field textarea:focus-visible { border-bottom: 2px solid var(--stone); }
.request-field textarea { min-height: 4.1rem; }
.request-field input::placeholder,.request-field textarea::placeholder { color: #686d6d; opacity: 1; }
.consent-field { display: flex; gap: .75rem; align-items: flex-start; margin-top: .15rem; font-size: .9rem; line-height: 1.25; }
.consent-field input { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; accent-color: var(--ink); margin: .02rem 0 0; }
.consent-field a { border-bottom: 1px solid currentColor; }
.request-submit { justify-self: start; min-width: 10.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; border: 0; padding: .85rem 1.2rem; background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.request-submit:disabled { cursor: wait; opacity: .58; }
.form-note { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .85rem; }
.request-field input:user-invalid,.request-field textarea:user-invalid { border-bottom-color: #a52525; }
.contact-dialog[open] { animation: contact-dialog-in .36s cubic-bezier(.16,1,.3,1) both; }
.contact-dialog.is-closing { animation: contact-dialog-out .22s ease both; }
@keyframes contact-dialog-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes contact-dialog-out { to { opacity: 0; clip-path: inset(100% 0 0 0); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.mobile-footer { padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid var(--line); }
.footer-primary,.footer-legal { display: flex; justify-content: space-between; gap: 2rem; }
.footer-primary { padding-bottom: 3rem; font-size: 1rem; }
.footer-legal { align-items: flex-end; color: var(--muted); font-size: .75rem; }
.footer-legal p { margin: 0; }

@media (hover: hover) {
  .mobile-header nav a,.footer-primary a,.footer-legal a,.faq-list summary { transition: color 180ms ease; }
  .mobile-header nav a:hover,.footer-primary a:hover,.footer-legal a:hover,.faq-list summary:hover { color: var(--stone); }
  .header-cta,.contact-open-button,.request-submit { transition: background 240ms cubic-bezier(.16,1,.3,1), color 240ms cubic-bezier(.16,1,.3,1); }
  .header-cta:hover { background: var(--ink); color: var(--paper); }
  .contact-open-button:hover,.contact-open-button:focus-visible,.request-submit:hover,.request-submit:focus-visible { background: var(--stone); }
  .header-cta .icon,.contact-open-button .icon,.request-submit .icon { transition: transform 220ms cubic-bezier(.16,1,.3,1); }
  .header-cta:hover .icon,.header-cta:focus-visible .icon,.contact-open-button:hover .icon,.contact-open-button:focus-visible .icon,.request-submit:hover .icon,.request-submit:focus-visible .icon { transform: translate(.22rem,-.12rem); }
  .format-switch button:not([aria-selected="true"]):hover { background: var(--line); color: var(--ink); }
  .scenario:hover .mobile-scenario-image { transform: scale(1.025); filter: grayscale(.4) contrast(1.04); }
}

html.motion-ready .mobile-header { animation: header-arrive 480ms 90ms both cubic-bezier(.16,1,.3,1); }
html.motion-ready .hero-title span { animation: hero-line-arrive 620ms both cubic-bezier(.16,1,.3,1); }
html.motion-ready .hero-title span:nth-child(1) { animation-delay: 40ms; }
html.motion-ready .hero-title span:nth-child(2) { animation-delay: 125ms; }
html.motion-ready .hero-title span:nth-child(3) { animation-delay: 210ms; }
html.motion-ready .hero-outline { animation: hero-outline-arrive 800ms 20ms both cubic-bezier(.16,1,.3,1); }
html.motion-ready .hero-eyebrow,html.motion-ready .hero-support { animation: hero-support-arrive 560ms 300ms both cubic-bezier(.16,1,.3,1); }
html.motion-ready .timeline-label,html.motion-ready .timeline-scroll { animation: hero-support-arrive 560ms 420ms both cubic-bezier(.16,1,.3,1); }
html.motion-ready .scenario-grid { animation: hero-strip-arrive 760ms 300ms both cubic-bezier(.16,1,.3,1); }
html.motion-ready .timeline-line { transform: scaleY(0); transform-origin: top; animation: draw-line 1.1s .35s cubic-bezier(.16,1,.3,1) forwards; }
html.motion-ready .timeline-node { opacity: 0; animation: node-in 420ms forwards; }
html.motion-ready .node-one { animation-delay: .55s; } html.motion-ready .node-two { animation-delay: .82s; } html.motion-ready .node-three { animation-delay: 1.08s; }
@keyframes header-arrive { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
@keyframes hero-line-arrive { from { opacity: 0; transform: translateY(.85em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes hero-outline-arrive { from { opacity: 0; transform: translateX(2rem); } to { opacity: 1; transform: none; } }
@keyframes hero-support-arrive { from { opacity: 0; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }
@keyframes hero-strip-arrive { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes draw-line { to { transform: scaleY(1); } }
@keyframes node-in { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }
html.motion-ready .hero-outline { translate: calc(var(--hero-progress, 0) * -2.4rem) calc(var(--hero-progress, 0) * 1.2rem); will-change: translate; }
html.motion-ready .timeline-arrow { animation: timeline-arrow-pulse 1.5s 1.25s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes timeline-arrow-pulse { 0%,60%,100% { translate: 0 0; } 35% { translate: 0 .45rem; } }
html.motion-ready .motion-pending { will-change: opacity, transform, clip-path; }
html.motion-ready .motion-clip { opacity: 0; transform: translateY(.85rem); transition: opacity 560ms cubic-bezier(.16,1,.3,1), transform 680ms cubic-bezier(.16,1,.3,1); }
html.motion-ready .motion-side { opacity: 0; transform: translateX(-1.25rem); transition: opacity 520ms cubic-bezier(.16,1,.3,1), transform 680ms cubic-bezier(.16,1,.3,1); }
html.motion-ready .motion-quiet { opacity: 0; transform: translateY(.75rem); transition: opacity 520ms cubic-bezier(.16,1,.3,1), transform 680ms cubic-bezier(.16,1,.3,1); transition-delay: 100ms; }
html.motion-ready .motion-step { opacity: 0; transform: translateY(1rem); transition: opacity 460ms cubic-bezier(.16,1,.3,1), transform 620ms cubic-bezier(.16,1,.3,1); transition-delay: var(--motion-delay,0ms); }
html.motion-ready .motion-visible { opacity: 1; transform: none; clip-path: none; will-change: auto; }
html.motion-ready .motion-from-up.motion-clip:not(.motion-visible) { transform: translateY(-.85rem); }
html.motion-ready .motion-from-up.motion-quiet:not(.motion-visible),html.motion-ready .motion-from-up.motion-step:not(.motion-visible) { transform: translateY(-1rem); }
html.motion-ready .motion-from-up.motion-side:not(.motion-visible) { transform: translateX(1.25rem); }
.format-panel.is-entering { animation: format-panel-in 520ms cubic-bezier(.16,1,.3,1) both; }
.faq-list details[open] p { animation: detail-copy-in 300ms cubic-bezier(.16,1,.3,1) both; }
@keyframes format-panel-in { from { opacity: 0; clip-path: inset(0 0 55% 0); transform: translateY(.75rem); } to { opacity: 1; clip-path: inset(0); transform: none; } }
@keyframes detail-copy-in { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: none; } }
.review-mode *, .review-mode *::before, .review-mode *::after { animation-delay: 0s !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }

@media (max-width: 900px) {
  .mobile-header { grid-template-columns: 1fr auto; }
  .mobile-header nav { display: none; }
}

@media (min-width: 1200px) {
  :root { --r-hero-support-y: 72%; }
}

@media (max-width: 820px) {
  :root { --section: 4.75rem; --pad: clamp(1.5rem, 5vw, 2rem); }
  .hero-frame { height: auto; min-height: 0; max-height: none; padding: 0 var(--pad); }
  .mobile-header { position: relative; inset: auto; width: 100vw; height: 4.75rem; margin: 0 0 0 calc(var(--pad) * -1); padding: 0 var(--pad); display: flex; justify-content: flex-start; gap: 1rem; border-bottom: 1px solid var(--line); }
  .mobile-wordmark { font-size: .82rem; }
  .header-cta { position: absolute; top: 1rem; right: var(--pad); min-height: 2.75rem; padding: .65rem .75rem; gap: .5rem; font-size: .67rem; }
  .cta-label { display: none; }
  .cta-label-mobile { display: inline; }
  .hero-outline { left: 19%; top: 5rem; width: 100%; height: 26rem; font-size: 28rem; line-height: .8; }
  .hero-eyebrow { position: relative; inset: auto; width: auto; height: auto; margin: 4.25rem 0 2.5rem; font-size: .68rem; }
  .hero-eyebrow::after { left: 9.5rem; width: 6rem; }
  .hero-title { position: relative; inset: auto; width: auto; height: auto; margin: 3rem 0 0; font-size: clamp(2.75rem, 9.8vw, 3.75rem); line-height: .86; white-space: normal; transform: none; }
  .hero-support { position: relative; inset: auto; width: auto; height: auto; margin: 3.5rem 0 4.5rem 3.1rem; font-size: .66rem; }
  .timeline,.timeline-label,.timeline-scroll { display: none; }
  .scenario-heading,.premise-heading,.format-intro,.system-copy,.delivery-heading,.faq { grid-template-columns: 1fr; gap: 3rem; }
  .scenario-heading { align-items: start; }
  .scenario-heading h2,.premise h2,.format-intro h2,.system-band h2,.delivery-heading h2,.faq h2,.contact-section h2 { font-size: clamp(2.65rem, 13.4vw, 4.5rem); }
  .scenario-heading h2 { font-size: clamp(2.55rem, 12vw, 4.15rem); }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario { min-height: 18.5rem; grid-template-columns: 1fr 1.08fr; grid-template-rows: 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario .scenario-copy { position: relative; inset: auto; width: auto; height: auto; padding: 1.4rem var(--pad) 1.5rem; }
  .scenario-copy small { margin-bottom: 2rem; }
  .scenario-copy h3 { width: auto; font-size: clamp(2.1rem, 10vw, 2.75rem); }
  .scenario-copy p { margin: 2rem 0 0; font-size: .7rem; }
  .scenario-arrow { left: var(--pad); bottom: 1.25rem; }
  .mobile-scenario-image { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
  html.motion-ready .mobile-scenario-image { scale: 1.035; translate: 0 calc(var(--hero-progress, 0) * -1.4rem); will-change: translate; }
  .scenario-client .mobile-scenario-image { object-position: 60% center; }
  .scenario-team .mobile-scenario-image { object-position: 56% center; }
  .scenario-office .mobile-scenario-image { object-position: 51% center; }
  .hero-footer { position: relative; inset: auto; width: auto; height: 3rem; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); font-size: .52rem; }
  .hero-footer > span:last-child { display: none; }

  .premise-heading { align-items: start; }
  .scope-list { grid-template-columns: 1fr 1fr; }
  .scope-list article:nth-child(2) { border-right: 0; }
  .scope-list article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scope-list span { margin-bottom: 3rem; }

  .format-intro { align-items: start; margin-bottom: 4rem; }
  .format-switch { grid-template-columns: 1fr; }
  .format-switch button { min-height: 4.75rem; border-right: 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; }
  .format-switch button:last-child { border-bottom: 0; }
  .format-stage { min-height: 0; padding: 4rem 0 0; }
  .format-index { position: relative; inset: auto; margin-bottom: 3rem; }
  .format-index span { font-size: 8rem; }
  .format-panel h3 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .format-panel ul { grid-template-columns: 1fr; }

  .system-copy { align-items: start; }
  .system-diagram { grid-template-columns: 1fr; min-height: 0; }
  .diagram-group,.diagram-core { min-height: 17rem; padding: 1.5rem; }
  .diagram-connector { min-height: 5rem; }
  .diagram-connector::before { top: 0; left: 50%; width: 0; height: 100%; border-top: 0; border-left: 1px solid rgb(255 255 255 / .65); }
  .diagram-connector i { top: -.6rem; left: calc(50% - .3rem); animation-name: data-flow-mobile; }
  .system-result { grid-template-columns: 1fr; }
  @keyframes data-flow-mobile { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(6rem); opacity: 0; } }

  .delivery-heading { align-items: start; }
  .delivery-steps { grid-template-columns: 1fr 1fr; }
  .delivery-steps li { min-height: 14rem; padding: 1.25rem; }
  .delivery-steps li:nth-child(2) { border-right: 0; }
  .delivery-steps li:nth-child(n+3) { border-top: 1px solid #4b4b4a; }
  .delivery-steps span { margin-bottom: 3rem; }
  .delivery-steps strong { font-size: 1.8rem; }

  .faq { align-items: start; }
  .contact-section { grid-template-columns: 1fr; gap: 3rem; }
  .contact-dialog { padding: 1.25rem; }
  .contact-dialog-shell { min-height: calc(100dvh - 2.5rem); padding-top: 5rem; }
  .footer-primary,.footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1rem; }
}

@media (min-width: 500px) and (max-width: 820px) {
  .scenario-heading h2,.premise h2,.format-intro h2,.system-band h2,.delivery-heading h2,.faq h2,.contact-section h2 { font-size: 4.15rem; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 9.8vw; }
  .format-panel h3 { overflow-wrap: anywhere; font-size: clamp(2.15rem, 10.5vw, 2.65rem); }
  .scenario { grid-template-columns: 1.05fr .95fr; }
  .scope-list { grid-template-columns: 1fr; }
  .scope-list article { min-height: 0; border-right: 0; border-top: 1px solid var(--line); }
  .scope-list article:first-child { border-top: 0; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps li { border-right: 0; border-top: 1px solid #4b4b4a; }
  .delivery-steps li:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
