/* Touch-first refinements for the institutional website. */
.mobile-contact { display: none; }
.static-menu summary { gap: 6px; font-size: 12px; font-weight: 600; }
.menu-symbol { display: block; width: 19px; height: 14px; border-block: 2px solid currentColor; position: relative; }
.menu-symbol::after { content: ''; position: absolute; height: 2px; width: 100%; background: currentColor; top: 4px; left: 0; }
@media (min-width: 1101px) { .marketing-header .mobile-menu { display: none; } }
@media (max-width: 1100px) {
  .marketing-header { position: sticky; top: 0; z-index: 40; }
  .marketing-header .header-end { gap: 12px; }
  .marketing-header .mobile-menu { order: 2; }
  .languages a { display: grid; place-items: center; min-height: 44px; min-width: 28px; }
  .languages { align-items: center; gap: 3px; }
  .static-menu summary { display: flex; flex-direction: column; justify-content: center; min-width: 44px; min-height: 48px; }
  .marketing-header .static-menu nav { width: min(380px, calc(100vw - 32px)); padding: 16px 24px; top: 60px; gap: 0; }
  .static-menu nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid #e5e7e1; font-size: 17px; }
  .static-menu nav a:last-child { color: var(--primary); border-bottom: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .marketing-header { height: 76px; min-height: 76px; padding: 10px 20px; gap: 8px; }
  .marketing-header .brand { width: 152px; gap: 4px; }
  .marketing-header .brand-descriptor { font-size: 7.5px; letter-spacing: .07em; }
  .marketing-header .header-end { gap: 8px; }
  .marketing-header .languages { font-size: 12px; }
  .marketing-header .static-menu nav { position: fixed; top: 76px; inset-inline: 0; bottom: calc(76px + env(safe-area-inset-bottom)); width: 100%; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; border-inline: 0; border-bottom: 0; box-shadow: none; background: #f7f7f4; }
  .static-menu nav a { min-height: 66px; font-size: 24px; letter-spacing: -.025em; }
  .static-menu[open] .menu-symbol { border: 0; }
  .static-menu[open] .menu-symbol::before, .static-menu[open] .menu-symbol::after { content: ''; height: 2px; width: 20px; background: currentColor; position: absolute; left: 0; top: 6px; transform: rotate(45deg); }
  .static-menu[open] .menu-symbol::after { transform: rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .real-hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .real-hero .hero-image { background-position: 60% center; }
  .real-hero .hero-shade { background: linear-gradient(90deg,#181c1ce8,#181c1c66),linear-gradient(0deg,#181c1cdd,transparent 80%); }
  .real-hero .hero-content { padding: 36px 24px 28px; max-width: 100%; }
  .real-hero .eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .18em; }
  .real-hero h1 { font-size: clamp(39px,10.5vw,58px); line-height: 1.06; letter-spacing: -.055em; }
  .real-hero .hero-description { margin: 22px 0 24px; font-size: 15px; line-height: 1.65; max-width: 420px; }
  .real-hero .actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .real-hero .actions .button { width: 100%; justify-content: space-between; }
  .real-hero .actions .text-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .hero-work { z-index: 1; position: relative; inset: auto; margin: 0 24px 28px; max-width: none; padding: 10px 0 10px 14px; background: #181c1c55; }
  .hero-work>span { font-size: 9px; }
  .hero-work strong { font-size: 19px; }
  .hero-work small { font-size: 11px; max-width: 100%; }
  .section { padding: 44px 24px; }
  h2 { font-size: clamp(28px,8vw,38px); }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .section-heading { gap: 16px; margin-bottom: 26px; }
  .section-heading>p, .section-intro>p:last-child { font-size: 15px; line-height: 1.7; }
  .services, .company { gap: 28px; }
  .service-row { padding: 22px 0; gap: 12px; }
  .service-row h3 { font-size: 21px; }
  .service-row p { font-size: 14px; }
  .service-mark { font-size: 22px; }
  .works-grid { gap: 32px; }
  .work-image>img { height: auto; aspect-ratio: 4/3; }
  .work-card-copy { padding-top: 18px; }
  .work-card-copy h3 { font-size: 25px; line-height: 1.16; }
  .work-card-copy>p:not(.eyebrow) { font-size: 15px; margin-top: 12px; }
  .award-tag { top: 12px; left: 12px; font-size: 10px; }
  .section-end { margin-top: 28px; }
  .section-end .button { width: 100%; }
  .technical-feature-image { min-height: 0; aspect-ratio: 4/3; }
  .technical-feature-copy { padding: 36px 24px; }
  .technical-feature-copy .button { width: 100%; }
  .document-grid { gap: 16px; }
  .document-card { min-height: 0; padding: 24px; }
  .document-meta { margin-bottom: 22px; }
  .document-card h3 { font-size: 24px; }
  .document-card p { font-size: 14px; margin: 14px 0 18px; }
  .document-card .text-link { display: flex; align-items: center; min-height: 44px; }
  .collection-intro { padding-bottom: 28px; }
  .collection-intro h1, .work-heading h1, .technical-intro h1, .page-title h1 { font-size: clamp(32px,9vw,44px); line-height: 1.1; }
  .collection-lead>p, .lead { font-size: 16px; line-height: 1.7; }
  .collection-lead .button { font-size: 13px; }
  .works-collection, .solution-collection, .resources-collection { padding-top: 0; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 16px 0; margin-bottom: 16px; scrollbar-width: thin; }
  .filter-row button { flex-shrink: 0; white-space: nowrap; min-height: 44px; font-size: 12px; padding: 10px 14px; }
  .work-heading { padding-block: 30px; }
  .case-cover { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .case-intro { gap: 24px; }
  .large-copy { font-size: 18px; }
  .award-panel { margin-inline: 24px; padding: 24px; gap: 16px; }
  .award-panel h2 { font-size: 28px; }
  .award-year { font-size: 56px; }
  .photo-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-open img { height: auto; aspect-ratio: 4/3; }
  .gallery-open>span { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
  .photo-grid figcaption { font-size: 12px; gap: 10px; }
  .photo-dialog { width: 100%; max-height: 100dvh; height: 100dvh; display: none; }
  .photo-dialog[open] { display: flex; flex-direction: column; }
  .photo-dialog>img { flex: 1; min-height: 0; max-height: none; touch-action: pan-y pinch-zoom; }
  .dialog-toolbar { padding-top: max(10px,env(safe-area-inset-top)); }
  .dialog-bottom { padding-bottom: max(14px,env(safe-area-inset-bottom)); }
  .dialog-bottom button { flex-shrink: 0; width: 48px; height: 48px; }
  .dialog-bottom p { font-size: 12px; }
  body.gallery-opened .mobile-contact { display: none; }
  .video-section video { height: auto; max-height: 70svh; }
  .technical-intro { padding-top: 30px; }
  .technical-intro-grid { gap: 24px; }
  .technical-intro figure>img { height: auto; aspect-ratio: 4/3; }
  .technical-intro .button { margin-top: 24px; width: 100%; }
  .technical-points { gap: 28px; }
  .process-images { grid-template-columns: 1fr; gap: 24px; }
  .process-images img { height: auto; aspect-ratio: 4/3; }
  .process-images figcaption { font-size: 13px; }
  .solution-image { height: auto; aspect-ratio: 4/3; }
  .solution-card-copy h2 { font-size: 28px; }
  .source-list a { min-height: 44px; display: inline-flex; align-items: center; }
  .faq-section summary { min-height: 44px; font-size: 16px; }
  .page-shell { padding: 32px 24px 44px; }
  .panel { padding: 22px; }
  .email-builder h2 { font-size: 25px; }
  .email-builder>p:not(.eyebrow), .contact-aside p { font-size: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; min-height: 52px; border-radius: 3px; }
  .field input { scroll-margin-block: 100px; }
  .email-builder .button { width: 100%; }
  .two-col:has(.contact-aside) { gap: 24px; }
  .contact-aside { grid-row: 1; }
  .contact-aside .request-checklist { display: none; }
  .contact-aside .panel>h3, .contact-aside .panel>p:last-child { display: none; }
  .contact-aside .panel>p { margin-bottom: 10px; }
  .contact-aside .direct-phone { font-size: 25px; min-height: 44px; margin-bottom: 6px; }
  .contact-band { gap: 24px; }
  .contact-band .actions { width: 100%; }
  .contact-band .actions .button { width: 100%; }
  .marketing-footer { padding: 32px 24px; gap: 24px; }
  .marketing-footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .mobile-contact { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 12px; position: fixed; z-index: 45; bottom: 0; inset-inline: 0; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #d8dcd6; box-shadow: 0 -4px 24px #181c1c0a; }
  .mobile-contact .mobile-call { display: flex; gap: 9px; align-items: center; min-height: 50px; }
  .mobile-call svg { width: 19px; height: 19px; stroke: var(--primary); flex-shrink: 0; }
  .mobile-call span { display: flex; flex-direction: column; line-height: 1.35; }
  .mobile-call strong { font-size: 14px; }
  .mobile-call small { font-size: 11px; color: var(--muted-foreground); }
  .mobile-contact .button { min-height: 48px; padding: 10px 12px; font-size: 12px; border-radius: 3px; }
}
@media (max-width: 350px) {
  .marketing-header { padding-inline: 16px; }
  .marketing-header .brand { width: 130px; }
  .marketing-header .brand-descriptor { font-size: 6.5px; }
  .marketing-header .header-end { gap: 4px; }
  .real-hero .hero-content, .section, .page-shell { padding-inline: 20px; }
  .real-hero h1 { font-size: 37px; }
  .mobile-contact { padding-inline: 14px; gap: 8px; }
}
