:root {
  --bg: #dfdedb;
  --paper: #efeeeb;
  --surface: #d3d2ce;
  --ink: #26251e;
  --muted: #5f5d55;
  --accent: #2456d6;
  --accent-ink: #fff;
  --dark: #20221f;
  --dark-ink: #f2f2f2;
  --field: #f9f8f5;
  --error: #a12a26;
  --gutter: 12px;
  --gap: 10px;
  --pad: clamp(24px, 3.4vw, 52px);
  --font: Arial, Helvetica, sans-serif;
  --display: clamp(62px, 7.5vw, 112px);
  --heading: clamp(36px, 4.5vw, 68px);
  --subheading: 24px;
  --body: 18px;
  --small: 16px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--font); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1, h2 { letter-spacing: -.055em; line-height: 1.02; }
h2 { font-size: var(--heading); }
h3 { font-size: var(--subheading); line-height: 1.12; letter-spacing: -.035em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-size: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
img { display: block; max-width: 100%; height: auto; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--accent-ink); background: var(--accent); }
[hidden] { display: none !important; }
.sr-only, .trap-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 16px 24px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.frame { margin-inline: var(--gutter); }
.tile { overflow: hidden; background: var(--paper); }
.section { margin-top: 144px; }
.section-heading { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 6vw; padding: 0 var(--pad) 44px; }
.section-heading p { max-width: 46ch; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding-inline: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 700; letter-spacing: -.065em; }
.brand-mark { width: 27px; height: 30px; }
.main-nav, .header-controls, .languages { display: flex; align-items: center; }
.main-nav { gap: 30px; font-size: var(--small); }
.main-nav a, .languages a, .footer-bottom a { padding-block: 12px; }
.main-nav a:hover, .plain-link:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-controls { gap: 24px; font-size: var(--small); }
.languages { gap: 4px; }
.languages a { min-width: 35px; text-align: center; }
.languages a[aria-current] { background: var(--ink); color: var(--paper); }
.header-quote { padding: 14px 20px; background: var(--paper); }
.header-quote:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; width: 44px; height: 44px; background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 21px; height: 2px; background: var(--ink); }
.hero-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(390px, auto) 220px; gap: var(--gap); }
.hero-copy { grid-column: span 6; padding: var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-copy h1 { font-size: var(--display); }
.hero-lead { margin-top: 32px; max-width: 42ch; }
.plain-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; }
.hero-copy .plain-link { margin-top: 12px; }
.hero-window { grid-column: span 6; display: flex; flex-direction: column; background: var(--dark); }
.hero-window img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top; flex: 1; }
.window-caption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--dark); color: var(--dark-ink); font-size: var(--small); }
.window-caption b { font-weight: 500; }
.hero-software { position: relative; grid-column: span 6; }
.hero-software img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-software .window-caption { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-statement { grid-column: span 3; padding: 24px; background: var(--dark); color: var(--dark-ink); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.hero-statement p:first-child { font-size: 24px; letter-spacing: -.035em; line-height: 1.15; }
.hero-statement p:last-child { font-size: var(--small); }
.hero-action { grid-column: span 3; background: var(--accent); color: var(--accent-ink); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
.action-arrow { width: 64px; height: 64px; align-self: flex-end; }
.hero-action:hover .action-arrow { transform: translate(5px, -5px); }
.hero-action:focus-visible { outline-offset: -7px; outline-color: var(--accent-ink); }
.work-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 0 var(--pad) 28px; font-size: var(--small); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { min-height: 44px; padding: 10px 20px; background: var(--paper); }
.filters button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.filters button:hover { transform: translateY(-2px); }
.work-wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 52px var(--gap); }
.work-item { grid-column: span 6; min-width: 0; }
.work-item:nth-child(4n+1) { grid-column: span 7; }
.work-item:nth-child(4n+2) { grid-column: span 5; }
.work-item:last-child { grid-column: span 12; display: grid; grid-template-columns: 1.4fr 1fr; column-gap: var(--pad); align-items: start; padding: 0; background: var(--surface); }
.work-item:last-child .project-image { grid-row: span 2; }
.work-item:last-child .project-info { padding: var(--pad) var(--pad) 0 0; flex-direction: column; gap: 20px; }
.work-item:last-child .project-description { padding: 0 var(--pad) var(--pad) 0; }
.work-wall.is-filtered { display: flex; flex-wrap: wrap; }
.work-wall.is-filtered .work-item { display: block; flex: 1 1 40%; background: transparent; }
.work-wall.is-filtered .project-info { padding: 22px 24px 10px; flex-direction: row; }
.work-wall.is-filtered .project-description { padding: 0 24px; }
.work-wall.is-filtered .project-image img { height: auto; min-height: 0; aspect-ratio: 1.65; }
.project-image { display: block; overflow: hidden; background: var(--surface); }
.project-image img { width: 100%; height: 380px; object-fit: cover; object-position: top; }
.work-item:nth-child(3) .project-image img, .work-item:nth-child(4) .project-image img { height: 340px; }
.work-item:last-child .project-image img { min-height: 360px; height: 100%; }
.project-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 24px 10px; }
.project-info h3 { font-size: 24px; }
.project-info p { margin-top: 6px; font-size: var(--small); }
.project-quote { padding-block: 4px; font-size: var(--small); text-decoration: underline; text-underline-offset: 5px; text-align: right; }
.project-quote:hover { color: var(--accent); }
.project-description { padding: 0 24px; max-width: 62ch; font-size: var(--small); }
.concept-note { margin: 28px var(--pad) 0; font-size: var(--small); }
.service-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.service-main { grid-column: span 5; padding: 36px 36px 0; }
.service-main p, .service-apps p { margin-top: 20px; }
.service-picture { overflow: hidden; }
.service-picture img { width: 100%; height: 250px; object-fit: cover; object-position: top; }
.service-main .service-picture { margin: 32px -36px 0; }
.service-apps { grid-column: span 4; background: var(--dark); color: var(--dark-ink); padding: 0 32px 32px; }
.service-apps .service-picture { margin: 0 -32px 32px; }
.service-apps .service-picture img { height: 215px; }
.service-note { grid-column: span 3; padding: 32px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.service-note h3 { font-size: var(--subheading); }
.service-note p { font-size: var(--small); }
.product-list { display: grid; gap: 8px; }
.product-row { display: grid; grid-template-columns: 1.1fr 1.25fr .8fr auto; align-items: center; gap: 32px; padding: 26px var(--pad); background: var(--paper); }
.product-row:nth-child(even) { background: var(--surface); }
.product-row h3 { font-size: 24px; }
.product-row p, .product-kind, .product-open { font-size: var(--small); }
.product-open { text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; }
.product-row:hover { background: var(--ink); color: var(--paper); }
.lab-section { padding: 64px 0 0; background: var(--dark); color: var(--dark-ink); }
.lab-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.lab-project { grid-column: span 6; background: var(--paper); color: var(--ink); }
.lab-project:first-child { grid-column: span 12; display: grid; grid-template-columns: 1.6fr 1fr; align-items: stretch; }
.lab-project img { width: 100%; height: 300px; object-fit: cover; object-position: top; }
.lab-project:first-child img { height: 380px; }
.lab-text { padding: 32px; }
.lab-text p { margin-top: 20px; max-width: 35ch; }
.lab-text>span { display: inline-block; margin-top: 24px; text-decoration: underline; text-underline-offset: 5px; font-size: var(--small); }
.lab-project:first-child .lab-text { display: flex; flex-direction: column; justify-content: center; padding: var(--pad); }
.lab-project:hover .lab-text>span { transform: translateX(5px); }
.process-section { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.process-intro { background: var(--accent); color: var(--accent-ink); padding: var(--pad); display: flex; flex-direction: column; align-items: flex-start; }
.process-intro p { margin-top: 32px; max-width: 36ch; }
.process-intro .plain-link { margin-top: auto; padding-top: 32px; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.process-list li { padding: 28px 36px; }
.process-list h3 { font-size: 24px; }
.process-list p { margin-top: 10px; font-size: var(--small); }
.faq-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6vw; padding-inline: var(--pad); }
.faq-list { display: grid; gap: 8px; }
.faq-list details { padding: 0 24px; background: var(--paper); }
.faq-list details[open] { background: var(--ink); color: var(--paper); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; cursor: pointer; font-size: var(--body); line-height: 1.25; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { position: absolute; content: ''; top: 7px; width: 16px; height: 2px; background: currentColor; }
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { transform: rotate(0); }
.faq-list details p { padding: 0 0 26px; font-size: var(--small); max-width: 52ch; }
.quote-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5vw; padding: var(--pad); background: var(--dark); color: var(--dark-ink); }
.quote-intro>p { margin-top: 32px; max-width: 36ch; }
.quote-intro .quote-note { font-size: var(--small); margin-top: 24px; }
.quote-image { margin-top: 44px; overflow: hidden; }
.quote-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; object-position: top; }
.quote-form { display: grid; gap: 20px; }
.form-required { font-size: var(--small); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: flex; flex-direction: column; gap: 9px; font-size: var(--small); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-width: 0; border: 0; border-radius: 0; background: var(--field); color: var(--ink); padding: 15px 14px; line-height: 1.4; font-size: var(--small); }
.quote-form textarea { resize: vertical; min-height: 130px; }
.quote-form input:focus-visible, .quote-form select:focus-visible, .quote-form textarea:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.quote-form .consent { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; padding: 0; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--accent); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.submit-button { min-height: 60px; padding: 16px 28px; text-align: left; background: var(--accent); color: var(--accent-ink); }
.submit-button:hover { transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-feedback:empty { display: none; }
.form-feedback, .form-flash { padding: 18px; background: var(--paper); color: var(--ink); font-size: var(--small); }
.form-feedback[data-error] { background: var(--error); color: var(--accent-ink); }
.site-footer { padding: 80px 20px 24px; }
.footer-copy, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-copy p { font-size: 24px; letter-spacing: -.035em; }
.footer-copy a { font-size: var(--small); }
.footer-wordmark { display: block; width: 100%; margin: 44px 0 32px; font-size: clamp(42px, 12.5vw, 210px); font-weight: 700; line-height: .95; letter-spacing: -.075em; }
.footer-bottom { font-size: var(--small); flex-wrap: wrap; }
.footer-bottom>div { display: flex; gap: 24px; }
@media (min-width: 1600px) { .hero-board { grid-template-rows: 470px 240px; } .project-image img { height: 460px; } }
@media (max-width: 1100px) {
  :root { --display: clamp(54px, 7.2vw, 80px); }
  .main-nav { gap: 18px; }
  .header-controls { gap: 12px; }
  .header-quote { padding: 12px; }
  .hero-board { grid-template-rows: minmax(340px, auto) 240px; }
  .hero-statement, .hero-action { padding: 20px; }
  .service-main { grid-column: span 6; }
  .service-apps { grid-column: span 6; }
  .service-note { grid-column: span 12; display: grid; grid-template-columns: 1fr 1.3fr; }
  .service-note .plain-link { grid-column: 2; }
  .product-row { grid-template-columns: 1fr 1.4fr auto; gap: 20px; }
  .product-kind { display: none; }
  .project-image img { height: 300px; }
  .work-item:nth-child(3) .project-image img, .work-item:nth-child(4) .project-image img { height: 300px; }
  .project-info { flex-direction: column; gap: 8px; }
  .project-quote { text-align: left; }
}
@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; min-height: 78px; padding-inline: 12px; gap: 12px; }
  .wordmark { font-size: 23px; }
  .main-nav { width: 100%; order: 3; padding: 0 0 16px; justify-content: space-between; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .js .menu-toggle { display: flex; }
  .header-quote { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2 { max-width: 18ch; }
  .section-heading p { max-width: 54ch; }
  .hero-board { grid-template-rows: minmax(360px, auto) 230px; }
  .hero-copy { padding: 28px; }
  .hero-copy h1 { font-size: clamp(46px, 7.1vw, 58px); }
  .hero-lead { font-size: var(--small); margin-top: 28px; }
  .hero-statement p:first-child, .hero-action { font-size: 22px; }
  .hero-statement p:last-child { line-height: 1.4; }
  .project-image img, .work-item:nth-child(3) .project-image img, .work-item:nth-child(4) .project-image img { height: 250px; }
  .work-item:last-child { grid-template-columns: 1.2fr 1fr; }
  .work-item:last-child .project-image img { min-height: 320px; }
  .work-item:last-child .project-description { padding-bottom: 24px; }
  .project-info { padding: 20px 12px 10px; }
  .project-description { padding-inline: 12px; }
  .product-row { grid-template-columns: 1fr auto; }
  .product-row p { grid-row: 2; }
  .product-open { grid-column: 2; grid-row: 1 / span 2; }
  .lab-project:first-child { grid-template-columns: 1.3fr 1fr; }
  .lab-project img { height: 230px; }
  .lab-text { padding: 24px; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .quote-section { grid-template-columns: 1fr; gap: 44px; }
  .quote-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .quote-intro h2 { grid-column: span 2; }
  .quote-intro>p, .quote-intro .quote-note { margin-top: 0; }
  .quote-image { grid-column: 2; grid-row: 2 / span 2; margin: 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 8px; --gap: 8px; --pad: 24px; --heading: 39px; --subheading: 24px; --body: 18px; }
  .section { margin-top: 96px; }
  .site-header { padding-inline: 8px; }
  .wordmark { font-size: 21px; gap: 4px; }
  .brand-mark { width: 23px; height: 25px; }
  .header-controls { gap: 8px; }
  .languages { gap: 0; font-size: 14px; }
  .languages a { min-width: 31px; }
  .hero-board { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-copy { grid-column: span 2; min-height: 330px; padding: 28px 24px; }
  .hero-copy h1 { font-size: clamp(46px, 12.5vw, 67px); }
  .hero-lead { margin-top: 28px; font-size: var(--body); }
  .hero-copy .plain-link { margin-top: 16px; font-size: var(--small); }
  .hero-copy .hero-quote { background: var(--accent); color: var(--accent-ink); padding: 12px 20px; }
  .hero-window { grid-column: span 2; }
  .hero-window img { aspect-ratio: 1.44; flex: initial; }
  .window-caption { padding: 12px 18px; }
  .hero-software { grid-column: span 2; order: 5; height: 240px; }
  .hero-statement, .hero-action { grid-column: span 1; min-height: 230px; padding: 20px; }
  .hero-statement p:first-child { font-size: 24px; }
  .hero-statement p:last-child { font-size: 16px; }
  .hero-action { font-size: 24px; }
  .action-arrow { width: 56px; height: 56px; }
  .section-heading { padding: 0 16px 32px; }
  .work-toolbar { padding: 0 16px 24px; gap: 14px; }
  .filters { gap: 5px; }
  .filters button { padding: 10px 13px; }
  .work-wall { display: flex; flex-direction: column; gap: 36px; }
  .work-item { width: 100%; }
  .work-wall.is-filtered .work-item { flex-basis: 100%; }
  .project-image img, .work-item:nth-child(3) .project-image img, .work-item:nth-child(4) .project-image img { height: auto; aspect-ratio: 1.44; }
  .project-info { flex-direction: row; padding: 20px 16px 10px; gap: 16px; }
  .project-info h3 { font-size: 24px; overflow-wrap: anywhere; }
  .project-quote { max-width: 130px; text-align: right; }
  .project-description { padding-inline: 16px; }
  .work-item:last-child { display: block; padding-bottom: 24px; }
  .work-item:last-child .project-image img { min-height: 0; }
  .work-item:last-child .project-info { padding: 20px 16px 10px; flex-direction: row; }
  .work-item:last-child .project-description { padding: 0 16px; }
  .concept-note { margin-inline: 16px; }
  .service-board { display: flex; flex-direction: column; }
  .service-main, .service-apps, .service-note { padding: 28px; }
  .service-main .service-picture { margin: 28px -28px -28px; }
  .service-apps { display: flex; flex-direction: column; }
  .service-apps .service-picture { order: 3; margin: 28px -28px -28px; }
  .service-note { display: flex; gap: 24px; }
  .service-picture img, .service-apps .service-picture img { height: auto; aspect-ratio: 1.7; }
  .product-row { padding: 24px; gap: 12px 16px; }
  .product-row h3 { font-size: 24px; overflow-wrap: anywhere; }
  .product-row p { grid-column: span 2; }
  .product-open { grid-row: 1; white-space: normal; max-width: 80px; text-align: right; }
  .lab-section { padding-top: 36px; }
  .lab-board { display: flex; flex-direction: column; }
  .lab-project:first-child { display: block; }
  .lab-project img, .lab-project:first-child img { height: auto; aspect-ratio: 1.44; }
  .lab-project:first-child .lab-text { padding: 28px; }
  .lab-text { padding: 28px; }
  .process-section { grid-template-columns: 1fr; }
  .process-intro { min-height: 360px; padding: 28px; }
  .process-list li { padding: 26px 28px; }
  .faq-section { padding-inline: 16px; }
  .faq-list details { padding-inline: 20px; }
  summary { min-height: 88px; font-size: 18px; }
  .quote-section { padding: 32px 24px; }
  .quote-intro { display: block; }
  .quote-intro>p { margin-top: 24px; }
  .quote-intro .quote-note { margin-top: 20px; }
  .quote-image { margin-top: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .quote-form input, .quote-form select, .quote-form textarea { min-height: 50px; }
  .quote-form .consent input { min-height: 20px; }
  .site-footer { padding: 56px 16px 24px; }
  .footer-copy { align-items: flex-start; }
  .footer-copy p { max-width: 15ch; font-size: 24px; }
  .footer-copy a { max-width: 90px; text-align: right; }
  .footer-wordmark { margin: 36px 0; font-size: clamp(46px, 12.5vw, 67px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, button, .action-arrow, .lab-text>span { transition: transform 300ms var(--ease), opacity 180ms ease; }
  .hero-window img { animation: window-open 1s var(--ease) both; }
  @keyframes window-open { from { clip-path: inset(0 100% 0 0); transform: scale(1.04); } to { clip-path: inset(0); transform: scale(1); } }
  @keyframes arrive { from { opacity: .4; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes picture-arrive { from { opacity: .5; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
  [data-reveal].is-arriving { animation: arrive 750ms var(--ease) both; }
  .work-item.is-arriving, .lab-project.is-arriving { animation-name: picture-arrive; }
  .product-row.is-arriving { animation-duration: 550ms; }
  @supports (animation-timeline: view()) { .hero-software img { animation: software-drift linear both; animation-timeline: view(); } @keyframes software-drift { from { transform: translateY(-3%) scale(1.06); } to { transform: translateY(3%) scale(1.06); } } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
