/* Mobile composition: shorter cover, tactile navigation and readable content. */
@media (max-width: 900px) {
  html { scroll-padding-top: 94px; }
  .container { width: min(640px, calc(100% - 40px)); }
  .section { padding-block: 68px; }
  .site-header { height: 74px; padding-inline: 16px; display: grid; grid-template-columns: 1fr auto 44px; gap: 10px; }
  .brand, .brand img { width: clamp(94px, 27vw, 112px); }
  .brand img { height: 63px; object-fit: contain; }
  .header-actions { margin-left: 0; }
  .header-actions .nav-contact { display: none; }
  .nav-login { min-height: 44px; padding: 10px; font-size: 12px; gap: 6px; border-radius: 10px; }
  .nav-login svg { width: 17px; height: 17px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; padding: 10px; align-items: center; }
  .menu-toggle span { width: 22px; }
  .mobile-nav { top: calc(100% + 6px); left: 12px; right: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px #081f3024; max-height: calc(100svh - 100px); overflow-y: auto; }
  .mobile-nav:not([hidden]) { display: grid; gap: 2px; }
  .mobile-nav a, .mobile-nav button { min-height: 48px; display: flex; align-items: center; padding: 12px 15px; border-radius: 10px; font-size: 16px; line-height: 1.5; }
  .mobile-nav a:hover { background: var(--cream); }
  .mobile-nav button { background: var(--navy); color: #fff; margin-top: 5px; }

  .hero { margin: 12px 12px 0; width: calc(100% - 24px); height: auto; min-height: 0; max-height: none; padding-block: 38px 28px; border-radius: 24px; }
  .hero-content { padding-top: 0; width: min(600px, calc(100% - 40px)); transform: none; }
  .hero .eyebrow { font-size: 9px; line-height: 1.6; letter-spacing: .7px; gap: 8px; max-width: none; }
  .hero .eyebrow > span { width: 17px; flex-shrink: 0; }
  .hero h1 { font-size: clamp(31px, 10.3vw, 52px); line-height: 1.13; letter-spacing: -2px; margin-top: 27px; }
  .hero h1 em { font-size: 1.12em; letter-spacing: -1.8px; }
  .hero-line:first-child > span { white-space: nowrap; }
  .hero-description { font-size: 16px; line-height: 1.7; max-width: 520px; margin-top: 23px; color: #d9e3e8; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 27px; max-width: 430px; align-items: stretch; }
  .hero-actions .button { min-height: 54px; width: 100%; justify-content: space-between; padding: 16px 20px; border-radius: 11px; font-size: 15px; }
  .hero-actions .text-link { min-height: 44px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; border-bottom: 0; font-size: 14px; padding-block: 10px; }
  .hero-side-note { display: flex; position: relative; writing-mode: horizontal-tb; inset: auto; width: min(600px, calc(100% - 40px)); margin: 25px auto 0; font-size: 8px; line-height: 1.6; letter-spacing: 1px; gap: 8px; color: #bdcdd3; }
  .hero-scroll, .hero-caption { display: none; }
  .hero-grid { inset-inline: 20px; }
  .hero-image { background-position: 65% center; }
  .hero:before { background: linear-gradient(90deg, #081f30f5, #081f30bf 55%, #081f3050), linear-gradient(0deg, #081f30d9, transparent 72%); }
  .hero-light-trails { opacity: .35; width: 100%; }

  .expertise-strip { margin-top: 20px; padding-block: 18px; }
  .expertise-strip span { font-size: 13px; letter-spacing: 1px; }
  .expertise-strip .expertise-divider { height: 12px; }
  .expertise-group { gap: 22px; padding-inline: 11px; }
  .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: 1.1px; }
  .intro { display: block; }
  .intro-label { margin-bottom: 22px; }
  .section-index { display: none; }
  .intro h2, .section-heading h2, .values h2, .faq h2 { font-size: clamp(32px, 8.7vw, 42px); line-height: 1.16; letter-spacing: -1.5px; }
  .intro-bottom { gap: 16px; margin-top: 23px; }
  .intro-bottom p { font-size: 16px; line-height: 1.75; }
  .intro-bottom .round-link { width: 44px; height: 44px; flex-shrink: 0; }
  .intro-facts { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; padding-top: 23px; margin-top: 25px; }
  .intro-facts > span { font-size: 12px; line-height: 1.6; gap: 10px; }
  .intro-facts b { font-size: 34px; }
  .intro-facts svg { width: 18px; flex-shrink: 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading .eyebrow { margin-bottom: 19px; }
  .section-heading > p { font-size: 16px; line-height: 1.75; max-width: none; margin-top: 20px; }

  .service-explorer { display: flex; flex-direction: column; gap: 21px; }
  .service-tabs { display: flex; width: calc(100% + 20px); gap: 8px; overflow-x: auto; border: 0; padding: 3px 20px 12px 1px; margin: -3px -20px -12px -1px; scroll-snap-type: x proximity; scroll-padding-inline: 1px; scrollbar-width: none; }
  .service-tabs::-webkit-scrollbar { display: none; }
  .service-tab, .service-tab:hover, .service-tab.active { width: auto; flex: 0 0 auto; min-height: 52px; padding: 13px 15px; gap: 9px; align-items: center; white-space: nowrap; border: 1px solid #d3dccb; border-radius: 12px; background: transparent; scroll-snap-align: start; transition: background .25s, color .25s, border-color .25s; }
  .service-tab > span:nth-child(2) { max-width: none; font: 600 14px/1.4 var(--font); letter-spacing: -.2px; }
  .service-tab .tab-number { padding-top: 0; font-size: 10px; color: #65745c; }
  .service-tab .tab-arrow { display: none; }
  .service-tab.active { color: #fff; background: var(--navy); border-color: var(--navy); }
  .service-tab.active .tab-number { color: var(--lime); }
  .service-tab:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 2px; }
  .service-panel { width: 100%; padding: 16px; border: 1px solid #dce3d5; border-radius: 20px; background: #fff; box-shadow: 0 8px 26px #081f3005; }
  .service-photo { width: 100%; height: auto; aspect-ratio: 1.5; border-radius: 12px; overflow: hidden; }
  .service-photo img { width: 100%; height: 100%; object-fit: cover; }
  .photo-pill { left: 12px; bottom: 13px; font-size: 9px; max-width: calc(100% - 85px); line-height: 1.5; padding: 7px 9px; }
  .photo-index { right: 12px; bottom: 21px; font-size: 10px; }
  .service-panel h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.8px; margin-top: 23px; }
  .service-panel > p { font-size: 16px; line-height: 1.75; margin-top: 14px; }
  .service-bullets { margin-top: 20px; }
  .service-bullets li { font-size: 14px; line-height: 1.75; margin-bottom: 10px; }
  .service-panel .service-contact { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 21px; padding-block: 14px 1px; border-top: 1px solid var(--line); border-bottom: 0; font-size: 15px; }

  .perspective { width: calc(100% - 24px); margin-inline: 12px; min-height: 430px; border-radius: 22px; overflow: hidden; }
  .perspective-content { width: min(600px, calc(100% - 40px)); padding-block: 43px 80px; }
  .perspective h2 { font-size: clamp(32px, 8.7vw, 44px); line-height: 1.2; letter-spacing: -1.4px; margin-top: 25px; }
  .perspective-content > p:last-of-type { max-width: 340px; font-size: 16px; line-height: 1.7; margin-top: 22px; }
  .round-light { width: 44px; height: 44px; bottom: 7px; font-size: 22px; }
  .image-footnote { left: 20px; right: 77px; bottom: 24px; font-size: 8px; line-height: 1.8; }
  .technology { display: flex; flex-direction: column; gap: 35px; }
  .technology-copy { max-width: none; }
  .technology h2 { font-size: clamp(32px, 8.7vw, 42px); line-height: 1.16; letter-spacing: -1.5px; margin-block: 22px; }
  .technology-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; max-width: none; }
  .tech-feature { gap: 13px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
  .feature-icon { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 19px; }
  .tech-feature h3 { font-size: 16px; }
  .tech-feature p { max-width: none; font-size: 15px; line-height: 1.7; margin-top: 5px; }
  .technology-copy > .text-link { font-size: 15px; min-height: 44px; align-items: center; }
  .dashboard-wrap { width: 100%; max-width: 540px; margin: 5px auto 0; }
  .dashboard-orbit { opacity: .45; width: 104%; left: -2%; }
  .dashboard { border-radius: 18px; padding: 20px 16px 0; transform: none; box-shadow: 0 18px 40px #081f3020; }
  .dashboard-header { padding-bottom: 17px; }
  .dashboard-brand { font-size: 10px; gap: 7px; }
  .dashboard-brand > span:first-child { font-size: 22px; }
  .demo-pill { font-size: 9px; padding: 5px 7px; border-radius: 5px; }
  .dashboard-title { display: block; padding-block: 22px 18px; }
  .dashboard-eyebrow { font-size: 10px; letter-spacing: 1px; }
  .dashboard-title h3 { font-size: 24px; margin-top: 7px; }
  .period-toggle { margin-top: 17px; padding: 3px; width: 100%; border-radius: 10px; }
  .period-toggle button { flex: 1; min-height: 42px; font-size: 13px; padding: 10px; border-radius: 7px; }
  .dashboard-metrics { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dashboard-metrics > div { padding: 14px 11px; border-radius: 10px; }
  .dashboard-metrics span { font-size: 12px; line-height: 1.5; }
  .dashboard-metrics strong { font-size: clamp(18px, 5.2vw, 25px); letter-spacing: -.7px; }
  .dashboard-metrics small { font-size: 10px; line-height: 1.5; margin-top: 6px; }
  .dashboard-metrics > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 8px; background: var(--lime); border-color: var(--lime); }
  .dashboard-metrics > div:last-child strong { grid-column: 2; grid-row: 1 / 3; text-align: right; margin: 0; color: var(--navy); font-size: clamp(22px, 6.3vw, 30px); }
  .dashboard-metrics > div:last-child span { color: var(--navy); }
  .dashboard-metrics > div:last-child small { color: #365120; }
  .chart-title, .chart-title > span:last-child { font-size: 11px; }
  .chart { height: 165px; }
  .chart-y, .chart-x { font-size: 10px; }
  .dashboard-status { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10px; padding-block: 17px; }
  .dashboard-status > span:last-child { max-width: none; text-align: left; }
  .demo-caption { font-size: 12px; line-height: 1.6; }

  .steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .step { display: grid; grid-template-columns: 1fr; gap: 15px; border: 1px solid #ffffff24; border-radius: 18px; padding: 23px; background: #ffffff04; }
  .step-top, .step-tag { grid-column: 1; }
  .step-top > span:first-child { font-size: 27px; }
  .step-top > span:last-child { font-size: 23px; }
  .step h3 { grid-row: auto; margin: 0; font-size: 25px; line-height: 1.2; }
  .step h3 br { display: none; }
  .step p { font-size: 15px; line-height: 1.75; margin: 0; }
  .step-tag { font-size: 10px; letter-spacing: 1px; margin-top: 4px; }
  .values, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .values-intro > p:last-child, .faq-grid > div:first-child > p:last-child { font-size: 16px; line-height: 1.75; margin-top: 19px; }
  .values-list article { display: grid; grid-template-columns: 19px 1fr; gap: 13px; padding-block: 23px; }
  .values-list article > span:first-child { padding-top: 5px; font-size: 11px; }
  .values-list h3 { font-size: 24px; line-height: 1.25; }
  .values-list p { font-size: 16px; line-height: 1.75; max-width: none; margin-top: 11px; }
  .value-symbol { display: none; }
  .faq-list summary { font-size: 16px; line-height: 1.55; min-height: 68px; padding-block: 21px; gap: 14px; }
  .faq-list summary > span { flex-shrink: 0; }
  .faq-list details > div { font-size: 15px; line-height: 1.75; padding-right: 0; }
  .contact-inner { padding-block: 53px; }
  .contact-section h2 { font-size: clamp(34px, 9.1vw, 46px); line-height: 1.18; letter-spacing: -1.7px; }
  .contact-bottom { display: grid; grid-template-columns: 1fr; gap: 23px; margin-top: 24px; }
  .contact-bottom p { font-size: 16px; line-height: 1.75; }
  .contact-bottom .button { min-height: 54px; width: 100%; min-width: 0; justify-content: space-between; padding: 16px 18px; border-radius: 11px; font-size: 14px; }
  .contact-asterisk { right: -80px; opacity: .45; }
  .footer { padding-top: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .footer-logo { width: 210px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .footer-links > span { grid-column: 1 / -1; margin-bottom: 9px; }
  .footer-links > span, .footer-contact > span { font-size: 11px; letter-spacing: 1.3px; }
  .footer-links > a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: 15px; }
  .footer-contact { gap: 4px; }
  .footer-contact > a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
  .footer-contact > p { font-size: 14px; line-height: 1.8; margin-top: 8px; }
  .footer-bottom { padding-right: 68px; padding-block: 20px 26px; gap: 8px 18px; flex-wrap: wrap; }
  .footer-bottom, .footer-bottom > p, .footer-bottom > button, .footer-bottom > a { font-size: 11px; line-height: 1.7; }
  .footer-bottom > p { width: 100%; }
  .footer-bottom > button, .footer-bottom > a { display: inline-flex; min-height: 44px; align-items: center; }
  dialog { border-radius: 18px; }
  .dialog-close { width: 44px; height: 44px; }
  .dialog-content { padding: 35px 22px 25px; }
  .dialog-content h2 { font-size: 31px; }
  .dialog-intro { font-size: 15px; line-height: 1.75; }
  .form-submit { min-height: 50px; border-radius: 9px; }
  .cookie-copy p, .cookie-policy-link { font-size: 14px; }
}

@media (min-width: 541px) and (max-width: 900px) {
  .hero { padding-block: 46px 32px; }
  .hero h1 { font-size: 56px; }
  .hero-actions { grid-template-columns: 1fr 1fr; max-width: 540px; gap: 18px; }
  .hero-actions .text-link { min-height: 54px; }
  .service-tabs { width: 100%; margin-right: 0; }
  .service-photo { aspect-ratio: 1.9; }
  .service-panel { padding: 22px; }
  .intro-bottom p { max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-wordmark { grid-column: 1 / -1; }
}
