/* Keep decorative controls out of the reading area on every screen. */
.motion-toggle{position:static;flex-shrink:0;min-height:44px;margin:0;font-size:12px;text-transform:none;letter-spacing:0}
.footer-inner{flex-wrap:wrap}
/* A single mobile layer, after the desktop and component styles. */
@media(max-width:760px){
  html{scroll-padding-top:88px}
  body{font-size:16px}
  .container{width:calc(100% - 56px)}
  .site-header{height:72px;background:#060708;backdrop-filter:none}
  .brand{display:flex;align-items:center;min-height:44px}
  .brand img{width:98px}
  .menu-button{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:11px;position:relative}
  .menu-button span{width:22px;height:1.5px;margin:0;transition:transform .2s,opacity .2s}
  .menu-button[aria-expanded=true] span:first-child{transform:translateY(6.5px) rotate(45deg)}
  .menu-button[aria-expanded=true] span:nth-child(2){opacity:0}
  .menu-button[aria-expanded=true] span:last-child{transform:translateY(-6.5px) rotate(-45deg)}
  body.navigation-open{overflow:hidden}
  .site-header nav{position:fixed;inset:72px 0 0;top:72px;height:calc(100dvh - 72px);padding:48px 32px max(48px,env(safe-area-inset-bottom));overflow-y:auto;background:#080b10;align-items:stretch;justify-content:flex-start;border:0}
  .site-header nav.is-open{display:flex;gap:12px}
  .site-header nav a{padding:28px 0;font-family:var(--font-display);font-size:22px;line-height:1.3;min-height:86px;flex-shrink:0;border-bottom:1px solid var(--line)}
  .site-header nav a.nav-contact{margin-top:36px;min-height:52px;justify-content:center;padding:14px 20px;background:#FFFFFF;color:#08111d;border:0;font-size:16px}
  .reading-progress{display:none}
  .home-hero,.home-hero-content{min-height:0}
  .home-hero-content{padding-top:124px;padding-bottom:32px;justify-content:flex-start;gap:56px}
  .home-hero h1{font-size:clamp(36px,10vw,56px);line-height:1.08;max-width:600px;margin-bottom:24px;letter-spacing:-.045em}
  .home-hero .intro{font-size:16px;line-height:1.65;max-width:520px}
  .hero-background{object-position:65% center}
  .hero-shade{background:linear-gradient(90deg,#000d,#0007),linear-gradient(0deg,#060708,transparent 45%)}
  .origin{position:static;max-width:none;font-size:12px;line-height:1.6}
  .actions,.home-hero .actions,.hero-copy .actions,.actions.centered{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:28px}
  .button{min-height:52px;padding:14px 20px;font-size:16px;width:100%;font-family:var(--font-display);font-weight:700}
  .text-link{font-size:15px;min-height:44px;line-height:1.4}
  .actions .text-link{justify-content:center;text-align:center;padding:12px 4px}
  .section{padding:56px 0}
  .inner-hero,.page-intro{padding-top:120px;padding-bottom:48px}
  .project-intro{padding-top:108px;padding-bottom:32px}
  .section-head,.page-intro .section-head{margin-bottom:32px}
  h2,.section-head h2,.closing h2,.cta-content>h2{font-size:clamp(30px,8.5vw,40px);line-height:1.12}
  .hero-copy h1,.page-intro h1,.project-intro h1{font-size:clamp(36px,10vw,52px);line-height:1.1;overflow-wrap:normal}
  .section-head .intro,.hero-copy .intro,.closing .intro{font-size:16px;line-height:1.65}
  .eyebrow{font-size:11px;letter-spacing:.06em;margin-bottom:18px}
  .spotlight-section{padding:24px 0}
  .spotlight{grid-template-columns:minmax(0,1fr);gap:12px}
  .spotlight>.eyebrow{grid-column:auto;font-size:10px}
  .spotlight>div{gap:18px;font-size:13px}
  .spotlight .text-link{justify-self:start;font-size:14px}
  .spotlight-logo{width:54px;flex-shrink:0}
  .grid,.split{gap:32px}
  .engagement-art.engagement-ascii{width:86%;max-width:420px}
  .engagement h3,.service-row h3{font-size:26px;line-height:1.2}
  .industry-pictogram,.industry-pictogram img{height:88px;width:88px}
  .industry-open-grid{row-gap:32px}
  .industry-open h3{font-size:23px}
  .industry-example summary{font-size:14px;min-height:44px;align-items:center}
  .industry-teaser{margin-top:40px;padding-top:32px}
  .section-link{margin-top:24px}
  .feature{padding:32px 0;gap:20px}
  .feature h3{font-size:30px}
  .hero-art,.feature-art{max-height:300px}
  .work-logo-card{padding:32px 28px;border-radius:12px}
  .work-logo-area{height:46px;margin-bottom:20px}
  .work-project-copy h2{font-size:27px}
  .work-project-footer{gap:6px;padding-top:24px}
  .work-project-link{display:inline-flex;align-items:center;min-height:44px;font-family:var(--font-display);font-weight:700}
  .flow-step{grid-template-columns:76px minmax(0,1fr);column-gap:20px}
  .flow-step h3{font-size:24px}
  .flow-step p{font-size:15px}
  .connection-workflow{gap:24px}
  .workflow-canvas{width:100%;max-width:480px}
  .workflow-step-title{font-size:22px}
  .workflow-step>span:last-child{font-size:15px}
  .workflow-review-note{font-size:13px}
  .contact-grid{gap:32px}
  .choice-group{flex-direction:column}
  .footer{padding:32px 0 max(24px,env(safe-area-inset-bottom))}
  .footer-inner{gap:20px}
  .footer nav{gap:0 24px;display:grid;grid-template-columns:1fr 1fr;width:100%}
  .footer nav .text-link{justify-content:flex-start}
  .motion-toggle{align-self:flex-start;min-height:44px;font-size:13px;padding:10px 14px}
}
@media(prefers-reduced-motion:reduce){.menu-button span{transition:none}}

/* Tablet layouts need room for the copy as well as the artwork. */
@media(min-width:761px) and (max-width:1000px){
  .container{width:calc(100% - 64px)}
  .section{padding:72px 0}
  .site-header nav{gap:24px}
  .hero-split{grid-template-columns:1fr;gap:28px}
  .hero-copy{max-width:660px}
  .hero-art{max-width:540px;max-height:320px;margin:auto}
  .hero-copy h1{font-size:52px}
  .inner-hero{padding-top:144px;padding-bottom:56px}
  .industry-open-grid,.approach-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}
  .contact-grid{grid-template-columns:1fr;gap:40px}
  .contact-aside{max-width:640px}
  .feature{gap:28px}
  .feature h3{font-size:32px}
  .feature-art{max-height:280px}
  .tech-row{grid-template-columns:240px minmax(0,1fr);gap:32px}
  .provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Phone scale: smaller artwork with generous space between content groups. */
@media(max-width:760px){
  .section{padding:88px 0}
  main p{line-height:1.75}
  .hero-copy h1{margin-bottom:28px}
  .feature li+li{margin-top:16px}
  .capability-body p+p{margin-top:24px}
  .capability-body .text-link{margin-top:20px}
  .numbered-list{gap:40px}
  .spotlight-section{padding:24px 0}
  .grid,.split{gap:64px}
  .hero-split{gap:56px}
  .connection-workflow{gap:56px}
  .contact-grid{gap:64px}
  .work-logo-grid{gap:32px}
  .work-logo-area{margin-bottom:36px}
  .actions,.home-hero .actions,.hero-copy .actions,.actions.centered{gap:20px;margin-top:36px}
  .section-link{margin-top:32px}
  .workflow-step-title{margin-bottom:12px}
  .inner-hero,.page-intro{padding-top:132px;padding-bottom:64px}
  .project-intro{padding-top:128px;padding-bottom:56px}
  .home-hero-content{padding-top:136px;padding-bottom:48px;gap:64px}
  .home-hero h1,.hero-copy h1,.page-intro h1,.project-intro h1{font-size:clamp(34px,9.5vw,44px);line-height:1.1}
  h2,.section-head h2,.closing h2,.cta-content>h2,.services h2,.proof h2,.technology-copy h2,.project-description h2{font-size:clamp(29px,8vw,34px);line-height:1.15}
  h3,.engagement h3,.service-row h3,.numbered-list h3{font-size:24px;line-height:1.25}
  .section-head h1,.section-head h2{margin-bottom:28px}
  .section-head,.page-intro .section-head,.knowledge-flow-section .section-head{margin-bottom:56px}
  .eyebrow,.step-num,.project-facts dt{font-size:12px;letter-spacing:.04em}
  .text-link{font-size:16px}
  .card p,.panel p,.feature ul,.feature .example,.industry-open .card-copy>p,.industry-example p,.capability-body p,.flow-step>p,.guardrails .panel p{font-size:16px;line-height:1.75}
  .hero-art{width:100%;max-width:340px;height:auto;max-height:220px;object-fit:contain;margin:0 auto}
  .feature-art,.feature-art.solution-scene-art{width:100%;max-width:320px;height:auto;max-height:220px;object-fit:contain;margin:0 auto}
  .feature{margin-top:0;padding:64px 0;gap:48px}
  .feature h3{font-size:28px;margin-bottom:24px}
  .feature .example{margin-top:32px;padding-left:16px}
  .capability summary{gap:14px;min-height:68px;padding:18px 0}
  .capability h3{font-size:23px}
  .capability-body{padding:16px 0 40px}
  .capability-body .capability-lead{font-size:16px}
  .capability-mobile-visual{display:block;width:100%;max-width:290px;max-height:200px;object-fit:contain;margin:0 auto 36px}
  .industry-open-grid{gap:64px}
  .industry-open{display:grid;grid-template-columns:60px minmax(0,1fr);gap:28px 16px;align-content:start}
  .industry-open .card-copy{display:contents}
  .industry-pictogram{grid-column:1;grid-row:1;width:60px;height:60px;padding:0;margin:0}
  .industry-pictogram img{width:60px;height:60px;object-fit:contain}
  .industry-open h3{grid-column:2;grid-row:1;align-self:center;font-size:22px;line-height:1.2;margin:0;min-height:0}
  .industry-open .card-copy>p,.industry-open .industry-example{grid-column:1/-1;margin:0;min-height:0}
  .industry-example summary{font-size:14px;padding:10px 0}
  .industry-example p{margin:14px 0 0}
  .industry-teaser{display:block;margin-top:56px;padding-top:40px;margin-bottom:32px}
  .industry-teaser h3{font-size:24px;margin-bottom:16px}
  .industry-teaser>p{font-size:16px}
  .engagement-art.engagement-ascii{display:block;width:88%;max-width:300px;max-height:200px;object-fit:contain;margin:0 auto}
  .engagement h3{margin-top:36px;margin-bottom:24px}
  .engagement .small{margin-top:24px;font-size:14px}
  .delivery{padding:24px 0;gap:16px 20px}
  .delivery h4{font-size:20px}
  .delivery p{font-size:16px}
  .process-cards .card,.approach-cards .card{display:grid;grid-template-columns:76px minmax(0,1fr);gap:28px 16px;align-content:start}
  .process-cards .card-copy,.approach-cards .card-copy{display:contents}
  .process-cards .principle-art.partner-ascii-art,.process-cards .principle-art,.approach-cards .principle-art{grid-row:1;grid-column:1;width:76px;height:76px;margin:0;object-fit:contain}
  .process-cards h3,.approach-cards h3{grid-row:1;grid-column:2;align-self:center;font-size:23px;margin:0}
  .process-cards p,.approach-cards p{grid-column:1/-1;margin:0}
  .collaboration-art,.collaboration-art.partner-ascii-art{max-width:290px;max-height:190px;object-fit:contain;margin:0 auto}
  .card .card-copy{padding-top:36px;padding-bottom:0}
  .panel{padding:32px 0}
  .panel h3{margin-bottom:16px}
  .panel p:last-child{margin-bottom:0}
  .section-note,.partner-note{font-size:14px;line-height:1.6;margin-top:32px}
  .flow-step{width:100%;max-width:none;column-gap:20px;row-gap:12px}
  .flow-step .flow-art{width:76px;height:76px;object-fit:contain}
  .flow-step h3{font-size:23px;margin-bottom:8px}
  .flow-step .eyebrow{margin:0 0 8px}
  .flow-step p{font-size:16px;margin-bottom:0}
  .flow-copy{min-height:0;padding:28px 0}
  .workflow-step{font-weight:400;font-family:var(--font-body);padding:28px 0 28px 20px}
  .workflow-step>span:last-child{font-size:16px}
  .workflow-step-title{font-family:var(--font-display);font-size:22px}
  .workflow-review-note{font-size:14px;margin-top:28px;padding-left:18px}
  .workflow-canvas{max-width:420px}
  .workflow-labels text{font-size:28px}
  .workflow-hint{font-size:14px}
  .tech-row{padding:32px 0;gap:24px}
  .tech-row h3{font-size:22px;margin-bottom:16px}
  .tech-row p{font-size:16px;margin-bottom:8px}
  .partner-logo{padding:16px 0}
  .partner-logo img{max-width:180px}
  .provider-grid{gap:32px}
  .provider-grid img{max-width:110px;max-height:32px}
  .technology-copy .panel{padding:24px}
  .ribbon-cta .grid{gap:64px}
  .work-project-copy h2{font-size:26px;line-height:1.2}
  .work-project-copy p{font-size:16px}
  .work-project-footer{padding-top:28px;gap:12px}
  .project-facts{padding:28px 0;gap:28px 20px}
  .project-facts dd{font-size:15px;line-height:1.5}
  .call-hero img,.guardrail-art{height:auto;width:100%;max-width:320px;max-height:220px;object-fit:contain;margin:auto}
  .guardrails .grid{gap:28px}
  .product-figure{padding:0}
  .product-figure figcaption,.caption{font-size:13px;line-height:1.5;letter-spacing:0}
  .model-selector{margin:48px 0}
  .selector-figure{max-width:240px}
  .contact-grid form{gap:32px}
  .form-row{gap:32px}
  .contact-grid label,.contact-grid legend{font-size:15px}
  .contact-grid input,.contact-grid select{min-height:52px}
  .contact-grid textarea{min-height:144px}
  .contact-grid .small{font-size:14px;line-height:1.6}
  .contact-aside h3{font-size:24px;margin-bottom:20px}
  .contact-aside p{margin-bottom:24px}
  .faqs details{padding:28px 0}
  .faqs summary{font-size:18px;line-height:1.4;min-height:44px;display:flex;align-items:center}
  .faqs summary:after{top:8px}
  .footer{padding:48px 0 max(40px,env(safe-area-inset-bottom))}
}
@media(max-width:359px){
  .container{width:calc(100% - 32px)}
  .home-hero h1,.hero-copy h1,.page-intro h1,.project-intro h1{font-size:32px}
  .work-logo-card{padding:20px}
  .industry-open{grid-template-columns:52px minmax(0,1fr);column-gap:12px}
  .industry-pictogram,.industry-pictogram img{width:52px;height:52px}
  .industry-open h3{font-size:20px}
}

/* Provider logos stay a grid on desktop and flow in two rows on phones. */
.provider-lane,.provider-track,.provider-set,.provider-logo{display:contents}
.provider-copy{display:none}
@keyframes provider-drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){
  .provider-grid{display:flex;flex-direction:column;gap:28px;min-width:0;width:100%;padding:20px 0;overflow:hidden}
  .provider-lane{display:block;width:100%;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
  .provider-track{display:flex;width:max-content;animation:provider-drift 28s linear infinite}
  .provider-lane:nth-child(2) .provider-track{animation-direction:reverse;animation-duration:32s}
  .provider-set{display:flex;flex-shrink:0}
  .provider-logo{display:flex;align-items:center;justify-content:center;flex:0 0 clamp(156px,24vw,180px);width:clamp(156px,24vw,180px);height:48px;padding:0 20px}
  .provider-grid img{display:block;width:auto;height:auto;max-width:116px;max-height:28px;object-fit:contain}
  .motion-paused .provider-track{animation-play-state:paused}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
  .provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
  .provider-lane,.provider-track,.provider-set,.provider-logo{display:contents;animation:none;mask-image:none;-webkit-mask-image:none}
  .provider-copy{display:none}
}

/* Company details shared across every page. */
.footer-legal{margin-top:32px;padding-top:24px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.7}
.footer-legal p{margin:0;font-size:inherit;line-height:inherit}
.footer-legal p+p{margin-top:6px}
@media(max-width:760px){.footer-legal{margin-top:32px;padding-top:24px;max-width:100%}}

/* Keep first-page content clear of the fixed header at tablet widths. */
@media (min-width:761px) and (max-width:1000px) {
  .section.page-intro, .section.project-intro, .section.inner-hero {
    padding-top:calc(var(--nav-height) + 56px);
  }
}
