@font-face {
  font-family: Onest;
  src: url('./fonts/Onest-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f5f3;
  --white: #fff;
  --ink: #101010;
  --muted: #505050;
  --line: #cececc;
  --soft: #e9e9e7;
  --night: #111;
  --night-line: #565656;
  font-family: Onest, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
summary { cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }
.container { width: min(calc(100% - 88px), 1360px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 13px 18px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0; font-size: 12px; font-weight: 740; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }

.site-header { position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 1px; font-size: 25px; font-weight: 780; line-height: 1; letter-spacing: -.068em; }
.brand span { font-size: 30px; line-height: .5; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 44px); }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 46px; font-size: 14px; font-weight: 600; transition: opacity .2s; }
.desktop-nav a:hover, .footer-inner a:hover { opacity: .48; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(42px, 5vw, 82px); padding-top: clamp(68px, 7vw, 110px); padding-bottom: clamp(110px, 12vw, 185px); }
.hero-copy { min-width: 0; }
.hero h1 { margin: 36px 0 0; font-size: clamp(55px, 4.8vw, 73px); line-height: 1.02; font-weight: 650; letter-spacing: -.075em; animation: rise .6s both; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { font-weight: 350; }
.hero-lead { max-width: 500px; margin: 43px 0 0; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.43; letter-spacing: -.025em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 28px; margin-top: 42px; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 62px; padding: 15px 22px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); font-size: 16px; font-weight: 670; transition: background .2s, color .2s; }
.primary-button:hover { background: var(--white); color: var(--ink); }
.primary-button span { font-size: 24px; font-weight: 400; line-height: 1; }
.hero-secondary { display: inline-flex; align-items: center; gap: 11px; min-height: 46px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 640; transition: gap .2s, opacity .2s; }
.hero-secondary span { font-size: 21px; font-weight: 400; }
.hero-secondary:hover { gap: 17px; opacity: .6; }

.workshop { min-width: 0; }
.workshop-visual { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.workshop-top, .workshop-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 22px 27px 0; font-size: 11px; font-weight: 680; letter-spacing: .13em; text-transform: uppercase; }
.mode-count { color: #c4c4c4; font-variant-numeric: tabular-nums; }
.workshop-bottom { justify-content: flex-end; gap: 13px; padding: 0 27px 24px; color: #d9d9d9; }
.workshop-arrow { color: var(--white); font-size: 23px; line-height: 1; }
.workshop-svg { width: 100%; height: auto; }
.desk-line { fill: none; stroke: #c7c7c7; stroke-width: 1.5; opacity: .8; }
.guide-line { fill: none; stroke: #dedede; stroke-width: 1; opacity: .17; }
.guide-dot { fill: #fff; }
.wire { fill: none; stroke: #e6e6e6; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; opacity: 0; transition: opacity .35s; }
.workshop[data-mode="app"] .wire-app, .workshop[data-mode="web"] .wire-web, .workshop[data-mode="auto"] .wire-auto { opacity: .82; }
.piece-shadow, .product-shadow { fill: #444; }
.piece-paper, .product-paper { fill: #fff; }
.piece-coral, .screen-coral { fill: #aaa; }
.piece-blue { fill: #777; }
.piece-ink-line { fill: none; stroke: #777; stroke-width: 5; stroke-linecap: round; }
.piece-coral-stroke { fill: none; stroke: #111; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.workpiece { transform-box: fill-box; transform-origin: center; transition: transform .64s cubic-bezier(.2,.75,.2,1); }
.workshop[data-mode="web"] .workpiece-a { transform: translate(40px, -52px) rotate(-7deg); }
.workshop[data-mode="web"] .workpiece-b { transform: translate(-5px, 13px) rotate(5deg); }
.workshop[data-mode="web"] .workpiece-c { transform: translate(-18px, 24px) rotate(-8deg); }
.workshop[data-mode="auto"] .workpiece-a { transform: translate(-13px, 28px) rotate(5deg); }
.workshop[data-mode="auto"] .workpiece-b { transform: translate(17px, -52px) rotate(-6deg); }
.workshop[data-mode="auto"] .workpiece-c { transform: translate(-33px, -44px) rotate(8deg); }
.product { opacity: 0; transform: translateY(15px) scale(.96); transform-box: fill-box; transform-origin: center; transition: opacity .38s, transform .58s cubic-bezier(.2,.75,.2,1); }
.workshop[data-mode="app"] .product-app, .workshop[data-mode="web"] .product-web, .workshop[data-mode="auto"] .product-auto { opacity: 1; transform: translateY(0) scale(1); }
.product-screen { fill: #ebebeb; }
.screen-heading, .screen-accent, .web-orb { fill: #1c1c1c; }
.screen-accent.pale { fill: #777; }
.screen-hero, .web-thumb { fill: #d3d3d3; }
.screen-line { fill: none; stroke: #aaa; stroke-width: 7; stroke-linecap: round; }
.phone-home { fill: #999; }
.browser-bar { fill: none; stroke: #bbb; stroke-width: 2; }
.browser-dot { fill: #777; }
.browser-dot:first-of-type { fill: #222; }
.flow-wire { fill: none; stroke: #777; stroke-width: 5; stroke-linejoin: round; }
.flow-node { fill: #e4e4e4; stroke: #aaa; stroke-width: 2; }
.flow-node.coral { fill: #999; stroke: none; }
.flow-node.output { fill: #111; stroke: none; }
.flow-dot { fill: #222; }
.flow-mark { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.desk-accent { fill: none; stroke: #fff; stroke-width: 5; }
.workshop-controls { padding-top: 24px; }
.control-label { margin: 0 0 13px; font-size: 11px; font-weight: 740; letter-spacing: .13em; text-transform: uppercase; }
.mode-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); }
.mode-button { min-width: 0; min-height: 53px; padding: 10px 8px; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: clamp(12px, 1.1vw, 15px); font-weight: 650; line-height: 1.2; transition: background .2s, color .2s; }
.mode-button:last-child { border-right: 0; }
.mode-button:hover { background: #dedede; }
.mode-button[aria-pressed="true"], .mode-button[aria-pressed="true"]:hover { background: var(--ink); color: var(--white); }
.mode-button:focus-visible { position: relative; z-index: 1; outline: 3px solid currentColor; outline-offset: -5px; }
.mode-description { min-height: 46px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }

.case-section { padding: clamp(100px, 10vw, 155px) 0 clamp(104px, 10vw, 158px); background: var(--night); color: var(--white); }
.case-kicker { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #d0d0d0; }
.case-kicker > span { font-size: 14px; }
.case-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); gap: 40px; align-items: end; margin-top: 30px; }
.case-heading h2 { margin: 0; font-size: clamp(120px, 16vw, 244px); font-weight: 550; letter-spacing: -.106em; line-height: .9; }
.case-heading p { max-width: 440px; margin: 0 0 10px; font-size: clamp(23px, 2.3vw, 34px); line-height: 1.27; letter-spacing: -.033em; }
.case-figure { margin: 80px 0 0; }
.case-screens { display: grid; grid-template-columns: 1.13fr .85fr .91fr .78fr; align-items: start; gap: clamp(11px, 1.8vw, 25px); }
.case-screen-button { position: relative; display: block; min-width: 0; padding: 0; border: 1px solid #484848; background: #090909; color: var(--white); text-align: left; transition: transform .25s, border-color .25s; }
.case-screen-button:hover { transform: translateY(-9px); border-color: #fff; }
.case-screen-button:focus-visible { outline-color: #fff; }
.case-screen-button img { width: 100%; height: auto; }
.case-screen-button:nth-child(2) { margin-top: 68px; }
.case-screen-button:nth-child(3) { margin-top: 24px; }
.case-screen-button:nth-child(4) { margin-top: 95px; }
.screen-open { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 42px; height: 42px; background: #fff; color: #111; font-size: 23px; }
.case-figure figcaption { margin-top: 25px; color: #bdbdbd; font-size: 12px; line-height: 1.5; }
.case-facts { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(50px, 10vw, 150px); margin-top: 96px; padding-top: 27px; border-top: 1px solid var(--night-line); }
.case-facts h3 { margin: 0 0 23px; color: #c8c8c8; font-size: 12px; font-weight: 730; letter-spacing: .12em; text-transform: uppercase; }
.case-role { max-width: 420px; margin: 0; font-size: clamp(23px, 2.3vw, 33px); line-height: 1.31; letter-spacing: -.03em; }
.case-facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 27px; margin: 0; padding: 0; list-style: none; }
.case-facts li { padding-top: 12px; border-top: 1px solid #555; font-size: 16px; line-height: 1.4; }
.case-dialog { width: min(96vw, 980px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid #777; background: #111; color: white; }
.case-dialog::backdrop { background: rgb(0 0 0 / .83); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 63px; padding: 11px 21px; border-bottom: 1px solid #555; font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.dialog-close, .dialog-prev, .dialog-next { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 1px solid #757575; background: #111; color: #fff; font-size: 27px; line-height: 1; transition: background .2s, color .2s; }
.dialog-close:hover, .dialog-prev:hover, .dialog-next:hover { background: #fff; color: #111; }
.dialog-stage { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 18px; align-items: center; padding: 24px; }
.dialog-image { width: auto; max-width: 100%; height: auto; max-height: min(69vh, 700px); margin-inline: auto; object-fit: contain; }
.dialog-counter { margin: 0; padding: 0 24px 22px; color: #c8c8c8; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }

.section-space { padding-top: clamp(116px, 12vw, 188px); padding-bottom: clamp(120px, 12vw, 192px); }
.section-intro { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 40px; }
.section-intro .eyebrow { padding-top: 9px; }
.section-intro h2, .about-section h2, .contact-section h2 { margin: 0; font-size: clamp(56px, 6.5vw, 98px); line-height: 1.02; font-weight: 560; letter-spacing: -.065em; }
.section-intro > div > p { max-width: 490px; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.52; }
.services-list { margin: 84px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr); align-items: center; gap: 55px; min-height: 160px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.service-row h3 { margin: 0; font-size: clamp(37px, 4vw, 59px); line-height: 1.13; font-weight: 540; letter-spacing: -.055em; }
.service-row p { max-width: 350px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.48; }

.process-section { padding: clamp(88px, 9vw, 137px) 0 clamp(91px, 9vw, 145px); background: var(--soft); }
.process-head { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 40px; }
.process-head .eyebrow { padding-top: 8px; }
.process-head h2 { max-width: 760px; margin: 0; font-size: clamp(52px, 6vw, 88px); line-height: 1.04; font-weight: 560; letter-spacing: -.062em; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 66px 0 0; padding: 0; list-style: none; }
.process-list li { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.process-list li:not(:last-child)::after { content: '→'; position: absolute; top: -36px; right: 0; font-size: 28px; font-weight: 400; }
.process-list h3 { margin: 0; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.15; font-weight: 630; letter-spacing: -.04em; }
.process-list p { max-width: 215px; margin: 13px 0 0; font-size: 16px; line-height: 1.44; }

.about-section { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 40px; }
.about-section .eyebrow { padding-top: 10px; }
.about-section h2 { max-width: 920px; }
.about-section > div > p { max-width: 690px; margin: 39px 0 0 14%; color: var(--muted); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.52; }

.contact-section { padding: clamp(114px, 11vw, 172px) 0 clamp(120px, 12vw, 185px); background: var(--night); color: var(--white); }
.contact-section .eyebrow { margin-bottom: 29px; }
.contact-section h2 { max-width: 1150px; font-size: clamp(70px, 9vw, 140px); }
.contact-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: 65px; align-items: end; margin-top: 80px; }
.contact-bottom > p { max-width: 440px; margin: 0; font-size: clamp(20px, 1.85vw, 26px); line-height: 1.43; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; }
.contact-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 88px; padding: 21px 25px; background: var(--white); color: var(--ink); border: 1px solid var(--white); font-size: clamp(19px, 2vw, 26px); font-weight: 680; line-height: 1.2; transition: background .2s, color .2s; }
.contact-primary:hover { background: var(--night); color: var(--white); }
.contact-primary span { font-size: 31px; font-weight: 400; line-height: 1; }
.contact-handle { display: inline-block; margin-top: 26px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 16px; overflow-wrap: anywhere; }
.contact-secondary { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: #d5d5d5; font-size: 15px; }
.contact-handle:hover, .contact-secondary:hover { color: #aaa; }
.site-footer { background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; color: var(--muted); font-size: 13px; }

@keyframes rise { from { transform: translateY(13px); } to { transform: translateY(0); } }
@media (max-width: 1100px) {
  .container { width: min(calc(100% - 64px), 1360px); }
  .hero { grid-template-columns: 1fr; gap: 66px; }
  .hero-copy { max-width: 800px; }
  .hero h1 { font-size: clamp(62px, 7vw, 80px); }
  .workshop { width: min(100%, 700px); justify-self: center; }
  .case-heading { grid-template-columns: 1fr; gap: 25px; }
  .case-heading p { max-width: 700px; }
}
@media (max-width: 800px) {
  .container { width: min(calc(100% - 44px), 1360px); }
  .header-inner { min-height: 74px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 0 8px 12px; font-size: 14px; font-weight: 680; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: inline-block; font-size: 23px; line-height: .8; transition: transform .2s; }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { position: absolute; top: calc(100% + 10px); right: 0; width: min(315px, calc(100vw - 44px)); padding: 10px 19px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 35px #0002; }
  .mobile-nav nav a { display: block; min-height: 48px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .mobile-nav nav a:last-child { border: 0; }
  .hero { padding-top: 75px; padding-bottom: 105px; }
  .hero h1 { font-size: clamp(52px, 8vw, 75px); }
  .case-heading h2 { font-size: clamp(110px, 22vw, 165px); }
  .case-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .case-screen-button:nth-child(2), .case-screen-button:nth-child(4) { margin-top: 52px; }
  .case-screen-button:nth-child(3) { margin-top: 0; }
  .case-facts { grid-template-columns: 1fr; gap: 48px; }
  .section-intro, .process-head, .about-section { grid-template-columns: 1fr; gap: 31px; }
  .services-list { margin-top: 60px; }
  .service-row { grid-template-columns: 1fr minmax(230px, .5fr); gap: 25px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 25px; }
  .process-list li:nth-child(2)::after { display: none; }
  .about-section > div > p { margin-left: 0; }
  .contact-bottom { grid-template-columns: 1fr; gap: 49px; }
  .contact-actions { width: min(100%, 560px); }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 36px), 1360px); }
  .brand { font-size: 24px; }
  .hero { padding-top: 66px; padding-bottom: 89px; gap: 58px; }
  .hero h1 { margin-top: 25px; font-size: clamp(45px, 11.7vw, 58px); line-height: 1.04; }
  .hero-lead { margin-top: 30px; font-size: 19px; }
  .hero-actions { gap: 16px 22px; margin-top: 31px; }
  .primary-button { min-height: 58px; padding: 14px 17px; font-size: 15px; }
  .hero-secondary { font-size: 15px; }
  .workshop { display: flex; flex-direction: column; }
  .workshop-controls { order: -1; padding-top: 0; padding-bottom: 20px; }
  .workshop-top { padding: 17px 17px 0; font-size: 10px; }
  .workshop-bottom { padding: 0 17px 17px; font-size: 10px; }
  .mode-button { min-height: 57px; padding: 8px 3px; font-size: 12px; }
  .mode-description { font-size: 14px; }
  .case-section { padding-top: 85px; padding-bottom: 110px; }
  .case-kicker { align-items: start; flex-direction: column; gap: 10px; }
  .case-heading { margin-top: 29px; }
  .case-heading h2 { font-size: clamp(102px, 25vw, 138px); }
  .case-heading p { font-size: 25px; }
  .case-figure { margin-top: 56px; }
  .case-screens { gap: 9px; }
  .case-screen-button:nth-child(n) { margin-top: 0; }
  .screen-open { width: 32px; height: 32px; font-size: 19px; }
  .case-facts { margin-top: 75px; }
  .case-facts ul { grid-template-columns: 1fr; }
  .dialog-toolbar { min-height: 55px; padding: 7px 12px; font-size: 11px; }
  .dialog-close, .dialog-prev, .dialog-next { width: 37px; height: 37px; font-size: 23px; }
  .dialog-stage { grid-template-columns: 37px minmax(0, 1fr) 37px; gap: 4px; padding: 12px; }
  .dialog-image { max-height: min(72vh, 650px); }
  .section-space { padding-top: 105px; padding-bottom: 115px; }
  .section-intro h2, .about-section h2 { font-size: 51px; }
  .section-intro > div > p { font-size: 17px; }
  .service-row { grid-template-columns: 1fr; gap: 11px; min-height: 0; padding: 27px 0; }
  .service-row h3 { font-size: clamp(36px, 9vw, 49px); }
  .service-row p { font-size: 16px; }
  .process-section { padding: 89px 0 101px; }
  .process-head h2 { font-size: 52px; }
  .process-list { grid-template-columns: 1fr; gap: 29px; margin-top: 52px; }
  .process-list li::after { display: none; }
  .contact-section { padding: 102px 0 116px; }
  .contact-section h2 { font-size: clamp(60px, 14vw, 82px); }
  .contact-bottom { margin-top: 54px; }
  .contact-bottom > p { font-size: 19px; }
  .contact-primary { min-height: 83px; padding: 18px 20px; font-size: 20px; }
  .footer-inner { flex-direction: column; align-items: start; justify-content: center; min-height: 105px; }
}
@media (max-width: 360px) { .mode-button { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
